page-object 0.8.8 → 0.8.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dfa172a1868058c6898f6df913eabfd8bfe4ab06
4
- data.tar.gz: 5f9ca6f196ecb011fa43529f6b0eb1a5761fc17b
3
+ metadata.gz: e9a92e6a236b6b469c1cbff99561bbb64b138012
4
+ data.tar.gz: 6800ad5dcebd5badb018a7043f8492f2f137a5a1
5
5
  SHA512:
6
- metadata.gz: 6c001a8140a22b48148a72fe2f5e4f3b7a17d3f6f07ce812e1a31b0308cb4551cd83520658e094da7871664786f2fe303f30828e60a5a7b92daa681ac902da34
7
- data.tar.gz: 47e1d9561c93be89b88e3c7ac54dde7354c89ddc06eaa05024bbff1c893e26c5190df49eba10ba08a457a68f4fdf582a5f1825add9b41a02c9f9e5160e129273
6
+ metadata.gz: 18b84ca5fb874b7690b97599f5ca3c169486b0db609a37c2dc7ce91e1d8e7179915d6725c8740dcd1337efb29a4c700d87cf9442aea671eeb06ac53c6f64af51
7
+ data.tar.gz: eff836a0fc7b3762b91b16f1eccaccad38e95ab906cd0fb28756e6cfa05d3c12c54221eb6143d4ea11da8fd214c6479bd7468a6e4d50ed6fb6cdcf9538033279
data/ChangeLog CHANGED
@@ -1,3 +1,10 @@
1
+ === Version 0.8.9 / 2013-4-13
2
+ * Enhancements
3
+ * Updated to use the latest watir-webdriver 0.6.3
4
+ * Updated to use the latest selenium-webdriver 2.32.1
5
+ * Fixes
6
+ * Fixed an issue when you try to find an element using no identifier (Thanks Alex Rodionov)
7
+
1
8
  === Version 0.8.8 / 2013-4-5
2
9
  * Enhancements
3
10
  * Added callback to widget classes to allow them to define their own accessors
@@ -1199,7 +1199,7 @@ module PageObject
1199
1199
  define_method("#{name}_elements") do
1200
1200
  return call_block(&block) unless block.nil?
1201
1201
  platform_method = (method_name == :checkboxes) ? 'checkboxs_for' : "#{method_name.to_s}_for"
1202
- platform.send platform_method, identifier.first.clone
1202
+ platform.send platform_method, (identifier.first ? identifier.first.clone : {})
1203
1203
  end
1204
1204
  end
1205
1205
  end
@@ -1,4 +1,4 @@
1
1
  module PageObject
2
2
  # @private
3
- VERSION = "0.8.8"
3
+ VERSION = "0.8.9"
4
4
  end
@@ -19,8 +19,8 @@ Gem::Specification.new do |s|
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_dependency 'watir-webdriver', '>= 0.6.2'
23
- s.add_dependency 'selenium-webdriver', '>= 2.31.0'
22
+ s.add_dependency 'watir-webdriver', '>= 0.6.3'
23
+ s.add_dependency 'selenium-webdriver', '>= 2.32.1'
24
24
  s.add_dependency 'page_navigation', '>= 0.7'
25
25
 
26
26
  s.add_development_dependency 'rspec', '>= 2.12.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: page-object
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.8
4
+ version: 0.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-05 00:00:00.000000000 Z
11
+ date: 2013-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: watir-webdriver
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '>='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.6.2
19
+ version: 0.6.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '>='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.6.2
26
+ version: 0.6.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: selenium-webdriver
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '>='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.31.0
33
+ version: 2.32.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.31.0
40
+ version: 2.32.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: page_navigation
43
43
  requirement: !ruby/object:Gem::Requirement