appium_lib 0.3.11 → 0.3.12

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
- MTVjYTM4NGQ4ODljMGRjNWMyYjQ3MDcyNzEwOGViZTE3MzAxYWNlZQ==
4
+ NDZiY2JmNGZkYzZjOWQyM2Q3YzliM2NlNmY1NDAxMmY0NjU1YmJkOA==
5
5
  data.tar.gz: !binary |-
6
- OWUwYzhhY2M1YTIzYWZlMGEyZjc2ZWE0YzZiYTFjYzhmYjI3NWQ1YQ==
6
+ ZTJlYzQ1NDc4MTc3MDI1NWFmMDIzMDZiMmVhZWM5OWI1ZDRkZDg4Yg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MWZiNWRjYzdmYmI5M2I4OGRlYjMwNGJhMjJiOGIzMmMyNDkzY2UyNzI4MDgy
10
- ZmFkNmYwNWRkNjQ5MTFmYjMyODlkY2RjZDA1Mjk0MDJmOGIyMTY5N2IyYTk0
11
- OTYwMTZhNzEyNDE1ZjIwYzAxMWMwYmY4OGFlZDViOTQyYjgxN2U=
9
+ MGIxMDlkMmFkNzBlOGJiMTQyOTViNmE4MzlkY2YyMzVhZDZjZGVlMjQ4NjY2
10
+ YjY2YzExOGFhZTE3MzYxYWMyOGNmOWU3ODZiODQxZTI0YzRmZjFhNTQ4OGJl
11
+ OTUwZWJhMGNlMjUyM2Y5ZjAzMTJkZjM4NWViM2I0MzFjYmUzNmI=
12
12
  data.tar.gz: !binary |-
13
- YzFmMTgzYjM5NGYyYTljOTk1ZDQyZmNkY2QzOTA5OGExM2YxZjEyOGUxOTQ3
14
- ZGQxMjdiYzE3MzMxY2Q1Zjk1MDg1ZGRkOWFiMzZmNTNhMjgzOWYxNWI2M2Nj
15
- NDRhZWY3YTM5ODY4MmVkMDdkMjMyZjNmZWRjODE5Nzg0ZGMyNjI=
13
+ NDAzMzE4NWVhOWEyYWViMjgxYzllZTc4ODE2MDIzMWVmNzI1ZDk2MGE3ZmRj
14
+ MmM0MDFhZGRhOGJlODhjZmQ1ZmU4YTQ5YWI5YWM5MmZkZWYyYWExN2QyN2Ex
15
+ MTMxYmRmN2JkYTkzMzMxNjdiZDNiMDk3MzFiMDM2ODMyMWFlNjY=
@@ -93,4 +93,17 @@ the first element that matches.
93
93
  def names name
94
94
  @driver.find_elements :name, name
95
95
  end
96
+
97
+ # Scroll to an element containing target text or description.
98
+ # @param text [String] the text to search for in the text value and content description
99
+ # @return [Element] the element scrolled to
100
+ def scroll_to text
101
+ args = 'scroll',
102
+ # textContains(text)
103
+ [ [3, text] ],
104
+ # descriptionContains(text)
105
+ [ [7, text] ]
106
+
107
+ mobile :find, args
108
+ end
96
109
  end # module Appium::Android
@@ -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.3.11' unless defined? ::Appium::VERSION
5
- DATE = '2013-05-09' unless defined? ::Appium::DATE
4
+ VERSION = '0.3.12' unless defined? ::Appium::VERSION
5
+ DATE = '2013-05-10' unless defined? ::Appium::DATE
6
6
  end
@@ -69,6 +69,9 @@
69
69
 
70
70
  #### v0.3.2 2013-04-26
71
71
 
72
+ - [14d705a](https://github.com/appium/ruby_lib/commit/14d705acd527f13e2962e2c04200b6d28fd36cbb) Release 0.3.11
73
+ - [ebdae44](https://github.com/appium/ruby_lib/commit/ebdae448b108c76e586ad8f8ae86a1abc495e7e5) Search name and text when using textfield
74
+ - [e549984](https://github.com/appium/ruby_lib/commit/e549984b871819ce67ff6948e32a870574b7b4d2) Update release notes
72
75
  - [db557df](https://github.com/appium/ruby_lib/commit/db557df9939fa44f2a6bf5d8afd950a2fa4b4178) Release 0.3.10
73
76
  - [c3adbc5](https://github.com/appium/ruby_lib/commit/c3adbc52f0b049e6b9292ac2ff328160d1820668) Fix name and textfield
74
77
  - [5c26137](https://github.com/appium/ruby_lib/commit/5c261370fd68f363f0ab2f4d70ad486c43dc46fb) Android can't get alert text
@@ -117,6 +120,13 @@
117
120
  - [7df8ddc](https://github.com/appium/ruby_lib/commit/7df8ddcd0edb294abaddd2424f0f6b45f086fb53) Update release notes
118
121
 
119
122
 
123
+ #### v0.3.11 2013-05-09
124
+
125
+ - [14d705a](https://github.com/appium/ruby_lib/commit/14d705acd527f13e2962e2c04200b6d28fd36cbb) Release 0.3.11
126
+ - [ebdae44](https://github.com/appium/ruby_lib/commit/ebdae448b108c76e586ad8f8ae86a1abc495e7e5) Search name and text when using textfield
127
+ - [e549984](https://github.com/appium/ruby_lib/commit/e549984b871819ce67ff6948e32a870574b7b4d2) Update release notes
128
+
129
+
120
130
  #### v0.3.10 2013-05-07
121
131
 
122
132
  - [db557df](https://github.com/appium/ruby_lib/commit/db557df9939fa44f2a6bf5d8afd950a2fa4b4178) Release 0.3.10
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.11
4
+ version: 0.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-09 00:00:00.000000000 Z
11
+ date: 2013-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver