calabash-cucumber 0.12.3 → 0.13.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 +4 -4
- data/dylibs/libCalabashDyn.dylib +0 -0
- data/dylibs/libCalabashDynSim.dylib +0 -0
- data/lib/calabash-cucumber/launcher.rb +12 -6
- data/lib/calabash-cucumber/operations.rb +11 -0
- data/lib/calabash-cucumber/version.rb +2 -2
- data/scripts/.irbrc +20 -1
- data/staticlib/calabash.framework.zip +0 -0
- data/staticlib/libFrankCalabash.a +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6cbee30387774f5207e700fa487a5a65174c62f
|
4
|
+
data.tar.gz: 7cc8df83ee4c83491f0b53a596185f12c1d5254c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 323d36e033c8fe0a9ee35abbd8c7d8843ef7f322b61e2b7a28a5a51737e4881bb47cb6bfeec77388e94bad20b6f99a029667fa9ade0ee2c4ff162461c5e9b16a
|
7
|
+
data.tar.gz: 957434b57174ff61a6dadbd399ef15b13d2388ea93ac4206e7204411fd271bf0d0394197dd44e096b50c9f0b4c2ef8e22437c2b5ad8ba29d0851905ae99280d1
|
data/dylibs/libCalabashDyn.dylib
CHANGED
Binary file
|
Binary file
|
@@ -604,13 +604,19 @@ class Calabash::Cucumber::Launcher
|
|
604
604
|
end
|
605
605
|
end
|
606
606
|
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
if
|
611
|
-
args
|
607
|
+
use_dylib = args[:inject_dylib]
|
608
|
+
if use_dylib
|
609
|
+
# User passed a Boolean, not a file.
|
610
|
+
if use_dylib.is_a?(TrueClass)
|
611
|
+
if simulator_target?(args)
|
612
|
+
args[:inject_dylib] = Calabash::Dylibs.path_to_sim_dylib
|
613
|
+
else
|
614
|
+
args[:inject_dylib] = Cucumber::Dylibs.path_to_device_dylib
|
615
|
+
end
|
612
616
|
else
|
613
|
-
|
617
|
+
unless File.exist? use_dylib
|
618
|
+
raise "Dylib does not exist at path: '#{use_dylib}'"
|
619
|
+
end
|
614
620
|
end
|
615
621
|
end
|
616
622
|
|
@@ -27,6 +27,17 @@ module Calabash
|
|
27
27
|
include Calabash::Cucumber::DatePicker
|
28
28
|
include Calabash::Cucumber::IPad
|
29
29
|
|
30
|
+
def self.extended(base)
|
31
|
+
if (class << base; included_modules.map(&:to_s).include?('Cucumber::RbSupport::RbWorld'); end)
|
32
|
+
unless instance_methods.include?(:embed)
|
33
|
+
original_embed = base.method(:embed)
|
34
|
+
define_method(:embed) do |*args|
|
35
|
+
original_embed.call(*args)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
30
41
|
end
|
31
42
|
end
|
32
43
|
end
|
@@ -3,11 +3,11 @@ module Calabash
|
|
3
3
|
|
4
4
|
# @!visibility public
|
5
5
|
# The Calabash iOS gem version.
|
6
|
-
VERSION = '0.
|
6
|
+
VERSION = '0.13.0'
|
7
7
|
|
8
8
|
# @!visibility public
|
9
9
|
# The minimum required version of the calabash.framework or, for Xamarin
|
10
10
|
# users, the Calabash component.
|
11
|
-
MIN_SERVER_VERSION = '0.
|
11
|
+
MIN_SERVER_VERSION = '0.13.0'
|
12
12
|
end
|
13
13
|
end
|
data/scripts/.irbrc
CHANGED
@@ -1,7 +1,26 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'irb/completion'
|
3
3
|
require 'irb/ext/save-history'
|
4
|
-
|
4
|
+
|
5
|
+
begin
|
6
|
+
require 'awesome_print'
|
7
|
+
rescue LoadError => e
|
8
|
+
msg = ["Caught a LoadError: could not load 'awesome_print'",
|
9
|
+
"#{e}",
|
10
|
+
'',
|
11
|
+
'Use bundler (recommended) or uninstall awesome_print.',
|
12
|
+
'',
|
13
|
+
'# Use bundler (recommended)',
|
14
|
+
'$ bundle update',
|
15
|
+
'$ bundle exec calabash-ios console',
|
16
|
+
'',
|
17
|
+
'# Uninstall',
|
18
|
+
'$ gem update --system',
|
19
|
+
'$ gem uninstall -Vax --force --no-abort-on-dependent awesome_print']
|
20
|
+
puts msg
|
21
|
+
exit(1)
|
22
|
+
end
|
23
|
+
|
5
24
|
AwesomePrint.irb!
|
6
25
|
|
7
26
|
ARGV.concat [ '--readline',
|
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.
|
4
|
+
version: 0.13.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: 2015-02-
|
11
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -146,14 +146,14 @@ dependencies:
|
|
146
146
|
requirements:
|
147
147
|
- - "~>"
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version: 1.2.
|
149
|
+
version: 1.2.7
|
150
150
|
type: :runtime
|
151
151
|
prerelease: false
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
153
|
requirements:
|
154
154
|
- - "~>"
|
155
155
|
- !ruby/object:Gem::Version
|
156
|
-
version: 1.2.
|
156
|
+
version: 1.2.7
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: json
|
159
159
|
requirement: !ruby/object:Gem::Requirement
|