hudson 0.3.0.beta.2 → 0.3.0.beta.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hudson (0.3.0.beta.1)
5
- activesupport (~> 3.0.0)
4
+ hudson (0.3.0.beta.2)
6
5
  builder (~> 2.1.2)
7
6
  hpricot
8
7
  httparty (~> 0.5.2)
@@ -13,18 +12,17 @@ PATH
13
12
  GEM
14
13
  remote: http://rubygems.org/
15
14
  specs:
16
- activesupport (3.0.0)
17
15
  awesome_print (0.2.1)
18
16
  builder (2.1.2)
19
17
  crack (0.1.6)
20
- cucumber (0.9.0)
18
+ cucumber (0.9.3)
21
19
  builder (~> 2.1.2)
22
20
  diff-lcs (~> 1.1.2)
23
- gherkin (~> 2.2.2)
21
+ gherkin (~> 2.2.9)
24
22
  json (~> 1.4.6)
25
23
  term-ansicolor (~> 1.0.5)
26
24
  diff-lcs (1.1.2)
27
- gherkin (2.2.8)
25
+ gherkin (2.2.9)
28
26
  json (~> 1.4.6)
29
27
  term-ansicolor (~> 1.0.5)
30
28
  hpricot (0.8.2)
@@ -32,16 +30,16 @@ GEM
32
30
  crack (= 0.1.6)
33
31
  json (1.4.6)
34
32
  rake (0.8.7)
35
- rspec (2.0.0.rc)
36
- rspec-core (= 2.0.0.rc)
37
- rspec-expectations (= 2.0.0.rc)
38
- rspec-mocks (= 2.0.0.rc)
39
- rspec-core (2.0.0.rc)
40
- rspec-expectations (2.0.0.rc)
33
+ rspec (2.0.1)
34
+ rspec-core (~> 2.0.1)
35
+ rspec-expectations (~> 2.0.1)
36
+ rspec-mocks (~> 2.0.1)
37
+ rspec-core (2.0.1)
38
+ rspec-expectations (2.0.1)
41
39
  diff-lcs (>= 1.1.2)
42
- rspec-mocks (2.0.0.rc)
43
- rspec-core (= 2.0.0.rc)
44
- rspec-expectations (= 2.0.0.rc)
40
+ rspec-mocks (2.0.1)
41
+ rspec-core (~> 2.0.1)
42
+ rspec-expectations (~> 2.0.1)
45
43
  term-ansicolor (1.0.5)
46
44
  thor (0.14.2)
47
45
  yajl-ruby (0.7.8)
@@ -50,7 +48,6 @@ PLATFORMS
50
48
  ruby
51
49
 
52
50
  DEPENDENCIES
53
- activesupport (~> 3.0.0)
54
51
  awesome_print
55
52
  builder (~> 2.1.2)
56
53
  cucumber (~> 0.9.0)
data/Rakefile CHANGED
@@ -23,7 +23,6 @@ Gem::Specification.new do |s|
23
23
  s.add_dependency("httparty", ["~> 0.5.2"])
24
24
  s.add_dependency("builder", ["~> 2.1.2"])
25
25
  s.add_dependency("thor", ["= 0.14.2"])
26
- s.add_dependency("activesupport", ["~> 3.0.0"])
27
26
  s.add_dependency("hpricot")
28
27
  s.add_development_dependency("rake", ["~> 0.8.7"])
29
28
  s.add_development_dependency("cucumber", ["~> 0.9.0"])
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{hudson}
5
- s.version = "0.3.0.beta.2"
5
+ s.version = "0.3.0.beta.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Charles Lowell", "Dr Nic Williams"]
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.description = %q{A suite of utilities for bringing continous integration to your projects (not the other way around) with hudson CI}
12
12
  s.email = ["cowboyd@thefrontside.net", "drnicwilliams@gmail.com"]
13
13
  s.executables = ["hudson"]
14
- s.files = ["bin", "bin/hudson", "bin/hudson.compiled.rbc", "features", "features/adding_slave_nodes.feature", "features/create_jobs.feature", "features/development.feature", "features/fixtures", "features/fixtures/projects", "features/fixtures/projects/ruby", "features/fixtures/projects/ruby/Rakefile", "features/listing_jobs.feature", "features/managing_remote_servers.feature", "features/server.feature", "features/step_definitions", "features/step_definitions/common_steps.rb", "features/step_definitions/fixture_project_steps.rb", "features/step_definitions/hudson_steps.rb", "features/step_definitions/scm_steps.rb", "features/support", "features/support/common.rb", "features/support/env.rb", "features/support/hooks.rb", "features/support/matchers.rb", "Gemfile", "Gemfile.lock", "hudson.gemspec", "lib", "lib/hudson", "lib/hudson/api.rb", "lib/hudson/api.rbc", "lib/hudson/cli", "lib/hudson/cli/formatting.rb", "lib/hudson/cli.rb", "lib/hudson/config.rb", "lib/hudson/hudson-cli.jar", "lib/hudson/hudson.war", "lib/hudson/job_config_builder.rb", "lib/hudson/plugins", "lib/hudson/plugins/git.hpi", "lib/hudson/plugins/github.hpi", "lib/hudson/plugins/greenballs.hpi", "lib/hudson/plugins/rake.hpi", "lib/hudson/plugins/ruby.hpi", "lib/hudson/project_scm.rb", "lib/hudson/remote.rb", "lib/hudson.rb", "lib/hudson.rbc", "Rakefile", "README.md", "spec", "spec/fixtures", "spec/fixtures/ec2_global.config.xml", "spec/fixtures/rails.multi.config.xml", "spec/fixtures/rails.single.config.xml", "spec/fixtures/rubygem.config.xml", "spec/fixtures/therubyracer.config.xml", "spec/job_config_builder_spec.rb", "spec/spec_helper.rb"]
14
+ s.files = ["bin", "bin/hudson", "bin/hudson.compiled.rbc", "features", "features/adding_slave_nodes.feature", "features/create_jobs.feature", "features/development.feature", "features/fixtures", "features/fixtures/projects", "features/fixtures/projects/ruby", "features/fixtures/projects/ruby/Rakefile", "features/listing_jobs.feature", "features/managing_remote_servers.feature", "features/server.feature", "features/step_definitions", "features/step_definitions/common_steps.rb", "features/step_definitions/fixture_project_steps.rb", "features/step_definitions/hudson_steps.rb", "features/step_definitions/scm_steps.rb", "features/support", "features/support/common.rb", "features/support/env.rb", "features/support/hooks.rb", "features/support/matchers.rb", "Gemfile", "Gemfile.lock", "hudson.gemspec", "lib", "lib/hudson", "lib/hudson/api.rb", "lib/hudson/api.rbc", "lib/hudson/cli", "lib/hudson/cli/formatting.rb", "lib/hudson/cli.rb", "lib/hudson/config.rb", "lib/hudson/core_ext", "lib/hudson/core_ext/object", "lib/hudson/core_ext/object/blank.rb", "lib/hudson/hudson-cli.jar", "lib/hudson/hudson.war", "lib/hudson/job_config_builder.rb", "lib/hudson/plugins", "lib/hudson/plugins/git.hpi", "lib/hudson/plugins/github.hpi", "lib/hudson/plugins/greenballs.hpi", "lib/hudson/plugins/rake.hpi", "lib/hudson/plugins/ruby.hpi", "lib/hudson/project_scm.rb", "lib/hudson/remote.rb", "lib/hudson.rb", "Rakefile", "README.md", "spec", "spec/fixtures", "spec/fixtures/ec2_global.config.xml", "spec/fixtures/rails.multi.config.xml", "spec/fixtures/rails.single.config.xml", "spec/fixtures/rubygem.config.xml", "spec/fixtures/therubyracer.config.xml", "spec/job_config_builder_spec.rb", "spec/spec_helper.rb"]
15
15
  s.homepage = %q{http://github.com/cowboyd/hudson.rb}
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = %q{hudson}
@@ -28,7 +28,6 @@ Gem::Specification.new do |s|
28
28
  s.add_runtime_dependency(%q<httparty>, ["~> 0.5.2"])
29
29
  s.add_runtime_dependency(%q<builder>, ["~> 2.1.2"])
30
30
  s.add_runtime_dependency(%q<thor>, ["= 0.14.2"])
31
- s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.0"])
32
31
  s.add_runtime_dependency(%q<hpricot>, [">= 0"])
33
32
  s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
34
33
  s.add_development_dependency(%q<cucumber>, ["~> 0.9.0"])
@@ -41,7 +40,6 @@ Gem::Specification.new do |s|
41
40
  s.add_dependency(%q<httparty>, ["~> 0.5.2"])
42
41
  s.add_dependency(%q<builder>, ["~> 2.1.2"])
43
42
  s.add_dependency(%q<thor>, ["= 0.14.2"])
44
- s.add_dependency(%q<activesupport>, ["~> 3.0.0"])
45
43
  s.add_dependency(%q<hpricot>, [">= 0"])
46
44
  s.add_dependency(%q<rake>, ["~> 0.8.7"])
47
45
  s.add_dependency(%q<cucumber>, ["~> 0.9.0"])
@@ -55,7 +53,6 @@ Gem::Specification.new do |s|
55
53
  s.add_dependency(%q<httparty>, ["~> 0.5.2"])
56
54
  s.add_dependency(%q<builder>, ["~> 2.1.2"])
57
55
  s.add_dependency(%q<thor>, ["= 0.14.2"])
58
- s.add_dependency(%q<activesupport>, ["~> 3.0.0"])
59
56
  s.add_dependency(%q<hpricot>, [">= 0"])
60
57
  s.add_dependency(%q<rake>, ["~> 0.8.7"])
61
58
  s.add_dependency(%q<cucumber>, ["~> 0.9.0"])
@@ -1,5 +1,5 @@
1
1
  module Hudson
2
- VERSION = "0.3.0.beta.2"
2
+ VERSION = "0.3.0.beta.3"
3
3
  HUDSON_VERSION = "1.380"
4
4
  WAR = File.expand_path(File.dirname(__FILE__) + "/hudson/hudson.war")
5
5
  PLUGINS = File.expand_path(File.dirname(__FILE__) + "/hudson/plugins")
@@ -1,5 +1,5 @@
1
1
  require 'thor'
2
- require 'active_support/core_ext/object/blank'
2
+ require 'hudson/core_ext/object/blank'
3
3
  require 'hudson/cli/formatting'
4
4
  require 'hudson/config'
5
5
  require 'hudson/remote'
@@ -0,0 +1,77 @@
1
+ # Vendored from activesupport 3.0.1
2
+ class Object
3
+ # An object is blank if it's false, empty, or a whitespace string.
4
+ # For example, "", " ", +nil+, [], and {} are blank.
5
+ #
6
+ # This simplifies:
7
+ #
8
+ # if !address.nil? && !address.empty?
9
+ #
10
+ # ...to:
11
+ #
12
+ # if !address.blank?
13
+ def blank?
14
+ respond_to?(:empty?) ? empty? : !self
15
+ end
16
+
17
+ # An object is present if it's not blank.
18
+ def present?
19
+ !blank?
20
+ end
21
+
22
+ # Returns object if it's #present? otherwise returns nil.
23
+ # object.presence is equivalent to object.present? ? object : nil.
24
+ #
25
+ # This is handy for any representation of objects where blank is the same
26
+ # as not present at all. For example, this simplifies a common check for
27
+ # HTTP POST/query parameters:
28
+ #
29
+ # state = params[:state] if params[:state].present?
30
+ # country = params[:country] if params[:country].present?
31
+ # region = state || country || 'US'
32
+ #
33
+ # ...becomes:
34
+ #
35
+ # region = params[:state].presence || params[:country].presence || 'US'
36
+ def presence
37
+ self if present?
38
+ end
39
+ end
40
+
41
+ class NilClass #:nodoc:
42
+ def blank?
43
+ true
44
+ end
45
+ end
46
+
47
+ class FalseClass #:nodoc:
48
+ def blank?
49
+ true
50
+ end
51
+ end
52
+
53
+ class TrueClass #:nodoc:
54
+ def blank?
55
+ false
56
+ end
57
+ end
58
+
59
+ class Array #:nodoc:
60
+ alias_method :blank?, :empty?
61
+ end
62
+
63
+ class Hash #:nodoc:
64
+ alias_method :blank?, :empty?
65
+ end
66
+
67
+ class String #:nodoc:
68
+ def blank?
69
+ self !~ /\S/
70
+ end
71
+ end
72
+
73
+ class Numeric #:nodoc:
74
+ def blank?
75
+ false
76
+ end
77
+ end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hudson
3
3
  version: !ruby/object:Gem::Version
4
- hash: 62196375
4
+ hash: 62196373
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
9
  - 0
10
10
  - beta
11
- - 2
12
- version: 0.3.0.beta.2
11
+ - 3
12
+ version: 0.3.0.beta.3
13
13
  platform: ruby
14
14
  authors:
15
15
  - Charles Lowell
@@ -103,22 +103,6 @@ dependencies:
103
103
  version_requirements: *id005
104
104
  - !ruby/object:Gem::Dependency
105
105
  requirement: &id006 !ruby/object:Gem::Requirement
106
- none: false
107
- requirements:
108
- - - ~>
109
- - !ruby/object:Gem::Version
110
- hash: 7
111
- segments:
112
- - 3
113
- - 0
114
- - 0
115
- version: 3.0.0
116
- type: :runtime
117
- prerelease: false
118
- name: activesupport
119
- version_requirements: *id006
120
- - !ruby/object:Gem::Dependency
121
- requirement: &id007 !ruby/object:Gem::Requirement
122
106
  none: false
123
107
  requirements:
124
108
  - - ">="
@@ -130,9 +114,9 @@ dependencies:
130
114
  type: :runtime
131
115
  prerelease: false
132
116
  name: hpricot
133
- version_requirements: *id007
117
+ version_requirements: *id006
134
118
  - !ruby/object:Gem::Dependency
135
- requirement: &id008 !ruby/object:Gem::Requirement
119
+ requirement: &id007 !ruby/object:Gem::Requirement
136
120
  none: false
137
121
  requirements:
138
122
  - - ~>
@@ -146,9 +130,9 @@ dependencies:
146
130
  type: :development
147
131
  prerelease: false
148
132
  name: rake
149
- version_requirements: *id008
133
+ version_requirements: *id007
150
134
  - !ruby/object:Gem::Dependency
151
- requirement: &id009 !ruby/object:Gem::Requirement
135
+ requirement: &id008 !ruby/object:Gem::Requirement
152
136
  none: false
153
137
  requirements:
154
138
  - - ~>
@@ -162,9 +146,9 @@ dependencies:
162
146
  type: :development
163
147
  prerelease: false
164
148
  name: cucumber
165
- version_requirements: *id009
149
+ version_requirements: *id008
166
150
  - !ruby/object:Gem::Dependency
167
- requirement: &id010 !ruby/object:Gem::Requirement
151
+ requirement: &id009 !ruby/object:Gem::Requirement
168
152
  none: false
169
153
  requirements:
170
154
  - - ~>
@@ -179,9 +163,9 @@ dependencies:
179
163
  type: :development
180
164
  prerelease: false
181
165
  name: rspec
182
- version_requirements: *id010
166
+ version_requirements: *id009
183
167
  - !ruby/object:Gem::Dependency
184
- requirement: &id011 !ruby/object:Gem::Requirement
168
+ requirement: &id010 !ruby/object:Gem::Requirement
185
169
  none: false
186
170
  requirements:
187
171
  - - ~>
@@ -195,9 +179,9 @@ dependencies:
195
179
  type: :development
196
180
  prerelease: false
197
181
  name: json
198
- version_requirements: *id011
182
+ version_requirements: *id010
199
183
  - !ruby/object:Gem::Dependency
200
- requirement: &id012 !ruby/object:Gem::Requirement
184
+ requirement: &id011 !ruby/object:Gem::Requirement
201
185
  none: false
202
186
  requirements:
203
187
  - - ">="
@@ -209,7 +193,7 @@ dependencies:
209
193
  type: :development
210
194
  prerelease: false
211
195
  name: awesome_print
212
- version_requirements: *id012
196
+ version_requirements: *id011
213
197
  description: A suite of utilities for bringing continous integration to your projects (not the other way around) with hudson CI
214
198
  email:
215
199
  - cowboyd@thefrontside.net
@@ -246,6 +230,7 @@ files:
246
230
  - lib/hudson/cli/formatting.rb
247
231
  - lib/hudson/cli.rb
248
232
  - lib/hudson/config.rb
233
+ - lib/hudson/core_ext/object/blank.rb
249
234
  - lib/hudson/hudson-cli.jar
250
235
  - lib/hudson/hudson.war
251
236
  - lib/hudson/job_config_builder.rb
@@ -257,7 +242,6 @@ files:
257
242
  - lib/hudson/project_scm.rb
258
243
  - lib/hudson/remote.rb
259
244
  - lib/hudson.rb
260
- - lib/hudson.rbc
261
245
  - Rakefile
262
246
  - README.md
263
247
  - spec/fixtures/ec2_global.config.xml
@@ -1,296 +0,0 @@
1
- !RBIX
2
- 0
3
- x
4
- M
5
- 1
6
- n
7
- n
8
- x
9
- 10
10
- __script__
11
- i
12
- 55
13
- 99
14
- 7
15
- 0
16
- 65
17
- 49
18
- 1
19
- 2
20
- 13
21
- 99
22
- 12
23
- 7
24
- 2
25
- 12
26
- 7
27
- 3
28
- 12
29
- 65
30
- 12
31
- 49
32
- 4
33
- 4
34
- 15
35
- 49
36
- 2
37
- 0
38
- 15
39
- 5
40
- 7
41
- 5
42
- 64
43
- 47
44
- 49
45
- 6
46
- 1
47
- 15
48
- 5
49
- 7
50
- 7
51
- 64
52
- 47
53
- 49
54
- 6
55
- 1
56
- 15
57
- 5
58
- 7
59
- 8
60
- 64
61
- 47
62
- 49
63
- 6
64
- 1
65
- 15
66
- 2
67
- 11
68
- I
69
- 6
70
- I
71
- 0
72
- I
73
- 0
74
- I
75
- 0
76
- n
77
- p
78
- 9
79
- x
80
- 6
81
- Hudson
82
- x
83
- 11
84
- open_module
85
- x
86
- 15
87
- __module_init__
88
- M
89
- 1
90
- n
91
- n
92
- x
93
- 6
94
- Hudson
95
- i
96
- 78
97
- 5
98
- 66
99
- 65
100
- 7
101
- 0
102
- 7
103
- 1
104
- 64
105
- 49
106
- 2
107
- 2
108
- 15
109
- 65
110
- 7
111
- 3
112
- 7
113
- 4
114
- 64
115
- 49
116
- 2
117
- 2
118
- 15
119
- 65
120
- 7
121
- 5
122
- 45
123
- 6
124
- 7
125
- 45
126
- 6
127
- 8
128
- 65
129
- 49
130
- 9
131
- 0
132
- 49
133
- 10
134
- 1
135
- 7
136
- 11
137
- 64
138
- 81
139
- 12
140
- 49
141
- 13
142
- 1
143
- 49
144
- 2
145
- 2
146
- 15
147
- 65
148
- 7
149
- 14
150
- 45
151
- 6
152
- 15
153
- 45
154
- 6
155
- 16
156
- 65
157
- 49
158
- 9
159
- 0
160
- 49
161
- 10
162
- 1
163
- 7
164
- 17
165
- 64
166
- 81
167
- 12
168
- 49
169
- 13
170
- 1
171
- 49
172
- 2
173
- 2
174
- 11
175
- I
176
- 5
177
- I
178
- 0
179
- I
180
- 0
181
- I
182
- 0
183
- n
184
- p
185
- 18
186
- x
187
- 7
188
- VERSION
189
- s
190
- 12
191
- 0.3.0.beta.1
192
- x
193
- 9
194
- const_set
195
- x
196
- 14
197
- HUDSON_VERSION
198
- s
199
- 5
200
- 1.380
201
- x
202
- 3
203
- WAR
204
- x
205
- 4
206
- File
207
- n
208
- n
209
- x
210
- 11
211
- active_path
212
- x
213
- 7
214
- dirname
215
- s
216
- 18
217
- /hudson/hudson.war
218
- x
219
- 1
220
- +
221
- x
222
- 11
223
- expand_path
224
- x
225
- 7
226
- PLUGINS
227
- n
228
- n
229
- s
230
- 15
231
- /hudson/plugins
232
- p
233
- 9
234
- I
235
- 2
236
- I
237
- 2
238
- I
239
- c
240
- I
241
- 3
242
- I
243
- 16
244
- I
245
- 4
246
- I
247
- 32
248
- I
249
- 5
250
- I
251
- 4e
252
- x
253
- 50
254
- /Users/drnic/Projects/gems/hudson.rb/lib/hudson.rb
255
- p
256
- 0
257
- x
258
- 13
259
- attach_method
260
- s
261
- 10
262
- hudson/api
263
- x
264
- 7
265
- require
266
- s
267
- 25
268
- hudson/job_config_builder
269
- s
270
- 18
271
- hudson/project_scm
272
- p
273
- 9
274
- I
275
- 0
276
- I
277
- 1
278
- I
279
- 1a
280
- I
281
- 8
282
- I
283
- 23
284
- I
285
- 9
286
- I
287
- 2c
288
- I
289
- a
290
- I
291
- 37
292
- x
293
- 50
294
- /Users/drnic/Projects/gems/hudson.rb/lib/hudson.rb
295
- p
296
- 0