akephalos2 2.1.1.1 → 2.1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/bin/akephalos CHANGED
@@ -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: ruby
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: &70118592204780 !ruby/object:Gem::Requirement
17
+ requirement: &70189584699440 !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: *70118592204780
25
+ version_requirements: *70189584699440
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rake
28
- requirement: &70118592204040 !ruby/object:Gem::Requirement
28
+ requirement: &70189584698600 !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: *70118592204040
36
+ version_requirements: *70189584698600
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: jruby-jars
39
- requirement: &70118592202780 !ruby/object:Gem::Requirement
39
+ requirement: &70189584697440 !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: :runtime
46
46
  prerelease: false
47
- version_requirements: *70118592202780
47
+ version_requirements: *70189584697440
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: sinatra
50
- requirement: &70118595928880 !ruby/object:Gem::Requirement
50
+ requirement: &70189580569860 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *70118595928880
58
+ version_requirements: *70189580569860
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: rspec
61
- requirement: &70118595928360 !ruby/object:Gem::Requirement
61
+ requirement: &70189580569320 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *70118595928360
69
+ version_requirements: *70189580569320
70
70
  description: Headless Browser for Integration Testing with Capybara
71
71
  email:
72
72
  - bj.schaefer@gmail.com