watir-webdriver-page-object 0.1.3 → 0.1.4

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Njg2NGYxNTMzMWUyYmJhMTMwYzE5YjJjOGU2Y2NhOTEwZDI2YTM4OA==
4
+ YmVmNzhkN2UyODI3NTg0YzQwNmQyYzI4OGQ0MzgzNTU1NGNmYTBmZg==
5
5
  data.tar.gz: !binary |-
6
- N2I4Nzc0YWRkYWJhM2NkNzlmNTJjMmFhNGQ5MDIxMDRlOTZkYzNlYg==
6
+ NjE0NGRiMmQwM2Q3MzIwOTQxZDMwMTg4MTE3MDYxOTFmZWI4ZjFlNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OWNmMjg0MDQxMDM3ZGZhODExOTFkM2E2YTZkMTc5NzAyYWQ2OTBjMzhkODE4
10
- ZjZiYWRmNjJiZTBlYWZiZDc5ZTg3MDRhYWU3MWQzNDY5OWYwMTY2MTMzOTZh
11
- NjVjOWI2MGJhZjkxOThiMjVjZjgwNDMwMTVlZWYzYjQwZTRkMGM=
9
+ MTZkMzJmY2M4ODg2ZWE3OTgwMzc4Y2UwY2VhZTllZTAwN2RkNzljNmQwZjY4
10
+ NDVhZDhlMzNhMWJkYjA3MmM1MmY3ZWQ5ZTg4ODM4ODE0YzJhYmUxZTQ1NmQy
11
+ ZWNkYjE5MWY3MTBhY2JmYzZmYWEzYjI2Y2RkYzZiN2VkZmU5Y2Y=
12
12
  data.tar.gz: !binary |-
13
- ZDMxMWJkOWUyOGVkNjhiN2VjMWEyZGY1NThiNjU4YjA5ZjZjYmFhNWRjNDE2
14
- ODRmYTNjZjhjNDIyMmRmOTAyZWNkOTc4NWE5YmM0NzljMzIwYWMyNjA2ZTM0
15
- YWE2MzE1NTI1NjEzMTRiMDFkYmM2YTM4NWU0YzM2OTdlMWIyNWU=
13
+ NjUwYjMxYTZiNTc5ODUyODg4ZWNhZjdiOWQxOGY1ZGVlMjc2ZGNmNGNhNjQ1
14
+ MDZkNjZlY2IzZDlkNjhmMWVmODEwNjZmZDhkYWNmYWRmYjNkYWYzNDdlOTc3
15
+ NjAwNzE3NGUyYWMyODNiOTBiYWM5ZDU1NTE3NmNhN2NmNDkyZmE=
@@ -257,11 +257,11 @@ class WatirWebdriverPageObject
257
257
  end
258
258
  end
259
259
 
260
- # For each text_area() defined in the page object these methods are added:
261
- # * <name> - Returns the text_area
262
- # @param element_name [String] The desired name for the new text_area.
263
- # @param selector [Hash] The selector for the new text_area.
264
- def self.text_area(element_name, selector)
260
+ # For each textarea() defined in the page object these methods are added:
261
+ # * <name> - Returns the textarea
262
+ # @param element_name [String] The desired name for the new textarea.
263
+ # @param selector [Hash] The selector for the new textarea.
264
+ def self.textarea(element_name, selector)
265
265
  define_method element_name.to_s do
266
266
  @browser.textarea(selector)
267
267
  end
@@ -488,13 +488,13 @@ class WatirWebdriverPageObject
488
488
  end
489
489
  end
490
490
 
491
- # For each text_areas() defined in the page object these methods are added:
492
- # * <name> - Returns an array of matching text_areas
493
- # @param element_name [String] The desired name for the new text_area.
494
- # @param selector [Hash] The selector for the new text_area.
495
- def self.text_areas(element_name, selector)
491
+ # For each textareas() defined in the page object these methods are added:
492
+ # * <name> - Returns an array of matching textareas
493
+ # @param element_name [String] The desired name for the new textarea.
494
+ # @param selector [Hash] The selector for the new textarea.
495
+ def self.textareas(element_name, selector)
496
496
  define_method element_name.to_s do
497
- @browser.text_areas(selector)
497
+ @browser.textareas(selector)
498
498
  end
499
499
  end
500
500
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir-webdriver-page-object
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Humerickhouse