appium_console 2.2.0 → 2.2.1

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
  SHA1:
3
- metadata.gz: dc1d5c404448f5b0e9dc60794aa1b3158437ffe9
4
- data.tar.gz: 53463e4170c13197cd4d9301f19c97e3895b63cc
3
+ metadata.gz: b1b69c430a6a77596179e44a16d1578b932194a1
4
+ data.tar.gz: ac440d4bcf3963b8a97307c9e84c5347c6f9f52f
5
5
  SHA512:
6
- metadata.gz: 82b6031c325cf9209d3b75355b808edb3d7467947084a5ad047b75def1ee84dc46e244aa956cce796059cf078f15006be5d33071902b46c14c8a867b1471ad49
7
- data.tar.gz: 200b2722223b0f750e54897e0c804dc19d6042b0a74a073c6bac178c09e5e80288719f312d84ac24ba02cdf4a322d5dd4a96e6ec43bbdbdad659af1c4c0b2a99
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.0' unless defined? ::Appium::Console::VERSION
6
- DATE = '2017-04-20' unless defined? ::Appium::Console::DATE
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: "9.0",
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 5",
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
@@ -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.0
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-20 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appium_lib