appium_lib_core 9.1.0 → 9.1.1

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: 8679d6bb72c4130e216ac363eaed0c49f13b6d8818db2cba0b44c8f5b9dcef7b
4
- data.tar.gz: d226eeb911201d9afd12117bb73871afa95e4b0d7f3844f2df2e4efdb45563ed
3
+ metadata.gz: 66d04f7356959668f0eb58b68869126add5dc0e4abfdc79c2aedcb24e8e8dd6f
4
+ data.tar.gz: f49ba5759a02d29a88a2c470f65e5c30277660838fe4aadcc024db77092b6f0d
5
5
  SHA512:
6
- metadata.gz: 5ad279ca22ef8f33ad8634fbfcaffaac1f6b16a8904a90f45a39427ed060c444fec5e1130589cac30fd35cdff74df0626e9768e9f1a819f49db678ab6044d2d3
7
- data.tar.gz: 2f6c31b0718f6155db25a647832d68d370c4dee839fe962f5b99bc6f4d082bdc0d96fdde807f5e89192f814815e998752ab9f2fb772f0a01d823425c7b90ad09
6
+ metadata.gz: dbee76c3700eda2c8a4214644f9de866a8957e4d25d0aa20e10fffe245e1c3d7208863004c4c16d7e32b0bbf79d22a65cfca6999e5783361178e104000b7847a
7
+ data.tar.gz: 3c0fce31f001303602d99a1feec396e51061a2b57f1ce8155dad771d4167dadaf2ef263a579833eba4f7466fbe2ce8055776b0dbd4de3c7c8fb293465570dc43
data/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@ Read `release_notes.md` for commit level details.
10
10
 
11
11
  ### Deprecations
12
12
 
13
+ ## [9.1.1] - 2024-05-19
14
+
15
+ ### Enhancements
16
+ - Simplify internal code with Selenium 4.21.0 further.
17
+
18
+
13
19
  ## [9.1.0] - 2024-05-18
14
20
 
15
21
  ### Enhancements
@@ -1,5 +1,4 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
1
+ lib = File.expand_path('lib', __dir__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require 'appium_lib_core/version'
5
4
 
@@ -11,8 +10,8 @@ Gem::Specification.new do |spec|
11
10
  spec.authors = ['Kazuaki MATSUO']
12
11
  spec.email = ['fly.49.89.over@gmail.com']
13
12
 
14
- spec.summary = %q{Minimal Ruby library for Appium.}
15
- spec.description = %q{Minimal Ruby library for Appium.}
13
+ spec.summary = 'Minimal Ruby library for Appium.'
14
+ spec.description = 'Minimal Ruby library for Appium.'
16
15
  spec.homepage = 'https://github.com/appium/ruby_lib_core/'
17
16
  spec.license = 'Apache-2.0'
18
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
@@ -22,16 +21,17 @@ Gem::Specification.new do |spec|
22
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
22
  spec.require_paths = ['lib']
24
23
 
25
- spec.add_runtime_dependency 'selenium-webdriver', '~> 4.21'
26
24
  spec.add_runtime_dependency 'faye-websocket', '~> 0.11.0'
25
+ spec.add_runtime_dependency 'selenium-webdriver', '~> 4.21'
27
26
 
28
- spec.add_development_dependency 'rake', '~> 13.0'
29
- spec.add_development_dependency 'yard', '~> 0.9.11'
27
+ spec.add_development_dependency 'appium_thor', '~> 2.0'
30
28
  spec.add_development_dependency 'minitest', '~> 5.0'
31
29
  spec.add_development_dependency 'minitest-reporters', '~> 1.1'
32
- spec.add_development_dependency 'webmock', '~> 3.23.0'
33
- spec.add_development_dependency 'rubocop', '1.63.5'
34
- spec.add_development_dependency 'appium_thor', '~> 2.0'
35
30
  spec.add_development_dependency 'parallel_tests'
31
+ spec.add_development_dependency 'rake', '~> 13.0'
32
+ spec.add_development_dependency 'rubocop', '1.63.5'
36
33
  spec.add_development_dependency 'simplecov'
34
+ spec.add_development_dependency 'webmock', '~> 3.23.0'
35
+ spec.add_development_dependency 'yard', '~> 0.9.11'
36
+ spec.metadata['rubygems_mfa_required'] = 'true'
37
37
  end
@@ -327,25 +327,6 @@ module Appium
327
327
  def send_command(command_params)
328
328
  execute :chrome_send_command, {}, command_params
329
329
  end
330
-
331
- private
332
-
333
- def unwrap_script_result(arg)
334
- case arg
335
- when Array
336
- arg.map { |e| unwrap_script_result(e) }
337
- when Hash
338
- element_id = element_id_from(arg)
339
- return ::Appium::Core::Element.new(self, element_id) if element_id
340
-
341
- shadow_root_id = shadow_root_id_from(arg)
342
- return ::Selenium::WebDriver::Remote::ShadowRoot.new self, shadow_root_id if shadow_root_id
343
-
344
- arg.each { |k, v| arg[k] = unwrap_script_result(v) }
345
- else
346
- arg
347
- end
348
- end
349
330
  end # class Bridge
350
331
  end # class Base
351
332
  end # module Core
@@ -14,7 +14,7 @@
14
14
 
15
15
  module Appium
16
16
  module Core
17
- VERSION = '9.1.0' unless defined? ::Appium::Core::VERSION
18
- DATE = '2024-05-18' unless defined? ::Appium::Core::DATE
17
+ VERSION = '9.1.1' unless defined? ::Appium::Core::VERSION
18
+ DATE = '2024-05-19' unless defined? ::Appium::Core::DATE
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,113 +1,113 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.1.0
4
+ version: 9.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki MATSUO
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-19 00:00:00.000000000 Z
11
+ date: 2024-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: selenium-webdriver
14
+ name: faye-websocket
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.21'
19
+ version: 0.11.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.21'
26
+ version: 0.11.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: faye-websocket
28
+ name: selenium-webdriver
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.11.0
33
+ version: '4.21'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.11.0
40
+ version: '4.21'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rake
42
+ name: appium_thor
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '13.0'
47
+ version: '2.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '13.0'
54
+ version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: yard
56
+ name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.9.11
61
+ version: '5.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.9.11
68
+ version: '5.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: minitest
70
+ name: minitest-reporters
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '5.0'
75
+ version: '1.1'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '5.0'
82
+ version: '1.1'
83
83
  - !ruby/object:Gem::Dependency
84
- name: minitest-reporters
84
+ name: parallel_tests
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '1.1'
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '1.1'
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: webmock
98
+ name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 3.23.0
103
+ version: '13.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 3.23.0
110
+ version: '13.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rubocop
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -123,47 +123,47 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: 1.63.5
125
125
  - !ruby/object:Gem::Dependency
126
- name: appium_thor
126
+ name: simplecov
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: '2.0'
131
+ version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: '2.0'
138
+ version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: parallel_tests
140
+ name: webmock
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ">="
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '0'
145
+ version: 3.23.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ">="
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '0'
152
+ version: 3.23.0
153
153
  - !ruby/object:Gem::Dependency
154
- name: simplecov
154
+ name: yard
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ">="
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '0'
159
+ version: 0.9.11
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ">="
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '0'
166
+ version: 0.9.11
167
167
  description: Minimal Ruby library for Appium.
168
168
  email:
169
169
  - fly.49.89.over@gmail.com
@@ -258,7 +258,8 @@ files:
258
258
  homepage: https://github.com/appium/ruby_lib_core/
259
259
  licenses:
260
260
  - Apache-2.0
261
- metadata: {}
261
+ metadata:
262
+ rubygems_mfa_required: 'true'
262
263
  post_install_message:
263
264
  rdoc_options: []
264
265
  require_paths: