appium_console 2.2.0 → 2.2.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.
- checksums.yaml +4 -4
- data/lib/appium_console/version.rb +2 -2
- data/lib/cli.rb +5 -4
- data/release_notes.md +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1b69c430a6a77596179e44a16d1578b932194a1
|
|
4
|
+
data.tar.gz: ac440d4bcf3963b8a97307c9e84c5347c6f9f52f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 610491e29b7c673e9625f384365f6f8c020ca9dbccb7023eb484dd3d53972a9a498bf1641b378d2dbd24c46be6b44f1d20c72a50ee7e5a58562a2fb4cdaee892
|
|
7
|
+
data.tar.gz: 9513d95c8582f907eddba9455575723be417be354c205950c6130ac2a14dff438ae2465d4acf61008d21382b48a28cf9fcdad3b107b605cd56a2ca2d61924fcf
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
# Define Appium module so version can be required directly.
|
|
3
3
|
module Appium; end unless defined? Appium
|
|
4
4
|
module Appium::Console
|
|
5
|
-
VERSION = '2.2.
|
|
6
|
-
DATE = '2017-04-
|
|
5
|
+
VERSION = '2.2.1' unless defined? ::Appium::Console::VERSION
|
|
6
|
+
DATE = '2017-04-26' unless defined? ::Appium::Console::DATE
|
|
7
7
|
end
|
data/lib/cli.rb
CHANGED
|
@@ -25,9 +25,10 @@ module Appium::CLI
|
|
|
25
25
|
template = ERB.new(File.new(Config.appium_txt_template_path).read, nil, "-")
|
|
26
26
|
File.open toml, 'w' do |f|
|
|
27
27
|
caps = {
|
|
28
|
+
automation_name: "XCUITest",
|
|
28
29
|
platform_name: "iOS",
|
|
29
30
|
device_name: "iPhone Simulator",
|
|
30
|
-
platform_version: "
|
|
31
|
+
platform_version: "10.3",
|
|
31
32
|
path_to_app: "/path/to/app_bundle"
|
|
32
33
|
}
|
|
33
34
|
f.puts template.result(binding)
|
|
@@ -40,8 +41,9 @@ module Appium::CLI
|
|
|
40
41
|
template = ERB.new(File.new(Config.appium_txt_template_path).read, nil, "-")
|
|
41
42
|
File.open toml, 'w' do |f|
|
|
42
43
|
caps = {
|
|
44
|
+
automation_name: "uiautomator2",
|
|
43
45
|
platform_name: "Android",
|
|
44
|
-
device_name: "Nexus
|
|
46
|
+
device_name: "Nexus 5X",
|
|
45
47
|
path_to_app: "/path/to/apk",
|
|
46
48
|
app_package: "com.package.example",
|
|
47
49
|
app_activity: ".ExampleActivity"
|
|
@@ -60,8 +62,7 @@ module Appium::CLI
|
|
|
60
62
|
end
|
|
61
63
|
|
|
62
64
|
desc "toml [FILE]", "Starts appium console session with path to toml file"
|
|
63
|
-
def toml
|
|
64
|
-
appium_txt_path = Config.default_appium_txt_path
|
|
65
|
+
def toml(appium_txt_path = Config.default_appium_txt_path)
|
|
65
66
|
Appium::Console.setup appium_txt_path
|
|
66
67
|
Appium::Console.start
|
|
67
68
|
end
|
data/release_notes.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
#### v2.2.1 2017-04-26
|
|
2
|
+
|
|
3
|
+
- [30b71fa](https://github.com/appium/ruby_console/commit/30b71faae94032178da5dd222ec396a6b62573c2) Release 2.2.1
|
|
4
|
+
- [a31fd3e](https://github.com/appium/ruby_console/commit/a31fd3e724ead70e383d541ca6399d91f5682c6a) Merge pull request #69 from oscartanner/master
|
|
5
|
+
- [079e43e](https://github.com/appium/ruby_console/commit/079e43e85ef6d1efb5e7377f61d3af3ef788d81d) Fixed toml function parameter
|
|
6
|
+
- [45820ac](https://github.com/appium/ruby_console/commit/45820ac2b0f312a1e4d83e801e6c09bb84d3e166) Merge pull request #68 from KazuCocoa/add_automation_name
|
|
7
|
+
- [cab87ac](https://github.com/appium/ruby_console/commit/cab87ac12238adfa23356c6a254dc63c8417b343) add automationName in template
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
#### v2.2.0 2017-04-20
|
|
2
11
|
|
|
3
12
|
- [795a6ec](https://github.com/appium/ruby_console/commit/795a6ec26a637f822104c6fb31a64f2587f37bf9) Release 2.2.0
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: appium_console
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- code@bootstraponline.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-04-
|
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: appium_lib
|