appium_lib 0.5.10 → 0.5.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -171,7 +171,7 @@ module Appium::Android
171
171
  when 'viewswitcher'
172
172
  prefix 'ViewSwitcher'
173
173
  when 'web'
174
- prefix 'WebView'
174
+ 'android.webkit.WebView' # WebView is not a widget
175
175
  when 'window'
176
176
  prefix 'FrameLayout'
177
177
  when 'zoom'
@@ -390,6 +390,13 @@ module Appium::Android
390
390
  mobile :searchId, target
391
391
  end
392
392
 
393
+ # Search strings.xml's keys for target.
394
+ # @param target [String] the target to search for in strings.xml keys
395
+ # @return [Array]
396
+ def search_value target
397
+ mobile :searchValue, target
398
+ end
399
+
393
400
  # Resolve id in strings.xml and return the value.
394
401
  # @param id [String] the id to resolve
395
402
  # @return [String]
@@ -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.5.10' unless defined? ::Appium::VERSION
5
- DATE = '2013-06-17' unless defined? ::Appium::DATE
4
+ VERSION = '0.5.11' unless defined? ::Appium::VERSION
5
+ DATE = '2013-06-18' unless defined? ::Appium::DATE
6
6
  end
@@ -1,3 +1,9 @@
1
+ #### v0.5.10 2013-06-17
2
+
3
+ - [16d696a](https://github.com/appium/ruby_lib/commit/16d696aa368bdce198b7ef7a1cc1370f6c5d2ac7) Release 0.5.10
4
+ - [5cc0a7a](https://github.com/appium/ruby_lib/commit/5cc0a7a52d43af7690705f889860c2dc4788b892) Add search and resolve id
5
+
6
+
1
7
  #### v0.5.9 2013-06-11
2
8
 
3
9
  - [ac76a23](https://github.com/appium/ruby_lib/commit/ac76a23ca4c7f5bb89a833937cc726654fa2df82) Release 0.5.9
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.5.10
4
+ version: 0.5.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-17 00:00:00.000000000 Z
12
+ date: 2013-06-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: selenium-webdriver
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  segments:
152
152
  - 0
153
- hash: -2471542910602460749
153
+ hash: -526467427430502460
154
154
  requirements: []
155
155
  rubyforge_project:
156
156
  rubygems_version: 1.8.25