appium_console 3.0.0 → 3.1.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: 28d7d644efb978e4f91e59a589d37f2b83deca757f68f56a768e172feb252e4a
4
- data.tar.gz: 55316ba99cfa50f2c3c5fea94576d7832fdb302cf79bbbe6932dbcf7587e6057
3
+ metadata.gz: a2d0c00af6592b726c750692b935ccdfebf8e316470343a94fcc22e3645df4da
4
+ data.tar.gz: 82c06dae2272c9e78332c75592cbfabf8097498f2d920ef89be93c624eb41de7
5
5
  SHA512:
6
- metadata.gz: 27a986fb80b7e88df6fb338d2e78f87cdd71cfc519beedbb2eaef340513419829976fc049719d9645c086030a5cc93c6247eef82fbf34055ef1737646d06f6af
7
- data.tar.gz: bcad0b6f8e709462ea3551251c642f5de1c07917fc99eb857fe5b4bfe6d4a3be34dcbea0e5938bcd192150ae97f0cae7b99965a5b4546def76de3875f1141587
6
+ metadata.gz: 89fb0eb921a7023d62fab480a9b2048afe4f802893ce4f2c8303ed0d4ec458bdf91e6bdb2d8c0e1ad649c28880448a55ea6223a6631708086382c5876bd99bab
7
+ data.tar.gz: b46d03f06f8478537094a7d0904eb3e1347cc59ec44a13e5095818be5acc489cdf78e27880b12ae84cb1a8b572bc60a14d475a69956f38601476262ba0703609
@@ -10,7 +10,7 @@ add_to_path 'lib'
10
10
  require 'appium_console/version'
11
11
 
12
12
  Gem::Specification.new do |s|
13
- s.required_ruby_version = '>= 2.6'
13
+ s.required_ruby_version = '>= 2.7'
14
14
 
15
15
  s.name = 'appium_console'
16
16
  s.version = Appium::Console::VERSION
@@ -24,14 +24,14 @@ Gem::Specification.new do |s|
24
24
  s.require_paths = [ 'lib' ]
25
25
 
26
26
  # appium_lib version must match ruby console version.
27
- s.add_runtime_dependency 'appium_lib', '12.0.0'
27
+ s.add_runtime_dependency 'appium_lib', '~> 12.1.2'
28
28
  s.add_runtime_dependency 'pry', '~> 0.14.0'
29
29
  s.add_runtime_dependency 'spec', '~> 5.3', '>= 5.3.1'
30
30
  s.add_runtime_dependency 'thor', '>= 0.19', '< 2.0'
31
31
  s.add_development_dependency 'rake', '~> 13.0'
32
32
  s.add_development_dependency 'appium_thor', '~> 1.0', '>= 1.0.1'
33
33
  s.add_development_dependency 'posix-spawn', '~> 0.3.11'
34
- s.add_development_dependency 'rubocop', '1.22.3'
34
+ s.add_development_dependency 'rubocop', '1.38.0'
35
35
 
36
36
  s.executables = [ 'arc' ]
37
37
  s.files = `git ls-files`.split "\n"
@@ -4,7 +4,7 @@
4
4
  module Appium; end unless defined? Appium
5
5
  module Appium
6
6
  module Console
7
- VERSION = '3.0.0' unless defined? ::Appium::Console::VERSION
8
- DATE = '2021-11-06' unless defined? ::Appium::Console::DATE
7
+ VERSION = '3.1.0' unless defined? ::Appium::Console::VERSION
8
+ DATE = '2022-11-13' unless defined? ::Appium::Console::DATE
9
9
  end
10
10
  end
@@ -52,7 +52,7 @@ module Appium
52
52
 
53
53
  Pry.hooks.add_hook(:after_session, 'Release session hook') do |output, _binding, _pry|
54
54
  output.puts 'Closing appium session...'
55
- $driver.x
55
+ x
56
56
  end
57
57
 
58
58
  opts = Pry::CLI.parse_options cmd
data/lib/start.rb CHANGED
@@ -9,14 +9,14 @@ require 'appium_lib'
9
9
  # old Pry may not respond to config
10
10
  Pry.respond_to?(:config) ? Pry.config.command_prefix = '%' : ''
11
11
 
12
- if $driver.nil?
13
- opts = Pry.pry_load_appium_txt
14
- # override command timeout so the server doesn't shut down after 60 seconds
15
- new_command_timeout = { caps: { newCommandTimeout: 999_999 }.merge(opts[:caps] || {}) }
16
- opts = opts.merge(new_command_timeout)
17
- Appium::Driver.new(opts, true).start_driver
18
- Appium.promote_appium_methods Object
19
- end
12
+ opts = Pry.pry_load_appium_txt
13
+ # override command timeout so the server doesn't shut down after 60 seconds
14
+ new_command_timeout = { caps: { newCommandTimeout: 999_999 }.merge(opts[:caps] || {}) }
15
+ opts = opts.merge(new_command_timeout)
16
+ core = Appium::Driver.new opts, false
17
+ core.start_driver
18
+ Appium.promote_appium_methods Object, core
19
+
20
20
 
21
21
  # Load minitest
22
22
  begin
data/release_notes.md CHANGED
@@ -1,3 +1,36 @@
1
+ #### v3.1.0 2022-11-13
2
+
3
+ - [eaab2a0](https://github.com/appium/ruby_console/commit/eaab2a0f1947fe18d53e89b213609f70c23191db) Release 3.1.0
4
+ - [4a02078](https://github.com/appium/ruby_console/commit/4a0207849f72ad8f020ba366bec27f93c97dca76) feat: remove the global driver hack (#143)
5
+ - [3c8a98f](https://github.com/appium/ruby_console/commit/3c8a98ff4f96201d91c64c71a93e7ad04e72e092) chore: update rubocop requirement from = 1.37.1 to = 1.38.0 (#142)
6
+ - [a46bce9](https://github.com/appium/ruby_console/commit/a46bce924cc5700bc394885864674ba0c197d9d9) chore: update rubocop requirement from = 1.37.0 to = 1.37.1 (#141)
7
+ - [0ea2856](https://github.com/appium/ruby_console/commit/0ea285658a1a6de67f8e48043ff6e5f27d183b9b) chore: update rubocop requirement from = 1.36.0 to = 1.37.0 (#140)
8
+ - [4baddd6](https://github.com/appium/ruby_console/commit/4baddd6ff4724b131eedbf725788213d6e0bad03) chore: update rubocop requirement from = 1.35.1 to = 1.36.0 (#138)
9
+ - [3ba7406](https://github.com/appium/ruby_console/commit/3ba7406bda5e4e90e349d7153826ed713dc20473) chore: update rubocop requirement from = 1.35.0 to = 1.35.1 (#137)
10
+ - [5bd9b0a](https://github.com/appium/ruby_console/commit/5bd9b0a293694c91a10aa2b80b3a99e8f4cdb922) chore: update rubocop requirement from = 1.34.1 to = 1.35.0 (#136)
11
+ - [b087c87](https://github.com/appium/ruby_console/commit/b087c87aa466265c3ce2a3a6faad5d1d63228fa1) chore: update rubocop requirement from = 1.34.0 to = 1.34.1 (#135)
12
+ - [8132d02](https://github.com/appium/ruby_console/commit/8132d02c924647de173e121dfbd52f972465244b) chore: update rubocop requirement from = 1.33.0 to = 1.34.0 (#134)
13
+ - [eda35d1](https://github.com/appium/ruby_console/commit/eda35d116d257c7628f248aba671345a24cf2a33) chore: update rubocop requirement from = 1.32.0 to = 1.33.0 (#133)
14
+ - [b432541](https://github.com/appium/ruby_console/commit/b432541676bf9d4740c22f9e99549ffa75e28a44) chore: update rubocop requirement from = 1.31.2 to = 1.32.0 (#132)
15
+ - [31c143b](https://github.com/appium/ruby_console/commit/31c143bb98555dbb7cc01bec6b9a19924c5bda5b) chore: update rubocop requirement from = 1.31.1 to = 1.31.2 (#131)
16
+ - [814eb11](https://github.com/appium/ruby_console/commit/814eb11596b4669aad01f315a6e2d7f67bd9833d) chore: update rubocop requirement from = 1.30.1 to = 1.31.1 (#130)
17
+ - [e1ed90b](https://github.com/appium/ruby_console/commit/e1ed90b7f856f00d14d5603250db9a2108eacd0b) chore: update rubocop requirement from = 1.30.0 to = 1.30.1 (#128)
18
+ - [73aa9ce](https://github.com/appium/ruby_console/commit/73aa9ce437c40115a10d554b877ed5352b4e1eb2) chore: update rubocop requirement from = 1.29.1 to = 1.30.0 (#127)
19
+ - [71f7e0a](https://github.com/appium/ruby_console/commit/71f7e0a324b97646e3e426f3717f03d2212be9af) chore: update rubocop requirement from = 1.29.0 to = 1.29.1 (#126)
20
+ - [899aa86](https://github.com/appium/ruby_console/commit/899aa86c8961d22bceab53981fad95456f54dad8) chore: update rubocop requirement from = 1.28.2 to = 1.29.0 (#125)
21
+ - [904ef37](https://github.com/appium/ruby_console/commit/904ef374800319dd039b8a0c71ed16cbc1e21785) chore: update rubocop requirement from = 1.28.1 to = 1.28.2 (#124)
22
+ - [c09da0e](https://github.com/appium/ruby_console/commit/c09da0e55a9b1bdb87ee4a5e9a119013a1801be7) chore: update rubocop requirement from = 1.28.0 to = 1.28.1 (#123)
23
+ - [9265adc](https://github.com/appium/ruby_console/commit/9265adc6a505157c762ef94e5739f19225b84161) chore: update rubocop requirement from = 1.27.0 to = 1.28.0 (#122)
24
+ - [54ec2c8](https://github.com/appium/ruby_console/commit/54ec2c81d8b839b45f77d505397a2501bbe1d33f) chore: update rubocop requirement from = 1.26.1 to = 1.27.0 (#121)
25
+ - [aab62e2](https://github.com/appium/ruby_console/commit/aab62e20525d5c33b4b8f8b543a2d4ed91ec0b69) chore: update appium_lib requirement from = 12.0.0 to = 12.0.1 (#120)
26
+ - [395a404](https://github.com/appium/ruby_console/commit/395a4042603355bdfa509c0d0c08d9422aba9e16) chore: update rubocop requirement from = 1.26.0 to = 1.26.1 (#119)
27
+ - [746c1ab](https://github.com/appium/ruby_console/commit/746c1ab18d73efd2bb4008bc45ea045993664374) chore: update rubocop requirement from = 1.25.0 to = 1.26.0 (#118)
28
+ - [2ac785a](https://github.com/appium/ruby_console/commit/2ac785a8e85807e6032ce5b2df3c58fce0e55b43) chore: update rubocop requirement from = 1.24.1 to = 1.25.0 (#116)
29
+ - [30ad1c0](https://github.com/appium/ruby_console/commit/30ad1c0e513f7db44f13ffc017764160877b4800) chore: update rubocop requirement from = 1.24.0 to = 1.24.1 (#115)
30
+ - [4d34beb](https://github.com/appium/ruby_console/commit/4d34bebb94c2e29de575c4de4b16a07fedb8b560) chore: update rubocop requirement from = 1.23.0 to = 1.24.0 (#114)
31
+ - [7bc22bc](https://github.com/appium/ruby_console/commit/7bc22bcfdaa7c9ee3b9bb27f491bf0d2a3ccd380) chore: update rubocop requirement from = 1.22.3 to = 1.23.0 (#113)
32
+
33
+
1
34
  #### v3.0.0 2021-11-06
2
35
 
3
36
  - [5e9d1c8](https://github.com/appium/ruby_console/commit/5e9d1c86e4f36d9ccb780c0f6d62af2b59c5eb71) Release 3.0.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_console
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-11-06 00:00:00.000000000 Z
12
+ date: 2022-11-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: appium_lib
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '='
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 12.0.0
20
+ version: 12.1.2
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: 12.0.0
27
+ version: 12.1.2
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: pry
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -133,14 +133,14 @@ dependencies:
133
133
  requirements:
134
134
  - - '='
135
135
  - !ruby/object:Gem::Version
136
- version: 1.22.3
136
+ version: 1.38.0
137
137
  type: :development
138
138
  prerelease: false
139
139
  version_requirements: !ruby/object:Gem::Requirement
140
140
  requirements:
141
141
  - - '='
142
142
  - !ruby/object:Gem::Version
143
- version: 1.22.3
143
+ version: 1.38.0
144
144
  description: Appium Ruby Console.
145
145
  email:
146
146
  - code@bootstraponline.com
@@ -180,14 +180,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
180
180
  requirements:
181
181
  - - ">="
182
182
  - !ruby/object:Gem::Version
183
- version: '2.6'
183
+ version: '2.7'
184
184
  required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  requirements:
186
186
  - - ">="
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
189
  requirements: []
190
- rubygems_version: 3.2.15
190
+ rubygems_version: 3.3.3
191
191
  signing_key:
192
192
  specification_version: 4
193
193
  summary: Appium Ruby Console