gem-dependent 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Readme.md +3 -0
- data/VERSION +1 -1
- data/gem-dependent.gemspec +1 -1
- data/lib/rubygems/dependent.rb +4 -1
- metadata +3 -3
data/Readme.md
CHANGED
@@ -4,6 +4,7 @@ Install
|
|
4
4
|
|
5
5
|
Usage
|
6
6
|
=====
|
7
|
+
The first run can take looooong, but after the caches are filled, its pretty fast.
|
7
8
|
gem dependent my_gem
|
8
9
|
|
9
10
|
--source URL Query this source (e.g. http://rubygems.org)
|
@@ -34,6 +35,8 @@ Output
|
|
34
35
|
TODO
|
35
36
|
=====
|
36
37
|
- include reverse dependencies (a > b > c --> a = [b,c])
|
38
|
+
- add tests for cli interface
|
39
|
+
- add `--type development` support
|
37
40
|
|
38
41
|
Author
|
39
42
|
======
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/gem-dependent.gemspec
CHANGED
data/lib/rubygems/dependent.rb
CHANGED
@@ -18,7 +18,10 @@ module Gem
|
|
18
18
|
|
19
19
|
# fetch dependencies
|
20
20
|
gem_names_and_dependencies = Parallel.map(specs_and_sources, :in_processes => 20) do |spec_tuple, source_uri|
|
21
|
-
|
21
|
+
if options[:progress]
|
22
|
+
print '.'
|
23
|
+
$stdout.flush if rand(20) == 0 # make progress visible
|
24
|
+
end
|
22
25
|
name = spec_tuple.first
|
23
26
|
dependencies = dependencies(spec_tuple, source_uri)
|
24
27
|
[name, dependencies]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem-dependent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Grosser
|