appium_lib 13.0.2 → 15.0.0
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/.github/workflows/rubocop.yml +4 -2
- data/CHANGELOG.md +13 -1
- data/Rakefile +8 -0
- data/appium_lib.gemspec +4 -3
- data/docs/android_docs.md +198 -303
- data/docs/ios_docs.md +236 -341
- data/docs/w3c.md +5 -1
- data/lib/appium_lib/appium.rb +0 -2
- data/lib/appium_lib/common/device.rb +0 -24
- data/lib/appium_lib/driver.rb +3 -10
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +21 -0
- data/test/first_test.rb +29 -0
- metadata +28 -27
- data/lib/appium_lib/common/multi_touch.rb +0 -198
- data/lib/appium_lib/common/touch_actions.rb +0 -76
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d6aaddb4ee973d648e03dfb0cf3e2ec26eaa20aae57764af246320725a3039e
|
4
|
+
data.tar.gz: 9ced7688862bb8011efb2916b3f338f66d1554ee5eab78e72299f40f3cffec1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '01642954e0acee422d5c5754c15ed2f104e9e789bee1e870fd9ab55bcbba3e0f996a34b132870b2855630cac5cca8e84f59973379836f57d7fd86b894c0c3484'
|
7
|
+
data.tar.gz: 6176bae5c61d0756d4a72d165603a3e1249d5e88cf8dda8f08dbfa4618dd3e7e5b2f67caafd2af5dfe2e92ca52910be1a49e4db00a79ee7f5a18b8a3e1c73bdb
|
@@ -11,7 +11,7 @@ jobs:
|
|
11
11
|
strategy:
|
12
12
|
fail-fast: false
|
13
13
|
matrix:
|
14
|
-
ruby: [3.0, 3.1, 3.2]
|
14
|
+
ruby: [3.0, 3.1, 3.2, 3.3]
|
15
15
|
|
16
16
|
runs-on: ubuntu-latest
|
17
17
|
|
@@ -23,5 +23,7 @@ jobs:
|
|
23
23
|
ruby-version: ${{ matrix.ruby }}
|
24
24
|
- name: Install dependencies
|
25
25
|
run: bundle install
|
26
|
-
- name: Run
|
26
|
+
- name: Run rubocop
|
27
27
|
run: bundle exec rake rubocop
|
28
|
+
- name: Run tests
|
29
|
+
run: bundle exec rake test
|
data/CHANGELOG.md
CHANGED
@@ -3,9 +3,21 @@ Commit based release not is [release_notes.md](./release_notes.md)
|
|
3
3
|
|
4
4
|
Release tags are https://github.com/appium/ruby_lib/releases .
|
5
5
|
|
6
|
+
## 15.0.0 - 2024-04-11
|
7
|
+
- Breaking
|
8
|
+
- Use appium_lib_core 8.0.0 and up
|
9
|
+
- Please refer to [the diff](https://github.com/appium/ruby_lib_core/blob/master/CHANGELOG.md#800---2024-03-08) about the details.
|
10
|
+
- Remove `Appium::MultiTouch` and `Appium::TouchAction`
|
11
|
+
- `swipe` could use `mobile:swipe`, or w3c actions. Multi-touch actions such as zoom/pinch can be written in w3c actions.
|
12
|
+
- Please use [w3c actions](https://github.com/appium/ruby_lib/blob/master/docs/w3c.md) instead. Several resources such as [test code in ruby_lib_core](https://github.com/appium/ruby_lib_core/blob/master/test/functional/common_w3c_actions.rb) also would help to check the syntax.
|
13
|
+
|
14
|
+
## 14.0.0 - 2024-01-25
|
15
|
+
- Use appium_lib_core 7.4.0 and up
|
16
|
+
- Removed deprecated `export_session` and `export_session_path`
|
17
|
+
- Please get the session id via `driver.session_id` instead
|
6
18
|
|
7
19
|
## 13.0.2 - 2024-01-25
|
8
|
-
- Allow up to
|
20
|
+
- Allow up to appium_lib_core 7.3
|
9
21
|
|
10
22
|
## 13.0.1 - 2023-06-19
|
11
23
|
- Ruby 3.0+ is required
|
data/Rakefile
CHANGED
@@ -14,6 +14,7 @@
|
|
14
14
|
|
15
15
|
require 'bundler/gem_tasks'
|
16
16
|
require 'rubocop/rake_task'
|
17
|
+
require 'rake/testtask'
|
17
18
|
|
18
19
|
desc 'Execute RuboCop static code analysis'
|
19
20
|
RuboCop::RakeTask.new(:rubocop) do |t|
|
@@ -21,3 +22,10 @@ RuboCop::RakeTask.new(:rubocop) do |t|
|
|
21
22
|
t.options = %w(-D)
|
22
23
|
t.fail_on_error = true
|
23
24
|
end
|
25
|
+
|
26
|
+
desc('Run all unit tests in test directory')
|
27
|
+
Rake::TestTask.new(:test) do |t|
|
28
|
+
t.libs << 'test'
|
29
|
+
t.libs << 'lib'
|
30
|
+
t.test_files = FileList[ENV['TESTS'] ? ENV['TESTS'].split(',') : 'test/**/*_test.rb']
|
31
|
+
end
|
data/appium_lib.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
|
15
15
|
s.require_paths = ['lib']
|
16
16
|
|
17
|
-
s.add_runtime_dependency 'appium_lib_core', '
|
17
|
+
s.add_runtime_dependency 'appium_lib_core', '~> 8.0.0'
|
18
18
|
s.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
|
19
19
|
s.add_runtime_dependency 'tomlrb', '>= 1.1', '< 3.0'
|
20
20
|
|
@@ -24,9 +24,10 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_development_dependency 'posix-spawn', '~> 0.3'
|
25
25
|
s.add_development_dependency 'pry'
|
26
26
|
s.add_development_dependency 'rake', '~> 13.0'
|
27
|
-
s.add_development_dependency 'rubocop', '1.
|
28
|
-
s.add_development_dependency 'spec', '~> 5.3', '>= 5.3.4'
|
27
|
+
s.add_development_dependency 'rubocop', '1.63.0'
|
29
28
|
s.add_development_dependency 'yard', '~> 0.9.11'
|
29
|
+
s.add_development_dependency 'minitest', '~> 5.0'
|
30
|
+
s.add_development_dependency 'minitest-reporters', '~> 1.1'
|
30
31
|
|
31
32
|
s.files = `git ls-files`.split("\n").reject { |v| v.match(/\A^(ios_tests|android_tests|grid|test_apps)\/.+/) }
|
32
33
|
end
|