jarib-celerity 0.0.6.19 → 0.0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,39 @@
1
+ == 0.0.7 2009-09-04
2
+ * :firefox (Firefox 2) is now the default browser, :firefox3 support added.
3
+ * Avoid huge Java backtraces on FailingHttpStatusCodeException
4
+ * Browser#log_level= sets the log level for more HtmlUnit packages
5
+ * Default log level is now :off
6
+ * ClickableElement#click_and_attach inherits options from parent browser
7
+ * Allow searching by XPath in frames.
8
+ * Fix bug with scripts in body onload.
9
+ * Nicer API for Browser#debug_web_connection
10
+ * Fix bug in Browser#element_by_xpath(s) and Element#method_missing
11
+ * Fix bug when selecting empty SelectList options
12
+ * Fix issue when using multiple attributes to locate elements on a page with non-unique IDs.
13
+ * Nicer #inspect methods on some objects
14
+ * Improved IPC with viewers
15
+ * Methods added:
16
+ - Browser#clear_cache
17
+ - Browser#confirm
18
+ - Browser#css=
19
+ - Browser#ignore_pattern=
20
+ - Browser#javascript_excepetion=
21
+ - Browser#secure_ssl=
22
+ - Browser#status
23
+ - Browser#status_code
24
+ - Browser#status_code_exceptions=
25
+ - Celerity.index_offset=
26
+ - ClickableElement#download
27
+ - Element#fire_event
28
+ - Element#javascript_object
29
+ * New constructor options:
30
+ - :javascript_enabled => true, false
31
+ - :viewer => true, false, String
32
+ - :refresh_handler => :immediate, :waiting, :threaded
33
+ * Features removed:
34
+ - Celerity::MethodGenerator
35
+ * Most of the spec suite moved to the WatirSpec project
36
+
1
37
  == 0.0.6 2009-03-19
2
38
  * Support for meta, strong, dl, dt, dd, and em HTML elements.
3
39
  * Update to HtmlUnit 2.5-SNAPSHOT.
@@ -40,9 +40,9 @@ lib/celerity/htmlunit/commons-io-1.4.jar
40
40
  lib/celerity/htmlunit/commons-lang-2.4.jar
41
41
  lib/celerity/htmlunit/commons-logging-1.1.1.jar
42
42
  lib/celerity/htmlunit/cssparser-0.9.5.jar
43
- lib/celerity/htmlunit/htmlunit-2.6-SNAPSHOT.jar
44
- lib/celerity/htmlunit/htmlunit-core-js-2.6-SNAPSHOT.jar
45
- lib/celerity/htmlunit/nekohtml-1.9.13-20090820.100833-15.jar
43
+ lib/celerity/htmlunit/htmlunit-2.6.jar
44
+ lib/celerity/htmlunit/htmlunit-core-js-2.6.jar
45
+ lib/celerity/htmlunit/nekohtml-1.9.13.jar
46
46
  lib/celerity/htmlunit/sac-1.3.jar
47
47
  lib/celerity/htmlunit/serializer-2.7.1.jar
48
48
  lib/celerity/htmlunit/xalan-2.7.1.jar
@@ -62,7 +62,7 @@ The source code is available on [GitHub](http://github.com/jarib/celerity/tree/m
62
62
  == License
63
63
 
64
64
  Celerity - JRuby wrapper for HtmlUnit
65
- Copyright (c) 2008 FINN.no AS
65
+ Copyright (c) 2008-2009 FINN.no AS
66
66
 
67
67
  This program is free software: you can redistribute it and/or modify
68
68
  it under the terms of the GNU General Public License as published by
data/Rakefile CHANGED
@@ -15,6 +15,9 @@ Hoe.spec 'celerity' do
15
15
  email << "jari.bakken@finn.no"
16
16
  extra_dev_deps << ['sinatra', '>= 0.9.4']
17
17
  version = Celerity::VERSION
18
+
19
+ # hack to avoid the extra file
20
+ @website_config = {'host' => 'jarib@rubyforge.org', 'remote_dir' => "/var/www/gforge-projects/celerity"}
18
21
  end
19
22
 
20
23
  Dir['tasks/**/*.rake'].each do |rake|
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{celerity}
5
- s.version = "0.0.6.19"
5
+ s.version = "0.0.7.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jari Bakken", "T. Alexander Lystad", "Knut Johannes Dahle"]
@@ -14,7 +14,7 @@ JavaScript support. It provides a simple API for programmatic navigation through
14
14
  web applications. Celerity aims at being API compatible with Watir.}
15
15
  s.email = ["jari.bakken@finn.no"]
16
16
  s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt"]
17
- s.files = ["History.txt", "License.txt", "Manifest.txt", "README.rdoc", "Rakefile", "celerity.gemspec", "lib/celerity.rb", "lib/celerity/browser.rb", "lib/celerity/clickable_element.rb", "lib/celerity/collections.rb", "lib/celerity/container.rb", "lib/celerity/default_viewer.rb", "lib/celerity/disabled_element.rb", "lib/celerity/element.rb", "lib/celerity/element_collection.rb", "lib/celerity/element_locator.rb", "lib/celerity/elements/button.rb", "lib/celerity/elements/file_field.rb", "lib/celerity/elements/form.rb", "lib/celerity/elements/frame.rb", "lib/celerity/elements/image.rb", "lib/celerity/elements/label.rb", "lib/celerity/elements/link.rb", "lib/celerity/elements/meta.rb", "lib/celerity/elements/non_control_elements.rb", "lib/celerity/elements/option.rb", "lib/celerity/elements/radio_check.rb", "lib/celerity/elements/select_list.rb", "lib/celerity/elements/table.rb", "lib/celerity/elements/table_cell.rb", "lib/celerity/elements/table_elements.rb", "lib/celerity/elements/table_row.rb", "lib/celerity/elements/text_field.rb", "lib/celerity/exception.rb", "lib/celerity/htmlunit.rb", "lib/celerity/htmlunit/commons-codec-1.4.jar", "lib/celerity/htmlunit/commons-collections-3.2.1.jar", "lib/celerity/htmlunit/commons-httpclient-3.1.jar", "lib/celerity/htmlunit/commons-io-1.4.jar", "lib/celerity/htmlunit/commons-lang-2.4.jar", "lib/celerity/htmlunit/commons-logging-1.1.1.jar", "lib/celerity/htmlunit/cssparser-0.9.5.jar", "lib/celerity/htmlunit/htmlunit-2.6-SNAPSHOT.jar", "lib/celerity/htmlunit/htmlunit-core-js-2.6-SNAPSHOT.jar", "lib/celerity/htmlunit/nekohtml-1.9.13-20090820.100833-15.jar", "lib/celerity/htmlunit/sac-1.3.jar", "lib/celerity/htmlunit/serializer-2.7.1.jar", "lib/celerity/htmlunit/xalan-2.7.1.jar", "lib/celerity/htmlunit/xercesImpl-2.9.1.jar", "lib/celerity/htmlunit/xml-apis-1.3.04.jar", "lib/celerity/identifier.rb", "lib/celerity/ignoring_web_connection.rb", "lib/celerity/input_element.rb", "lib/celerity/listener.rb", "lib/celerity/resources/no_viewer.png", "lib/celerity/short_inspect.rb", "lib/celerity/util.rb", "lib/celerity/version.rb", "lib/celerity/viewer_connection.rb", "lib/celerity/watir_compatibility.rb", "lib/celerity/xpath_support.rb", "spec/browser_authentication_spec.rb", "spec/browser_spec.rb", "spec/clickable_element_spec.rb", "spec/default_viewer_spec.rb", "spec/element_spec.rb", "spec/filefield_spec.rb", "spec/htmlunit_spec.rb", "spec/index_offset_spec.rb", "spec/listener_spec.rb", "spec/spec_helper.rb", "tasks/benchmark.rake", "tasks/deployment.rake", "tasks/environment.rake", "tasks/fix.rake", "tasks/jar.rake", "tasks/rdoc.rake", "tasks/rspec.rake", "tasks/simple_ci.rake", "tasks/snapshot.rake", "tasks/website.rake", "tasks/yard.rake"]
17
+ s.files = ["History.txt", "License.txt", "Manifest.txt", "README.rdoc", "Rakefile", "celerity.gemspec", "lib/celerity.rb", "lib/celerity/browser.rb", "lib/celerity/clickable_element.rb", "lib/celerity/collections.rb", "lib/celerity/container.rb", "lib/celerity/default_viewer.rb", "lib/celerity/disabled_element.rb", "lib/celerity/element.rb", "lib/celerity/element_collection.rb", "lib/celerity/element_locator.rb", "lib/celerity/elements/button.rb", "lib/celerity/elements/file_field.rb", "lib/celerity/elements/form.rb", "lib/celerity/elements/frame.rb", "lib/celerity/elements/image.rb", "lib/celerity/elements/label.rb", "lib/celerity/elements/link.rb", "lib/celerity/elements/meta.rb", "lib/celerity/elements/non_control_elements.rb", "lib/celerity/elements/option.rb", "lib/celerity/elements/radio_check.rb", "lib/celerity/elements/select_list.rb", "lib/celerity/elements/table.rb", "lib/celerity/elements/table_cell.rb", "lib/celerity/elements/table_elements.rb", "lib/celerity/elements/table_row.rb", "lib/celerity/elements/text_field.rb", "lib/celerity/exception.rb", "lib/celerity/htmlunit.rb", "lib/celerity/htmlunit/commons-codec-1.4.jar", "lib/celerity/htmlunit/commons-collections-3.2.1.jar", "lib/celerity/htmlunit/commons-httpclient-3.1.jar", "lib/celerity/htmlunit/commons-io-1.4.jar", "lib/celerity/htmlunit/commons-lang-2.4.jar", "lib/celerity/htmlunit/commons-logging-1.1.1.jar", "lib/celerity/htmlunit/cssparser-0.9.5.jar", "lib/celerity/htmlunit/htmlunit-2.6.jar", "lib/celerity/htmlunit/htmlunit-core-js-2.6.jar", "lib/celerity/htmlunit/nekohtml-1.9.13.jar", "lib/celerity/htmlunit/sac-1.3.jar", "lib/celerity/htmlunit/serializer-2.7.1.jar", "lib/celerity/htmlunit/xalan-2.7.1.jar", "lib/celerity/htmlunit/xercesImpl-2.9.1.jar", "lib/celerity/htmlunit/xml-apis-1.3.04.jar", "lib/celerity/identifier.rb", "lib/celerity/ignoring_web_connection.rb", "lib/celerity/input_element.rb", "lib/celerity/listener.rb", "lib/celerity/resources/no_viewer.png", "lib/celerity/short_inspect.rb", "lib/celerity/util.rb", "lib/celerity/version.rb", "lib/celerity/viewer_connection.rb", "lib/celerity/watir_compatibility.rb", "lib/celerity/xpath_support.rb", "spec/browser_authentication_spec.rb", "spec/browser_spec.rb", "spec/clickable_element_spec.rb", "spec/default_viewer_spec.rb", "spec/element_spec.rb", "spec/filefield_spec.rb", "spec/htmlunit_spec.rb", "spec/index_offset_spec.rb", "spec/listener_spec.rb", "spec/spec_helper.rb", "tasks/benchmark.rake", "tasks/deployment.rake", "tasks/environment.rake", "tasks/fix.rake", "tasks/jar.rake", "tasks/rdoc.rake", "tasks/rspec.rake", "tasks/simple_ci.rake", "tasks/snapshot.rake", "tasks/website.rake", "tasks/yard.rake"]
18
18
  s.homepage = %q{http://celerity.rubyforge.org/}
19
19
  s.rdoc_options = ["--main", "README.rdoc"]
20
20
  s.require_paths = ["lib"]
@@ -32,21 +32,21 @@ module Celerity
32
32
  #
33
33
  # @see Celerity::Container for an introduction to the main API.
34
34
  #
35
- # @option opts :log_level [Symbol] (:warning) @see log_level=
36
35
  # @option opts :browser [:internet_explorer, :firefox, :firefox3] (:firefox) Set the BrowserVersion used by HtmlUnit. Defaults to Firefox 2.
36
+ # @option opts :charset [String] ("UTF-8") Specify the charset that webclient will use for requests, and those where texts are getting gibberished, like Browser#html.
37
37
  # @option opts :css [Boolean] (false) Enable CSS. Disabled by default.
38
- # @option opts :secure_ssl [Boolean] (true) Enable/disable secure SSL. Enabled by default.
38
+ # @option opts :ignore_pattern [Regexp] See Browser#ignore_pattern=
39
39
  # @option opts :javascript_enabled [Boolean] (true) Enable/disable JavaScript evaluation. Enabled by default.
40
- # @option opts :resynchronize [Boolean] (false) Use HtmlUnit::NicelyResynchronizingAjaxController to resynchronize Ajax calls.
41
40
  # @option opts :javascript_exceptions [Boolean] (false) Raise exceptions on script errors. Disabled by default.
42
- # @option opts :status_code_exceptions [Boolean] (false) Raise exceptions on failing status codes (404 etc.). Disabled by default.
43
- # @option opts :charset [String] ("UTF-8") Specify the charset that webclient will use for requests, and those where texts are getting gibberished, like Browser#html.
41
+ # @option opts :log_level [Symbol] (:warning) @see log_level=
44
42
  # @option opts :proxy [String] (nil) Proxy server to use, in address:port format.
43
+ # @option opts :refresh_handler [:immediate, :waiting, :threaded] (:immediate) Set HtmlUnit's refresh handler.
44
+ # @option opts :render [:html, :xml] (:html) What DOM representation to send to connected viewers.
45
+ # @option opts :resynchronize [Boolean] (false) Use HtmlUnit::NicelyResynchronizingAjaxController to resynchronize Ajax calls.
46
+ # @option opts :secure_ssl [Boolean] (true) Enable/disable secure SSL. Enabled by default.
47
+ # @option opts :status_code_exceptions [Boolean] (false) Raise exceptions on failing status codes (404 etc.). Disabled by default.
45
48
  # @option opts :user_agent [String] Override the User-Agent set by the :browser option
46
- # @option opts :ignore_pattern [Regexp] See Browser#ignore_pattern=
47
49
  # @option opts :viewer [Boolean] (true) Connect to a CelerityViewer on port 6429 if available.
48
- # @option opts :render [:html, :xml] (:html) What DOM representation to send to connected viewers.
49
- # @option opts :refresh_handler [:immediat, :waiting, :threaded] (:immediate) Set HtmlUnit's refresh handler.
50
50
  #
51
51
  # @return [Celerity::Browser] An instance of the browser.
52
52
  #
@@ -67,7 +67,7 @@ module Celerity
67
67
 
68
68
  @render_type = opts.delete(:render) || :html
69
69
  @charset = opts.delete(:charset) || "UTF-8"
70
- self.log_level = opts.delete(:log_level) || :warning
70
+ self.log_level = opts.delete(:log_level) || :off
71
71
 
72
72
  @page = nil
73
73
  @error_checkers = []
@@ -1,3 +1,3 @@
1
1
  module Celerity
2
- VERSION = "0.0.6.19"
2
+ VERSION = "0.0.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jarib-celerity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6.19
4
+ version: 0.0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jari Bakken
@@ -88,9 +88,9 @@ files:
88
88
  - lib/celerity/htmlunit/commons-lang-2.4.jar
89
89
  - lib/celerity/htmlunit/commons-logging-1.1.1.jar
90
90
  - lib/celerity/htmlunit/cssparser-0.9.5.jar
91
- - lib/celerity/htmlunit/htmlunit-2.6-SNAPSHOT.jar
92
- - lib/celerity/htmlunit/htmlunit-core-js-2.6-SNAPSHOT.jar
93
- - lib/celerity/htmlunit/nekohtml-1.9.13-20090820.100833-15.jar
91
+ - lib/celerity/htmlunit/htmlunit-2.6.jar
92
+ - lib/celerity/htmlunit/htmlunit-core-js-2.6.jar
93
+ - lib/celerity/htmlunit/nekohtml-1.9.13.jar
94
94
  - lib/celerity/htmlunit/sac-1.3.jar
95
95
  - lib/celerity/htmlunit/serializer-2.7.1.jar
96
96
  - lib/celerity/htmlunit/xalan-2.7.1.jar
@@ -130,7 +130,6 @@ files:
130
130
  - tasks/yard.rake
131
131
  has_rdoc: false
132
132
  homepage: http://celerity.rubyforge.org/
133
- licenses:
134
133
  post_install_message:
135
134
  rdoc_options:
136
135
  - --main
@@ -152,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
151
  requirements: []
153
152
 
154
153
  rubyforge_project: celerity
155
- rubygems_version: 1.3.5
154
+ rubygems_version: 1.2.0
156
155
  signing_key:
157
156
  specification_version: 3
158
157
  summary: Celerity is a JRuby library for easy and fast functional test automation for web applications