gem-dependent 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,6 +1,8 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'rake'
4
- gem 'rspec', '~>2'
5
- gem 'jeweler'
6
- gem 'parallel', '>= 0.5.1'
3
+ group :dev do
4
+ gem 'rake'
5
+ gem 'rspec', '~>2'
6
+ gem 'jeweler'
7
+ gem 'parallel', '>= 0.5.1'
8
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gem-dependent}
8
- s.version = "0.1.5"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
12
- s.date = %q{2010-11-06}
12
+ s.date = %q{2011-05-09}
13
13
  s.email = %q{grosser.michael@gmail.com}
14
14
  s.files = [
15
15
  "Gemfile",
@@ -35,14 +35,13 @@ gem install parallel
35
35
  }
36
36
  s.rdoc_options = ["--charset=UTF-8"]
37
37
  s.require_paths = ["lib"]
38
- s.rubygems_version = %q{1.3.7}
38
+ s.rubygems_version = %q{1.6.2}
39
39
  s.summary = %q{See which gems depend on your gems}
40
40
  s.test_files = [
41
41
  "spec/dependent_spec.rb"
42
42
  ]
43
43
 
44
44
  if s.respond_to? :specification_version then
45
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
46
45
  s.specification_version = 3
47
46
 
48
47
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -19,13 +19,13 @@ module Gem
19
19
  end
20
20
 
21
21
  if options[:progress]
22
- puts "Downloading specs for #{specs_and_sources.size} gems"
22
+ $stderr.puts "Downloading specs for #{specs_and_sources.size} gems"
23
23
  end
24
24
 
25
25
  gems_and_dependencies = fetch_all_dependencies(specs_and_sources, options) do
26
26
  print_dot if options[:progress]
27
27
  end
28
- print "\n" if options[:progress]
28
+ $stderr.print "\n" if options[:progress]
29
29
 
30
30
  select_dependent(gems_and_dependencies, gem)
31
31
  end
@@ -61,8 +61,8 @@ module Gem
61
61
  end
62
62
 
63
63
  def self.print_dot
64
- print '.'
65
- $stdout.flush if rand(20) == 0 # make progress visible
64
+ $stderr.print '.'
65
+ $stderr.flush if rand(20) == 0 # make progress visible
66
66
  end
67
67
 
68
68
  def self.all_specs_and_sources
@@ -72,7 +72,7 @@ module Gem
72
72
  prerelease = false
73
73
  matcher = Gem::Dependency.new(//, Gem::Requirement.default) # any name, any version
74
74
  specs_and_sources = fetcher.find_matching matcher, all, matching_platform, prerelease
75
- uniq_by(specs_and_sources){|a| a.first.first }
75
+ uniq_by(specs_and_sources){|a| a.first.first }
76
76
  end
77
77
 
78
78
  # get unique elements from an array (last found is used)
@@ -104,4 +104,4 @@ module Gem
104
104
  end
105
105
  end
106
106
  end
107
- end
107
+ end
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: 17
5
- prerelease: false
4
+ hash: 23
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
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: 2010-11-06 00:00:00 +01:00
18
+ date: 2011-05-09 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  requirements: []
78
78
 
79
79
  rubyforge_project:
80
- rubygems_version: 1.3.7
80
+ rubygems_version: 1.6.2
81
81
  signing_key:
82
82
  specification_version: 3
83
83
  summary: See which gems depend on your gems