calabash-cucumber 0.19.0.pre3 → 0.19.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8d1ae811a8e9ce1b128587fde8169a360a814f4
|
4
|
+
data.tar.gz: 5362957ea9cbf06f092a4d6274c438e9e6d2f920
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a96c9b3f4680184761ca7c35e2b80e557bb539dbd30f408031e93ba1d1fa5e0897658296a3f49c0da2e4dc649c3a5fd57b5adf5afed622b8a445ccc6eaabc75b
|
7
|
+
data.tar.gz: 08fd8ceedc0c2961abd1d8ccf24809eba00fbe1c0be7f1bae925b08052e64e31e80480554b9c7ff560f88ec4e8d0fe0ff9ed9feef2271590522ad46c8415aa87
|
data/dylibs/libCalabashDyn.dylib
CHANGED
Binary file
|
Binary file
|
@@ -235,6 +235,44 @@ Queries will work, but gestures will not.
|
|
235
235
|
@@launcher
|
236
236
|
end
|
237
237
|
|
238
|
+
# Is the current device under test a physical device?
|
239
|
+
#
|
240
|
+
# Can be used before or after the application has been launched.
|
241
|
+
#
|
242
|
+
# Maintainers, please do not call this method.
|
243
|
+
#
|
244
|
+
# @param [Hash] options This argument is deprecated since 0.19.0.
|
245
|
+
#
|
246
|
+
# @return [Boolean] True if the device under test a physical device.
|
247
|
+
def device_target?(options={})
|
248
|
+
if Calabash::Cucumber::Environment.xtc?
|
249
|
+
true
|
250
|
+
elsif @device
|
251
|
+
@device.device?
|
252
|
+
else
|
253
|
+
detect_device(options).physical_device?
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
# Is the current device under test a simulator?
|
258
|
+
#
|
259
|
+
# Can be used before or after the application has been launched.
|
260
|
+
#
|
261
|
+
# Maintainers, please do not call this method.
|
262
|
+
#
|
263
|
+
# @param [Hash] options This argument is deprecated since 0.19.0.
|
264
|
+
#
|
265
|
+
# @return [Boolean] True if the device under test a simulator.
|
266
|
+
def simulator_target?(options={})
|
267
|
+
if Calabash::Cucumber::Environment.xtc?
|
268
|
+
false
|
269
|
+
elsif @device
|
270
|
+
@device.simulator?
|
271
|
+
else
|
272
|
+
detect_device(options).simulator?
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
238
276
|
# Erases a simulator. This is the same as touching the Simulator
|
239
277
|
# "Reset Content & Settings" menu item.
|
240
278
|
#
|
@@ -426,20 +464,6 @@ true. Please remove this method call from your hooks.
|
|
426
464
|
nil
|
427
465
|
end
|
428
466
|
|
429
|
-
# @!visibility private
|
430
|
-
# @deprecated 0.19.0 - no replacement
|
431
|
-
def device_target?(options={})
|
432
|
-
RunLoop.deprecated("0.19.0", "No replacement")
|
433
|
-
detect_device(options).physical_device?
|
434
|
-
end
|
435
|
-
|
436
|
-
# @!visibility private
|
437
|
-
# @deprecated 0.19.0 - no replacement
|
438
|
-
def simulator_target?(options={})
|
439
|
-
RunLoop.deprecated("0.19.0", "No replacement")
|
440
|
-
detect_device(options).simulator?
|
441
|
-
end
|
442
|
-
|
443
467
|
# @!visibility private
|
444
468
|
# @deprecated 0.19.0 - no replacement
|
445
469
|
def app_path
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.0
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Krukow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -444,9 +444,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
444
444
|
version: '2.0'
|
445
445
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
446
446
|
requirements:
|
447
|
-
- - "
|
447
|
+
- - ">="
|
448
448
|
- !ruby/object:Gem::Version
|
449
|
-
version:
|
449
|
+
version: '0'
|
450
450
|
requirements: []
|
451
451
|
rubyforge_project:
|
452
452
|
rubygems_version: 2.5.2
|