firewatir 1.9.2 → 1.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/CHANGES +27 -0
  2. data/VERSION +1 -1
  3. data/firewatir.gemspec +1 -1
  4. metadata +5 -5
data/CHANGES CHANGED
@@ -1,3 +1,30 @@
1
+ == Version 2.0.0 - 2011/07/XX
2
+
3
+ * RIP FireWatir - there won't be any new releases
4
+ * all elements are using 0-based indexing instead of old 1-based indexing:
5
+ - disable it temporarily: require "watir"; Watir.options[:zero_based_indexing] = false
6
+ * #radio and #checkbox methods doesn't allow 3 parameters anymore for locating with "value"
7
+ - use browser.radio(:name => "something", :value => "some value") syntax instead for locating with "value"
8
+ * all element methods accept now multiple-specifiers with hash syntax, for example:
9
+ - browser.element(:class => "someclass", :name => "somename")
10
+ * all elements are searchable by :xpath and :css now (note that it's usually slower than searching by other specifiers)
11
+ * #button, #form and #frame doesn't accept single string as a specifier anymore to search by name:
12
+ - use browser.frame(:name => "name") or browser.frame(:name, "name") syntax instead
13
+ * :index => 0 is used as a default specifier if nothing is specified:
14
+ - browser.div(:id => "id").table.tr is same as browser.div(:id => "id").table(:index => 0).tr(:index => 0)
15
+ * all collection methods accept now specifiers too:
16
+ - browser.divs(:class => "someclass").each {|div| puts div.class_name} # => "someclass"
17
+ * removed FormElement class
18
+ * renamed CheckBox class to Checkbox
19
+ * renamed CheckBoxes class to Checkboxes
20
+ * added aliases:
21
+ - tr => row
22
+ - trs => rows
23
+ - td => cell
24
+ - tds => cells
25
+ - a => link
26
+ - as => links
27
+
1
28
  == Version 1.9.2 - 2011/07/11
2
29
 
3
30
  === IE improvements
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.2
1
+ 1.9.3
@@ -37,7 +37,7 @@ spec = Gem::Specification.new do |s|
37
37
  s.requirements << 'Mozilla Firefox browser 1.5 or later.'
38
38
  s.require_path = 'lib'
39
39
 
40
- s.add_dependency 'commonwatir', '= ' + version
40
+ s.add_dependency 'commonwatir', '>=1.9.2'
41
41
 
42
42
  s.has_rdoc = true
43
43
  s.rdoc_options <<
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: firewatir
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 53
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 9
9
- - 2
10
- version: 1.9.2
9
+ - 3
10
+ version: 1.9.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Angrez Singh
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-11 00:00:00 Z
18
+ date: 2011-07-24 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: commonwatir
@@ -23,7 +23,7 @@ dependencies:
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
26
- - - "="
26
+ - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  hash: 55
29
29
  segments: