calabash-cucumber 0.21.8 → 0.23.1

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
  SHA256:
3
- metadata.gz: b5b9fd235850978c99e32a75b8fd4cea05326ea38cb5709f557fb26ce8f471ae
4
- data.tar.gz: 5af4b176ac44fc992d83b4778adb63a78ed50f878d4c6f3f0243ea79a5497109
3
+ metadata.gz: 125e94b7666d73f485b8c379229fde0c4c57f04440d2012d7da80dc268030967
4
+ data.tar.gz: fcf10b8e9153612f731ed9f2a2cf8a8ebd586ba78c9e27682223877e6bb2a10f
5
5
  SHA512:
6
- metadata.gz: e7bb50d5c6a9a53c389ef3ecefec23a338ce580711d3ab865e2d08c810e80f1a370a9bdd127d8b4b01cdd46c8b895db1dcbf7a71cb6f6959cbd316f068897fba
7
- data.tar.gz: b5dc8eabaef394d30eb185b20861d828debaffb59820a90ca50d0cd26225157877714e0792c883c5c42c8fa9783518b3a0838a0e3ffafe0bf9386afd9df8da89
6
+ metadata.gz: 8053648ea890ddc8a545a9db24402ef70c9c13c544eacfaa177fc53e2d42171b284aa952c4f57dc8a8c62b2352073025240d07c366a27561bd95f7960072c350
7
+ data.tar.gz: 5d67faa1df55513b41f9da7de8f9fc3216514dd8cde6005dc5691810317e6455dc52a807c6a9ee1ac8b673f007ebfba9263982b1534adea7e8dd335c21095895
Binary file
Binary file
@@ -6,7 +6,7 @@ module Calabash
6
6
 
7
7
  # @!visibility private
8
8
  def self.sim_dylib_basename
9
- "libCalabashDynSim.dylib"
9
+ "libCalabashSim.dylib"
10
10
  end
11
11
 
12
12
  # @!visibility private
@@ -16,7 +16,7 @@ module Calabash
16
16
 
17
17
  # @!visibility private
18
18
  def self.device_dylib_basename
19
- "libCalabashDyn.dylib"
19
+ "libCalabashARM.dylib"
20
20
  end
21
21
 
22
22
  # @!visibility private
@@ -52,7 +52,11 @@ module Calabash
52
52
  path = screenshot(options)
53
53
  filename = options[:label] || File.basename(path)
54
54
  if self.respond_to?(:embed)
55
- embed(path, 'image/png', filename)
55
+ begin
56
+ embed(path, 'image/png', filename)
57
+ rescue NoMethodError
58
+ attach(path, 'image/png')
59
+ end
56
60
  else
57
61
  RunLoop.log_info2("Embed is not available in this context. Will not embed.")
58
62
  end
@@ -3,10 +3,10 @@ module Calabash
3
3
 
4
4
  # @!visibility public
5
5
  # The Calabash iOS gem version.
6
- VERSION = "0.21.8"
6
+ VERSION = "0.23.1"
7
7
 
8
8
  # @!visibility public
9
9
  # The minimum required version of the Calabash embedded server.
10
- MIN_SERVER_VERSION = "0.21.7"
10
+ MIN_SERVER_VERSION = "0.23.0"
11
11
  end
12
12
  end
@@ -433,7 +433,12 @@ module Calabash
433
433
  FileUtils.rm_f(path)
434
434
  return res
435
435
  else
436
- embed(path, 'image/png', msg)
436
+ begin
437
+ embed(path, 'image/png', msg)
438
+ rescue NoMethodError
439
+ attach(path, 'image/png')
440
+ end
441
+
437
442
  raise wait_error(msg)
438
443
  end
439
444
  end
data/scripts/.irbrc CHANGED
@@ -47,9 +47,9 @@ IRB.conf[:HISTORY_FILE] = ".irb-history"
47
47
 
48
48
  begin
49
49
  require "pry"
50
- Pry.config.history.should_save = true
51
- Pry.config.history.should_load = true
52
- Pry.config.history.file = ".pry-history"
50
+ Pry.config.history_save = true
51
+ Pry.config.history_load = true
52
+ Pry.config.history_file = ".pry-history"
53
53
  require "pry-nav"
54
54
  rescue LoadError => _
55
55
 
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.21.8
4
+ version: 0.23.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Krukow
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-09 00:00:00.000000000 Z
11
+ date: 2021-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber
@@ -98,20 +98,6 @@ dependencies:
98
98
  - - "<"
99
99
  - !ruby/object:Gem::Version
100
100
  version: '3.0'
101
- - !ruby/object:Gem::Dependency
102
- name: bundler
103
- requirement: !ruby/object:Gem::Requirement
104
- requirements:
105
- - - "~>"
106
- - !ruby/object:Gem::Version
107
- version: '1.3'
108
- type: :runtime
109
- prerelease: false
110
- version_requirements: !ruby/object:Gem::Requirement
111
- requirements:
112
- - - "~>"
113
- - !ruby/object:Gem::Version
114
- version: '1.3'
115
101
  - !ruby/object:Gem::Dependency
116
102
  name: clipboard
117
103
  requirement: !ruby/object:Gem::Requirement
@@ -132,7 +118,7 @@ dependencies:
132
118
  requirements:
133
119
  - - ">="
134
120
  - !ruby/object:Gem::Version
135
- version: '4.1'
121
+ version: '4.2'
136
122
  - - "<"
137
123
  - !ruby/object:Gem::Version
138
124
  version: '5.0'
@@ -142,7 +128,7 @@ dependencies:
142
128
  requirements:
143
129
  - - ">="
144
130
  - !ruby/object:Gem::Version
145
- version: '4.1'
131
+ version: '4.2'
146
132
  - - "<"
147
133
  - !ruby/object:Gem::Version
148
134
  version: '5.0'
@@ -194,14 +180,14 @@ dependencies:
194
180
  requirements:
195
181
  - - '='
196
182
  - !ruby/object:Gem::Version
197
- version: 3.2.0
183
+ version: 3.5.1
198
184
  type: :development
199
185
  prerelease: false
200
186
  version_requirements: !ruby/object:Gem::Requirement
201
187
  requirements:
202
188
  - - '='
203
189
  - !ruby/object:Gem::Version
204
- version: 3.2.0
190
+ version: 3.5.1
205
191
  - !ruby/object:Gem::Dependency
206
192
  name: rspec_junit_formatter
207
193
  requirement: !ruby/object:Gem::Requirement
@@ -236,14 +222,14 @@ dependencies:
236
222
  requirements:
237
223
  - - '='
238
224
  - !ruby/object:Gem::Version
239
- version: 10.5.0
225
+ version: 13.0.3
240
226
  type: :development
241
227
  prerelease: false
242
228
  version_requirements: !ruby/object:Gem::Requirement
243
229
  requirements:
244
230
  - - '='
245
231
  - !ruby/object:Gem::Version
246
- version: 10.5.0
232
+ version: 13.0.3
247
233
  - !ruby/object:Gem::Dependency
248
234
  name: rspec
249
235
  requirement: !ruby/object:Gem::Requirement
@@ -403,8 +389,8 @@ files:
403
389
  - bin/calabash-ios-setup.rb
404
390
  - bin/calabash-ios-sim.rb
405
391
  - doc/calabash-ios-help.txt
406
- - dylibs/libCalabashDyn.dylib
407
- - dylibs/libCalabashDynSim.dylib
392
+ - dylibs/libCalabashARM.dylib
393
+ - dylibs/libCalabashSim.dylib
408
394
  - features-skeleton/sample.feature
409
395
  - features-skeleton/steps/sample_steps.rb
410
396
  - features-skeleton/support/01_launch.rb
@@ -462,7 +448,7 @@ homepage: http://calaba.sh
462
448
  licenses:
463
449
  - EPL-1.0
464
450
  metadata: {}
465
- post_install_message:
451
+ post_install_message:
466
452
  rdoc_options: []
467
453
  require_paths:
468
454
  - lib
@@ -477,9 +463,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
477
463
  - !ruby/object:Gem::Version
478
464
  version: '0'
479
465
  requirements: []
480
- rubyforge_project:
481
- rubygems_version: 2.7.7
482
- signing_key:
466
+ rubygems_version: 3.1.4
467
+ signing_key:
483
468
  specification_version: 4
484
469
  summary: Client for calabash-ios-server for automated functional testing on iOS
485
470
  test_files: []
Binary file
Binary file