appium_instrumenter 0.1.0 → 0.1.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: 2675a0f42db37813b11315828f9ac55e5641561f
4
- data.tar.gz: a9485751504d8e77772ca20740acd782321ae493
3
+ metadata.gz: 556e32baa39d80ffa498aa9d64e7c1e4c0a9e83c
4
+ data.tar.gz: 1ad3e0cff7ac54986cfe9ca35959a0f4963ed0a1
5
5
  SHA512:
6
- metadata.gz: 3a24910468decc5b8610033a69f817dae143c868533489e0a1171239bf1a245f7157db9d90067cd5e2f7edc5f5fb3e76cabcbdc9198117c84cf94e76c5532647
7
- data.tar.gz: 8d474d8ea9d9d59b331353b758c919c817dd4317eebdfab89958b9b17818311b521fcd45584c5be833a6677b5cd9a24734579a7de9fddcee6572e4f8fcc229a9
6
+ metadata.gz: 825ab427750d0134b858f36f17527fa0c2ed9d1a8bdc1a71ded63300ab1ed23946c1cd81428c9b5ed6a719e468791fc96d84e59fd1463945356d36113c92b506
7
+ data.tar.gz: 2330433639a0de81ca468783fc706c8ae29ef8e928b8d7f972281b344f25ebf26d4209ef5911d9e481df51ff0d58ecc0f02b2c4fe2f777d8e7b0a09e307cf6d0
@@ -94,7 +94,7 @@ class JavaKeystore
94
94
 
95
95
  def self.get_keystores
96
96
  if keystore = keystore_from_settings
97
- p "found calabash_settings file"
97
+ p "found keystore_details file"
98
98
  [ keystore ]
99
99
  else
100
100
  [
@@ -107,19 +107,19 @@ class JavaKeystore
107
107
  end
108
108
 
109
109
  def self.keystore_from_settings
110
- keystore = JSON.parse(IO.read(".calabash_settings")) if File.exist? ".calabash_settings"
111
- keystore = JSON.parse(IO.read("calabash_settings")) if File.exist? "calabash_settings"
110
+ keystore = JSON.parse(IO.read(".keystore_details")) if File.exist? ".keystore_details"
111
+ keystore = JSON.parse(IO.read("keystore_details")) if File.exist? "keystore_details"
112
112
  return unless keystore
113
113
  fail_if_key_missing(keystore, "keystore_location")
114
114
  fail_if_key_missing(keystore, "keystore_password")
115
115
  fail_if_key_missing(keystore, "keystore_alias")
116
116
  keystore["keystore_location"] = File.expand_path(keystore["keystore_location"])
117
- log("Keystore location specified in #{File.exist?(".calabash_settings") ? ".calabash_settings" : "calabash_settings"}.")
117
+ log("Keystore location specified in #{File.exist?(".keystore_details") ? ".keystore_details" : "keystore_details"}.")
118
118
  JavaKeystore.new(keystore["keystore_location"], keystore["keystore_alias"], keystore["keystore_password"])
119
119
  end
120
120
 
121
121
  def self.fail_if_key_missing(map, key)
122
- raise "Found .calabash_settings but no #{key} defined." unless map[key]
122
+ raise "Found .keystore_details but no #{key} defined." unless map[key]
123
123
  end
124
124
 
125
125
  end
@@ -1,3 +1,3 @@
1
1
  module AppiumInstrumenter
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_instrumenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajdeep Varma
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-21 00:00:00.000000000 Z
11
+ date: 2018-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler