calabash-android 0.5.2.pre1 → 0.5.2

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: ea9071972253360f02e1b1ed07308aca2b219e0e
4
- data.tar.gz: 4b7f3b9df746943d83ebacf832da0a992b9a4ed2
3
+ metadata.gz: ab5733515ddd130e9c0c76ab7207162e7bcb213e
4
+ data.tar.gz: 642d7b1943c6c8a9d49e8bef19c370772f557946
5
5
  SHA512:
6
- metadata.gz: 4067273b985fec4f1c3cf4dfb0f2ac0ddc365f65bf406d82fb8cd03c1138229e8845791a84ea8b01a20449de0e025f441b9f5d06f44a6bd3a4a6fdcf73829a30
7
- data.tar.gz: 760f7891db8314ad420179f5cb5e4219db7ac3738ea165032e14c534bb6472a9906ddde18e28a24d7abfdbf4d0f516d35b4e99f374b907abf7daf453d0af5034
6
+ metadata.gz: e80aa1202cb318db16557b8537a05507f07504d0ab3f88c9375a3251e3647194171f79f8a4a090d463201a943834b4f434db085ec1c0242458da4dd3ec02ec89
7
+ data.tar.gz: cc68982bc3fe7266db0fbb737ec9a17dd45321ec16cfa8efa1871756ddb7c82a4eaf36346cafcda8b7c17757e6f0331b87cb4e7cb9445dedf3477287e94b7a6b
data/CHANGES.txt CHANGED
@@ -1,3 +1,12 @@
1
+ 0.5.2:
2
+ Added generic multi touch gestures and many predefined gestures.
3
+
4
+ Gestures will now wait 5 seconds by default for the specified view to appear.
5
+
6
+ Added press_user_action_button method to press the user action button.
7
+
8
+ For a full changelog see
9
+ https://github.com/calabash/calabash-android/tree/master/changelog/0.5.2.md
1
10
  0.5.0:
2
11
  Removed many actions. They all have equivalent ruby wrappers/queries.
3
12
 
@@ -123,6 +123,11 @@ end
123
123
 
124
124
  def sign_apk(app_path, dest_path)
125
125
  java_keystore = JavaKeystore.get_keystores.first
126
+
127
+ if java_keystore.nil?
128
+ raise 'No keystores found. You can specify the keystore location and credentials using calabash-android setup'
129
+ end
130
+
126
131
  java_keystore.sign_apk(app_path, dest_path)
127
132
  end
128
133
 
@@ -2,6 +2,7 @@ class JavaKeystore
2
2
  attr_reader :errors, :location, :keystore_alias, :password, :fingerprint
3
3
  def initialize(location, keystore_alias, password)
4
4
  raise "No such keystore file '#{location}'" unless File.exists?(File.expand_path(location))
5
+ log "Reading keystore data from keystore file '#{File.expand_path(location)}'"
5
6
 
6
7
  keystore_data = system_with_stdout_on_success(Env.keytool_path, '-list', '-v', '-alias', keystore_alias, '-keystore', location, '-storepass', password, '-J"-Dfile.encoding=utf-8"')
7
8
  if keystore_data.nil?
@@ -1,5 +1,5 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.5.2.pre1"
3
+ VERSION = "0.5.2"
4
4
  end
5
5
  end
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.2.pre1
4
+ version: 0.5.2
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: 2014-08-20 00:00:00.000000000 Z
11
+ date: 2014-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber
@@ -828,12 +828,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
828
828
  version: '0'
829
829
  required_rubygems_version: !ruby/object:Gem::Requirement
830
830
  requirements:
831
- - - '>'
831
+ - - '>='
832
832
  - !ruby/object:Gem::Version
833
- version: 1.3.1
833
+ version: '0'
834
834
  requirements: []
835
835
  rubyforge_project:
836
- rubygems_version: 2.1.10
836
+ rubygems_version: 2.0.2
837
837
  signing_key:
838
838
  specification_version: 4
839
839
  summary: Client for calabash-android for automated functional testing on Android