Commit Graph

1718 Commits

Author SHA1 Message Date
Stratus3D
74fe3d6b20 Update the install_command function so it works when invoked in directory whose name contains whitespace. 2016-11-04 12:03:47 -04:00
Stratus3D
2ebaa4b8c7 Add test for the install command in a directory name containing whitespace. 2016-11-04 12:03:47 -04:00
Stratus3D
5411e9f16f Add line to changelog listing recently merged PR. 2016-11-03 11:43:17 -04:00
Stratus3D
e7ef79d705 Merge branch 'vic-global_version_outside_home' 2016-11-03 10:14:35 -04:00
Victor Borja
26532e7914 Determine version from global setting when project is outside home.
Without this patch, asft was not able to determine the tool version
for a project located outside the user's HOME directory.

```
/work/project/
/home/me/.tool-versions
```

This changeset lets asdf find the global version stored at
$HOME/.tool-versions when the directory traversal from
the project dir was not able to find a suitable version.
2016-10-29 06:08:54 -05:00
DalHo Park
8e59d8de98 file_path may have some spaces. 2016-10-27 16:24:34 +09:00
Akash Manohar
dab7d51f22 Merge pull request #102 from Stratus3D/prepare-for-0.2.0
Prepare for 0.2.0 release
2016-10-26 10:47:31 +05:30
Akash Manohar
01dcf0c928 Merge pull request #104 from Stratus3D/more-whitespace-fixes
More whitespace fixes
2016-10-26 08:26:54 +05:30
Stratus3D
20ef5321e1 Update the install_command function so it works when invoked in directory whose name contains whitespace. 2016-10-25 21:45:17 -04:00
Stratus3D
8bc937689c Add test for the install command in a directory name containing whitespace. 2016-10-25 18:11:36 -04:00
Brian van Burken
e2a9f88730
Add MongoDB plugin to README Usage list 2016-10-25 17:48:14 +02:00
Trevor Brown
a58f48f01f Prepare for 0.2.0 release
* Add everything that was merged for 0.2.0 to the changelog.
* Update install command in the readme with 0.2.0 tag.
2016-10-22 14:56:41 -04:00
Daniel Perez
719ecfa33d Merge pull request #100 from odarriba/patch-1
Add asdf-php to list of plugins
2016-10-17 16:00:50 +09:00
Óscar de Arriba
1729c7ab42 Add asdf-php to list of plugins 2016-10-17 07:56:11 +02:00
Daniel Perez
c23ccb4746 Merge pull request #99 from davidkuhta/readme-spelling
"You" to "Your" in README
2016-10-09 14:04:05 +09:00
David Kuhta
2f550ccc83 "You" to "Your" in README 2016-10-08 14:00:03 -05:00
Daniel Perez
0d607d73d6 Merge pull request #93 from st23am/patch-1
Correct spelling / typo Max vs Mac
2016-09-13 10:51:28 +09:00
James Smith
9f6b15b723 Correct spelling / typo Max vs Mac 2016-09-12 17:01:45 -04:00
Trevor Brown
b0b30d0464 Merge branch 'rockwood-legacy_file_redux' 2016-08-30 19:13:32 -04:00
Daniel Perez
95bde8e86f Fix local and global commands to accept multiple versions 2016-08-30 19:13:10 -04:00
Stratus3D
af222ad464 Merge branch 'local-whitespace-fix' 2016-08-30 19:13:10 -04:00
Stratus3D
59f371e423 Merge remote-tracking branch 'origin/readme-asdfrc' 2016-08-30 19:13:10 -04:00
Stratus3D
12a6316e4c Fix whitespace bug in 'asdf local'. 2016-08-30 19:13:10 -04:00
Trevor Brown
5cc55d45fd Add section to readme on the .asdfrc file. 2016-08-30 19:13:10 -04:00
Stratus3D
181b5a769b Add test for 'asdf local' in a directory with a name containing whitespace. 2016-08-30 19:13:10 -04:00
Daniel Perez
f525ba85ff Fix local and global commands to accept multiple versions 2016-08-30 15:46:14 +09:00
Kevin Rockwood
20739721ca Add note about parse-legacy-file argument 2016-08-30 09:25:52 +09:00
Kevin Rockwood
d505c0ee71 Return both version and path from find_version
This allows the current command to print the setting file.
2016-08-30 09:21:26 +09:00
Kevin Rockwood
cec4e9a737 Combine search and parse operations
We need to search and parse simultaneously in case the tool-versions 
file doesn't contain a setter line for the plugin.
2016-08-28 13:41:37 +09:00
Stratus3D
c007ac728b Merge branch 'local-whitespace-fix' 2016-08-18 13:43:13 -04:00
Stratus3D
9407521fbf Fix whitespace bug in 'asdf local'. 2016-08-16 10:54:36 -04:00
Stratus3D
98265b00ef Add test for 'asdf local' in a directory with a name containing whitespace. 2016-08-16 10:52:37 -04:00
Stratus3D
d7a0a525b9 Merge remote-tracking branch 'origin/readme-asdfrc' 2016-08-15 12:46:38 -04:00
Kevin Rockwood
333339b960 Update plugin docs with new legacy file api 2016-08-14 09:10:24 +09:00
Kevin Rockwood
280581c566 Clean up utils
Whitespace and remove dead function
2016-08-14 09:10:24 +09:00
Kevin Rockwood
511535b750 Add warning to when using deprecated plugins
This can be removed after we've given users enough time to update.
2016-08-14 09:10:24 +09:00
Kevin Rockwood
4d75ddd50b Update current command with new util functions
current will now print paths to legacy files and .tool-version files
2016-08-14 09:10:24 +09:00
Kevin Rockwood
c6d814e247 Unify .tool-versions and legacy file search 2016-08-14 09:10:24 +09:00
Kevin Rockwood
16f3fa9f03 Use dummy plugin for utils test 2016-08-14 09:10:24 +09:00
Trevor Brown
0e8889b284 Add section to readme on the .asdfrc file. 2016-08-13 14:27:27 -04:00
Trevor Brown
c684430cc3 Merge branch 'add-changelog' 2016-08-04 19:24:15 -04:00
Trevor Brown
e31cdbd460 Add CHANGELOG.md with details on 0.1.0 and 0.2.0-dev. 2016-08-04 19:20:53 -04:00
Trevor Brown
e01b242bfa Merge branch 'setup-command-should-use-stable' 2016-08-04 19:17:21 -04:00
Trevor Brown
cf184ce453 Add -dev suffix to version currently in development (0.2.0). 2016-08-04 19:11:26 -04:00
Trevor Brown
c77fa1ab77 Update version in utils.sh. Next release will be 0.2.0. 2016-07-29 19:56:40 -04:00
Trevor Brown
2cb40a720b Update asdf setup command in readme so that the latest tag is checked out. 2016-07-29 19:55:52 -04:00
Daniel Perez
3d5a5b9040 Merge pull request #83 from rockwood/unify_version_getter
Unify Version Getter
2016-07-28 01:44:15 +09:00
Kevin Rockwood
7517aa3abc Remove getter feature on local and global commands
This simplifies the `local` and `global` commands. `asdf current` should
be sufficient for getting the current version.

closes #80
2016-07-25 09:44:53 +09:00
Kevin Rockwood
0ce18100c5 Use dummy plugin in version_commands test
This adds a helper to install dummy versions. Hopefully it makes the
test setup a little easier to reason about.
2016-07-25 09:40:52 +09:00
Kevin Rockwood
ca1273e7d4 Rename which to current (#79)
* Rename `asdf which` -> `asdf current`

* Output `set by $path` with current command

* Use dummy plugin in current_command test

* Hide "set by" message if derived from legacy file
2016-07-25 00:47:17 +09:00