pickle 0.7.0 → 0.7.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
  SHA256:
3
- metadata.gz: 997d67d028865e06ac4c9c77eeba9f6441dcae8f3381c0654448e8deac15b39d
4
- data.tar.gz: 30d88f795a6f0ae4848f49626db1043d7ec62c21fc3104c1289e0e4f9e2412c3
3
+ metadata.gz: 51464cc048b3e456925859eac195ee30ca6d487c8ccd908d819ace6a4a86de91
4
+ data.tar.gz: 8a27377d087dfee6b9d8f23f48468e997125a1df7fe9b80ed72824fe554ed0c6
5
5
  SHA512:
6
- metadata.gz: 05f1f30462caa117b5defd9e44a1873da2e410eb7949e732c978ddc39883da365a3f8455a59e008e719575e680b50f654b8d67f2f0e787aeb785cacb1bb887a2
7
- data.tar.gz: 62f19ff6ed9fd4adf66df85e5fc7a119e55bae972aea566bdb61598383f96f4d6f60647ef85b13e604bb5d48ec989425f0fa4ae22e4ce76a02750138bae43daa
6
+ metadata.gz: 34e379469333dddea96daf08b54698a04a83fa1f4202ff520d64e4f1909803cf7c66b1ead097ed32a745e8718b81f7aac1f7f96150b0aebed53864a4763fab5e
7
+ data.tar.gz: afbbd6b718765b872aa3026ec2e8668e60a50920a773448b7d5a9437b43c794c557c8e9407de8fcc29f9862b90fceb31ba20d4f25b99108934f5493e941ed9d9
data/History.txt CHANGED
@@ -1,3 +1,12 @@
1
+ == 0.7.2
2
+ * Eliminate noisy warning: =~ called on anything but String objects.
3
+
4
+ == 0.7.1
5
+ * Eliminate noisy warning: =~ called on Array objects.
6
+
7
+ == 0.7.0
8
+ * Rails 7.0.x support.
9
+
1
10
  == 0.6.2
2
11
  * Relax dependency to support cucumber 7.x
3
12
 
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: ..
10
10
  specs:
11
- pickle (0.7.0)
11
+ pickle (0.7.2)
12
12
  cucumber (>= 3.0, < 8.0)
13
13
  rake
14
14
 
@@ -24,7 +24,7 @@ module Pickle
24
24
 
25
25
  def parse_hash(hash)
26
26
  hash.inject({}) do |parsed, (key, val)|
27
- if session && val =~ /^#{capture_model}$/
27
+ if session && val.is_a?(String) && val =~ /^#{capture_model}$/
28
28
  parsed.merge(key => session.model($1))
29
29
  else
30
30
  parsed.merge(key => val)
@@ -1,3 +1,3 @@
1
1
  module Pickle
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.2"
3
3
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pickle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian White
8
8
  - James Le Cuirot
9
9
  - Mathieu Jobin
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-03-27 00:00:00.000000000 Z
13
+ date: 2022-11-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cucumber
@@ -357,7 +357,7 @@ homepage: https://github.com/ianwhite/pickle
357
357
  licenses:
358
358
  - MIT
359
359
  metadata: {}
360
- post_install_message:
360
+ post_install_message:
361
361
  rdoc_options: []
362
362
  require_paths:
363
363
  - lib
@@ -372,8 +372,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
372
372
  - !ruby/object:Gem::Version
373
373
  version: '2.0'
374
374
  requirements: []
375
- rubygems_version: 3.1.6
376
- signing_key:
375
+ rubygems_version: 3.3.7
376
+ signing_key:
377
377
  specification_version: 4
378
378
  summary: Easy model creation and reference in your cucumber features.
379
379
  test_files: []