celerity 0.8.6 → 0.8.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 8
4
- :patch: 6
4
+ :patch: 7
5
5
  :build:
@@ -1,101 +1,100 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{celerity}
8
- s.version = "0.8.6"
8
+ s.version = "0.8.7"
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{2010-12-16}
12
+ s.date = %q{2011-01-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 = [
16
16
  "LICENSE",
17
- "README.rdoc"
17
+ "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
20
  "HISTORY",
21
- "LICENSE",
22
- "README.rdoc",
23
- "Rakefile",
24
- "VERSION.yml",
25
- "celerity.gemspec",
26
- "lib/celerity.rb",
27
- "lib/celerity/browser.rb",
28
- "lib/celerity/clickable_element.rb",
29
- "lib/celerity/collections.rb",
30
- "lib/celerity/container.rb",
31
- "lib/celerity/default_viewer.rb",
32
- "lib/celerity/disabled_element.rb",
33
- "lib/celerity/element.rb",
34
- "lib/celerity/element_collection.rb",
35
- "lib/celerity/element_locator.rb",
36
- "lib/celerity/elements/button.rb",
37
- "lib/celerity/elements/file_field.rb",
38
- "lib/celerity/elements/form.rb",
39
- "lib/celerity/elements/frame.rb",
40
- "lib/celerity/elements/image.rb",
41
- "lib/celerity/elements/label.rb",
42
- "lib/celerity/elements/link.rb",
43
- "lib/celerity/elements/meta.rb",
44
- "lib/celerity/elements/non_control_elements.rb",
45
- "lib/celerity/elements/option.rb",
46
- "lib/celerity/elements/radio_check.rb",
47
- "lib/celerity/elements/select_list.rb",
48
- "lib/celerity/elements/table.rb",
49
- "lib/celerity/elements/table_cell.rb",
50
- "lib/celerity/elements/table_elements.rb",
51
- "lib/celerity/elements/table_row.rb",
52
- "lib/celerity/elements/text_field.rb",
53
- "lib/celerity/exception.rb",
54
- "lib/celerity/htmlunit.rb",
55
- "lib/celerity/htmlunit/apache-mime4j-0.6.jar",
56
- "lib/celerity/htmlunit/commons-codec-1.4.jar",
57
- "lib/celerity/htmlunit/commons-collections-3.2.1.jar",
58
- "lib/celerity/htmlunit/commons-io-2.0.jar",
59
- "lib/celerity/htmlunit/commons-lang-2.5.jar",
60
- "lib/celerity/htmlunit/commons-logging-1.1.1.jar",
61
- "lib/celerity/htmlunit/cssparser-0.9.5.jar",
62
- "lib/celerity/htmlunit/htmlunit-2.9-SNAPSHOT.jar",
63
- "lib/celerity/htmlunit/htmlunit-core-js-2.9-SNAPSHOT.jar",
64
- "lib/celerity/htmlunit/httpclient-4.0.3.jar",
65
- "lib/celerity/htmlunit/httpcore-4.0.1.jar",
66
- "lib/celerity/htmlunit/httpmime-4.0.3.jar",
67
- "lib/celerity/htmlunit/nekohtml-1.9.15-20101026.093020-2.jar",
68
- "lib/celerity/htmlunit/sac-1.3.jar",
69
- "lib/celerity/htmlunit/serializer-2.7.1.jar",
70
- "lib/celerity/htmlunit/xalan-2.7.1.jar",
71
- "lib/celerity/htmlunit/xercesImpl-2.9.1.jar",
72
- "lib/celerity/htmlunit/xml-apis-1.3.04.jar",
73
- "lib/celerity/identifier.rb",
74
- "lib/celerity/ignoring_web_connection.rb",
75
- "lib/celerity/input_element.rb",
76
- "lib/celerity/javascript_debugger.rb",
77
- "lib/celerity/listener.rb",
78
- "lib/celerity/resources/no_viewer.png",
79
- "lib/celerity/short_inspect.rb",
80
- "lib/celerity/util.rb",
81
- "lib/celerity/version.rb",
82
- "lib/celerity/viewer_connection.rb",
83
- "lib/celerity/watir_compatibility.rb",
84
- "lib/celerity/xpath_support.rb",
85
- "tasks/benchmark.rake",
86
- "tasks/check.rake",
87
- "tasks/clean.rake",
88
- "tasks/fix.rake",
89
- "tasks/jar.rake",
90
- "tasks/jeweler.rake",
91
- "tasks/rdoc.rake",
92
- "tasks/snapshot.rake",
93
- "tasks/spec.rake",
94
- "tasks/website.rake",
95
- "tasks/yard.rake"
21
+ "LICENSE",
22
+ "README.rdoc",
23
+ "Rakefile",
24
+ "VERSION.yml",
25
+ "celerity.gemspec",
26
+ "lib/celerity.rb",
27
+ "lib/celerity/browser.rb",
28
+ "lib/celerity/clickable_element.rb",
29
+ "lib/celerity/collections.rb",
30
+ "lib/celerity/container.rb",
31
+ "lib/celerity/default_viewer.rb",
32
+ "lib/celerity/disabled_element.rb",
33
+ "lib/celerity/element.rb",
34
+ "lib/celerity/element_collection.rb",
35
+ "lib/celerity/element_locator.rb",
36
+ "lib/celerity/elements/button.rb",
37
+ "lib/celerity/elements/file_field.rb",
38
+ "lib/celerity/elements/form.rb",
39
+ "lib/celerity/elements/frame.rb",
40
+ "lib/celerity/elements/image.rb",
41
+ "lib/celerity/elements/label.rb",
42
+ "lib/celerity/elements/link.rb",
43
+ "lib/celerity/elements/meta.rb",
44
+ "lib/celerity/elements/non_control_elements.rb",
45
+ "lib/celerity/elements/option.rb",
46
+ "lib/celerity/elements/radio_check.rb",
47
+ "lib/celerity/elements/select_list.rb",
48
+ "lib/celerity/elements/table.rb",
49
+ "lib/celerity/elements/table_cell.rb",
50
+ "lib/celerity/elements/table_elements.rb",
51
+ "lib/celerity/elements/table_row.rb",
52
+ "lib/celerity/elements/text_field.rb",
53
+ "lib/celerity/exception.rb",
54
+ "lib/celerity/htmlunit.rb",
55
+ "lib/celerity/htmlunit/apache-mime4j-0.6.jar",
56
+ "lib/celerity/htmlunit/commons-codec-1.4.jar",
57
+ "lib/celerity/htmlunit/commons-collections-3.2.1.jar",
58
+ "lib/celerity/htmlunit/commons-io-2.0.jar",
59
+ "lib/celerity/htmlunit/commons-lang-2.5.jar",
60
+ "lib/celerity/htmlunit/commons-logging-1.1.1.jar",
61
+ "lib/celerity/htmlunit/cssparser-0.9.5.jar",
62
+ "lib/celerity/htmlunit/htmlunit-2.9-SNAPSHOT.jar",
63
+ "lib/celerity/htmlunit/htmlunit-core-js-2.9-SNAPSHOT.jar",
64
+ "lib/celerity/htmlunit/httpclient-4.0.3.jar",
65
+ "lib/celerity/htmlunit/httpcore-4.0.1.jar",
66
+ "lib/celerity/htmlunit/httpmime-4.0.3.jar",
67
+ "lib/celerity/htmlunit/nekohtml-1.9.15-20101026.093020-2.jar",
68
+ "lib/celerity/htmlunit/sac-1.3.jar",
69
+ "lib/celerity/htmlunit/serializer-2.7.1.jar",
70
+ "lib/celerity/htmlunit/xalan-2.7.1.jar",
71
+ "lib/celerity/htmlunit/xercesImpl-2.9.1.jar",
72
+ "lib/celerity/htmlunit/xml-apis-1.3.04.jar",
73
+ "lib/celerity/identifier.rb",
74
+ "lib/celerity/ignoring_web_connection.rb",
75
+ "lib/celerity/input_element.rb",
76
+ "lib/celerity/javascript_debugger.rb",
77
+ "lib/celerity/listener.rb",
78
+ "lib/celerity/resources/no_viewer.png",
79
+ "lib/celerity/short_inspect.rb",
80
+ "lib/celerity/util.rb",
81
+ "lib/celerity/version.rb",
82
+ "lib/celerity/viewer_connection.rb",
83
+ "lib/celerity/watir_compatibility.rb",
84
+ "lib/celerity/xpath_support.rb",
85
+ "tasks/benchmark.rake",
86
+ "tasks/check.rake",
87
+ "tasks/clean.rake",
88
+ "tasks/fix.rake",
89
+ "tasks/jar.rake",
90
+ "tasks/jeweler.rake",
91
+ "tasks/rdoc.rake",
92
+ "tasks/snapshot.rake",
93
+ "tasks/spec.rake",
94
+ "tasks/website.rake",
95
+ "tasks/yard.rake"
96
96
  ]
97
97
  s.homepage = %q{http://github.com/jarib/celerity}
98
- s.rdoc_options = ["--charset=UTF-8"]
99
98
  s.require_paths = ["lib"]
100
99
  s.rubyforge_project = %q{celerity}
101
100
  s.rubygems_version = %q{1.3.6}
@@ -51,6 +51,7 @@ module Celerity
51
51
  assert_exists
52
52
  TableCells.new(self, :object, @cells)
53
53
  end
54
+ alias_method :tds, :cells
54
55
 
55
56
  #
56
57
  # Iterates through each row in the table.
@@ -21,6 +21,11 @@ module Celerity
21
21
  @cells.each { |cell| yield TableCell.new(self, :object, cell) }
22
22
  end
23
23
 
24
+ def cells
25
+ to_a
26
+ end
27
+ alias_method :tds, :cells
28
+
24
29
  #
25
30
  # Get the child cell at the given index
26
31
  #
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 8
8
- - 6
9
- version: 0.8.6
8
+ - 7
9
+ version: 0.8.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jari Bakken
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-12-16 00:00:00 +01:00
19
+ date: 2011-01-09 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -161,8 +161,8 @@ homepage: http://github.com/jarib/celerity
161
161
  licenses: []
162
162
 
163
163
  post_install_message:
164
- rdoc_options:
165
- - --charset=UTF-8
164
+ rdoc_options: []
165
+
166
166
  require_paths:
167
167
  - lib
168
168
  required_ruby_version: !ruby/object:Gem::Requirement