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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bf6faaacd71f18c899968687b3075919b8a100f
4
- data.tar.gz: 03225cc158d380f2fcfc0f6d46d77cab10eec11f
3
+ metadata.gz: 845f6ec2bfdcc6e916f880e8543ea719cf138355
4
+ data.tar.gz: 5b3e9be0eb5862b922ae74e7b7ebf54628fc57ce
5
5
  SHA512:
6
- metadata.gz: 0be587f84093f0166054966faee8865063e239973c33d92a71c82b3cefb56058ad8855975e8825bde2abdea80d4172ed0f56c254779bbc0819c07418f85c7554
7
- data.tar.gz: d960525811786839601e2ad9616cf64cb334b8e4fd1ecab6952200ba0917f0175ce978e9abade0ca1d9c5fb4fa1e0f1acea5b9b8b7364cf898525a488a3e0ca3
6
+ metadata.gz: 2856121f0ad8ddcd6587d14b4b284901fceb2a83951223229449dcf705c513282f2686d40b149bcfa8a81942264456357784deeac80c950ee1fbba66874c4fb6
7
+ data.tar.gz: 96a6063f000ecd7c2ea72020fb46f3066598d327b199972341253eaa9b7b7b0ef395af700a0f8708963b0002614192270491ba2e202e3a718a62838c190ba2a7
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- elm_install (1.6.0)
4
+ elm_install (1.6.1)
5
5
  adts (~> 0.1.2)
6
6
  commander (~> 4.4, >= 4.4.2)
7
7
  contracts (~> 0.16.0)
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 npm installed on your machine then you can install it directly from
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] => ArrayOf[Semverse::Version]
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
 
@@ -1,4 +1,4 @@
1
1
  module ElmInstall
2
2
  # The version of ElmInstall
3
- VERSION = '1.6.0'.freeze
3
+ VERSION = '1.6.1'.freeze
4
4
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elm-github-install",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Install Elm packages directly from Git repositories",
5
5
  "scripts": {
6
6
  "install": "node scripts/install.js",
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  ruby '2.2.2'
4
4
 
5
- gem 'elm_install', '1.5.0'
5
+ gem 'elm_install', '1.6.1'
@@ -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.5.0)
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.5.0)
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.0
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-20 00:00:00.000000000 Z
11
+ date: 2017-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git