appium_lib_core 5.5.2 → 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: 5302590b2b8b8d265a99ddcd5fda4bf24681b0602cff9eb00125f26bae83bf09
4
- data.tar.gz: 94abea1e0ea3f4295259d3c5ffa1b44dd91ea14900bc39d6444e85e29181aed9
3
+ metadata.gz: b6be52f868c5d5dd31f79ad9085f7e88228644e219c65304295d07f6e4b4fa97
4
+ data.tar.gz: d1d26cfe6dbd087d2cc124611a719cd4e03f8a9fb6fc21ff91e2fa5bad60fb23
5
5
  SHA512:
6
- metadata.gz: 3d299a05f52932b4ea717d6056d5bd6425f940eb9d76381f85b9dd8e7f4fc3c6c7baa783aefe39c04200df5d52c02e89348b841cd3343de501201ded8da9b007
7
- data.tar.gz: 768d729de2a8e7c67cf9cab4b024cf3f91141557aa0b6cb9efd7f3383d1bbbd35ec3ed9bc6d29093435ee709d9be685d400170f5b8a1c18c4882abf57e4a7783
6
+ metadata.gz: 27fc36d0c66f461154e18a0664add51ec18d777bea954e27217811f7afffeb307843e08522d8d3944cad37c397511d55b3eb9a059c4945e991487ffef7c93ddb
7
+ data.tar.gz: 1d82aeeb2072fce555d77024b15c0ab7d64565799e3d537b9d4a8e0dc707c969461f543052ebf6623bf325488c643bf76d1d09775c8d8a5eb86f3ebc1780da38
data/CHANGELOG.md CHANGED
@@ -10,6 +10,11 @@ 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
+
13
18
  ## [5.5.2] - 2022-10-11
14
19
 
15
20
  ### 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.2' unless defined? ::Appium::Core::VERSION
18
- DATE = '2022-10-11' 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
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.2
4
+ version: 5.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki MATSUO
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-12 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
@@ -272,7 +272,7 @@ homepage: https://github.com/appium/ruby_lib_core/
272
272
  licenses:
273
273
  - Apache-2.0
274
274
  metadata: {}
275
- post_install_message:
275
+ post_install_message:
276
276
  rdoc_options: []
277
277
  require_paths:
278
278
  - lib
@@ -287,8 +287,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
287
287
  - !ruby/object:Gem::Version
288
288
  version: '0'
289
289
  requirements: []
290
- rubygems_version: 3.2.14
291
- signing_key:
290
+ rubygems_version: 3.3.3
291
+ signing_key:
292
292
  specification_version: 4
293
293
  summary: Minimal Ruby library for Appium.
294
294
  test_files: []