Commit Graph

703 Commits

Author SHA1 Message Date
Henrik Nyh
d7ceb38b06 Avoid bash error when no version is set
Running "asdf current ruby" before installing any Rubies gave me:

    /Users/henrik/.asdf/lib/utils.sh: line 73: [: !=: unary operator expected
    No version set for ruby
2017-04-08 09:38:18 +01:00
Trevor Brown
75eb1fbf3a Add note on system version to version format list in README 2017-04-04 13:59:08 -04:00
Trevor Brown
d3a66d78ee Merge pull request #173 from asdf-vm/prepare-for-0.3.0
Add items to changelog in preparation for 0.3.0 release.
2017-04-01 08:43:33 -04:00
Trevor Brown
3473412a79 Merge pull request #182 from asdf-vm/support-system-version-with-tests
Support system version
2017-04-01 08:37:49 -04:00
Trevor Brown
12d2abc818 Add 0.3.0 features to changelog. 2017-03-31 11:03:54 -04:00
Daniel Perez
ee842285bb Add system completions for fish 2017-03-27 09:00:40 -07:00
Trevor Brown
974597ddc7 Correct sed command that removes asdf from PATH. 2017-03-27 11:04:52 -04:00
Chris Dosé
20cdbfe701
Use a git repository for installing plugins. 2017-03-26 16:44:22 -07:00
Trevor Brown
564b9ed517 Fix tests that were failing due to improved error messages. 2017-03-25 15:16:58 -04:00
Trevor Brown
0f7757a910 Correct if statements in asdf-exec and utils.sh. 2017-03-25 14:50:30 -04:00
Trevor Brown
5899d47d75 Fix tests for update command. 2017-03-17 22:24:34 -04:00
Daniel Perez
23f92987c0 Start adding tests for system version 2017-03-17 22:00:38 -04:00
Daniel Perez
f5152f255a WIP: support system version 2017-03-17 22:00:37 -04:00
Trevor Brown
68d759b5d8 Merge pull request #180 from asdf-vm/asdf-update-command-with-tests
Asdf update command with tests
2017-03-17 21:55:24 -04:00
Trevor Brown
ca2bfa285a Add bash completion for the update command. 2017-03-17 21:48:11 -04:00
Trevor Brown
2ca517d8c1 Add tests for the update command. Use sed instead of tail -r to get the
latest tag from the list of sorted tags.

The setup code for these tests isn't ideal. It would be nice not to have
to worry about the remote. Without the 'origin' remote set the Travis
build would fail though.
2017-03-17 21:19:46 -04:00
Trevor Brown
8534ca2858 Finish the update command. 2017-03-17 13:07:30 -04:00
Trevor Brown
5f39035850 Make sure update function is loaded. 2017-03-17 13:07:30 -04:00
Trevor Brown
893c39a0ee Add help for update command. 2017-03-17 13:07:30 -04:00
Trevor Brown
492ea04cc0 Add update command. 2017-03-17 13:07:30 -04:00
Fernando Crespo
97c0fc44e2 Add tests for which command 2017-03-16 00:57:15 -03:00
Fernando Crespo
2260d22d79 Add missing function checking for deprecated plugins 2017-03-16 00:57:07 -03:00
Akash Manohar
7c2514d93b Merge pull request #171 from asdf-vm/test-for-plugin-license
Update the plugin-test command to assert that the plugin license file exists
2017-03-16 06:50:30 +05:30
Fernando Crespo
9657ff690e Add path to which command 2017-03-14 11:09:34 -03:00
Fernando Crespo
9d347deb0b Add plugin name to command 2017-03-14 11:08:18 -03:00
Fernando Crespo
3e72800052 add parameter to current version 2017-03-14 11:07:22 -03:00
Fernando Crespo
1ea63ec257 Fix extra paren 2017-03-14 11:06:07 -03:00
Fernando Crespo
5ccb7d75f5 Fix no install_type 2017-03-14 11:04:30 -03:00
Fernando Crespo
fb4e263598 Initial support for which command 2017-03-14 10:56:59 -03:00
Daniel Perez
028699a7ea Merge pull request #175 from aeons/master
Avoid error when sysctl is missing hw.ncpu key
2017-03-13 08:40:23 -07:00
Bjørn Madsen
887de73b79 Avoid error when sysctl is missing hw.ncpu key 2017-03-13 09:13:42 +01:00
Trevor Brown
27bee2fbce Merge pull request #169 from ypid/fix-156
Properly address shellcheck warnings ignored in #156
2017-03-12 12:22:58 -04:00
Akash Manohar
970a369c72 Merge pull request #174 from fcrespo82/patch-1
Update README.md
2017-03-11 13:24:26 +05:30
Fernando
9f56607da6 Update README.md
Added Plugin reference in table of supported languages
2017-03-11 00:36:52 -03:00
Trevor Brown
dd83a70961 Add items to changelog in preparation for 0.3.0 release. 2017-03-08 16:37:23 -05:00
Trevor Brown
3c449deb97 Update the plugin-test command to assert that the plugin license file exists and is not empty. 2017-03-07 17:33:41 -05:00
Trevor Brown
18c3970bf7 Merge pull request #170 from asdf-vm/fix-grep-options
Make sure grep uses the correct settings when invoked by asdf.
2017-03-07 16:00:17 -05:00
Trevor Brown
7445db63b1 Add grep fix to changelog. 2017-03-07 13:36:58 -05:00
Trevor Brown
e6c69d4676 Make sure grep uses the correct settings when invoked by asdf. 2017-03-07 13:18:20 -05:00
Robin Schneider
ae2c5b88a1
Properly address shellcheck warnings ignored in #156 2017-03-07 16:20:04 +01:00
Stratus3D
604156344d Add note on ASDF_DIR to changelog. 2017-03-07 09:57:14 -05:00
Trevor Brown
ed6998c5a9 Merge pull request #156 from ypid/export/ASDF_DIR
export ASDF_DIR so that plugins can use it to refer to the ASDF DIR
2017-03-07 09:37:48 -05:00
Akash Manohar
f1bb8879ed Add coreutils to list of packages for Mac OS 2017-02-26 11:12:58 +05:30
Robin Schneider
7c30e6f9d2
Fix typo: seperated → separated
Automated edit command: git ls-files -z "$(git rev-parse --show-toplevel)" | xargs --null -I '{}' find '{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's/seperated/separated/g;'
2017-02-20 19:44:44 +01:00
Robin Schneider
b4ab0746e1
Upgrade legacy HTTP URLs in docs to HTTPS URLs 2017-02-20 19:41:33 +01:00
Robin Schneider
04c2e26a07
Add OpenPGP keyring support by ignoring the keyring in git
As the proposal for asdf-nodejs to [validate OpenPGP
signatures](https://github.com/asdf-vm/asdf-nodejs/pull/25) has been
approved and merged I guess the design is sound and other plugins can
follow.

Related to: #159
2017-02-20 19:34:08 +01:00
Trevor Brown
2ec9e98601 Merge pull request #154 from Stratus3D/dont-change-permissions
Don't change the permissions on files in a plugin's bin directory.
2017-02-13 09:00:16 -07:00
Robin Schneider
809f32bb9f
export ASDF_DIR so that plugins can use it to refer to the ASDF DIR
Also fixed `shellcheck` warnings in the file.
2017-02-12 20:21:24 +01:00
Trevor Brown
85e56753fd Don't change the permissions on files in a plugin's bin directory. 2017-02-11 20:46:34 -05:00
Trevor Brown
7b586312fc Merge pull request #152 from asdf-vm/Stratus3D-readme
Fix ordering of the plugins in the readme
2017-02-09 08:05:38 -07:00