appium_console 3.0.0 → 4.0.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: 9d2e1f4490ad661156ad69c32d9e08dfcab953042c7c86fbf05eedc2c34020fa
4
+ data.tar.gz: 271b3e25a040379809a841b458be4a80664c8a6dddc27ab4ba68d36a8a099f40
5
5
  SHA512:
6
- metadata.gz: 27a986fb80b7e88df6fb338d2e78f87cdd71cfc519beedbb2eaef340513419829976fc049719d9645c086030a5cc93c6247eef82fbf34055ef1737646d06f6af
7
- data.tar.gz: bcad0b6f8e709462ea3551251c642f5de1c07917fc99eb857fe5b4bfe6d4a3be34dcbea0e5938bcd192150ae97f0cae7b99965a5b4546def76de3875f1141587
6
+ metadata.gz: fb58f97beb4cbc83d341557cb71a1089c29540ae68a292a7dee654f85c3c0e267abf6980a947c82ccbeb71b08894cb9bacc226eedeea6c0825dfc1c513d79fed
7
+ data.tar.gz: f588a5aa1966163d24dc7f7a7a4f4374566e9c69970a2b9cc253b05024fa185695723fbf0c1d1b0e48375a9b80fe946d8a1e926ab5893ba09f55ab8dfdfe037e
@@ -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 = '>= 3.0'
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', '< 13.1.0'
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.52.1'
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 = '4.0.0' unless defined? ::Appium::Console::VERSION
8
+ DATE = '2023-06-19' 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/readme.md CHANGED
@@ -26,6 +26,8 @@
26
26
  - [ruby_lib](https://github.com/appium/ruby_lib)
27
27
 
28
28
  ## Changelog
29
+ - 4.0.0
30
+ - Drop Ruby 2.7 support
29
31
  - 3.0.0
30
32
  - Update ruby_lib version to v12
31
33
 
data/release_notes.md CHANGED
@@ -1,3 +1,61 @@
1
+ #### v4.0.0 2023-06-19
2
+
3
+ - [0365dd5](https://github.com/appium/ruby_console/commit/0365dd5afcacacbc27109101f08957af5d2f9566) Release 4.0.0
4
+ - [bf8723e](https://github.com/appium/ruby_console/commit/bf8723e12c7b9f0f88a751b78b6926bc45701107) chore: update appium_lib requirement from >= 12.1.2, < 12.3.0 to >= 12.1.2, < 13.1.0 (#165)
5
+ - [f49e7d7](https://github.com/appium/ruby_console/commit/f49e7d7298b6dd22784f0a60dbd5189fb85575e0) chore: update rubocop requirement from = 1.52.0 to = 1.52.1 (#164)
6
+ - [0feabd9](https://github.com/appium/ruby_console/commit/0feabd9f598dc5c9a38bd620f518f23dec61e08e) chore: update rubocop requirement from = 1.51.0 to = 1.52.0 (#163)
7
+ - [a4fc5f1](https://github.com/appium/ruby_console/commit/a4fc5f1004b1c13d6d598e66552999379044a148) chore: update rubocop requirement from = 1.50.2 to = 1.51.0 (#162)
8
+ - [d01604e](https://github.com/appium/ruby_console/commit/d01604efa4c379758d8547524e6dbe6bf36a3a25) chore: update rubocop requirement from = 1.50.1 to = 1.50.2 (#161)
9
+ - [38a8776](https://github.com/appium/ruby_console/commit/38a87763dc4f656cd61aa410e33d0a924b686f37) chore: update rubocop requirement from = 1.50.0 to = 1.50.1 (#160)
10
+ - [93246d9](https://github.com/appium/ruby_console/commit/93246d928e43b66dd66cf1f25a3f0c889a0e54e7) chore: update rubocop requirement from = 1.49.0 to = 1.50.0 (#159)
11
+ - [4235fe7](https://github.com/appium/ruby_console/commit/4235fe7ba61650ee8bb95b4f0f321927816b1cc1) chore: update rubocop requirement from = 1.48.1 to = 1.49.0 (#158)
12
+ - [edde03a](https://github.com/appium/ruby_console/commit/edde03a89f7f71d886c424dd3ce6cd705cd02d9a) chore: update rubocop requirement from = 1.47.0 to = 1.48.1 (#157)
13
+ - [ab65e1e](https://github.com/appium/ruby_console/commit/ab65e1ed1c21568ba980e6fb06aba1ec16b46e32) chore: update rubocop requirement from = 1.45.1 to = 1.47.0 (#155)
14
+ - [db76dc3](https://github.com/appium/ruby_console/commit/db76dc34a52abd55553bbacc00ed6e3ea124187a) chore: update rubocop requirement from = 1.44.1 to = 1.45.1 (#153)
15
+ - [6f1c62c](https://github.com/appium/ruby_console/commit/6f1c62c76ede7f9bdb8f141a8efd18ff0a4f1aa8) chore: update rubocop requirement from = 1.44.0 to = 1.44.1 (#152)
16
+ - [a17c0d3](https://github.com/appium/ruby_console/commit/a17c0d34a9d5fdffc53680fb1446c5b8d919b1b9) chore: update rubocop requirement from = 1.43.0 to = 1.44.0 (#151)
17
+ - [79b9721](https://github.com/appium/ruby_console/commit/79b97217eb187a23d47913a8676a9cd23e7221b4) chore: update rubocop requirement from = 1.42.0 to = 1.43.0 (#150)
18
+ - [1a92306](https://github.com/appium/ruby_console/commit/1a92306c192d6b4a8f0628a0fc1273285ee5ef42) chore: update rubocop requirement from = 1.41.1 to = 1.42.0 (#149)
19
+ - [596b730](https://github.com/appium/ruby_console/commit/596b73042fe56ca4854a07dd7f72c20ee3157ad5) chore: update appium_lib requirement from ~> 12.1.2 to >= 12.1.2, < 12.3.0 (#148)
20
+ - [eb73b06](https://github.com/appium/ruby_console/commit/eb73b06c60685950d8382a1ef30ab3b6a131129b) chore: update rubocop requirement from = 1.41.0 to = 1.41.1 (#147)
21
+ - [67683f7](https://github.com/appium/ruby_console/commit/67683f72a587c043876534525c9370acefcdaee0) chore: update rubocop requirement from = 1.40.0 to = 1.41.0 (#146)
22
+ - [2a2f486](https://github.com/appium/ruby_console/commit/2a2f4863a09eaafcce1d5d6b6ff02a9ffbafd4ee) chore: update rubocop requirement from = 1.39.0 to = 1.40.0 (#145)
23
+ - [d09a77e](https://github.com/appium/ruby_console/commit/d09a77ebdcca70e9042cbeec07757044eeae7791) chore: update rubocop requirement from = 1.38.0 to = 1.39.0 (#144)
24
+
25
+
26
+ #### v3.1.0 2022-11-13
27
+
28
+ - [eaab2a0](https://github.com/appium/ruby_console/commit/eaab2a0f1947fe18d53e89b213609f70c23191db) Release 3.1.0
29
+ - [4a02078](https://github.com/appium/ruby_console/commit/4a0207849f72ad8f020ba366bec27f93c97dca76) feat: remove the global driver hack (#143)
30
+ - [3c8a98f](https://github.com/appium/ruby_console/commit/3c8a98ff4f96201d91c64c71a93e7ad04e72e092) chore: update rubocop requirement from = 1.37.1 to = 1.38.0 (#142)
31
+ - [a46bce9](https://github.com/appium/ruby_console/commit/a46bce924cc5700bc394885864674ba0c197d9d9) chore: update rubocop requirement from = 1.37.0 to = 1.37.1 (#141)
32
+ - [0ea2856](https://github.com/appium/ruby_console/commit/0ea285658a1a6de67f8e48043ff6e5f27d183b9b) chore: update rubocop requirement from = 1.36.0 to = 1.37.0 (#140)
33
+ - [4baddd6](https://github.com/appium/ruby_console/commit/4baddd6ff4724b131eedbf725788213d6e0bad03) chore: update rubocop requirement from = 1.35.1 to = 1.36.0 (#138)
34
+ - [3ba7406](https://github.com/appium/ruby_console/commit/3ba7406bda5e4e90e349d7153826ed713dc20473) chore: update rubocop requirement from = 1.35.0 to = 1.35.1 (#137)
35
+ - [5bd9b0a](https://github.com/appium/ruby_console/commit/5bd9b0a293694c91a10aa2b80b3a99e8f4cdb922) chore: update rubocop requirement from = 1.34.1 to = 1.35.0 (#136)
36
+ - [b087c87](https://github.com/appium/ruby_console/commit/b087c87aa466265c3ce2a3a6faad5d1d63228fa1) chore: update rubocop requirement from = 1.34.0 to = 1.34.1 (#135)
37
+ - [8132d02](https://github.com/appium/ruby_console/commit/8132d02c924647de173e121dfbd52f972465244b) chore: update rubocop requirement from = 1.33.0 to = 1.34.0 (#134)
38
+ - [eda35d1](https://github.com/appium/ruby_console/commit/eda35d116d257c7628f248aba671345a24cf2a33) chore: update rubocop requirement from = 1.32.0 to = 1.33.0 (#133)
39
+ - [b432541](https://github.com/appium/ruby_console/commit/b432541676bf9d4740c22f9e99549ffa75e28a44) chore: update rubocop requirement from = 1.31.2 to = 1.32.0 (#132)
40
+ - [31c143b](https://github.com/appium/ruby_console/commit/31c143bb98555dbb7cc01bec6b9a19924c5bda5b) chore: update rubocop requirement from = 1.31.1 to = 1.31.2 (#131)
41
+ - [814eb11](https://github.com/appium/ruby_console/commit/814eb11596b4669aad01f315a6e2d7f67bd9833d) chore: update rubocop requirement from = 1.30.1 to = 1.31.1 (#130)
42
+ - [e1ed90b](https://github.com/appium/ruby_console/commit/e1ed90b7f856f00d14d5603250db9a2108eacd0b) chore: update rubocop requirement from = 1.30.0 to = 1.30.1 (#128)
43
+ - [73aa9ce](https://github.com/appium/ruby_console/commit/73aa9ce437c40115a10d554b877ed5352b4e1eb2) chore: update rubocop requirement from = 1.29.1 to = 1.30.0 (#127)
44
+ - [71f7e0a](https://github.com/appium/ruby_console/commit/71f7e0a324b97646e3e426f3717f03d2212be9af) chore: update rubocop requirement from = 1.29.0 to = 1.29.1 (#126)
45
+ - [899aa86](https://github.com/appium/ruby_console/commit/899aa86c8961d22bceab53981fad95456f54dad8) chore: update rubocop requirement from = 1.28.2 to = 1.29.0 (#125)
46
+ - [904ef37](https://github.com/appium/ruby_console/commit/904ef374800319dd039b8a0c71ed16cbc1e21785) chore: update rubocop requirement from = 1.28.1 to = 1.28.2 (#124)
47
+ - [c09da0e](https://github.com/appium/ruby_console/commit/c09da0e55a9b1bdb87ee4a5e9a119013a1801be7) chore: update rubocop requirement from = 1.28.0 to = 1.28.1 (#123)
48
+ - [9265adc](https://github.com/appium/ruby_console/commit/9265adc6a505157c762ef94e5739f19225b84161) chore: update rubocop requirement from = 1.27.0 to = 1.28.0 (#122)
49
+ - [54ec2c8](https://github.com/appium/ruby_console/commit/54ec2c81d8b839b45f77d505397a2501bbe1d33f) chore: update rubocop requirement from = 1.26.1 to = 1.27.0 (#121)
50
+ - [aab62e2](https://github.com/appium/ruby_console/commit/aab62e20525d5c33b4b8f8b543a2d4ed91ec0b69) chore: update appium_lib requirement from = 12.0.0 to = 12.0.1 (#120)
51
+ - [395a404](https://github.com/appium/ruby_console/commit/395a4042603355bdfa509c0d0c08d9422aba9e16) chore: update rubocop requirement from = 1.26.0 to = 1.26.1 (#119)
52
+ - [746c1ab](https://github.com/appium/ruby_console/commit/746c1ab18d73efd2bb4008bc45ea045993664374) chore: update rubocop requirement from = 1.25.0 to = 1.26.0 (#118)
53
+ - [2ac785a](https://github.com/appium/ruby_console/commit/2ac785a8e85807e6032ce5b2df3c58fce0e55b43) chore: update rubocop requirement from = 1.24.1 to = 1.25.0 (#116)
54
+ - [30ad1c0](https://github.com/appium/ruby_console/commit/30ad1c0e513f7db44f13ffc017764160877b4800) chore: update rubocop requirement from = 1.24.0 to = 1.24.1 (#115)
55
+ - [4d34beb](https://github.com/appium/ruby_console/commit/4d34bebb94c2e29de575c4de4b16a07fedb8b560) chore: update rubocop requirement from = 1.23.0 to = 1.24.0 (#114)
56
+ - [7bc22bc](https://github.com/appium/ruby_console/commit/7bc22bcfdaa7c9ee3b9bb27f491bf0d2a3ccd380) chore: update rubocop requirement from = 1.22.3 to = 1.23.0 (#113)
57
+
58
+
1
59
  #### v3.0.0 2021-11-06
2
60
 
3
61
  - [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: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
@@ -9,22 +9,28 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-11-06 00:00:00.000000000 Z
12
+ date: 2023-06-19 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
+ - !ruby/object:Gem::Version
20
+ version: 12.1.2
21
+ - - "<"
19
22
  - !ruby/object:Gem::Version
20
- version: 12.0.0
23
+ version: 13.1.0
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - '='
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ version: 12.1.2
31
+ - - "<"
26
32
  - !ruby/object:Gem::Version
27
- version: 12.0.0
33
+ version: 13.1.0
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: pry
30
36
  requirement: !ruby/object:Gem::Requirement
@@ -133,14 +139,14 @@ dependencies:
133
139
  requirements:
134
140
  - - '='
135
141
  - !ruby/object:Gem::Version
136
- version: 1.22.3
142
+ version: 1.52.1
137
143
  type: :development
138
144
  prerelease: false
139
145
  version_requirements: !ruby/object:Gem::Requirement
140
146
  requirements:
141
147
  - - '='
142
148
  - !ruby/object:Gem::Version
143
- version: 1.22.3
149
+ version: 1.52.1
144
150
  description: Appium Ruby Console.
145
151
  email:
146
152
  - code@bootstraponline.com
@@ -180,14 +186,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
180
186
  requirements:
181
187
  - - ">="
182
188
  - !ruby/object:Gem::Version
183
- version: '2.6'
189
+ version: '3.0'
184
190
  required_rubygems_version: !ruby/object:Gem::Requirement
185
191
  requirements:
186
192
  - - ">="
187
193
  - !ruby/object:Gem::Version
188
194
  version: '0'
189
195
  requirements: []
190
- rubygems_version: 3.2.15
196
+ rubygems_version: 3.3.3
191
197
  signing_key:
192
198
  specification_version: 4
193
199
  summary: Appium Ruby Console