spitball-server 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2c47443929aaa593ce5f0f2c207a8e37c6327a0a
4
+ data.tar.gz: 4262355e8551969b3bbd0d30d923ea63828be988
5
+ SHA512:
6
+ metadata.gz: c5bbc253d4ced1d342eefbb0da736678d8d06fc309f1d04e5a746e2947c94d696805e0e70645926c835a04f8c2f81c3d901eee73cc3f9f3a2fbe4bb58d77416c
7
+ data.tar.gz: a9269f1575fdeda94fea4055f4e9cec5a8cf4d23e0065ae655ca2d84bc6ac1b081c1558545c414df829965fd7987b29711eb78cd8c515df3afea99bb21c7e3ca
@@ -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
data/lib/spitball.rb CHANGED
@@ -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
 
@@ -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,152 +1,137 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: spitball-server
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:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
13
+ date: 2013-11-23 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
32
16
  name: json
33
- prerelease: false
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- requirement: &id002 !ruby/object:Gem::Requirement
38
- none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
46
- name: sem_ver
47
23
  prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - '>='
27
+ - !ruby/object:Gem::Version
28
+ version: '0'
29
+ - !ruby/object:Gem::Dependency
30
+ name: sem_ver
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - '>='
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
48
36
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- requirement: &id003 !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
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: sinatra
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
54
47
  - - ~>
55
- - !ruby/object:Gem::Version
56
- hash: 31
57
- segments:
58
- - 1
59
- - 2
60
- - 0
48
+ - !ruby/object:Gem::Version
61
49
  version: 1.2.0
62
- name: sinatra
63
- prerelease: false
64
50
  type: :runtime
65
- version_requirements: *id003
66
- - !ruby/object:Gem::Dependency
67
- requirement: &id004 !ruby/object:Gem::Requirement
68
- none: false
69
- requirements:
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
70
54
  - - ~>
71
- - !ruby/object:Gem::Version
72
- hash: 27
73
- segments:
74
- - 1
75
- - 3
76
- - 0
77
- version: 1.3.0
55
+ - !ruby/object:Gem::Version
56
+ version: 1.2.0
57
+ - !ruby/object:Gem::Dependency
78
58
  name: rspec
79
- prerelease: false
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ~>
62
+ - !ruby/object:Gem::Version
63
+ version: 1.3.0
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: diff-lcs
93
65
  prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ~>
69
+ - !ruby/object:Gem::Version
70
+ version: 1.3.0
71
+ - !ruby/object:Gem::Dependency
72
+ name: diff-lcs
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
96
- - !ruby/object:Gem::Dependency
97
- requirement: &id006 !ruby/object:Gem::Requirement
98
- none: false
99
- requirements:
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- hash: 3
103
- segments:
104
- - 0
105
- version: "0"
106
- name: rr
107
79
  prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - '>='
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ - !ruby/object:Gem::Dependency
86
+ name: rr
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - '>='
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
108
92
  type: :development
109
- version_requirements: *id006
110
- - !ruby/object:Gem::Dependency
111
- requirement: &id007 !ruby/object:Gem::Requirement
112
- none: false
113
- requirements:
114
- - - "="
115
- - !ruby/object:Gem::Version
116
- hash: 49
117
- segments:
118
- - 0
119
- - 8
120
- - 7
121
- version: 0.8.7
122
- name: rake
123
93
  prerelease: false
94
+ version_requirements: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ - !ruby/object:Gem::Dependency
100
+ name: rake
101
+ requirement: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - '='
104
+ - !ruby/object:Gem::Version
105
+ version: 0.8.7
124
106
  type: :development
125
- version_requirements: *id007
126
- - !ruby/object:Gem::Dependency
127
- requirement: &id008 !ruby/object:Gem::Requirement
128
- none: false
129
- requirements:
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- hash: 3
133
- segments:
134
- - 0
135
- version: "0"
136
- name: phocus
137
107
  prerelease: false
108
+ version_requirements: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - '='
111
+ - !ruby/object:Gem::Version
112
+ version: 0.8.7
113
+ - !ruby/object:Gem::Dependency
114
+ name: phocus
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - '>='
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
138
120
  type: :development
139
- version_requirements: *id008
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - '>='
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
140
127
  description: Use bundler to generate gem tarball packages - server!
141
128
  email: freels@twitter.com
142
- executables:
129
+ executables:
143
130
  - spitball-server
144
131
  - spitball-cache-cleanup
145
132
  extensions: []
146
-
147
133
  extra_rdoc_files: []
148
-
149
- files:
134
+ files:
150
135
  - .gitignore
151
136
  - .travis.yml
152
137
  - CONTRIBUTING.md
@@ -171,40 +156,30 @@ files:
171
156
  - spec/spitball_spec.rb
172
157
  - spitball-server.gemspec
173
158
  - spitball.gemspec
174
- homepage: ""
159
+ homepage: ''
175
160
  licenses: []
176
-
161
+ metadata: {}
177
162
  post_install_message:
178
163
  rdoc_options: []
179
-
180
- require_paths:
164
+ require_paths:
181
165
  - lib
182
- required_ruby_version: !ruby/object:Gem::Requirement
183
- none: false
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- hash: 3
188
- segments:
189
- - 0
190
- version: "0"
191
- required_rubygems_version: !ruby/object:Gem::Requirement
192
- none: false
193
- requirements:
194
- - - ">="
195
- - !ruby/object:Gem::Version
196
- hash: 3
197
- segments:
198
- - 0
199
- version: "0"
166
+ required_ruby_version: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - '>='
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ required_rubygems_version: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - '>='
174
+ - !ruby/object:Gem::Version
175
+ version: '0'
200
176
  requirements: []
201
-
202
177
  rubyforge_project: spitball-server
203
- rubygems_version: 1.8.3
178
+ rubygems_version: 2.0.14
204
179
  signing_key:
205
- specification_version: 3
180
+ specification_version: 4
206
181
  summary: Use bundler to generate gem tarball packages -- server!
207
- test_files:
182
+ test_files:
208
183
  - spec/spec.opts
209
184
  - spec/spec_helper.rb
210
185
  - spec/spitball_spec.rb