dep 1.1.0 → 2.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dep +2 -6
- data/test/dep.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60ce65b76cd42c0236153622d341926bac74fd59
|
4
|
+
data.tar.gz: 6e2d6748e1606d96ac30ef2ec04681b080a7716e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47346b41faef1d20447d6059abd1f2d38136ddf453ae9361e65c36beb8d7f715540d9823cedacd39fa3b2ccdeebce1e785274b6e24ad29a530420055d5ff50fe
|
7
|
+
data.tar.gz: 3182884808d83e92c2807023b0a152c18a6c65b23a9e4aba5b67ddf97983bb19b46ec962a539f4b82c251c6509547018e2369dae66770e4bb2f20d9bc9d410dc
|
data/bin/dep
CHANGED
@@ -42,7 +42,7 @@ module Dep
|
|
42
42
|
|
43
43
|
class Lib < Struct.new(:name, :version)
|
44
44
|
def self.[](line)
|
45
|
-
if line.strip =~ /^(\S+)
|
45
|
+
if line.strip =~ /^(\S+):(\S+)$/
|
46
46
|
return new($1, $2)
|
47
47
|
else
|
48
48
|
abort("Invalid requirement found: #{line}")
|
@@ -56,10 +56,6 @@ module Dep
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def to_s
|
59
|
-
"#{name} -v #{version}"
|
60
|
-
end
|
61
|
-
|
62
|
-
def csv
|
63
59
|
"#{name}:#{version}"
|
64
60
|
end
|
65
61
|
|
@@ -120,7 +116,7 @@ module Dep
|
|
120
116
|
exit
|
121
117
|
end
|
122
118
|
|
123
|
-
run "gem install #{@list.missing_libraries.
|
119
|
+
run "gem install #{@list.missing_libraries.join(" ")}"
|
124
120
|
end
|
125
121
|
|
126
122
|
def run(cmd)
|
data/test/dep.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.alpha1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyril David
|
@@ -36,9 +36,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
36
36
|
version: '0'
|
37
37
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - "
|
39
|
+
- - ">"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
41
|
+
version: 1.3.1
|
42
42
|
requirements: []
|
43
43
|
rubyforge_project:
|
44
44
|
rubygems_version: 2.2.2
|