appium_lib 9.7.0 → 9.7.1
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/docs/android_docs.md +175 -167
- data/docs/ios_docs.md +227 -219
- data/lib/appium_lib/appium.rb +1 -0
- data/lib/appium_lib/common/http_client.rb +10 -0
- data/lib/appium_lib/core/common/base/http_default.rb +1 -1
- data/lib/appium_lib/driver.rb +2 -1
- data/lib/appium_lib/version.rb +1 -1
- data/release_notes.md +18 -0
- metadata +2 -1
data/lib/appium_lib/appium.rb
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
require_relative '../core/core'
|
|
2
|
+
require_relative '../version'
|
|
3
|
+
|
|
4
|
+
module Appium
|
|
5
|
+
module Http
|
|
6
|
+
class Default < ::Appium::Core::Base::Http::Default
|
|
7
|
+
DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
end
|
|
@@ -4,7 +4,7 @@ module Appium
|
|
|
4
4
|
module Http
|
|
5
5
|
class Default < Selenium::WebDriver::Remote::Http::Default
|
|
6
6
|
# TODO: when divide the core to the other gem, then update here. appium/ruby_lib_core/#{version}
|
|
7
|
-
DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' =>
|
|
7
|
+
DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => 'appium/ruby_lib_core/0.0.0' }.freeze
|
|
8
8
|
end
|
|
9
9
|
end
|
|
10
10
|
end
|
data/lib/appium_lib/driver.rb
CHANGED
|
@@ -430,7 +430,8 @@ module Appium
|
|
|
430
430
|
# @option http_client_ops [Hash] :open_timeout Custom open timeout for http client.
|
|
431
431
|
# @option http_client_ops [Hash] :read_timeout Custom read timeout for http client.
|
|
432
432
|
# @return [Selenium::WebDriver] the new global driver
|
|
433
|
-
def start_driver(http_client_ops =
|
|
433
|
+
def start_driver(http_client_ops =
|
|
434
|
+
{ http_client: ::Appium::Http::Default.new, open_timeout: 999_999, read_timeout: 999_999 })
|
|
434
435
|
driver_quit
|
|
435
436
|
|
|
436
437
|
# If automationName is set only in server side, then the following automation_name should be nil before
|
data/lib/appium_lib/version.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
module Appium
|
|
2
2
|
# Version and Date are defined on the 'Appium' module, not 'Appium::Common'
|
|
3
|
-
VERSION = '9.7.
|
|
3
|
+
VERSION = '9.7.1'.freeze unless defined? ::Appium::VERSION
|
|
4
4
|
DATE = '2017-10-01'.freeze unless defined? ::Appium::DATE
|
|
5
5
|
end
|
data/release_notes.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
#### v9.7.0 2017-10-01
|
|
2
|
+
|
|
3
|
+
- [bf12459](https://github.com/appium/ruby_lib/commit/bf124597977514e4d338efaaea5a29bdcbef5578) [Release 9 7 0 (#679)](https://github.com/appium/ruby_lib/issues/679)
|
|
4
|
+
- [a6240cb](https://github.com/appium/ruby_lib/commit/a6240cb3144679865b9ca455a3906586268c20db) [refactor: Move window size method and touch related actions (#678)](https://github.com/appium/ruby_lib/issues/678)
|
|
5
|
+
- [e3f5b0d](https://github.com/appium/ruby_lib/commit/e3f5b0d91b35d5b2b3b11e63911e2bf48ca11f08) [refactor: define bridge in core (#676)](https://github.com/appium/ruby_lib/issues/676)
|
|
6
|
+
- [eb7680f](https://github.com/appium/ruby_lib/commit/eb7680f6db1e821901045beacba0a8b80de722fb) [refactor: collect no agrs in core/command (#675)](https://github.com/appium/ruby_lib/issues/675)
|
|
7
|
+
- [f174e75](https://github.com/appium/ruby_lib/commit/f174e75e81912ddd5118e066349774caf54b4a74) [remove some todos which isn't need more (#673)](https://github.com/appium/ruby_lib/issues/673)
|
|
8
|
+
- [8471880](https://github.com/appium/ruby_lib/commit/84718805fb4c6246692564295294073b90ada700) [refactor: separate core android ios more (#670)](https://github.com/appium/ruby_lib/issues/670)
|
|
9
|
+
- [2e09e83](https://github.com/appium/ruby_lib/commit/2e09e839cce26571fb5857097d3c7f3391bfe3ff) [refactor: move some drivers in core (#669)](https://github.com/appium/ruby_lib/issues/669)
|
|
10
|
+
- [35b0ded](https://github.com/appium/ruby_lib/commit/35b0dedcfc08e66e6e7a9414db645e129bf5d373) [refactor: replace extend for to bridge for in driver (#668)](https://github.com/appium/ruby_lib/issues/668)
|
|
11
|
+
- [d44f00a](https://github.com/appium/ruby_lib/commit/d44f00a6cb8f52770da4ae7b7d69b8eaf3ae1581) [refactor: Reduce patch_webdriver_element and some DEPRECATIONs (#663)](https://github.com/appium/ruby_lib/issues/663)
|
|
12
|
+
- [2f24cb2](https://github.com/appium/ruby_lib/commit/2f24cb2ba17becbbe0e5e96bd2e4eb672f026024) [feature: update toggle touch id enrollment (#664)](https://github.com/appium/ruby_lib/issues/664)
|
|
13
|
+
- [895874d](https://github.com/appium/ruby_lib/commit/895874d51f5491db6a26669ae8e6f78c243c6eb3) [refactor: add some comments and remote_status (#662)](https://github.com/appium/ruby_lib/issues/662)
|
|
14
|
+
- [e813dfe](https://github.com/appium/ruby_lib/commit/e813dfe5689c450945df41d8c1973d9d58b8b0ff) [refactor: put warn if no device matched (#658)](https://github.com/appium/ruby_lib/issues/658)
|
|
15
|
+
- [d95b02e](https://github.com/appium/ruby_lib/commit/d95b02e6fa6a78525af120e0096beb3559dc6f72) [refactor: re-struct directories (#655)](https://github.com/appium/ruby_lib/issues/655)
|
|
16
|
+
- [f600fe6](https://github.com/appium/ruby_lib/commit/f600fe6fbc55281c58b2593d0aa55ae93a32a913) [refactor: separate some methods and modules (#651)](https://github.com/appium/ruby_lib/issues/651)
|
|
17
|
+
|
|
18
|
+
|
|
1
19
|
#### v9.6.1 2017-08-27
|
|
2
20
|
|
|
3
21
|
- [a542287](https://github.com/appium/ruby_lib/commit/a5422874b4ab60430ab9d58289aac001ecd90ecf) [Release 9 6 1 (#650)](https://github.com/appium/ruby_lib/issues/650)
|
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: 9.7.
|
|
4
|
+
version: 9.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- code@bootstraponline.com
|
|
@@ -267,6 +267,7 @@ files:
|
|
|
267
267
|
- lib/appium_lib/android/uiautomator2/helper.rb
|
|
268
268
|
- lib/appium_lib/appium.rb
|
|
269
269
|
- lib/appium_lib/common/helper.rb
|
|
270
|
+
- lib/appium_lib/common/http_client.rb
|
|
270
271
|
- lib/appium_lib/common/log.rb
|
|
271
272
|
- lib/appium_lib/common/multi_touch.rb
|
|
272
273
|
- lib/appium_lib/common/touch_actions.rb
|