appium_lib 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -149,7 +149,7 @@ module Appium
149
149
  # @return [Element]
150
150
  def ids id
151
151
  # Android auto resolves strings.xml ids
152
- find_elements :id, value
152
+ find_elements :id, id
153
153
  end
154
154
 
155
155
  # Find the element of type class_name at matching index.
@@ -1,5 +1,5 @@
1
1
  module Appium
2
2
  # Version and Date are defined on the 'Appium' module, not 'Appium::Common'
3
- VERSION = '3.0.1' unless defined? ::Appium::VERSION
3
+ VERSION = '3.0.2' unless defined? ::Appium::VERSION
4
4
  DATE = '2014-06-01' unless defined? ::Appium::DATE
5
5
  end
@@ -248,9 +248,9 @@ module Appium
248
248
  @default_wait = appium_lib_opts.fetch :wait, 30
249
249
  @last_waits = [@default_wait]
250
250
  @sauce_username = appium_lib_opts.fetch :sauce_username, ENV['SAUCE_USERNAME']
251
- @sauce_username = nil if @sauce_username.nil? || @sauce_username.empty?
251
+ @sauce_username = nil if !@sauce_username || (@sauce_username.is_a?(String) && @sauce_username.empty?)
252
252
  @sauce_access_key = appium_lib_opts.fetch :sauce_access_key, ENV['SAUCE_ACCESS_KEY']
253
- @sauce_access_key = nil if @sauce_access_key.nil? || @sauce_access_key.empty?
253
+ @sauce_access_key = nil if !@sauce_access_key || (@sauce_access_key.is_a?(String) && @sauce_access_key.empty?)
254
254
  @port = appium_lib_opts.fetch :port, 4723
255
255
 
256
256
  # Path to the .apk, .app or .app.zip.
data/release_notes.md CHANGED
@@ -1,3 +1,10 @@
1
+ #### v3.0.2 2014-06-01
2
+
3
+ - [08fe528](https://github.com/appium/ruby_lib/commit/08fe528887c33d64a3b06a5160859888cb92a9dd) Release 3.0.2
4
+ - [a051b35](https://github.com/appium/ruby_lib/commit/a051b355b488db6d303e800451668a1d8cb7d3d0) Fix find by ids on Android
5
+ - [84e3983](https://github.com/appium/ruby_lib/commit/84e39831d7d0c825c5c7ed44a512fb891e6efef3) Allow setting sauce_username/sauce_access_key to false
6
+
7
+
1
8
  #### v3.0.1 2014-06-01
2
9
 
3
10
  - [370b79c](https://github.com/appium/ruby_lib/commit/370b79c4b9f18fa615c145685256f543ee18debd) Release 3.0.1
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: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com