elm_install 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/Readme.md +14 -1
- data/lib/elm_install/directory_source.rb +5 -2
- data/lib/elm_install/version.rb +1 -1
- data/package.json +1 -1
- data/packaging/Gemfile +1 -1
- data/packaging/Gemfile.lock +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 845f6ec2bfdcc6e916f880e8543ea719cf138355
|
|
4
|
+
data.tar.gz: 5b3e9be0eb5862b922ae74e7b7ebf54628fc57ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2856121f0ad8ddcd6587d14b4b284901fceb2a83951223229449dcf705c513282f2686d40b149bcfa8a81942264456357784deeac80c950ee1fbba66874c4fb6
|
|
7
|
+
data.tar.gz: 96a6063f000ecd7c2ea72020fb46f3066598d327b199972341253eaa9b7b7b0ef395af700a0f8708963b0002614192270491ba2e202e3a718a62838c190ba2a7
|
data/Gemfile.lock
CHANGED
data/Readme.md
CHANGED
|
@@ -22,13 +22,26 @@ If you have ruby installed on your machine then you can install it directly from
|
|
|
22
22
|
gem install elm_install
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
If you have
|
|
25
|
+
If you have node.js installed on your machine then you can install it directly from
|
|
26
26
|
[npm](https://www.npmjs.com/package/elm-github-install):
|
|
27
27
|
|
|
28
28
|
```
|
|
29
29
|
npm install elm-github-install -g
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
+
or with [yarn](https://yarnpkg.com/en/):
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
yarn global add elm-github-install
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
If you are experiencing `EACCES: permission denied` errors during installation
|
|
39
|
+
using NPM then you can try:
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
sudo npm i -g elm-github-install --unsafe-perm=true --allow-root
|
|
43
|
+
```
|
|
44
|
+
|
|
32
45
|
There are also dependency free versions available for every release in the
|
|
33
46
|
[releases page](https://github.com/gdotdesign/elm-github-install/releases).
|
|
34
47
|
|
|
@@ -45,13 +45,16 @@ module ElmInstall
|
|
|
45
45
|
nil
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
Contract ArrayOf[Solve::Constraint]
|
|
48
|
+
Contract ArrayOf[Solve::Constraint],
|
|
49
|
+
String,
|
|
50
|
+
Bool,
|
|
51
|
+
Or[String, NilClass] => ArrayOf[Semverse::Version]
|
|
49
52
|
# Returns the available versions for a repository
|
|
50
53
|
#
|
|
51
54
|
# @param _ [Array] The constraints
|
|
52
55
|
#
|
|
53
56
|
# @return [Array] The versions
|
|
54
|
-
def versions(_)
|
|
57
|
+
def versions(*_)
|
|
55
58
|
[identifier.version(fetch(''))]
|
|
56
59
|
end
|
|
57
60
|
|
data/lib/elm_install/version.rb
CHANGED
data/package.json
CHANGED
data/packaging/Gemfile
CHANGED
data/packaging/Gemfile.lock
CHANGED
|
@@ -5,7 +5,7 @@ GEM
|
|
|
5
5
|
commander (4.4.3)
|
|
6
6
|
highline (~> 1.7.2)
|
|
7
7
|
contracts (0.16.0)
|
|
8
|
-
elm_install (1.
|
|
8
|
+
elm_install (1.6.0)
|
|
9
9
|
adts (~> 0.1.2)
|
|
10
10
|
commander (~> 4.4, >= 4.4.2)
|
|
11
11
|
contracts (~> 0.16.0)
|
|
@@ -32,7 +32,7 @@ PLATFORMS
|
|
|
32
32
|
ruby
|
|
33
33
|
|
|
34
34
|
DEPENDENCIES
|
|
35
|
-
elm_install (= 1.
|
|
35
|
+
elm_install (= 1.6.0)
|
|
36
36
|
|
|
37
37
|
RUBY VERSION
|
|
38
38
|
ruby 2.2.2p95
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elm_install
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gusztáv Szikszai
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-09-
|
|
11
|
+
date: 2017-09-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: git
|