dep_selector 1.0.1 → 1.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a88c054c230ac9cd8c865c8d472e261540f95a7b
|
4
|
+
data.tar.gz: cd0c15522d2f07bb2fdad89303aaa262d0f9ac95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e2460fff1a9c57fe68f1b3a9477d12961d20971ccfbe4cd0c2b1c4806d0df56b9bda4ef9c8a2c71ba2ebd4e4ccfc5806208f3246938303a0356e3fb69d0dcb4
|
7
|
+
data.tar.gz: c08199238f23ee78a3f7f0a2291da65bafde6b328807ed66d95aa8e519150ec84d055feef98d9c3c7aca43b4c73c55d57106269ea5ec3c4cd57970f7da2d40bc
|
@@ -80,13 +80,14 @@ module DepSelector
|
|
80
80
|
# version_constraint and recurse into them
|
81
81
|
seen_dep_trees = {}
|
82
82
|
curr_pkg[version_constraint].each do |curr_pkg_ver|
|
83
|
-
|
83
|
+
dep_key = curr_pkg_ver.dependencies
|
84
|
+
next if seen_dep_trees.has_key?(dep_key)
|
84
85
|
curr_path.push(curr_pkg_ver)
|
85
86
|
curr_pkg_ver.dependencies.each do |dep|
|
86
87
|
next if curr_pkg.name == dep.package.name
|
87
88
|
paths_to_pkg(dep_graph, dep.package, dep.constraint, target_pkg, curr_path, all_paths)
|
88
89
|
end
|
89
|
-
seen_dep_trees[
|
90
|
+
seen_dep_trees[dep_key] = true
|
90
91
|
curr_path.pop
|
91
92
|
end
|
92
93
|
end
|
@@ -96,7 +96,7 @@ module DepSelector
|
|
96
96
|
acc
|
97
97
|
end
|
98
98
|
# disambiguate between packages disabled becuase they
|
99
|
-
|
99
|
+
# don't exist and those that have otherwise problematic
|
100
100
|
# constraints
|
101
101
|
disabled_non_existent_packages = []
|
102
102
|
disabled_most_constrained_packages = []
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dep_selector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Walters
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|