jettywrapper 1.4.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@ module Hydra
15
15
  it "starts" do
16
16
  jetty_params = {
17
17
  :jetty_home => File.expand_path("#{File.dirname(__FILE__)}/../../jetty"),
18
- :startup_wait => 45,
18
+ :startup_wait => 90,
19
19
  :java_opts => ["-Xmx256m", '-XX:MaxPermSize=256m'],
20
20
  :jetty_port => TEST_JETTY_PORTS.first
21
21
  }
@@ -39,7 +39,7 @@ module Hydra
39
39
  it "won't start if it's already running" do
40
40
  jetty_params = {
41
41
  :jetty_home => File.expand_path("#{File.dirname(__FILE__)}/../../jetty"),
42
- :startup_wait => 45,
42
+ :startup_wait => 90,
43
43
  :java_opts => ["-Xmx256m", '-XX:MaxPermSize=256m'],
44
44
  :jetty_port => TEST_JETTY_PORTS.first
45
45
  }
@@ -1,9 +1,10 @@
1
1
  require 'spec_helper'
2
2
  require 'rubygems'
3
+ require 'fileutils'
3
4
 
4
5
  describe Jettywrapper do
5
-
6
- # JETTY1 =
6
+
7
+ # JETTY1 =
7
8
  before(:all) do
8
9
  @jetty_params = {
9
10
  :quiet => false,
@@ -12,16 +13,21 @@ require 'rubygems'
12
13
  :solr_home => "/path/to/solr",
13
14
  :startup_wait => 0,
14
15
  :java_opts => ["-Xmx256m"],
15
- :jetty_opts => ["/path/to/jetty_xml", "/path/to/other_jetty_xml"]
16
+ :jetty_opts => ["/path/to/jetty_xml", "/path/to/other_jetty_xml"]
16
17
  }
17
18
 
18
19
  Jettywrapper.logger.level=3
19
20
  end
20
21
 
22
+ before do
23
+ Jettywrapper.reset_config
24
+ end
25
+
21
26
  context "downloading" do
22
27
  context "with default file" do
23
28
  it "should download the zip file" do
24
- Jettywrapper.should_receive(:system).with('curl -L https://github.com/projecthydra/hydra-jetty/archive/v5.2.0.zip -o tmp/v5.2.0.zip').and_return(system ('true'))
29
+ FileUtils.rm "tmp/v8.1.1.zip", force: true
30
+ Jettywrapper.should_receive(:system).with('curl -L https://github.com/projecthydra/hydra-jetty/archive/v8.1.1.zip -o tmp/v8.1.1.zip').and_return(system ('true'))
25
31
  Jettywrapper.download
26
32
  end
27
33
  end
@@ -33,6 +39,13 @@ require 'rubygems'
33
39
  Jettywrapper.url.should == 'http://example.co/file.zip'
34
40
  end
35
41
  end
42
+ context "specifying the version" do
43
+ it "should download the zip file" do
44
+ Jettywrapper.should_receive(:system).with('curl -L https://github.com/projecthydra/hydra-jetty/archive/v9.9.9.zip -o tmp/v9.9.9.zip').and_return(system ('true'))
45
+ Jettywrapper.hydra_jetty_version = 'v9.9.9'
46
+ Jettywrapper.download
47
+ end
48
+ end
36
49
  end
37
50
 
38
51
  context "unzip" do
@@ -42,10 +55,10 @@ require 'rubygems'
42
55
  context "with default file" do
43
56
  it "should download the zip file" do
44
57
  File.should_receive(:exists?).and_return(true)
45
- Jettywrapper.should_receive(:expanded_zip_dir).and_return('tmp/jetty_generator/hydra-jetty-v5.2.0')
46
- Jettywrapper.should_receive(:system).with('unzip -d tmp/jetty_generator -qo tmp/v5.2.0.zip').and_return(system ('true'))
58
+ Jettywrapper.should_receive(:expanded_zip_dir).and_return('tmp/jetty_generator/hydra-jetty-v8.1.1')
59
+ Jettywrapper.should_receive(:system).with('unzip -d tmp/jetty_generator -qo tmp/v8.1.1.zip').and_return(system ('true'))
47
60
  Jettywrapper.should_receive(:system).with('rm -r jetty').and_return(system ('true'))
48
- Jettywrapper.should_receive(:system).with('mv tmp/jetty_generator/hydra-jetty-v5.2.0 jetty').and_return(system ('true'))
61
+ Jettywrapper.should_receive(:system).with('mv tmp/jetty_generator/hydra-jetty-v8.1.1 jetty').and_return(system ('true'))
49
62
  Jettywrapper.unzip
50
63
  end
51
64
  end
@@ -86,7 +99,7 @@ require 'rubygems'
86
99
  its(:url) {should == 'http://example.com/bar.zip'}
87
100
  end
88
101
  context "when url is not set" do
89
- its(:url) {should == 'https://github.com/projecthydra/hydra-jetty/archive/v5.2.0.zip'}
102
+ its(:url) {should == 'https://github.com/projecthydra/hydra-jetty/archive/v8.1.1.zip'}
90
103
  end
91
104
  end
92
105
 
@@ -107,11 +120,26 @@ require 'rubygems'
107
120
 
108
121
  end
109
122
 
123
+ context ".jetty_dir" do
124
+ subject {Jettywrapper}
125
+ context "when a dir is set" do
126
+ before do
127
+ subject.jetty_dir = '/opt/jetty'
128
+ end
129
+ its(:jetty_dir) {should == '/opt/jetty'}
130
+ end
131
+ context "when dir is not set" do
132
+ before do
133
+ subject.jetty_dir = nil
134
+ end
135
+ its(:jetty_dir) {should == 'jetty'}
136
+ end
137
+ end
138
+
110
139
  context "app_root" do
111
140
  subject {Jettywrapper}
112
141
  context "When rails is present" do
113
142
  before do
114
- Jettywrapper.reset_config
115
143
  class Rails
116
144
  def self.root
117
145
  'rails_root'
@@ -120,7 +148,6 @@ require 'rubygems'
120
148
  end
121
149
  after do
122
150
  Object.send(:remove_const, :Rails)
123
- Jettywrapper.reset_config
124
151
  end
125
152
  its(:app_root) {should == 'rails_root'}
126
153
  end
@@ -130,7 +157,6 @@ require 'rubygems'
130
157
  end
131
158
  after do
132
159
  Object.send(:remove_const, :APP_ROOT)
133
- Jettywrapper.reset_config
134
160
  end
135
161
  its(:app_root) {should == 'custom_root'}
136
162
  end
@@ -139,7 +165,50 @@ require 'rubygems'
139
165
  end
140
166
  end
141
167
 
168
+ describe "env" do
169
+ before do
170
+ ENV.delete('JETTYWRAPPER_ENV')
171
+ ENV.delete('RAILS_ENV')
172
+ ENV.delete('environment')
173
+ end
174
+
175
+ it "should have a setter" do
176
+ Jettywrapper.env = "abc"
177
+ expect(Jettywrapper.env).to eq "abc"
178
+ end
179
+
180
+ it "should load the ENV['JETTYWRAPPER_ENV']" do
181
+ ENV['JETTYWRAPPER_ENV'] = 'test'
182
+ ENV['RAILS_ENV'] = 'test2'
183
+ ENV['environment'] = 'test3'
184
+ expect(Jettywrapper.env).to eq "test"
185
+ end
186
+
187
+ it "should be the Rails environment" do
188
+ Rails = double(env: 'test')
189
+ expect(Jettywrapper.env).to eq "test"
190
+ end
191
+
192
+ it "should use the ENV['RAILS_ENV']" do
193
+ ENV['RAILS_ENV'] = 'test2'
194
+ ENV['environment'] = 'test3'
195
+ expect(Jettywrapper.env).to eq "test2"
196
+ end
197
+
198
+ it "should load the ENV['environment']" do
199
+ ENV['environment'] = 'test3'
200
+ expect(Jettywrapper.env).to eq "test3"
201
+ end
202
+
203
+ it "should default to 'development'" do
204
+ expect(Jettywrapper.env).to eq "development"
205
+ end
206
+
207
+ end
208
+
142
209
  context "config" do
210
+ before do
211
+ end
143
212
  it "loads the application jetty.yml first" do
144
213
  IO.should_receive(:read).with('./config/jetty.yml').and_return("default:\n")
145
214
  config = Jettywrapper.load_config
@@ -164,6 +233,13 @@ require 'rubygems'
164
233
  config[:a].should == 2
165
234
  end
166
235
 
236
+ it "should take the env as an argument to load_config and the env should be sticky" do
237
+ IO.should_receive(:read).with('./config/jetty.yml').and_return("default:\n a: 1\nfoo:\n a: 2")
238
+ config = Jettywrapper.load_config('foo')
239
+ config[:a].should == 2
240
+ expect(Jettywrapper.env).to eq 'foo'
241
+ end
242
+
167
243
  it "falls back on a 'default' environment configuration" do
168
244
  ENV['environment'] = 'test'
169
245
  IO.should_receive(:read).with('./config/jetty.yml').and_return("default:\n a: 1")
@@ -171,7 +247,7 @@ require 'rubygems'
171
247
  config[:a].should == 1
172
248
  end
173
249
  end
174
-
250
+
175
251
  context "instantiation" do
176
252
  it "can be instantiated" do
177
253
  ts = Jettywrapper.instance
@@ -179,7 +255,7 @@ require 'rubygems'
179
255
  end
180
256
 
181
257
  it "can be configured with a params hash" do
182
- ts = Jettywrapper.configure(@jetty_params)
258
+ ts = Jettywrapper.configure(@jetty_params)
183
259
  ts.quiet.should == false
184
260
  ts.jetty_home.should == "/path/to/jetty"
185
261
  ts.port.should == @jetty_params[:jetty_port]
@@ -198,7 +274,7 @@ require 'rubygems'
198
274
  :jetty_opts => nil
199
275
  }
200
276
 
201
- ts = Jettywrapper.configure(jetty_params)
277
+ ts = Jettywrapper.configure(jetty_params)
202
278
  ts.quiet.should == true
203
279
  ts.jetty_home.should == "/path/to/jetty"
204
280
  ts.port.should == 8888
@@ -206,9 +282,9 @@ require 'rubygems'
206
282
  ts.startup_wait.should == 5
207
283
  ts.jetty_opts.should == []
208
284
  end
209
-
285
+
210
286
  it "passes all the expected values to jetty during startup" do
211
- ts = Jettywrapper.configure(@jetty_params)
287
+ ts = Jettywrapper.configure(@jetty_params)
212
288
  command = ts.jetty_command
213
289
  command.should include("-Dsolr.solr.home=#{@jetty_params[:solr_home]}")
214
290
  command.should include("-Djetty.port=#{@jetty_params[:jetty_port]}")
@@ -222,39 +298,36 @@ require 'rubygems'
222
298
  command = ts.jetty_command
223
299
  command.should include("-Dsolr.solr.home=/path\\ with\\ spaces/to/solr")
224
300
  end
225
-
301
+
226
302
  it "has a pid if it has been started" do
227
303
  jetty_params = {
228
304
  :jetty_home => '/tmp'
229
305
  }
230
- ts = Jettywrapper.configure(jetty_params)
231
- Jettywrapper.any_instance.stub(:process).and_return(stub('proc', :start => nil, :pid=>5454))
306
+ ts = Jettywrapper.configure(jetty_params)
307
+ Jettywrapper.any_instance.stub(:process).and_return(double('proc', :start => nil, :pid=>5454))
232
308
  ts.stop
233
309
  ts.start
234
310
  ts.pid.should eql(5454)
235
311
  ts.stop
236
312
  end
237
-
313
+
238
314
  it "can pass params to a start method" do
239
315
  jetty_params = {
240
316
  :jetty_home => '/tmp', :jetty_port => 8777
241
317
  }
242
- ts = Jettywrapper.configure(jetty_params)
318
+ ts = Jettywrapper.configure(jetty_params)
243
319
  ts.stop
244
- Jettywrapper.any_instance.stub(:process).and_return(stub('proc', :start => nil, :pid=>2323))
320
+ Jettywrapper.any_instance.stub(:process).and_return(double('proc', :start => nil, :pid=>2323))
245
321
  swp = Jettywrapper.start(jetty_params)
246
322
  swp.pid.should eql(2323)
247
- swp.pid_file.should eql("_tmp.pid")
323
+ swp.pid_file.should eql("_tmp_test.pid")
248
324
  swp.stop
249
325
  end
250
-
251
- it "checks to see if its pid files are stale"
252
-
253
- # return true if it's running, otherwise return false
326
+
254
327
  it "can get the status for a given jetty instance" do
255
328
  # Don't actually start jetty, just fake it
256
- Jettywrapper.any_instance.stub(:process).and_return(stub('proc', :start => nil, :pid=>12345))
257
-
329
+ Jettywrapper.any_instance.stub(:process).and_return(double('proc', :start => nil, :pid=>12345))
330
+
258
331
  jetty_params = {
259
332
  :jetty_home => File.expand_path("#{File.dirname(__FILE__)}/../../jetty")
260
333
  }
@@ -264,10 +337,10 @@ require 'rubygems'
264
337
  Jettywrapper.is_jetty_running?(jetty_params).should eql(true)
265
338
  Jettywrapper.stop(jetty_params)
266
339
  end
267
-
340
+
268
341
  it "can get the pid for a given jetty instance" do
269
342
  # Don't actually start jetty, just fake it
270
- Jettywrapper.any_instance.stub(:process).and_return(stub('proc', :start => nil, :pid=>54321))
343
+ Jettywrapper.any_instance.stub(:process).and_return(double('proc', :start => nil, :pid=>54321))
271
344
  jetty_params = {
272
345
  :jetty_home => File.expand_path("#{File.dirname(__FILE__)}/../../jetty")
273
346
  }
@@ -277,35 +350,46 @@ require 'rubygems'
277
350
  Jettywrapper.pid(jetty_params).should eql(54321)
278
351
  Jettywrapper.stop(jetty_params)
279
352
  end
280
-
353
+
281
354
  it "can pass params to a stop method" do
282
355
  jetty_params = {
283
356
  :jetty_home => '/tmp', :jetty_port => 8777
284
357
  }
285
- Jettywrapper.any_instance.stub(:process).and_return(stub('proc', :start => nil, :pid=>2323))
358
+ Jettywrapper.any_instance.stub(:process).and_return(double('proc', :start => nil, :pid=>2323))
286
359
  swp = Jettywrapper.start(jetty_params)
287
360
  (File.file? swp.pid_path).should eql(true)
288
-
361
+
289
362
  swp = Jettywrapper.stop(jetty_params)
290
363
  (File.file? swp.pid_path).should eql(false)
291
364
  end
292
-
293
- it "knows what its pid file should be called" do
294
- ts = Jettywrapper.configure(@jetty_params)
295
- ts.pid_file.should eql("_path_to_jetty.pid")
365
+
366
+ describe "creates a pid file" do
367
+ let(:ts) { Jettywrapper.configure(@jetty_params) }
368
+ describe "when the environment isn't set" do
369
+ before { ENV['environment'] = nil }
370
+ it "should have the path and env in the name" do
371
+ ts.pid_file.should eql("_path_to_jetty_development.pid")
372
+ end
373
+ end
374
+ describe "when the environment is set" do
375
+ before { ENV['environment'] = 'test' }
376
+ it "should have the path and env in the name" do
377
+ ts.pid_file.should eql("_path_to_jetty_test.pid")
378
+ end
379
+ end
296
380
  end
297
-
381
+
298
382
  it "knows where its pid file should be written" do
299
- ts = Jettywrapper.configure(@jetty_params)
383
+ ts = Jettywrapper.configure(@jetty_params)
300
384
  ts.pid_dir.should eql(File.expand_path("#{ts.base_path}/tmp/pids"))
301
385
  end
302
-
386
+
303
387
  it "writes a pid to a file when it is started" do
304
388
  jetty_params = {
305
389
  :jetty_home => '/tmp'
306
390
  }
307
- ts = Jettywrapper.configure(jetty_params)
308
- Jettywrapper.any_instance.stub(:process).and_return(stub('proc', :start => nil, :pid=>2222))
391
+ ts = Jettywrapper.configure(jetty_params)
392
+ Jettywrapper.any_instance.stub(:process).and_return(double('proc', :start => nil, :pid=>2222))
309
393
  ts.stop
310
394
  ts.pid_file?.should eql(false)
311
395
  ts.start
@@ -314,49 +398,49 @@ require 'rubygems'
314
398
  pid_from_file = File.open( ts.pid_path ) { |f| f.gets.to_i }
315
399
  pid_from_file.should eql(2222)
316
400
  end
317
-
401
+
318
402
  end # end of instantiation context
319
-
403
+
320
404
  context "logging" do
321
405
  it "has a logger" do
322
- ts = Jettywrapper.configure(@jetty_params)
406
+ ts = Jettywrapper.configure(@jetty_params)
323
407
  ts.logger.should be_kind_of(Logger)
324
408
  end
325
-
326
- end # end of logging context
327
-
409
+
410
+ end # end of logging context
411
+
328
412
  context "wrapping a task" do
329
413
  it "wraps another method" do
330
414
  Jettywrapper.any_instance.stub(:start).and_return(true)
331
415
  Jettywrapper.any_instance.stub(:stop).and_return(true)
332
- error = Jettywrapper.wrap(@jetty_params) do
416
+ error = Jettywrapper.wrap(@jetty_params) do
333
417
  end
334
418
  error.should eql(false)
335
419
  end
336
-
420
+
337
421
  it "configures itself correctly when invoked via the wrap method" do
338
422
  Jettywrapper.any_instance.stub(:start).and_return(true)
339
423
  Jettywrapper.any_instance.stub(:stop).and_return(true)
340
- error = Jettywrapper.wrap(@jetty_params) do
341
- ts = Jettywrapper.instance
424
+ error = Jettywrapper.wrap(@jetty_params) do
425
+ ts = Jettywrapper.instance
342
426
  ts.quiet.should == @jetty_params[:quiet]
343
427
  ts.jetty_home.should == "/path/to/jetty"
344
428
  ts.port.should == @jetty_params[:jetty_port]
345
429
  ts.solr_home.should == "/path/to/solr"
346
- ts.startup_wait.should == 0
430
+ ts.startup_wait.should == 0
347
431
  end
348
432
  error.should eql(false)
349
433
  end
350
-
434
+
351
435
  it "captures any errors produced" do
352
436
  Jettywrapper.any_instance.stub(:start).and_return(true)
353
437
  Jettywrapper.any_instance.stub(:stop).and_return(true)
354
438
  Jettywrapper.instance.logger.should_receive(:error).with("*** Error starting jetty: this is an expected error message")
355
- expect { error = Jettywrapper.wrap(@jetty_params) do
439
+ expect { error = Jettywrapper.wrap(@jetty_params) do
356
440
  raise "this is an expected error message"
357
441
  end }.to raise_error "this is an expected error message"
358
442
  end
359
-
443
+
360
444
  end # end of wrapping context
361
445
 
362
446
  context "quiet mode", :quiet => true do
data/spec/spec_helper.rb CHANGED
@@ -8,7 +8,7 @@ if ENV['COVERAGE'] and RUBY_VERSION =~ /^1.9/
8
8
  SimpleCov.start
9
9
  end
10
10
 
11
- require 'rspec/autorun'
11
+ require 'rspec/its'
12
12
  require 'jettywrapper'
13
13
 
14
14
  RSpec.configure do |config|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jettywrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
@@ -10,132 +10,118 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-10-09 00:00:00.000000000 Z
13
+ date: 2015-01-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: logger
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - '>='
19
+ - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - '>='
27
- - !ruby/object:Gem::Version
28
- version: '0'
29
- - !ruby/object:Gem::Dependency
30
- name: mediashelf-loggable
31
- requirement: !ruby/object:Gem::Requirement
32
- requirements:
33
- - - '>='
34
- - !ruby/object:Gem::Version
35
- version: '0'
36
- type: :runtime
37
- prerelease: false
38
- version_requirements: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - '>='
26
+ - - ">="
41
27
  - !ruby/object:Gem::Version
42
28
  version: '0'
43
29
  - !ruby/object:Gem::Dependency
44
30
  name: childprocess
45
31
  requirement: !ruby/object:Gem::Requirement
46
32
  requirements:
47
- - - '>='
33
+ - - ">="
48
34
  - !ruby/object:Gem::Version
49
35
  version: '0'
50
36
  type: :runtime
51
37
  prerelease: false
52
38
  version_requirements: !ruby/object:Gem::Requirement
53
39
  requirements:
54
- - - '>='
40
+ - - ">="
55
41
  - !ruby/object:Gem::Version
56
42
  version: '0'
57
43
  - !ruby/object:Gem::Dependency
58
44
  name: i18n
59
45
  requirement: !ruby/object:Gem::Requirement
60
46
  requirements:
61
- - - '>='
47
+ - - ">="
62
48
  - !ruby/object:Gem::Version
63
49
  version: '0'
64
50
  type: :runtime
65
51
  prerelease: false
66
52
  version_requirements: !ruby/object:Gem::Requirement
67
53
  requirements:
68
- - - '>='
54
+ - - ">="
69
55
  - !ruby/object:Gem::Version
70
56
  version: '0'
71
57
  - !ruby/object:Gem::Dependency
72
58
  name: activesupport
73
59
  requirement: !ruby/object:Gem::Requirement
74
60
  requirements:
75
- - - '>='
61
+ - - ">="
76
62
  - !ruby/object:Gem::Version
77
63
  version: 3.0.0
78
64
  type: :runtime
79
65
  prerelease: false
80
66
  version_requirements: !ruby/object:Gem::Requirement
81
67
  requirements:
82
- - - '>='
68
+ - - ">="
83
69
  - !ruby/object:Gem::Version
84
70
  version: 3.0.0
85
71
  - !ruby/object:Gem::Dependency
86
72
  name: rspec
87
73
  requirement: !ruby/object:Gem::Requirement
88
74
  requirements:
89
- - - '>='
75
+ - - "~>"
90
76
  - !ruby/object:Gem::Version
91
- version: '0'
77
+ version: '2.99'
92
78
  type: :development
93
79
  prerelease: false
94
80
  version_requirements: !ruby/object:Gem::Requirement
95
81
  requirements:
96
- - - '>='
82
+ - - "~>"
97
83
  - !ruby/object:Gem::Version
98
- version: '0'
84
+ version: '2.99'
99
85
  - !ruby/object:Gem::Dependency
100
- name: rake
86
+ name: rspec-its
101
87
  requirement: !ruby/object:Gem::Requirement
102
88
  requirements:
103
- - - '>='
89
+ - - ">="
104
90
  - !ruby/object:Gem::Version
105
91
  version: '0'
106
92
  type: :development
107
93
  prerelease: false
108
94
  version_requirements: !ruby/object:Gem::Requirement
109
95
  requirements:
110
- - - '>='
96
+ - - ">="
111
97
  - !ruby/object:Gem::Version
112
98
  version: '0'
113
99
  - !ruby/object:Gem::Dependency
114
- name: yard
100
+ name: rake
115
101
  requirement: !ruby/object:Gem::Requirement
116
102
  requirements:
117
- - - '>='
103
+ - - ">="
118
104
  - !ruby/object:Gem::Version
119
105
  version: '0'
120
106
  type: :development
121
107
  prerelease: false
122
108
  version_requirements: !ruby/object:Gem::Requirement
123
109
  requirements:
124
- - - '>='
110
+ - - ">="
125
111
  - !ruby/object:Gem::Version
126
112
  version: '0'
127
113
  - !ruby/object:Gem::Dependency
128
- name: RedCloth
114
+ name: yard
129
115
  requirement: !ruby/object:Gem::Requirement
130
116
  requirements:
131
- - - '>='
117
+ - - ">="
132
118
  - !ruby/object:Gem::Version
133
119
  version: '0'
134
120
  type: :development
135
121
  prerelease: false
136
122
  version_requirements: !ruby/object:Gem::Requirement
137
123
  requirements:
138
- - - '>='
124
+ - - ">="
139
125
  - !ruby/object:Gem::Version
140
126
  version: '0'
141
127
  description: Spin up a jetty instance (e.g., the one at https://github.com/projecthydra/hydra-jetty)
@@ -146,17 +132,20 @@ executables: []
146
132
  extensions: []
147
133
  extra_rdoc_files: []
148
134
  files:
149
- - .gitignore
150
- - .gitmodules
151
- - .rspec
152
- - .travis.yml
135
+ - ".gitignore"
136
+ - ".gitmodules"
137
+ - ".rspec"
138
+ - ".travis.yml"
153
139
  - CONTRIBUTING.md
154
140
  - Gemfile
155
141
  - History.txt
142
+ - LICENSE
156
143
  - README.textile
157
144
  - Rakefile
158
145
  - TODO.txt
159
146
  - config/jetty.yml
147
+ - gemfiles/rails4.1.gemfile
148
+ - gemfiles/rails4.2.beta.gemfile
160
149
  - jettywrapper.gemspec
161
150
  - lib/jettywrapper.rb
162
151
  - lib/jettywrapper/version.rb
@@ -166,7 +155,8 @@ files:
166
155
  - spec/spec_helper.rb
167
156
  - tasks/jettywrapper.rake
168
157
  homepage: https://github.com/projecthydra/jettywrapper
169
- licenses: []
158
+ licenses:
159
+ - APACHE2
170
160
  metadata: {}
171
161
  post_install_message:
172
162
  rdoc_options: []
@@ -174,19 +164,18 @@ require_paths:
174
164
  - lib
175
165
  required_ruby_version: !ruby/object:Gem::Requirement
176
166
  requirements:
177
- - - '>='
167
+ - - ">="
178
168
  - !ruby/object:Gem::Version
179
169
  version: '0'
180
170
  required_rubygems_version: !ruby/object:Gem::Requirement
181
171
  requirements:
182
- - - '>='
172
+ - - ">="
183
173
  - !ruby/object:Gem::Version
184
174
  version: 1.3.6
185
175
  requirements: []
186
176
  rubyforge_project:
187
- rubygems_version: 2.0.3
177
+ rubygems_version: 2.4.3
188
178
  signing_key:
189
179
  specification_version: 4
190
180
  summary: Convenience tasks for working with jetty from within a ruby project.
191
181
  test_files: []
192
- has_rdoc: