qricker 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/qricker/dependency.rb +11 -5
- data/lib/qricker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 864cfd76b183e751afa2df780a1f57134695ed76
|
4
|
+
data.tar.gz: fb689e37e9ef8dc4658e76d016fd307f310bdffe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7b618aaa667497ff937639d034c2faf77d584437d8c2d3a22b2e937a9be78d782cd86ded816c8d2098e2b67fc64a836536c400ecfd7d0ff936ca69bb920a5bf
|
7
|
+
data.tar.gz: 36f7ffbc5a4e31967e8d61edded9de6e5c294b64b1cf83139f7fb4e40db044a72c51fd60cae599a6d07729eb0edf07e4224b77db59677c24da722ae290ecde98
|
data/Gemfile.lock
CHANGED
data/lib/qricker/dependency.rb
CHANGED
@@ -94,7 +94,6 @@ module Qricker
|
|
94
94
|
if parentNode.searchChild(child).nil?
|
95
95
|
parentNode.addChild(childNode)
|
96
96
|
end
|
97
|
-
@roots.printSelf(0)
|
98
97
|
end
|
99
98
|
|
100
99
|
def sorted
|
@@ -110,6 +109,11 @@ module Qricker
|
|
110
109
|
return deps
|
111
110
|
end
|
112
111
|
|
112
|
+
|
113
|
+
def printSelf
|
114
|
+
@roots.printSelf(0)
|
115
|
+
end
|
116
|
+
|
113
117
|
private
|
114
118
|
def addSortedArray(array, node)
|
115
119
|
spec = nil
|
@@ -129,9 +133,6 @@ module Qricker
|
|
129
133
|
|
130
134
|
end
|
131
135
|
|
132
|
-
def printSelf
|
133
|
-
@roots.printSelf(0)
|
134
|
-
end
|
135
136
|
|
136
137
|
end
|
137
138
|
|
@@ -172,7 +173,12 @@ module Qricker
|
|
172
173
|
|
173
174
|
def Qricker.sortDenpencies(deps)
|
174
175
|
resolver = Resolver.new(deps)
|
175
|
-
resolver.sorted
|
176
|
+
deps = resolver.sorted
|
177
|
+
|
178
|
+
puts "deps #{deps}"
|
179
|
+
puts "依赖关系图为:"
|
180
|
+
resolver.printSelf
|
181
|
+
return deps
|
176
182
|
end
|
177
183
|
|
178
184
|
def Qricker.dependencyIncludeSelf(localfile, specnames)
|
data/lib/qricker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qricker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Your Name Here
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|