appium_lib 16.1.0 → 16.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc789518d6c55b8b1605ec1cfb28472d3728ef834a79610a24b59d845279094e
4
- data.tar.gz: c3ae639da97dd64ffcee3e997ee50cdbefbc17b0467060e8929638710d2364a7
3
+ metadata.gz: c66c0b6201b3992cdcc6ba0a8cf83c8cb6e65fa6c8f7da6680de52731966e6e8
4
+ data.tar.gz: e3de25d8e982c830b27bc59fb623d51527676c9d68b43d89232295e4bed425b8
5
5
  SHA512:
6
- metadata.gz: 96e32e63ed7f2487b9fd5a793c59f04ea8824f9fda9b3dbab66615be27898c9bac3f572d65a7e401ec1f19a598b8b3d7566df17049a993b345b866e7267fd79d
7
- data.tar.gz: 17ab6f41063cf9e77fe57d5299e66747b9db0337ac97d8f27808fd0345847b4306d3ee3d33ac2276a3ce3cd7f7d86bef9a6e590bf7f1215bd9702cf37ccbb3a5
6
+ metadata.gz: 2c378306be4f0b4e17136607908023126a4f1332d2d9663cab3e0550ab3c527e9421b31beaa942a5497ce2d686c8d9269b7d0c2d0bfb1c68d79ea32f7b12a0ac
7
+ data.tar.gz: 7c5d11692392a07a3b9b2c96b990131eff58eb776d6277c338c9388beb8ba1d47aa28f31f261eb39cef934114f97be41eeee7a17266837baa71a9ca63771a5d9
@@ -3,6 +3,12 @@ updates:
3
3
  - package-ecosystem: bundler
4
4
  directory: "/"
5
5
  schedule:
6
- interval: daily
6
+ interval: weekly
7
+ time: "11:00"
8
+ open-pull-requests-limit: 10
9
+ - package-ecosystem: github-actions
10
+ directory: "/"
11
+ schedule:
12
+ interval: weekly
7
13
  time: "11:00"
8
14
  open-pull-requests-limit: 10
@@ -21,10 +21,10 @@ jobs:
21
21
  IOS_DEVICE_NAME: iPhone 15 Plus
22
22
 
23
23
  steps:
24
- - uses: actions/checkout@v3
24
+ - uses: actions/checkout@v6
25
25
 
26
26
  - name: Install Node.js
27
- uses: actions/setup-node@v3
27
+ uses: actions/setup-node@v6
28
28
  with:
29
29
  node-version: 'lts/*'
30
30
 
@@ -34,7 +34,7 @@ jobs:
34
34
  xcode-version: ${{ env.XCODE_VERSION }}
35
35
  - run: defaults write com.apple.iphonesimulator PasteboardAutomaticSync -bool false
36
36
 
37
- - uses: futureware-tech/simulator-action@v3
37
+ - uses: futureware-tech/simulator-action@v4
38
38
  with:
39
39
  # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md
40
40
  model: ${{ env.IOS_DEVICE_NAME }}
@@ -53,14 +53,14 @@ jobs:
53
53
  npm install -g mjpeg-consumer
54
54
  - run: |
55
55
  appium driver install xcuitest
56
- appium plugin install images@2.1.8
56
+ appium plugin install images
57
57
  appium plugin install execute-driver
58
58
  nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors > appium.log &
59
59
 
60
60
  - name: Set up Ruby
61
61
  uses: ruby/setup-ruby@v1
62
62
  with:
63
- ruby-version: 3.3
63
+ ruby-version: 4.0
64
64
  - run: |
65
65
  bundle install
66
66
  rake ios
@@ -16,7 +16,7 @@ jobs:
16
16
  runs-on: ubuntu-latest
17
17
 
18
18
  steps:
19
- - uses: actions/checkout@v3
19
+ - uses: actions/checkout@v6
20
20
  - name: Set up Ruby
21
21
  uses: ruby/setup-ruby@v1
22
22
  with:
data/.rubocop.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  AllCops:
2
2
  TargetRubyVersion: 3.1
3
- Metrics/LineLength:
3
+ Layout/LineLength:
4
4
  Max: 128
5
5
  Metrics/MethodLength:
6
6
  Enabled: false
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@ 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
+ ## 16.1.1 - 2025-12-28
7
+ - Add deprecated mark for start_logs_broadcast/stop_logs_broadcast to use BiDi instead
8
+
6
9
  ## 16.1.0 - 2025-03-37
7
10
  - Relaxed usable the appium_lib_core deps version to `> 11`
8
11
 
data/Gemfile CHANGED
@@ -17,10 +17,10 @@ gemspec
17
17
 
18
18
  gem 'appium_thor', '~> 2.0'
19
19
  gem 'fakefs', '~> 3.0.0'
20
- gem 'hashdiff', '~> 1.1.0'
20
+ gem 'hashdiff', '~> 1.2.0'
21
21
  gem 'minitest', '~> 5.0'
22
22
  gem 'minitest-reporters', '~> 1.1'
23
23
  gem 'pry'
24
24
  gem 'rake', '~> 13.0'
25
- gem 'rubocop', '1.74.0'
25
+ gem 'rubocop', '1.82.0'
26
26
  gem 'yard', '~> 0.9.11'
data/appium_lib.gemspec CHANGED
@@ -13,6 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
14
14
  s.require_paths = ['lib']
15
15
 
16
+ # TODO: We must remove start_logs_broadcast/stop_logs_broadcast to bump the appium_lib_core version to v12+.
16
17
  s.add_dependency 'appium_lib_core', '>= 9.2.1', '< 12.0'
17
18
  s.add_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
18
19
  s.add_dependency 'tomlrb', '>= 1.1', '< 3.0'
@@ -31,6 +31,8 @@ module Appium
31
31
  @driver.execute_script 'mobile: shell', args
32
32
  end
33
33
 
34
+ # @deprecated Please use BiDi implementation via `$driver.driver.bidi` directly instead.
35
+ #
34
36
  # Starts Android logcat broadcast websocket
35
37
  #
36
38
  # @param [String] logcat_file A file path to write messages from a logcat WebSocket client
@@ -46,6 +48,8 @@ module Appium
46
48
  @logcat_client = ::Appium::Common::Command::WsLogcat.new(url: socket_url, output_file: logcat_file)
47
49
  end
48
50
 
51
+ # @deprecated Please use BiDi implementation directly instead.
52
+ #
49
53
  # Stop Android logcat broadcast websocket
50
54
  #
51
55
  # @example
@@ -15,6 +15,7 @@
15
15
  module Appium
16
16
  module Common
17
17
  module Command
18
+ # TODO: Remove this implementation after dropping start_logs_broadcast
18
19
  class WsLogcat < ::Appium::Core::WebSocket
19
20
  def initialize(url:, output_file: 'logcat.log')
20
21
  super(url: url)
@@ -22,6 +22,8 @@ module Appium
22
22
  module Ios
23
23
  module Xcuitest
24
24
  module Command
25
+ # @deprecated Please use BiDi implementation via `$driver.driver.bidi` directly instead.
26
+ #
25
27
  # Starts iOS syslog broadcast websocket
26
28
  #
27
29
  # @param [String] syslog_file A file path to write messages from a syslog WebSocket client
@@ -37,6 +39,8 @@ module Appium
37
39
  @logcat_client = ::Appium::Common::Command::WsLogcat.new(url: socket_url, output_file: syslog_file)
38
40
  end
39
41
 
42
+ # @deprecated Please use BiDi implementation directly instead.
43
+ #
40
44
  # Stop iOS syslog broadcast websocket
41
45
  #
42
46
  # @example
@@ -14,6 +14,6 @@
14
14
 
15
15
  module Appium
16
16
  # Version and Date are defined on the 'Appium' module, not 'Appium::Common'
17
- VERSION = '16.1.0' unless defined? ::Appium::VERSION
18
- DATE = '2025-03-27' unless defined? ::Appium::DATE
17
+ VERSION = '16.1.1' unless defined? ::Appium::VERSION
18
+ DATE = '2025-12-28' unless defined? ::Appium::DATE
19
19
  end
data/release_notes.md CHANGED
@@ -1,3 +1,40 @@
1
+ #### v16.1.1 2025-12-28
2
+
3
+ - [2efaf09](https://github.com/appium/ruby_lib/commit/2efaf0937dfaf3759d370607fdea05c890df634a) Release 16.1.1
4
+ - [121316f](https://github.com/appium/ruby_lib/commit/121316f8c74cbcdab6073c7b7cb8ef5b46f28bb6) chore: add deprecated in docstrings for start_logs_broadcast/stop_logs_broadcast (#1095)
5
+ - [2736ab2](https://github.com/appium/ruby_lib/commit/2736ab2cb77cf7a149bd2e933f1c5af5e5e6c8cc) ci: use ruby v4 (#1094)
6
+ - [0fe4fbc](https://github.com/appium/ruby_lib/commit/0fe4fbce26f71211e15eea11ff624b1fbeb23767) chore: Update rubocop requirement from 1.81.7 to 1.82.0 (#1093)
7
+ - [5676f33](https://github.com/appium/ruby_lib/commit/5676f338c399cddc41f3b830d82eccd7a955466c) chore: Bump futureware-tech/simulator-action from 3 to 4 (#1092)
8
+ - [9b7b69b](https://github.com/appium/ruby_lib/commit/9b7b69b26c20b0dd23a218d4994cac634504fb08) chore: Bump actions/setup-node from 3 to 6 (#1091)
9
+ - [00d640d](https://github.com/appium/ruby_lib/commit/00d640dd460a013a924b27a2865d605563f44e2d) chore: Bump actions/checkout from 3 to 6 (#1090)
10
+ - [2272004](https://github.com/appium/ruby_lib/commit/2272004b6127b49bc555bdf13a61fd8370f0adec) ci: add github actions dependabot config
11
+ - [0ffe7d4](https://github.com/appium/ruby_lib/commit/0ffe7d48eddf59817686cf72b2811af11d7b34c3) chore: Update rubocop requirement from 1.81.6 to 1.81.7 (#1089)
12
+ - [1b9628c](https://github.com/appium/ruby_lib/commit/1b9628c0098499e5c0c763f2f1e63578ce1a3dae) chore: Update rubocop requirement from 1.81.1 to 1.81.6 (#1088)
13
+ - [99d15ca](https://github.com/appium/ruby_lib/commit/99d15ca8e0339da425f2cc93c360fbd1e4231453) chore: Update rubocop requirement from 1.81.0 to 1.81.1 (#1087)
14
+ - [94f8d72](https://github.com/appium/ruby_lib/commit/94f8d72e251b3513db7c1ddd6009cef76c6b620f) chore: Update rubocop requirement from 1.80.2 to 1.81.0 (#1086)
15
+ - [31a7747](https://github.com/appium/ruby_lib/commit/31a77475ce32fe1cfb61e8a9e5b8c9c4671603fb) chore: Update rubocop requirement from 1.80.1 to 1.80.2 (#1084)
16
+ - [38c0dcb](https://github.com/appium/ruby_lib/commit/38c0dcb248a5cd8e458027304c6a3fb11f97cf95) ci: use newer dependencies (#1085)
17
+ - [e925497](https://github.com/appium/ruby_lib/commit/e925497539a5cfa374a1855642bcf524f3cbdb0d) chore: Update rubocop requirement from 1.80.0 to 1.80.1 (#1083)
18
+ - [a3b6a09](https://github.com/appium/ruby_lib/commit/a3b6a09bf6faf9ac870704b6430412113d2d9262) chore: Update rubocop requirement from 1.79.2 to 1.80.0 (#1082)
19
+ - [dfa1010](https://github.com/appium/ruby_lib/commit/dfa10104bcd8f1e477f8aa8da5437ae89df2a330) chore: Update rubocop requirement from 1.79.1 to 1.79.2 (#1081)
20
+ - [454dcfb](https://github.com/appium/ruby_lib/commit/454dcfb4cea592a7e295b787f2c6f9c8d78a53b1) chore: Update rubocop requirement from 1.79.0 to 1.79.1 (#1080)
21
+ - [facc0db](https://github.com/appium/ruby_lib/commit/facc0db652c1f5d4c82d7b5be7dfdf80fba4d509) chore: Update rubocop requirement from 1.78.0 to 1.79.0 (#1079)
22
+ - [d9df353](https://github.com/appium/ruby_lib/commit/d9df35303244433576026b17db1388a1b1135b05) chore: Update rubocop requirement from 1.77.0 to 1.78.0 (#1078)
23
+ - [8d3b64c](https://github.com/appium/ruby_lib/commit/8d3b64c09ff623791255f93910f16f2d4c26d132) chore: Update rubocop requirement from 1.76.2 to 1.77.0 (#1077)
24
+ - [83283a9](https://github.com/appium/ruby_lib/commit/83283a98f0e396d25d4c9b6d9eb65a14a1b043e1) chore: Update rubocop requirement from 1.76.1 to 1.76.2 (#1076)
25
+ - [f92405a](https://github.com/appium/ruby_lib/commit/f92405a943139284ab189a50f189714e56244e9b) chore: Update rubocop requirement from 1.76.0 to 1.76.1 (#1075)
26
+ - [a8cf9da](https://github.com/appium/ruby_lib/commit/a8cf9daa6e1703a9adef7c62e3f061ecdf345101) chore: Update rubocop requirement from 1.75.8 to 1.76.0 (#1074)
27
+ - [1e3c2f6](https://github.com/appium/ruby_lib/commit/1e3c2f6bec7e84be3f05095ac09421be25c5f940) chore: Update rubocop requirement from 1.75.7 to 1.75.8 (#1073)
28
+ - [48c869e](https://github.com/appium/ruby_lib/commit/48c869e660c0701cf659ca2965286070629b2cf7) chore: Update rubocop requirement from 1.75.6 to 1.75.7 (#1072)
29
+ - [a7dbd63](https://github.com/appium/ruby_lib/commit/a7dbd63df5c19f8d0a03d8f35a22d64ac95550bf) chore: Update hashdiff requirement from ~> 1.1.0 to ~> 1.2.0 (#1071)
30
+ - [710884d](https://github.com/appium/ruby_lib/commit/710884d4eaffa7a2d62615907934ab35e19e3639) chore: Update rubocop requirement from 1.75.5 to 1.75.6 (#1070)
31
+ - [6e58d17](https://github.com/appium/ruby_lib/commit/6e58d17499371b8e4bfed9a57922ba9f94ca0c9f) chore: Update rubocop requirement from 1.75.4 to 1.75.5 (#1069)
32
+ - [0398421](https://github.com/appium/ruby_lib/commit/039842150019d0e844542551ada80256ebaf18ab) chore: Update rubocop requirement from 1.75.3 to 1.75.4 (#1068)
33
+ - [2f73e58](https://github.com/appium/ruby_lib/commit/2f73e5810cb9f4430a8baa39bfd2d959a333819a) chore: Update rubocop requirement from 1.75.2 to 1.75.3 (#1067)
34
+ - [17b591b](https://github.com/appium/ruby_lib/commit/17b591b1e78a092431b597ba43bb7085616391ed) chore: Update rubocop requirement from 1.75.1 to 1.75.2 (#1066)
35
+ - [b49421a](https://github.com/appium/ruby_lib/commit/b49421a28dfaa40f22e6dc45a59b85de2b27cad0) chore: Update rubocop requirement from 1.74.0 to 1.75.1 (#1065)
36
+
37
+
1
38
  #### v16.1.0 2025-03-27
2
39
 
3
40
  - [caca559](https://github.com/appium/ruby_lib/commit/caca559c1fb70d0376860a5b8590c71e33eb453f) Release 16.1.0
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: 16.1.0
4
+ version: 16.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-03-27 00:00:00.000000000 Z
12
+ date: 2025-12-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: appium_lib_core
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  - !ruby/object:Gem::Version
178
178
  version: '0'
179
179
  requirements: []
180
- rubygems_version: 3.4.10
180
+ rubygems_version: 3.5.9
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: Ruby library for Appium