appium_console 2.14.0.rc2 → 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: 23183d697d28e41b09ea274e9619450139474a2731df1425a6563dfb8d238fbd
4
- data.tar.gz: d7b3951b1406ac612bbbc4c2ce74d3a14741e22ade6c46033e5301fe98b5228f
3
+ metadata.gz: a2d0c00af6592b726c750692b935ccdfebf8e316470343a94fcc22e3645df4da
4
+ data.tar.gz: 82c06dae2272c9e78332c75592cbfabf8097498f2d920ef89be93c624eb41de7
5
5
  SHA512:
6
- metadata.gz: f62e3e0780023303d00cd69f28144ff4dd759639e47186a0680cb2fe91542e4f0d78875525aa21aee91d23e891262d31fdb269073d8f26a50ba6c9d747668e1d
7
- data.tar.gz: 80c0ff8284b0bbec260a605e9871d47479e71d03bd96f1e59a1eac57b8183f7560ff7183b132132167200c60b3d8de645aad1e50d9407f1991049abb6623d191
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.rc5'
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 = '2.14.0.rc2' unless defined? ::Appium::Console::VERSION
8
- DATE = '2021-11-05' 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/readme.md CHANGED
@@ -9,9 +9,9 @@
9
9
  - Read [a setup guide](http://appium.io/docs/en/about-appium/getting-started/?lang=en)
10
10
  2. Install `appium_console`
11
11
  ```bash
12
- gem uninstall -aIx appium_lib ;\
13
- gem uninstall -aIx appium_console ;\
14
- gem install --no-rdoc --no-ri appium_console
12
+ gem uninstall appium_lib
13
+ gem uninstall appium_console
14
+ gem install appium_console
15
15
  ```
16
16
  3. Run
17
17
  - The `arc` command starts Appium Ruby Console.
@@ -24,3 +24,8 @@
24
24
  ## Documentation
25
25
 
26
26
  - [ruby_lib](https://github.com/appium/ruby_lib)
27
+
28
+ ## Changelog
29
+ - 3.0.0
30
+ - Update ruby_lib version to v12
31
+
data/release_notes.md CHANGED
@@ -1,3 +1,50 @@
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
+
34
+ #### v3.0.0 2021-11-06
35
+
36
+ - [5e9d1c8](https://github.com/appium/ruby_console/commit/5e9d1c86e4f36d9ccb780c0f6d62af2b59c5eb71) Release 3.0.0
37
+ - [16d5490](https://github.com/appium/ruby_console/commit/16d54909e474602ba49c5c47a3cdb71ec8a07ab4) Merge branch 'master' of github.com:appium/ruby_console
38
+ - [8400d85](https://github.com/appium/ruby_console/commit/8400d85fb4b0b42c24da4cd6d015fbae27f92ed5) chore: update appium_lib requirement from = 12.0.0.rc4 to = 12.0.0.rc5 (#112)
39
+ - [266360d](https://github.com/appium/ruby_console/commit/266360dbd5d55e281b112bf1da9b5aeb41cc5c74) chore: bump version to rc2
40
+ - [fed136c](https://github.com/appium/ruby_console/commit/fed136ca4ca6575669a03e78d5ada5caed868945) chore: appium_lib to rc5
41
+ - [82685c4](https://github.com/appium/ruby_console/commit/82685c4132807169176acfc4312747c11401eb64) chore: bump version to rc
42
+ - [6defbab](https://github.com/appium/ruby_console/commit/6defbab391197221eaa8efe357fa4be6fb49382b) bump pry
43
+ - [22f7ac5](https://github.com/appium/ruby_console/commit/22f7ac5d1e3be2ff407dea7882e75416b8f84827) chore: update deps (#111)
44
+ - [4fbe06c](https://github.com/appium/ruby_console/commit/4fbe06c446172eeee51625f87c2e423545357068) chore: Create Dependabot config file (#109)
45
+ - [439be2c](https://github.com/appium/ruby_console/commit/439be2c8b7681c9fdfd4d6cf2f547b65a065c6e3) Update rubocop requirement from = 0.68.1 to = 1.8.1 (#108)
46
+
47
+
1
48
  #### v2.13.0 2021-01-25
2
49
 
3
50
  - [f7e8d18](https://github.com/appium/ruby_console/commit/f7e8d1869e1ca09e0434c299dcbe126be79a7e15) Release 2.13.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: 2.14.0.rc2
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-05 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.rc5
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.rc5
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
- version: 1.3.1
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