akephalos2 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +13 -5
  2. data/bin/akephalos +4 -4
  3. data/lib/akephalos/version.rb +1 -1
  4. metadata +10 -10
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
- ```
2
- Important Notice
1
+ # Important Notice
2
+
3
3
  This repo has rewrote its history and as such is not compatible with the main Akephalos repo.
4
4
 
5
5
  Further development will be done here.
@@ -7,7 +7,6 @@ Further development will be done here.
7
7
  You can get the unaltered pristine copy at: [https://github.com/Nerian/akephalos](https://github.com/Nerian/akephalos)
8
8
 
9
9
  The reason why its history was rewrote was to remove .jar vendor files that were making its size huge.
10
- ```
11
10
 
12
11
 
13
12
  # Akephalos
@@ -21,20 +20,30 @@ MRI with no need for JRuby to be installed on the system.
21
20
  ## Installation
22
21
 
23
22
  ``` ruby
24
- gem install akephalos # Official gem
23
+ gem install akephalos2
25
24
  ```
26
25
 
27
26
  Or
28
27
 
28
+ ``` ruby
29
+ gem 'akephalos2', :require => 'akephalos'
30
+ ```
31
+
32
+ Or (for the current master branch)
33
+
29
34
  ``` ruby
30
35
  gem 'akephalos', :git => 'git://github.com/Nerian/akephalos.git'
31
36
  ```
32
37
 
38
+
39
+
33
40
  # Development
34
41
 
35
42
  ``` bash
36
43
  git clone https://github.com/Nerian/akephalos2
37
44
  git submodule update --init
45
+ # optional
46
+ cp .rvmrc.example .rvmrc
38
47
  ```
39
48
 
40
49
  The last line will grab the HTMLUnit jar files from [https://github.com/Nerian/html-unit-vendor](https://github.com/Nerian/html-unit-vendor)
@@ -50,7 +59,6 @@ require 'akephalos'
50
59
  Capybara.javascript_driver = :akephalos
51
60
  ```
52
61
 
53
-
54
62
  ## Basic Usage
55
63
 
56
64
  Akephalos provides a driver for Capybara, so using Akephalos is no
data/bin/akephalos CHANGED
@@ -32,7 +32,7 @@ parser.parse!
32
32
 
33
33
  root = Pathname(__FILE__).expand_path.dirname.parent
34
34
  lib = root + 'lib'
35
- src = root + 'src'
35
+ src = root + 'vendor'
36
36
 
37
37
  case
38
38
  when options[:use_htmlunit_snapshot]
@@ -44,15 +44,15 @@ when options[:use_htmlunit_snapshot]
44
44
  Dir.chdir("vendor") do
45
45
  $stdout.print "Downloading latest snapshot... "
46
46
  $stdout.flush
47
- %x[curl -O http://build.canoo.com/htmlunit/artifacts/htmlunit-2.9-SNAPSHOT-with-dependencies.zip &> /dev/null]
47
+ %x[curl -O http://build.canoo.com/htmlunit/artifacts/htmlunit-2.10-SNAPSHOT-with-dependencies.zip &> /dev/null]
48
48
  puts "done"
49
49
 
50
50
  $stdout.print "Extracting dependencies... "
51
51
  $stdout.flush
52
- %x[unzip -j -d htmlunit htmlunit-2.9-SNAPSHOT-with-dependencies.zip htmlunit-2.9-SNAPSHOT/lib htmlunit-2.9-SNAPSHOT/lib/* &> /dev/null]
52
+ %x[unzip -j -d htmlunit htmlunit-2.10-SNAPSHOT-with-dependencies.zip htmlunit-2.10-SNAPSHOT/lib htmlunit-2.10-SNAPSHOT/lib/* &> /dev/null]
53
53
  puts "done"
54
54
 
55
- File.unlink "htmlunit-2.9-SNAPSHOT-with-dependencies.zip"
55
+ File.unlink "htmlunit-2.10-SNAPSHOT-with-dependencies.zip"
56
56
  end
57
57
 
58
58
  $stdout.puts "="*40
@@ -1,3 +1,3 @@
1
1
  module Akephalos #:nodoc
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
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.0.0
4
+ version: 2.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-30 00:00:00.000000000 Z
12
+ date: 2011-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capybara
16
- requirement: &70350323500100 !ruby/object:Gem::Requirement
16
+ requirement: &70315413792500 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70350323500100
24
+ version_requirements: *70315413792500
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: jruby-jars
27
- requirement: &70350323499320 !ruby/object:Gem::Requirement
27
+ requirement: &70315413791980 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70350323499320
35
+ version_requirements: *70315413791980
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: sinatra
38
- requirement: &70350323498720 !ruby/object:Gem::Requirement
38
+ requirement: &70315413791400 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70350323498720
46
+ version_requirements: *70315413791400
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70350323498120 !ruby/object:Gem::Requirement
49
+ requirement: &70315413790820 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70350323498120
57
+ version_requirements: *70315413790820
58
58
  description: Headless Browser for Integration Testing with Capybara
59
59
  email: bj.schaefer@gmail.com
60
60
  executables: