appium_lib 0.5.14 → 0.5.15
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.
- data/docs/android_docs.md +111 -111
- data/docs/docs.md +10 -0
- data/docs/ios_docs.md +102 -111
- data/lib/appium_lib.rb +2 -1
- data/lib/appium_lib/common/version.rb +1 -1
- data/lib/appium_lib/driver.rb +6 -5
- data/readme.md +3 -0
- data/release_notes.md +12 -0
- metadata +2 -2
data/lib/appium_lib.rb
CHANGED
@@ -11,9 +11,10 @@ def self.method_missing method, *args, &block
|
|
11
11
|
# puts "[method_missing] Calling driver.send for #{method}"
|
12
12
|
$driver.send(method, *args, &block)
|
13
13
|
elsif self.respond_to?(method)
|
14
|
-
# puts "[method_missing] Calling super for #{method}"
|
14
|
+
# puts "[method_missing] Calling super with args for #{method}"
|
15
15
|
super(*args, &block)
|
16
16
|
else
|
17
|
+
# puts "[method_missing] Calling super (no args) for #{method}"
|
17
18
|
super
|
18
19
|
end
|
19
20
|
end
|
@@ -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.
|
4
|
+
VERSION = '0.5.15' unless defined? ::Appium::VERSION
|
5
5
|
DATE = '2013-07-03' unless defined? ::Appium::DATE
|
6
6
|
end
|
data/lib/appium_lib/driver.rb
CHANGED
@@ -191,13 +191,14 @@ module Appium
|
|
191
191
|
$driver.public_methods(false).each do | m |
|
192
192
|
Object.class_eval do
|
193
193
|
define_method m do | *args, &block |
|
194
|
-
|
195
|
-
# puts "[Object.class_eval] Calling super for #{m}"
|
194
|
+
begin
|
195
|
+
# puts "[Object.class_eval] Calling super for '#{m}'"
|
196
196
|
# prefer existing method.
|
197
|
+
# super will invoke method missing on driver
|
197
198
|
super(*args, &block)
|
198
|
-
|
199
|
-
# puts
|
200
|
-
$driver.send m, *args, &block
|
199
|
+
rescue NoMethodError
|
200
|
+
# puts "[Object.class_eval] '#{m}' not on super"
|
201
|
+
$driver.send m, *args, &block if $driver.respond_to?(m)
|
201
202
|
end
|
202
203
|
end
|
203
204
|
end
|
data/readme.md
CHANGED
@@ -76,3 +76,6 @@ Appium::Driver.new(apk).start_driver
|
|
76
76
|
- [Overview](https://github.com/appium/ruby_lib/blob/master/docs/docs.md)
|
77
77
|
- [Android methods](https://github.com/appium/ruby_lib/blob/master/docs/android_docs.md)
|
78
78
|
- [iOS methods](https://github.com/appium/ruby_lib/blob/master/docs/ios_docs.md)
|
79
|
+
- [Appium docs](https://github.com/appium/appium/tree/master/docs)
|
80
|
+
- [Ruby iOS tests](https://github.com/appium/ruby_lib_ios)
|
81
|
+
- [Ruby Android tests](https://github.com/appium/ruby_lib_android)
|
data/release_notes.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
#### v0.5.14 2013-07-03
|
2
|
+
|
3
|
+
- [521f79b](https://github.com/appium/ruby_lib/commit/521f79b11497c0c963b7059347e02d81a08f665a) Release 0.5.14
|
4
|
+
- [7831c7d](https://github.com/appium/ruby_lib/commit/7831c7d21bc6ae3c39d91c6903cb5e96ec066f16) Update current_app
|
5
|
+
- [3009abc](https://github.com/appium/ruby_lib/commit/3009abc44624f58c2201ad881b918e79252c2a83) Add iOS version commands
|
6
|
+
- [d224b6b](https://github.com/appium/ruby_lib/commit/d224b6b982d6ca7bc741ec9f92d597203081d4c6) Update readme.md
|
7
|
+
- [89a43da](https://github.com/appium/ruby_lib/commit/89a43da27d3629d5a4f3dc521fefb6e00a97ad2e) Update docs.md
|
8
|
+
- [85469de](https://github.com/appium/ruby_lib/commit/85469de2cb574722719e77809498319d948add15) Update readme.md
|
9
|
+
- [95c5c3c](https://github.com/appium/ruby_lib/commit/95c5c3cccf7b038293c9b8bd8bb168edc5bdd6a2) Current app is only for Android
|
10
|
+
- [460699c](https://github.com/appium/ruby_lib/commit/460699cce767339bf73efd8b5791464130681cb8) Update current_app
|
11
|
+
|
12
|
+
|
1
13
|
#### v0.5.13 2013-06-19
|
2
14
|
|
3
15
|
- [146e19a](https://github.com/appium/ruby_lib/commit/146e19a1b322d1bb625c6bb3ce1b80e67a7e80fa) Release 0.5.13
|
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.
|
4
|
+
version: 0.5.15
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
segments:
|
152
152
|
- 0
|
153
|
-
hash:
|
153
|
+
hash: 4217890362488520360
|
154
154
|
requirements: []
|
155
155
|
rubyforge_project:
|
156
156
|
rubygems_version: 1.8.25
|