calabash-android 0.5.5 → 0.5.6.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -9
- data/bin/calabash-android-setup.rb +5 -4
- data/lib/calabash-android/env.rb +3 -1
- data/lib/calabash-android/lib/TestServer.apk +0 -0
- data/lib/calabash-android/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a74d4549e7707f4bbd13f1bc350e65abaf141a8c
|
4
|
+
data.tar.gz: 0735ac8f6275459de7da70a68fcbb26112ce230e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdf83cbc21f2f2af5db8bbc34e1458f98df251b4e60ba1f8ef03ec8ffdd0e2b8a5f8c35a68b4eabc4229466b8c5f920efbb40ea1ee7f5f64999eddf400f439b2
|
7
|
+
data.tar.gz: fa0affed55981236ebb54fd363ec7a3e04508c66a9259535887b88d4a64f991fb90edb2450c50a2acea580daa787dd73d2e75b979fb0d3d6e9acffaa5dd912ff
|
data/Rakefile
CHANGED
@@ -1,15 +1,6 @@
|
|
1
1
|
require 'bundler'
|
2
2
|
load 'lib/calabash-android/env.rb'
|
3
3
|
|
4
|
-
begin
|
5
|
-
require 'yard'
|
6
|
-
YARD::Rake::YardocTask.new do |t|
|
7
|
-
# see .yardopts for options
|
8
|
-
end
|
9
|
-
rescue Exception => _
|
10
|
-
warn 'skipping yard requirement because it is a development dependency'
|
11
|
-
end
|
12
|
-
|
13
4
|
def build
|
14
5
|
test_server_template_dir = File.join(File.dirname(__FILE__), 'test-server')
|
15
6
|
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require "calabash-android/version"
|
2
|
+
require "io/console"
|
2
3
|
|
3
4
|
def calabash_setup
|
4
5
|
@settings = {}
|
@@ -6,7 +7,7 @@ def calabash_setup
|
|
6
7
|
puts "Please enter keystore information to use a custom keystore instead of the default"
|
7
8
|
|
8
9
|
ask_for_setting(:keystore_location, "Please enter keystore location")
|
9
|
-
ask_for_setting(:keystore_password, "Please enter the password for the keystore")
|
10
|
+
ask_for_setting(:keystore_password, "Please enter the password for the keystore", true)
|
10
11
|
ask_for_setting(:keystore_alias, "Please enter the alias")
|
11
12
|
|
12
13
|
open('.calabash_settings', 'w') do |f|
|
@@ -15,7 +16,7 @@ def calabash_setup
|
|
15
16
|
puts "Saved your settings to .calabash_settings. You can edit the settings manually or run this setup script again"
|
16
17
|
end
|
17
18
|
|
18
|
-
def ask_for_setting(key, msg)
|
19
|
+
def ask_for_setting(key, msg, secure = false)
|
19
20
|
puts msg
|
20
|
-
@settings[key] = STDIN.gets.chomp
|
21
|
-
end
|
21
|
+
@settings[key] = (!secure ? STDIN.gets : STDIN.noecho(&:gets)).chomp
|
22
|
+
end
|
data/lib/calabash-android/env.rb
CHANGED
@@ -50,6 +50,7 @@ class Env
|
|
50
50
|
def self.jdk_path
|
51
51
|
path_if_jdk(ENV['JAVA_HOME']) ||
|
52
52
|
if is_windows?
|
53
|
+
path_if_jdk(read_registry(::Win32::Registry::HKEY_LOCAL_MACHINE, 'SOFTWARE\\JavaSoft\\Java Development Kit\\1.8', 'JavaHome')) ||
|
53
54
|
path_if_jdk(read_registry(::Win32::Registry::HKEY_LOCAL_MACHINE, 'SOFTWARE\\JavaSoft\\Java Development Kit\\1.7', 'JavaHome')) ||
|
54
55
|
path_if_jdk(read_registry(::Win32::Registry::HKEY_LOCAL_MACHINE, 'SOFTWARE\\JavaSoft\\Java Development Kit\\1.6', 'JavaHome'))
|
55
56
|
else
|
@@ -182,4 +183,5 @@ class Env
|
|
182
183
|
end
|
183
184
|
end
|
184
185
|
|
185
|
-
end
|
186
|
+
end
|
187
|
+
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-android
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Maturana Larsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -254,9 +254,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
254
254
|
version: '0'
|
255
255
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
256
256
|
requirements:
|
257
|
-
- - '
|
257
|
+
- - '>'
|
258
258
|
- !ruby/object:Gem::Version
|
259
|
-
version:
|
259
|
+
version: 1.3.1
|
260
260
|
requirements: []
|
261
261
|
rubyforge_project:
|
262
262
|
rubygems_version: 2.0.2
|
@@ -264,3 +264,4 @@ signing_key:
|
|
264
264
|
specification_version: 4
|
265
265
|
summary: Client for calabash-android for automated functional testing on Android
|
266
266
|
test_files: []
|
267
|
+
has_rdoc:
|