spitball 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 29c6cd0a491b6bbef25ba0a05dfae749fffc4284
4
+ data.tar.gz: b978a692a901a62b14a074b3d61d64fc8bbbb29d
5
+ SHA512:
6
+ metadata.gz: 701ce0db6ef506a1d0b34ba6b50c32ce67c37a8b327c43cacb21485118a0aa077e17aaf7ca78857ba966c176967ed456b11d9246be27981cb1adfa4cb61b7519
7
+ data.tar.gz: 9ee16d9d6d32947c42d029a674577d990420fe367d3743a261fdaa0808cbbbdb5c4893f9a9ed64c363b28c3ffe21b3b535888158b8b86e2ba20d2fe4419ea20b
@@ -146,7 +146,7 @@ class Spitball
146
146
  sort.
147
147
  map{|s| %w{gemcutter rubygems rubyforge}.include?(s) ? "http://rubygems.org" : s}).
148
148
  map{|s| "--source #{s}"}.
149
- map{|s| "#{"--clear-sources " if SemVer.parse(Gem.rubygems_version.to_s) >= SemVer.parse('1.4.0') }#{s}"}.
149
+ map{|s| "#{"--clear-sources " if SemVer.parse(Gem::VERSION) >= SemVer.parse('1.4.0') }#{s}"}.
150
150
  join(' ')
151
151
  end
152
152
 
@@ -1,3 +1,3 @@
1
1
  class Spitball
2
- VERSION = '0.7.1' unless const_defined?(:VERSION)
2
+ VERSION = '0.7.2' unless const_defined?(:VERSION)
3
3
  end
@@ -139,14 +139,14 @@ describe Spitball do
139
139
  it "does not add --clear sources for rubygems >= 1.4.0" do
140
140
  @spitball = Spitball.new(@gemfile, @lockfile)
141
141
  parsed_lockfile = @spitball.instance_variable_get("@parsed_lockfile")
142
- stub(Gem).rubygems_version { "1.3.10" }
142
+ Gem::VERSION = "1.3.10"
143
143
  @spitball.send(:sources_opt, parsed_lockfile.sources).should == "--source http://rubygems.org/"
144
144
  end
145
145
 
146
146
  it "does not add --clear sources for rubygems >= 1.4.0" do
147
147
  @spitball = Spitball.new(@gemfile, @lockfile)
148
148
  parsed_lockfile = @spitball.instance_variable_get("@parsed_lockfile")
149
- stub(Gem).rubygems_version { "1.4.0" }
149
+ Gem::VERSION = "1.4.0"
150
150
  @spitball.send(:sources_opt, parsed_lockfile.sources).should == "--clear-sources --source http://rubygems.org/"
151
151
  end
152
152
  end
metadata CHANGED
@@ -1,107 +1,95 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: spitball
3
- version: !ruby/object:Gem::Version
4
- hash: 1
5
- prerelease:
6
- segments:
7
- - 0
8
- - 7
9
- - 1
10
- version: 0.7.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.2
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Matt Freels
14
8
  - Brandon Mitchell
15
9
  - Joshua Hull
16
10
  autorequire:
17
11
  bindir: bin
18
12
  cert_chain: []
19
-
20
- date: 2013-11-19 00:00:00 Z
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
13
+ date: 2013-11-23 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rspec
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 27
29
- segments:
30
- - 1
31
- - 3
32
- - 0
20
+ - !ruby/object:Gem::Version
33
21
  version: 1.3.0
34
- name: rspec
35
- prerelease: false
36
22
  type: :development
37
- version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
39
- requirement: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 0
47
- version: "0"
48
- name: diff-lcs
49
23
  prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ version: 1.3.0
29
+ - !ruby/object:Gem::Dependency
30
+ name: diff-lcs
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '>='
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
50
36
  type: :development
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- hash: 3
59
- segments:
60
- - 0
61
- version: "0"
62
- name: rr
63
37
  prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - '>='
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
43
+ - !ruby/object:Gem::Dependency
44
+ name: rr
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - '>='
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
64
50
  type: :development
65
- version_requirements: *id003
66
- - !ruby/object:Gem::Dependency
67
- requirement: &id004 !ruby/object:Gem::Requirement
68
- none: false
69
- requirements:
70
- - - "="
71
- - !ruby/object:Gem::Version
72
- hash: 49
73
- segments:
74
- - 0
75
- - 8
76
- - 7
77
- version: 0.8.7
78
- name: rake
79
51
  prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - '>='
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ - !ruby/object:Gem::Dependency
58
+ name: rake
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - '='
62
+ - !ruby/object:Gem::Version
63
+ version: 0.8.7
80
64
  type: :development
81
- version_requirements: *id004
82
- - !ruby/object:Gem::Dependency
83
- requirement: &id005 !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- hash: 3
89
- segments:
90
- - 0
91
- version: "0"
92
- name: phocus
93
65
  prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - '='
69
+ - !ruby/object:Gem::Version
70
+ version: 0.8.7
71
+ - !ruby/object:Gem::Dependency
72
+ name: phocus
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
94
78
  type: :development
95
- version_requirements: *id005
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - '>='
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
96
85
  description: Use bundler to generate gem tarball packages.
97
86
  email: freels@twitter.com
98
- executables:
87
+ executables:
99
88
  - spitball
100
89
  extensions: []
101
-
102
- extra_rdoc_files:
90
+ extra_rdoc_files:
103
91
  - README.md
104
- files:
92
+ files:
105
93
  - .gitignore
106
94
  - .travis.yml
107
95
  - CONTRIBUTING.md
@@ -128,38 +116,28 @@ files:
128
116
  - spitball.gemspec
129
117
  homepage: http://github.com/twitter/spitball
130
118
  licenses: []
131
-
119
+ metadata: {}
132
120
  post_install_message:
133
121
  rdoc_options: []
134
-
135
- require_paths:
122
+ require_paths:
136
123
  - lib
137
- required_ruby_version: !ruby/object:Gem::Requirement
138
- none: false
139
- requirements:
140
- - - ">="
141
- - !ruby/object:Gem::Version
142
- hash: 3
143
- segments:
144
- - 0
145
- version: "0"
146
- required_rubygems_version: !ruby/object:Gem::Requirement
147
- none: false
148
- requirements:
149
- - - ">="
150
- - !ruby/object:Gem::Version
151
- hash: 3
152
- segments:
153
- - 0
154
- version: "0"
124
+ required_ruby_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - '>='
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ required_rubygems_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
155
134
  requirements: []
156
-
157
135
  rubyforge_project: spitball
158
- rubygems_version: 1.8.3
136
+ rubygems_version: 2.0.14
159
137
  signing_key:
160
- specification_version: 3
138
+ specification_version: 4
161
139
  summary: Use bundler to generate gem tarball packages
162
- test_files:
140
+ test_files:
163
141
  - spec/spec.opts
164
142
  - spec/spec_helper.rb
165
143
  - spec/spitball_spec.rb