appium_lib 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,10 +3,16 @@
3
3
  module Appium::Common
4
4
  # s_ prefix for static_text to avoid conflict with generic text methods.
5
5
 
6
- # Get an array of text texts.
7
- # @return [Array<String>]
8
- def s_texts
9
- find_eles_attr :text, :text
6
+ # Get an array of text texts if text is nil else
7
+ # Get all static textfields that include text.
8
+ # @param text [String] the text to find.
9
+ # @return [Array]
10
+ def s_texts text=nil
11
+ if text
12
+ find_eles_by_text_include :text, text
13
+ else
14
+ find_eles_attr :text, :text
15
+ end
10
16
  end
11
17
 
12
18
  # Get an array of text elements.
@@ -35,13 +41,6 @@ module Appium::Common
35
41
  find_ele_by_text_include :text, text
36
42
  end
37
43
 
38
- # Get all static textfields that include text.
39
- # @param text [String] the text to find.
40
- # @return [Array<Text>]
41
- def s_texts text
42
- find_eles_by_text_include :text, text
43
- end
44
-
45
44
  # Get the first textfield that matches text.
46
45
  # @param text [String] the text that the tag must match
47
46
  # @return [Text]
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Appium
3
3
  # Version and Date are defined on the 'Appium' module, not 'Appium::Common'
4
- VERSION = '0.11.0' unless defined? ::Appium::VERSION
4
+ VERSION = '0.11.1' unless defined? ::Appium::VERSION
5
5
  DATE = '2013-09-24' unless defined? ::Appium::DATE
6
6
  end
@@ -1,3 +1,12 @@
1
+ #### v0.11.0 2013-09-24
2
+
3
+ - [948074c](https://github.com/appium/ruby_lib/commit/948074c44917029fb27b08ed582c90d7f73a7cde) Release 0.11.0
4
+ - [a0dfe2c](https://github.com/appium/ruby_lib/commit/a0dfe2c5a99f9354b1c0f4fa766619505d4c85ae) Add s_texts, s_texts_exact
5
+ - [5b3bb88](https://github.com/appium/ruby_lib/commit/5b3bb886951b8efe9845d423a4da310742a52bcb) wait and wait_true now respect default_wait
6
+ - [5c3083b](https://github.com/appium/ruby_lib/commit/5c3083b819dc3dca66ee07fcb6e7aeadcfbc1d2c) Update Android tag maps
7
+ - [c2b7098](https://github.com/appium/ruby_lib/commit/c2b70980ba80cefe82f776ac7c0e567a7dc93884) Sort page_class on Android
8
+
9
+
1
10
  #### v0.10.0 2013-09-20
2
11
 
3
12
  - [6ab8180](https://github.com/appium/ruby_lib/commit/6ab8180ca332239793c0abc5ee3a31b0b081b6c4) Release 0.10.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com