calabash-android 0.9.17 → 0.9.22

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc890c3b58db519b1dff71b2eef30617890328c3968b1fa42dcd2dc362c34969
4
- data.tar.gz: a72e70efb669b1b38fa06826eb58669891732e7a3ae53231301f800e2feb2389
3
+ metadata.gz: 56f27eba3ae7c5370b6cebf0b8d4d6a7d3c306636ee43a3089526de438232302
4
+ data.tar.gz: dbc1ac40e1df81ddadb3a6c5651ef0812ca7f9876a87e5428e6597903714dfa2
5
5
  SHA512:
6
- metadata.gz: 9dd6bce0932009c9f73f7addd0191f4cb8338e9a8bd0b8497021a099bda7019eeaa16efdf25e654d54aca4a1b0b183ecbde6312bed14afd103a6f3816c38772a
7
- data.tar.gz: 8744291cd16e36b87655dc70fa2f17087cae61c0195b385073b89af1f639601865786946849f5073dc387befd8d7196af65987cb2c6157b82110f33ea77408fd
6
+ metadata.gz: 28fd3a30ce1baf35958e6954af26a1d8125a1a60b610425ff5dee8bfc3d3f141ef23bc00a13d39466b7204c8c39ef97dcbdd6ccbd0e2718177cf194a960a09e3
7
+ data.tar.gz: d59b4dc6c9bca859d9f6ac50a418bb8cf5fb29bc52fece97c1a7fafa79dfe41af934eff76bf76c55d83df7d625fd0ca71b149be2554703f64ee67c8ad36bec27
@@ -2,8 +2,8 @@
2
2
 
3
3
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
4
4
  package="#testPackage#"
5
- android:versionCode="15"
6
- android:versionName="0.9.15">
5
+ android:versionCode="21"
6
+ android:versionName="0.9.21">
7
7
 
8
8
  <uses-sdk android:minSdkVersion="18" android:targetSdkVersion="28" />
9
9
 
@@ -158,7 +158,11 @@ module Calabash module Android
158
158
 
159
159
  def screenshot_embed(options={:prefix => nil, :name => nil, :label => nil})
160
160
  path = default_device.screenshot(options)
161
- embed(path, "image/png", options[:label] || File.basename(path))
161
+ begin
162
+ embed(path, "image/png", options[:label] || File.basename(path))
163
+ rescue NoMethodError
164
+ attach(path, "image/png")
165
+ end
162
166
  end
163
167
 
164
168
  def screenshot(options={:prefix => nil, :name => nil})
@@ -792,7 +796,7 @@ Test-server version #{server_version}
792
796
  log "Checking client-server version match..."
793
797
 
794
798
  if server_version != client_version
795
- raise(%Q[
799
+ log(%Q[
796
800
  Calabash Client and Test-server version mismatch.
797
801
 
798
802
  Client version #{client_version}
@@ -1,6 +1,6 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.9.17"
3
+ VERSION = "0.9.22"
4
4
 
5
5
  # A model of a software release version that can be used to compare two versions.
6
6
  #
@@ -63,7 +63,7 @@ module Calabash
63
63
  else
64
64
  begin
65
65
  embed(path, 'image/png', msg)
66
- rescue => NoMethodError
66
+ rescue NoMethodError
67
67
  attach(path, 'image/png')
68
68
  end
69
69
 
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.9.17
4
+ version: 0.9.22
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: 2021-05-06 00:00:00.000000000 Z
11
+ date: 2021-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -56,16 +56,22 @@ dependencies:
56
56
  name: rubyzip
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '='
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 1.2.2
62
+ - - "<"
60
63
  - !ruby/object:Gem::Version
61
- version: 1.3.0
64
+ version: '1.3'
62
65
  type: :runtime
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
65
68
  requirements:
66
- - - '='
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: 1.2.2
72
+ - - "<"
67
73
  - !ruby/object:Gem::Version
68
- version: 1.3.0
74
+ version: '1.3'
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: awesome_print
71
77
  requirement: !ruby/object:Gem::Requirement