appium_lib 12.0.0 → 12.0.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.
@@ -202,10 +202,13 @@ module Appium
202
202
  class_array.each do |klass|
203
203
  driver.public_methods(false).each do |method|
204
204
  klass.class_eval do
205
- if method_defined? method
206
- ::Appium::Logger.warn "'#{method}' is already defined. Skipping to override it."
207
- next
208
- end
205
+ # NOTE: Do not skip re-definding methods to not keep old instance information.
206
+ # Probably the global driver ($driver) stuff needs to override (re-defined)
207
+ # every time to not keep unexpected state.
208
+ # https://github.com/appium/ruby_lib/issues/917
209
+
210
+ # Remove the method before adding it.
211
+ remove_method method if method_defined? method
209
212
 
210
213
  define_method method do |*args, &block|
211
214
  # Prefer existing method.
@@ -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 = '12.0.0' unless defined? ::Appium::VERSION
18
- DATE = '2021-11-06' unless defined? ::Appium::DATE
17
+ VERSION = '12.0.1' unless defined? ::Appium::VERSION
18
+ DATE = '2022-04-02' unless defined? ::Appium::DATE
19
19
  end
data/release_notes.md CHANGED
@@ -1,3 +1,18 @@
1
+ #### v12.0.1 2022-04-02
2
+
3
+ - [ae4bddd](https://github.com/appium/ruby_lib/commit/ae4bddd7ba5bf3aafe8fedc44919bb02b4f260be) Release 12.0.1
4
+ - [a5d4c4f](https://github.com/appium/ruby_lib/commit/a5d4c4f08cd3fc5d2ca575595f0741b4d22bf7b9) fix: remove the method and define again instead (#920)
5
+ - [484006b](https://github.com/appium/ruby_lib/commit/484006b903c6bc15b5ce1767cf9c407c978afab9) docs: tweak
6
+ - [e22140e](https://github.com/appium/ruby_lib/commit/e22140e970ddb5975e16a5d4f46b1d9a29da2c31) chore: Update rubocop requirement from = 1.26.0 to = 1.26.1 (#919)
7
+ - [a900972](https://github.com/appium/ruby_lib/commit/a9009728f9cee8a432fe6d1b0cd7caf1e77b0106) chore: Update rubocop requirement from = 1.25.1 to = 1.26.0 (#918)
8
+ - [923ba1c](https://github.com/appium/ruby_lib/commit/923ba1ca8602fd404090efef09174166794ce074) chore: Update rubocop requirement from = 1.25.0 to = 1.25.1 (#916)
9
+ - [0dc8e19](https://github.com/appium/ruby_lib/commit/0dc8e19a2c481c3d6dea3be4e309f0aafd256656) chore: Update rubocop requirement from = 1.24.1 to = 1.25.0 (#915)
10
+ - [b02bb65](https://github.com/appium/ruby_lib/commit/b02bb653dfc8ff7c770155b7c4c8d6afaecd8a5c) chore: Update rubocop requirement from = 1.24.0 to = 1.24.1 (#914)
11
+ - [b6ade8d](https://github.com/appium/ruby_lib/commit/b6ade8d5cca1260071c236566e660e41b65aa118) chore: Update appium_lib_core requirement from ~> 5.0.0 to >= 5.0, < 5.2 (#913)
12
+ - [eac87a4](https://github.com/appium/ruby_lib/commit/eac87a4cc8bf55bfe6fc8820ff947713042c79a4) chore: Update rubocop requirement from = 1.23.0 to = 1.24.0 (#912)
13
+ - [ac25f13](https://github.com/appium/ruby_lib/commit/ac25f13f7c36017c13449b5038b2f698806ee1eb) chore: Update rubocop requirement from = 1.22.3 to = 1.23.0 (#911)
14
+
15
+
1
16
  #### v12.0.0 2021-11-06
2
17
 
3
18
  - [3060ef3](https://github.com/appium/ruby_lib/commit/3060ef3bf06c19a79731a49985efa75c3337dd27) Release 12.0.0
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.0.0
4
+ version: 12.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
8
8
  - Kazuaki Matsuo
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-11-06 00:00:00.000000000 Z
12
+ date: 2022-04-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: appium_lib_core
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 5.0.0
20
+ version: '5.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 5.0.0
27
+ version: '5.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: nokogiri
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -161,14 +161,14 @@ dependencies:
161
161
  requirements:
162
162
  - - '='
163
163
  - !ruby/object:Gem::Version
164
- version: 1.22.3
164
+ version: 1.26.1
165
165
  type: :development
166
166
  prerelease: false
167
167
  version_requirements: !ruby/object:Gem::Requirement
168
168
  requirements:
169
169
  - - '='
170
170
  - !ruby/object:Gem::Version
171
- version: 1.22.3
171
+ version: 1.26.1
172
172
  - !ruby/object:Gem::Dependency
173
173
  name: spec
174
174
  requirement: !ruby/object:Gem::Requirement
@@ -295,7 +295,7 @@ homepage: https://github.com/appium/ruby_lib
295
295
  licenses:
296
296
  - Apache-2.0
297
297
  metadata: {}
298
- post_install_message:
298
+ post_install_message:
299
299
  rdoc_options: []
300
300
  require_paths:
301
301
  - lib
@@ -310,8 +310,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
310
310
  - !ruby/object:Gem::Version
311
311
  version: '0'
312
312
  requirements: []
313
- rubygems_version: 3.2.15
314
- signing_key:
313
+ rubygems_version: 3.1.2
314
+ signing_key:
315
315
  specification_version: 4
316
316
  summary: Ruby library for Appium
317
317
  test_files: []