akephalos2 2.1.1.1-java → 2.1.1.2-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,7 @@ parser = OptionParser.new do |opts|
27
27
  end
28
28
  puts "Using #{options[:akephalos_jvm_max_memory]} MB for the JVM"
29
29
 
30
+ ENV['htmlunit_version'] ||= "2.9"
30
31
  HtmlUnit.download_htmlunit(ENV["htmlunit_version"])
31
32
 
32
33
  opts.on_tail("-h", "--help", "Show this message") { puts opts; exit }
@@ -17,7 +17,7 @@ module HtmlUnit
17
17
  end
18
18
 
19
19
  def self.unzip(version)
20
- `tar xzf htmlunit-#{version}.zip`
20
+ `unzip htmlunit-#{version}.zip`
21
21
  `mv -f htmlunit-2.10-SNAPSHOT htmlunit-2.10 > /dev/null 2>&1`
22
22
  `cp -r htmlunit-#{version}/lib/ .akephalos/#{version}/`
23
23
  end
@@ -25,10 +25,10 @@ module HtmlUnit
25
25
  def self.download(version)
26
26
  if version == "2.10"
27
27
  %x[curl -L -o htmlunit-2.10.zip http://build.canoo.com/htmlunit/artifacts/htmlunit-2.10-SNAPSHOT-with-dependencies.zip]
28
- elsif version[2] < '9'
29
- %x[curl -L -O http://sourceforge.net/projects/htmlunit/files/htmlunit/#{version}/htmlunit-#{version}.zip]
28
+ elsif version == '2.9'
29
+ %x[curl -L -o htmlunit-2.9.zip http://sourceforge.net/projects/htmlunit/files/htmlunit/2.9/htmlunit-2.9-bin.zip]
30
30
  else
31
- %x[curl -L -o htmlunit-#{version}.zip http://sourceforge.net/projects/htmlunit/files/htmlunit/#{version}/htmlunit-#{version}-bin.zip]
31
+ %x[curl -L -O http://sourceforge.net/projects/htmlunit/files/htmlunit/#{version}/htmlunit-#{version}.zip]
32
32
  end
33
33
  end
34
34
 
@@ -1,3 +1,3 @@
1
1
  module Akephalos #:nodoc
2
- VERSION = "2.1.1.1"
2
+ VERSION = "2.1.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akephalos2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1.1
4
+ version: 2.1.1.2
5
5
  prerelease:
6
6
  platform: java
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-11-29 00:00:00.000000000 Z
13
+ date: 2011-12-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capybara
17
- requirement: &70146916296420 !ruby/object:Gem::Requirement
17
+ requirement: &70209709021400 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70146916296420
25
+ version_requirements: *70209709021400
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rake
28
- requirement: &70146916295320 !ruby/object:Gem::Requirement
28
+ requirement: &70209709020280 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70146916295320
36
+ version_requirements: *70209709020280
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: sinatra
39
- requirement: &70146916324280 !ruby/object:Gem::Requirement
39
+ requirement: &70209709049220 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '0'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *70146916324280
47
+ version_requirements: *70209709049220
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rspec
50
- requirement: &70146916323760 !ruby/object:Gem::Requirement
50
+ requirement: &70209709048700 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,7 +55,7 @@ dependencies:
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *70146916323760
58
+ version_requirements: *70209709048700
59
59
  description: Headless Browser for Integration Testing with Capybara
60
60
  email:
61
61
  - bj.schaefer@gmail.com