appium_lib_core 5.5.1 → 5.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36c3e5d802524fd73d0bd2f3f4c383dc8ca315b5fab8d91126aa38360023513e
4
- data.tar.gz: 3133b9cacbc2ccb65d44be5abc2ead266e70b84603a37d33f4697d71e5a28320
3
+ metadata.gz: b6be52f868c5d5dd31f79ad9085f7e88228644e219c65304295d07f6e4b4fa97
4
+ data.tar.gz: d1d26cfe6dbd087d2cc124611a719cd4e03f8a9fb6fc21ff91e2fa5bad60fb23
5
5
  SHA512:
6
- metadata.gz: 606343375d1a70d5b0d3f6c8b3a01d5bb4cb3b7668bfe622bae0ba3d35ca57997c1dd1b081934cade812a74bce250fa8fd0d3328d98dd94da451a34677021ef3
7
- data.tar.gz: 7315f007b57556ba24d615aea8fc48d05808a89f6cb408b400a560e5ea032827b732b20c15f3682e36abe48f3d30fcfd6896368e21a479e1adecf73b30459cc3
6
+ metadata.gz: 27fc36d0c66f461154e18a0664add51ec18d777bea954e27217811f7afffeb307843e08522d8d3944cad37c397511d55b3eb9a059c4945e991487ffef7c93ddb
7
+ data.tar.gz: 1d82aeeb2072fce555d77024b15c0ab7d64565799e3d537b9d4a8e0dc707c969461f543052ebf6623bf325488c643bf76d1d09775c8d8a5eb86f3ebc1780da38
data/CHANGELOG.md CHANGED
@@ -10,6 +10,16 @@ Read `release_notes.md` for commit level details.
10
10
 
11
11
  ### Deprecations
12
12
 
13
+ ## [5.6.0] - 2022-11-08
14
+
15
+ ### Enhancements
16
+ - Append `selnium-webdriver` `4.6` support
17
+
18
+ ## [5.5.2] - 2022-10-11
19
+
20
+ ### Bug fixes
21
+ - Fix wrong deprecation message
22
+
13
23
  ## [5.5.1] - 2022-10-10
14
24
 
15
25
  ### Bug fixes
data/README.md CHANGED
@@ -12,6 +12,8 @@ This library wraps [selenium-webdriver](https://github.com/SeleniumHQ/selenium/w
12
12
 
13
13
  - https://www.rubydoc.info/gems/appium_lib_core
14
14
  - You can find working API examples in test code, [test/functional](test/functional)
15
+ - Appium 2.0
16
+ - https://appium.github.io/appium/docs/en/2.0/ (Not completed yet)
15
17
 
16
18
  # Migration from v4 to v5
17
19
 
@@ -33,10 +35,12 @@ $ bundle exec parallel_test test/unit/
33
35
  ### Functional Tests
34
36
  Run functional tests which require the Appium server and real device, Simulator/Emulator.
35
37
 
36
- - Start Appium server
38
+ - Start Appium server (Appium 2.0 base)
37
39
  ```bash
38
- $ npm install -g appium opencv4nodejs
39
- $ appium --relaxed-security # To run all tests in local
40
+ $ npm install -g appium@next
41
+ $ appium driver install xcuitest
42
+ $ appium driver install uiautomator2 # etc
43
+ $ appium --base-path=/wd/hub --relaxed-security # To run all tests in local
40
44
  ```
41
45
 
42
46
  - Conduct tests
@@ -99,7 +103,7 @@ $ IGNORE_VERSION_SKIP=true CI=true bundle exec rake test:func:android
99
103
  require 'appium_lib_core'
100
104
 
101
105
  opts = {
102
- capabilities: { # or { caps: {....} }
106
+ capabilities: { # Append capabilities
103
107
  platformName: :ios,
104
108
  platformVersion: '11.0',
105
109
  deviceName: 'iPhone Simulator',
@@ -125,6 +129,8 @@ $ IGNORE_VERSION_SKIP=true CI=true bundle exec rake test:func:android
125
129
  $ ruby test.rb
126
130
  ```
127
131
 
132
+ [Appium::Core.for](https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver#for-class_method) documentation has more example to build a new driver instance.
133
+
128
134
  More examples are in [test/functional](test/functional)
129
135
 
130
136
  ### Capabilities
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ['lib']
24
24
 
25
- spec.add_runtime_dependency 'selenium-webdriver', '~> 4.2', '< 4.6'
25
+ spec.add_runtime_dependency 'selenium-webdriver', '~> 4.2', '< 4.7'
26
26
  spec.add_runtime_dependency 'faye-websocket', '~> 0.11.0'
27
27
 
28
28
  spec.add_development_dependency 'rake', '~> 13.0'
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency 'minitest', '~> 5.0'
31
31
  spec.add_development_dependency 'minitest-reporters', '~> 1.1'
32
32
  spec.add_development_dependency 'webmock', '~> 3.18.1'
33
- spec.add_development_dependency 'rubocop', '1.36.0'
33
+ spec.add_development_dependency 'rubocop', '1.38.0'
34
34
  spec.add_development_dependency 'appium_thor', '~> 1.0'
35
35
  spec.add_development_dependency 'parallel_tests'
36
36
  spec.add_development_dependency 'simplecov'
@@ -14,7 +14,7 @@
14
14
 
15
15
  module Appium
16
16
  module Core
17
- VERSION = '5.5.1' unless defined? ::Appium::Core::VERSION
18
- DATE = '2022-10-10' unless defined? ::Appium::Core::DATE
17
+ VERSION = '5.6.0' unless defined? ::Appium::Core::VERSION
18
+ DATE = '2022-11-08' unless defined? ::Appium::Core::DATE
19
19
  end
20
20
  end
@@ -48,7 +48,7 @@ module Appium
48
48
 
49
49
  value = pair[1]
50
50
  acc[key] = if nested
51
- value.is_a?(Hash) ? symbolize_keys(value, nested: false, enable_deprecation_msg: true) : value
51
+ value.is_a?(Hash) ? symbolize_keys(value, nested: false, enable_deprecation_msg: false) : value
52
52
  else
53
53
  value
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.5.1
4
+ version: 5.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki MATSUO
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-10 00:00:00.000000000 Z
11
+ date: 2022-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '4.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '4.6'
22
+ version: '4.7'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '4.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '4.6'
32
+ version: '4.7'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: faye-websocket
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -120,14 +120,14 @@ dependencies:
120
120
  requirements:
121
121
  - - '='
122
122
  - !ruby/object:Gem::Version
123
- version: 1.36.0
123
+ version: 1.38.0
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - '='
129
129
  - !ruby/object:Gem::Version
130
- version: 1.36.0
130
+ version: 1.38.0
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: appium_thor
133
133
  requirement: !ruby/object:Gem::Requirement