celerity 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -27,9 +27,11 @@ web applications. Celerity provides a superset of Watir's API.
27
27
 
28
28
  jruby -S gem install celerity
29
29
 
30
- or from GitHub (updated frequently)
30
+ To always get the latest version, you should use Gemcutter as your primary gem source:
31
31
 
32
- jruby -S gem install jarib-celerity
32
+ jruby -S gem install gemcutter
33
+ jruby -S gem tumble
34
+ jruby -S gem install celerity
33
35
 
34
36
 
35
37
  == Example
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
+ :patch: 4
2
3
  :major: 0
3
4
  :minor: 7
4
- :patch: 3
data/celerity.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{celerity}
8
- s.version = "0.7.3"
8
+ s.version = "0.7.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jari Bakken", "T. Alexander Lystad", "Knut Johannes Dahle"]
12
- s.date = %q{2009-10-07}
12
+ s.date = %q{2009-10-09}
13
13
  s.description = %q{Celerity is a JRuby wrapper around HtmlUnit – a headless Java browser with JavaScript support. It provides a simple API for programmatic navigation through web applications. Celerity provides a superset of Watir's API.}
14
14
  s.email = %q{jari.bakken@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -80,6 +80,7 @@ Gem::Specification.new do |s|
80
80
  "lib/celerity/watir_compatibility.rb",
81
81
  "lib/celerity/xpath_support.rb",
82
82
  "tasks/benchmark.rake",
83
+ "tasks/clean.rake",
83
84
  "tasks/fix.rake",
84
85
  "tasks/jar.rake",
85
86
  "tasks/jeweler.rake",
@@ -339,12 +339,12 @@ module Celerity
339
339
 
340
340
  def add_cookie(domain, name, value, opts = {})
341
341
  path = opts.delete(:path) || "/"
342
- expires = opts.delete(:expires) || (Time.now + 60*60*24) # not sure if this is correct
342
+ max_age = opts.delete(:expires) || (Time.now + 60*60*24) # not sure if this is correct
343
343
  secure = opts.delete(:secure) || false
344
344
 
345
345
  raise(ArgumentError, "unknown option: #{opts.inspect}") unless opts.empty?
346
346
 
347
- cookie = HtmlUnit::Util::Cookie.new(name, value, domain, path, expires, secure)
347
+ cookie = HtmlUnit::Util::Cookie.new(domain, name, value, path, max_age, secure)
348
348
  @webclient.getCookieManager.addCookie cookie
349
349
 
350
350
  cookie
@@ -1,3 +1,3 @@
1
1
  module Celerity
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
data/tasks/clean.rake ADDED
@@ -0,0 +1,3 @@
1
+ require 'rake/clean'
2
+
3
+ CLEAN.include "classes/", "pkg/", "doc/"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: celerity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jari Bakken
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-10-07 00:00:00 +02:00
14
+ date: 2009-10-09 00:00:00 +02:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
@@ -117,6 +117,7 @@ files:
117
117
  - lib/celerity/watir_compatibility.rb
118
118
  - lib/celerity/xpath_support.rb
119
119
  - tasks/benchmark.rake
120
+ - tasks/clean.rake
120
121
  - tasks/fix.rake
121
122
  - tasks/jar.rake
122
123
  - tasks/jeweler.rake