revelry_generate 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63b6bbe7b912bdedb6a6946054c3c900ff504fbf
4
- data.tar.gz: b1e0299c71efeb310e4e785f83610e090447a671
3
+ metadata.gz: 640d999fc2d386d2de1b3be8ea492cbdc242eb36
4
+ data.tar.gz: 3be1bef498b3d29c105053689f51904f3c372a52
5
5
  SHA512:
6
- metadata.gz: e89fac444d5f66c384a3512ae0f07e7c195d8deedd16bf9fe401f8a4d4237df1236f7aa12ae087aaac163a972f4643b38f85abbcbb68e7b7e91bc61e4d6584ac
7
- data.tar.gz: 0c9da7e9563df1bce7d040cc851359db96467a9754bb80cbf0020db5c925ebe8d2aa5e21053abc5b8b9c4e98ceb572fb0ac3a35f4f7b76bbdb54f6d7be5a90e5
6
+ metadata.gz: d723893b905c817309dda265ab06cb65104aa428cff38126e9b31f084f853c731209798a5416ef37a52a00cf54fa0ac107ce4f80b0a453ced18046dabd82f163
7
+ data.tar.gz: 48d1060742b5e1bd64f1fe028dd1affd101219fbabcc148742f125b0f6cdeb3c76528bd06ccfc87d649a60ae5fbe406d1b2a3f3ef0c5ef4165a562e89d59a179
@@ -19,7 +19,8 @@ node_version =
19
19
  if which('asdf').present?
20
20
  `asdf list nodejs`.split.last
21
21
  elsif which('nodenv').present?
22
- `nodenv versions`.split.last
22
+ last = `nodenv versions`.split("\n").last
23
+ /(\d+\.\d+\.?\d*)/.match(last)[0]
23
24
  end
24
25
 
25
26
  if node_version.present?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: revelry_generate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Prehn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-08 00:00:00.000000000 Z
11
+ date: 2017-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -122,9 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  requirements: []
124
124
  rubyforge_project:
125
- rubygems_version: 2.5.2
125
+ rubygems_version: 2.6.13
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: ''
129
129
  test_files: []
130
- has_rdoc: