appium_console 2.13.0 → 2.14.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +90 -2
- data/appium_console.gemspec +4 -5
- data/lib/appium_console/version.rb +4 -2
- data/lib/appium_console.rb +5 -5
- data/lib/cli.rb +4 -4
- data/lib/start.rb +2 -0
- data/test/simple.rb +2 -0
- metadata +17 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7183fb6cae52438f32d0441a569c7bd90be40988d070b49be7ab8927b8b12d95
|
4
|
+
data.tar.gz: 23d3f119d978f629e45e95b3b9aa2585aa34d5d356bc80bdc6fba2546836e976
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc08b6029096abf10419f7b393e77ceafd433f579d674ffabedc2824188d464123fe8dc31569ebe68c4ee7f0469ac79098d40b3ad7a18197203f53124f21d842
|
7
|
+
data.tar.gz: 3005cf7a5fab4a641218acc6522cd8fa2faa4ee18e3eb78f74bb02228291a48b522d24443ac93a41daacaae3a71abb4750109d91caf26af06db333974c2f40f9
|
data/.rubocop.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.
|
2
|
+
TargetRubyVersion: 2.6
|
3
3
|
Metrics/LineLength:
|
4
4
|
Max: 128
|
5
5
|
Metrics/MethodLength:
|
@@ -10,5 +10,93 @@ Style/Documentation:
|
|
10
10
|
Enabled: false
|
11
11
|
Style/GlobalVars:
|
12
12
|
Enabled: false
|
13
|
-
Layout/
|
13
|
+
Layout/HeredocIndentation:
|
14
14
|
Enabled: false
|
15
|
+
Gemspec/DateAssignment: # new in 1.10
|
16
|
+
Enabled: true
|
17
|
+
Layout/LineEndStringConcatenationIndentation: # new in 1.18
|
18
|
+
Enabled: true
|
19
|
+
Layout/SpaceBeforeBrackets: # new in 1.7
|
20
|
+
Enabled: true
|
21
|
+
Lint/AmbiguousAssignment: # new in 1.7
|
22
|
+
Enabled: true
|
23
|
+
Lint/AmbiguousOperatorPrecedence: # new in 1.21
|
24
|
+
Enabled: true
|
25
|
+
Lint/AmbiguousRange: # new in 1.19
|
26
|
+
Enabled: true
|
27
|
+
Lint/DeprecatedConstants: # new in 1.8
|
28
|
+
Enabled: true
|
29
|
+
Lint/DuplicateBranch: # new in 1.3
|
30
|
+
Enabled: true
|
31
|
+
Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
|
32
|
+
Enabled: true
|
33
|
+
Lint/EmptyBlock: # new in 1.1
|
34
|
+
Enabled: true
|
35
|
+
Lint/EmptyClass: # new in 1.3
|
36
|
+
Enabled: true
|
37
|
+
Lint/EmptyInPattern: # new in 1.16
|
38
|
+
Enabled: true
|
39
|
+
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
|
40
|
+
Enabled: true
|
41
|
+
Lint/LambdaWithoutLiteralBlock: # new in 1.8
|
42
|
+
Enabled: true
|
43
|
+
Lint/NoReturnInBeginEndBlocks: # new in 1.2
|
44
|
+
Enabled: true
|
45
|
+
Lint/NumberedParameterAssignment: # new in 1.9
|
46
|
+
Enabled: true
|
47
|
+
Lint/OrAssignmentToConstant: # new in 1.9
|
48
|
+
Enabled: true
|
49
|
+
Lint/RedundantDirGlobSort: # new in 1.8
|
50
|
+
Enabled: true
|
51
|
+
Lint/RequireRelativeSelfPath: # new in 1.22
|
52
|
+
Enabled: true
|
53
|
+
Lint/SymbolConversion: # new in 1.9
|
54
|
+
Enabled: true
|
55
|
+
Lint/ToEnumArguments: # new in 1.1
|
56
|
+
Enabled: true
|
57
|
+
Lint/TripleQuotes: # new in 1.9
|
58
|
+
Enabled: true
|
59
|
+
Lint/UnexpectedBlockArity: # new in 1.5
|
60
|
+
Enabled: true
|
61
|
+
Lint/UnmodifiedReduceAccumulator: # new in 1.1
|
62
|
+
Enabled: true
|
63
|
+
Security/IoMethods: # new in 1.22
|
64
|
+
Enabled: true
|
65
|
+
Style/ArgumentsForwarding: # new in 1.1
|
66
|
+
Enabled: true
|
67
|
+
Style/CollectionCompact: # new in 1.2
|
68
|
+
Enabled: true
|
69
|
+
Style/DocumentDynamicEvalDefinition: # new in 1.1
|
70
|
+
Enabled: true
|
71
|
+
Style/EndlessMethod: # new in 1.8
|
72
|
+
Enabled: true
|
73
|
+
Style/HashConversion: # new in 1.10
|
74
|
+
Enabled: true
|
75
|
+
Style/HashExcept: # new in 1.7
|
76
|
+
Enabled: true
|
77
|
+
Style/IfWithBooleanLiteralBranches: # new in 1.9
|
78
|
+
Enabled: true
|
79
|
+
Style/InPatternThen: # new in 1.16
|
80
|
+
Enabled: true
|
81
|
+
Style/MultilineInPatternThen: # new in 1.16
|
82
|
+
Enabled: true
|
83
|
+
Style/NegatedIfElseCondition: # new in 1.2
|
84
|
+
Enabled: true
|
85
|
+
Style/NilLambda: # new in 1.3
|
86
|
+
Enabled: true
|
87
|
+
Style/NumberedParameters: # new in 1.22
|
88
|
+
Enabled: true
|
89
|
+
Style/NumberedParametersLimit: # new in 1.22
|
90
|
+
Enabled: true
|
91
|
+
Style/QuotedSymbols: # new in 1.16
|
92
|
+
Enabled: true
|
93
|
+
Style/RedundantArgument: # new in 1.4
|
94
|
+
Enabled: true
|
95
|
+
Style/RedundantSelfAssignmentBranch: # new in 1.19
|
96
|
+
Enabled: true
|
97
|
+
Style/SelectByRegexp: # new in 1.22
|
98
|
+
Enabled: true
|
99
|
+
Style/StringChars: # new in 1.12
|
100
|
+
Enabled: true
|
101
|
+
Style/SwapValues: # new in 1.1
|
102
|
+
Enabled: true
|
data/appium_console.gemspec
CHANGED
@@ -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.
|
13
|
+
s.required_ruby_version = '>= 2.6'
|
14
14
|
|
15
15
|
s.name = 'appium_console'
|
16
16
|
s.version = Appium::Console::VERSION
|
@@ -24,15 +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', '
|
28
|
-
s.add_runtime_dependency 'pry', '~> 0.
|
29
|
-
s.add_runtime_dependency 'bond', '~> 0.5'
|
27
|
+
s.add_runtime_dependency 'appium_lib', '12.0.0.rc4'
|
28
|
+
s.add_runtime_dependency 'pry', '~> 0.14.0'
|
30
29
|
s.add_runtime_dependency 'spec', '~> 5.3', '>= 5.3.1'
|
31
30
|
s.add_runtime_dependency 'thor', '>= 0.19', '< 2.0'
|
32
31
|
s.add_development_dependency 'rake', '~> 13.0'
|
33
32
|
s.add_development_dependency 'appium_thor', '~> 1.0', '>= 1.0.1'
|
34
33
|
s.add_development_dependency 'posix-spawn', '~> 0.3.11'
|
35
|
-
s.add_development_dependency 'rubocop', '1.
|
34
|
+
s.add_development_dependency 'rubocop', '1.22.3'
|
36
35
|
|
37
36
|
s.executables = [ 'arc' ]
|
38
37
|
s.files = `git ls-files`.split "\n"
|
@@ -1,8 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Define Appium module so version can be required directly.
|
2
4
|
module Appium; end unless defined? Appium
|
3
5
|
module Appium
|
4
6
|
module Console
|
5
|
-
VERSION = '2.
|
6
|
-
DATE = '2021-
|
7
|
+
VERSION = '2.14.0.rc1' unless defined? ::Appium::Console::VERSION
|
8
|
+
DATE = '2021-11-02' unless defined? ::Appium::Console::DATE
|
7
9
|
end
|
8
10
|
end
|
data/lib/appium_console.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'rubygems'
|
2
4
|
require 'pry'
|
3
5
|
require 'appium_lib'
|
@@ -24,11 +26,9 @@ module Appium
|
|
24
26
|
requires = parsed[:appium_lib][:require]
|
25
27
|
requires.each do |file|
|
26
28
|
# If a page obj is deleted then load will error.
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
puts e.message
|
31
|
-
end
|
29
|
+
load file
|
30
|
+
rescue LoadError => e
|
31
|
+
puts e.message
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
data/lib/cli.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'rubygems'
|
2
4
|
require 'thor'
|
3
5
|
require 'appium_console/version'
|
@@ -24,8 +26,6 @@ app = "#{caps[:path_to_app]}"
|
|
24
26
|
|
25
27
|
[appium_lib]
|
26
28
|
server_url = "http://127.0.0.1:4723/wd/hub"
|
27
|
-
sauce_username = ""
|
28
|
-
sauce_access_key = ""
|
29
29
|
TEMPLATE
|
30
30
|
end
|
31
31
|
end
|
@@ -39,7 +39,7 @@ sauce_access_key = ""
|
|
39
39
|
automation_name: 'XCUITest',
|
40
40
|
platform_name: 'iOS',
|
41
41
|
device_name: 'iPhone Simulator',
|
42
|
-
platform_version: '
|
42
|
+
platform_version: '15.0',
|
43
43
|
path_to_app: '/path/to/app_bundle'
|
44
44
|
)
|
45
45
|
File.write(toml, template)
|
@@ -51,7 +51,7 @@ sauce_access_key = ""
|
|
51
51
|
template = Config.template(
|
52
52
|
automation_name: 'uiautomator2',
|
53
53
|
platform_name: 'Android',
|
54
|
-
device_name: 'Pixel
|
54
|
+
device_name: 'Pixel 5',
|
55
55
|
path_to_app: '/path/to/apk',
|
56
56
|
app_package: 'com.package.example',
|
57
57
|
app_activity: 'com.package.example.ExampleActivity'
|
data/lib/start.rb
CHANGED
data/test/simple.rb
CHANGED
metadata
CHANGED
@@ -1,58 +1,44 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.14.0.rc1
|
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-
|
12
|
+
date: 2021-11-02 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:
|
20
|
+
version: 12.0.0.rc4
|
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:
|
27
|
+
version: 12.0.0.rc4
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: pry
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.
|
35
|
-
type: :runtime
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - "~>"
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: 0.13.0
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: bond
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - "~>"
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '0.5'
|
34
|
+
version: 0.14.0
|
49
35
|
type: :runtime
|
50
36
|
prerelease: false
|
51
37
|
version_requirements: !ruby/object:Gem::Requirement
|
52
38
|
requirements:
|
53
39
|
- - "~>"
|
54
40
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
41
|
+
version: 0.14.0
|
56
42
|
- !ruby/object:Gem::Dependency
|
57
43
|
name: spec
|
58
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -147,14 +133,14 @@ dependencies:
|
|
147
133
|
requirements:
|
148
134
|
- - '='
|
149
135
|
- !ruby/object:Gem::Version
|
150
|
-
version: 1.
|
136
|
+
version: 1.22.3
|
151
137
|
type: :development
|
152
138
|
prerelease: false
|
153
139
|
version_requirements: !ruby/object:Gem::Requirement
|
154
140
|
requirements:
|
155
141
|
- - '='
|
156
142
|
- !ruby/object:Gem::Version
|
157
|
-
version: 1.
|
143
|
+
version: 1.22.3
|
158
144
|
description: Appium Ruby Console.
|
159
145
|
email:
|
160
146
|
- code@bootstraponline.com
|
@@ -186,7 +172,7 @@ homepage: https://github.com/appium/ruby_console
|
|
186
172
|
licenses:
|
187
173
|
- http://www.apache.org/licenses/LICENSE-2.0.txt
|
188
174
|
metadata: {}
|
189
|
-
post_install_message:
|
175
|
+
post_install_message:
|
190
176
|
rdoc_options: []
|
191
177
|
require_paths:
|
192
178
|
- lib
|
@@ -194,15 +180,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
194
180
|
requirements:
|
195
181
|
- - ">="
|
196
182
|
- !ruby/object:Gem::Version
|
197
|
-
version: '2.
|
183
|
+
version: '2.6'
|
198
184
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
185
|
requirements:
|
200
|
-
- - "
|
186
|
+
- - ">"
|
201
187
|
- !ruby/object:Gem::Version
|
202
|
-
version:
|
188
|
+
version: 1.3.1
|
203
189
|
requirements: []
|
204
|
-
rubygems_version: 3.
|
205
|
-
signing_key:
|
190
|
+
rubygems_version: 3.2.15
|
191
|
+
signing_key:
|
206
192
|
specification_version: 4
|
207
193
|
summary: Appium Ruby Console
|
208
194
|
test_files: []
|