gem-dependent 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/Readme.md +7 -3
- data/lib/rubygems/dependent.rb +2 -2
- data/lib/rubygems/dependent/version.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/Readme.md
CHANGED
@@ -43,8 +43,12 @@ TODO
|
|
43
43
|
- add tests for cli interface
|
44
44
|
- add `--type development` support
|
45
45
|
|
46
|
-
|
47
|
-
|
46
|
+
Authors
|
47
|
+
=======
|
48
|
+
|
49
|
+
### [Contributors](https://github.com/grosser/gem-dependent/contributors)
|
50
|
+
- [Christopher Patuzzo](https://github.com/cpatuzzo)
|
51
|
+
|
48
52
|
[Michael Grosser](http://grosser.it)<br/>
|
49
53
|
michael@grosse.it<br/>
|
50
|
-
|
54
|
+
License: MIT
|
data/lib/rubygems/dependent.rb
CHANGED
@@ -28,7 +28,7 @@ module Gem
|
|
28
28
|
|
29
29
|
private
|
30
30
|
|
31
|
-
def self.fetch_all_dependencies(specs_and_sources, options)
|
31
|
+
def self.fetch_all_dependencies(specs_and_sources, options={})
|
32
32
|
parallel = (options[:parallel] || 15)
|
33
33
|
Gem::Dependent::Parallel.map(specs_and_sources, :in_processes => parallel) do |spec, source|
|
34
34
|
yield if block_given?
|
@@ -38,7 +38,7 @@ module Gem
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
def self.fetch_dependencies(spec, source, options)
|
41
|
+
def self.fetch_dependencies(spec, source, options={})
|
42
42
|
begin
|
43
43
|
fetcher = Gem::SpecFetcher.fetcher
|
44
44
|
fetcher.fetch_spec(spec, URI.parse(source)).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: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Grosser
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-05-
|
18
|
+
date: 2012-05-26 00:00:00 Z
|
19
19
|
dependencies: []
|
20
20
|
|
21
21
|
description:
|