nu 0.2.6.pre1 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -35,8 +35,9 @@ class PackageConflictFinder
|
|
35
35
|
suggested_packages << {:name=>proposed_package.name, :version=> req(proposed_package.version)}
|
36
36
|
|
37
37
|
proposed_package.dependencies.each do |dep|
|
38
|
-
suggested_packages.
|
39
|
-
|
38
|
+
unless suggested_packages.any?{|i| i[:name] == dep.name}
|
39
|
+
suggested_packages << {:name=>dep.name, :version=>dep.requirement}
|
40
|
+
end
|
40
41
|
end
|
41
42
|
return suggested_packages
|
42
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 27
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
9
|
- 6
|
10
|
-
|
11
|
-
version: 0.2.6.pre1
|
10
|
+
version: 0.2.6
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Dru Sellers
|
@@ -19,7 +18,7 @@ autorequire:
|
|
19
18
|
bindir: bin
|
20
19
|
cert_chain: []
|
21
20
|
|
22
|
-
date: 2010-09-
|
21
|
+
date: 2010-09-25 00:00:00 -04:00
|
23
22
|
default_executable:
|
24
23
|
dependencies:
|
25
24
|
- !ruby/object:Gem::Dependency
|