Commit Graph

782 Commits

Author SHA1 Message Date
Mark Villacampa
025bd995d5 add two more cases where we need to specify bening and end of line in the .tool-versions to properly identify plugin names 2017-12-16 02:05:52 +01:00
Mark Villacampa
77ce346578 grep for plugin_name from begining of line 2017-12-15 22:36:24 +01:00
Trevor Brown
8794210b8e Add 'eval' to list of banned commands. 2017-11-16 22:43:52 -05:00
Trevor Brown
e91e453580
Merge pull request #251 from asdf-vm/banned-commands
Add test that greps source code for banned commands.
2017-10-28 11:02:03 -04:00
Trevor Brown
7601afd9b9 Add test that greps source code for banned commands. 2017-10-28 10:54:10 -04:00
Trevor Brown
6b2901b0d0
Add another bug fix to CHANGELOG 2017-10-27 14:48:13 -04:00
vic
28ef96df91
Update CHANGELOG.md 2017-10-27 11:51:47 -05:00
vic
85bebfaf0f
Merge pull request #250 from Jwashton/duplicate-shims
Duplicate shims
2017-10-27 11:50:11 -05:00
William Ashton
43fd8c978d Tell sed to create backup files, and the remove them
This seems like the easiest way forward, considering the incompatability between the LInux and MacOS versions of sed.
2017-10-27 10:27:27 -04:00
Daniel Perez
080c88d376 Revert "Fix edge case when looking for .asdf-version"
This reverts commit a44ec2779a.
2017-10-27 14:25:29 +09:00
William Ashton
dc3865c9fd Prevent sed from creating -e backup files. Fixes #242 2017-10-26 15:58:45 -04:00
Victor Borja
db54c6bad1 test reshim with install from tool-versions 2017-10-25 14:19:03 -05:00
Victor Borja
97312e2f26 Test reshim a second time 2017-10-25 14:14:19 -05:00
Victor Borja
7a15a88493 Test shims are not duplicated 2017-10-25 14:05:59 -05:00
Daniel Perez
a44ec2779a Fix edge case when looking for .asdf-version
cwd can potentially be a symlink, which breaks asdf logic.
The following command will fail to resolve the path correctly:

    env - PWD=/proc/self/cwd PATH=$HOME/.asdf/shims:/bin ruby --version

This first resolves the real path of cwd before continuing to search
for a .tool-versions file
2017-10-25 19:51:13 +09:00
Daniel Perez
7e5789adb7 Merge pull request #245 from rstacruz/patch-1
Readme: format install instructions better
2017-10-25 19:03:34 +09:00
Rico Sta. Cruz
4723ad3bf2 Merge branch 'master' into patch-1 2017-10-25 17:39:36 +08:00
vic
31030bfb11 Merge pull request #246 from lucascaton/patch-1
Rename OS X to macOS
2017-10-24 23:37:00 -05:00
Lucas Caton
78cedab51a Rename OS X to macOS 2017-10-25 13:03:03 +10:00
vic
00e7644464 Update CHANGELOG.md 2017-10-24 18:32:45 -05:00
vic
4bc7b4a9fc Merge pull request #243 from skirino/replace_hyphen_with_colon_in_ref_prefix_of_list_command_output
Replace `ref-` prefix in output of list command with `ref:`
2017-10-24 18:30:18 -05:00
Rico Sta. Cruz
160db6c04f Readme: format install instructions better 2017-10-24 16:33:20 +08:00
Trevor Brown
8946fbd3c3 Add documentation on uninstalling asdf. 2017-10-23 11:06:48 +03:00
Shunsuke Kirino
9ba0a5cc2d Replace ref- prefix in output of list command with ref: 2017-10-23 11:23:51 +09:00
vic
8a2fd85529 Update CHANGELOG.md 2017-10-18 02:25:53 -05:00
Daniel Perez
e2094db465 Merge pull request #237 from DustinChaloupka/install-parent-tool-versions
Add installing from a parent directory's .tool-versions
2017-10-17 23:28:37 +09:00
Trevor Brown
2171f48f0f Merge pull request #231 from hugopeixoto/use-origin-when-updating-tags
Use origin when updating tags
2017-10-14 17:23:16 +03:00
DustinChaloupka
320835ba7e
Declare and assign variable separately 2017-10-10 13:31:15 -05:00
DustinChaloupka
05a7446619
Add installing from a parent directory's .tool-versions 2017-10-10 12:02:42 -05:00
Trevor Brown
b076fe80bd Merge pull request #223 from CoffeeAndCode/shellcheck
Shellcheck
2017-10-02 21:01:29 -04:00
Jonathan Knapp
85550c8c0c
Remove extra, unnecessary quoting 2017-10-02 09:51:07 -04:00
Jonathan Knapp
20b70bccc7
Remove shebangs from lib files and pass bash dialect to shellcheck 2017-10-01 11:34:35 -04:00
Jonathan Knapp
32b2690874
Fix incorrect linter error from help text parsing 2017-10-01 09:18:38 -04:00
Jonathan Knapp
33d7d9c26c
Merge remote-tracking branch 'source/master' into origin/shellcheck 2017-10-01 09:15:22 -04:00
Daniel Perez
14d7ef50ed Merge pull request #233 from van-mronov/doc-link
Fix creating-plugins link
2017-09-29 10:46:51 +09:00
Ivan Mironov
959033bdd2 Fix creating-plugins link 2017-09-28 14:32:37 +03:00
Daniel Perez
56b8456920 Fix tab formatting in fish completions 2017-09-27 16:41:49 +09:00
Daniel Perez
6a63299dec Update fish completions 2017-09-27 16:40:50 +09:00
Hugo Peixoto
15e59686c4 Add support for $ASDF_DEFAULT_TOOL_VERSIONS_FILENAME
Instead of just looking in $HOME/.tool-versions, allow the default
tool-versions file location to be specified through the variable
$ASDF_TOOL_VERSIONS.
2017-09-25 14:26:14 +01:00
Hugo Peixoto
9e97bc5e61 Use origin when updating tags 2017-09-25 14:13:35 +01:00
Trevor Brown
896bd163e0 Correct versions in CHANGELOG.md. 2017-09-19 18:02:07 -04:00
Trevor Brown
d19f6131a6 Update version to 0.4.0 2017-09-19 17:44:34 -04:00
Trevor Brown
09aff34ed1 Merge branch 'brew-upgrade-fix' 2017-09-19 17:25:29 -04:00
Trevor Brown
19f3bcd488 Change version to 0.4.0. 2017-09-17 16:27:21 -04:00
Trevor Brown
6798101f21 Fix bug in release.sh script. 2017-09-12 18:48:00 -04:00
Trevor Brown
6c90970e17 Add help message that explains how to revert a bad release tagging to the release.sh script. 2017-09-12 18:48:00 -04:00
Trevor Brown
84ad80f575 Add mechanism to disable the update command since it will not work when asdf is installed via brew. 2017-09-12 18:48:00 -04:00
Trevor Brown
252ee6a608 Add more items to CHANGELOG.md. 2017-09-12 18:48:00 -04:00
Trevor Brown
5b35ea01db Add code to release.sh to update the version hardcoded in the VERSION file. 2017-09-12 18:48:00 -04:00
Trevor Brown
4da62b16c8 Move hardcoded version to VERSION file in repo root. 2017-09-12 18:48:00 -04:00