fixturama 0.5.0 → 0.5.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: 4e21218a92d62cab4b0bbc73fe1f2ac02eb5c66a7315357a68189067d138d92a
4
- data.tar.gz: 81861ef1dbf1eba81874fb929875c89f04dc3ebdeba9694ae02989762dd7aca5
3
+ metadata.gz: 222290b374b18f7f1e7cd95844e1a8f37d79bb79ee5aa6938fd47de8322800c2
4
+ data.tar.gz: 915dd027bd5aef3e76d69d21ca5e9cb7b2e367aa0c0a2d5105a4c14e9e9119dd
5
5
  SHA512:
6
- metadata.gz: f09063278691d752987cc1b9bbc8d20a715624cce81f81e9c61b521d52af28b9fbe03e09ac9357e01c154b987608558231b3c0ca8d1bdd5677303f887630b3ad
7
- data.tar.gz: b93be44d444875df3d793bb7947bbd9c906a0fcc699c3b1ec4625186a38eed3b58b8a11f11d6e7ae421db4615534533029c2fece7d592a357649ef24598e63a9
6
+ metadata.gz: 1697a3dbda65ccae635338c933ae0c3267e98573d225796139f9997275a810469cf9e9f0429e14a0edad4044a6ddbaa089015658ff769e3f843a0b6245585289
7
+ data.tar.gz: 64f98e4b799ca9cf5ac572f8924e3ba537bcb01b284db932b0a81fbaca5ab1695bf444d6ae70494570852de327f77946aab045abeeb4cd7ddcfb6b7ab15b7c13
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
+ ## [0.5.1] - [2021-04-12]
9
+
10
+ ### Fixed
11
+
12
+ - Marshalling of short strings (nepalez)
13
+
8
14
  ## [0.5.0] - [2021-04-03]
9
15
 
10
16
  ### Added
@@ -298,4 +304,5 @@ This is a first public release with features extracted from production app.
298
304
  [0.3.0]: https://github.com/nepalez/fixturama/compare/v0.2.0...v0.3.0
299
305
  [0.4.0]: https://github.com/nepalez/fixturama/compare/v0.3.0...v0.4.0
300
306
  [0.4.1]: https://github.com/nepalez/fixturama/compare/v0.4.0...v0.4.1
301
- [0.5.0]: https://github.com/nepalez/fixturama/compare/v0.4.1...v0.5.0
307
+ [0.5.0]: https://github.com/nepalez/fixturama/compare/v0.4.1...v0.5.0
308
+ [0.5.1]: https://github.com/nepalez/fixturama/compare/v0.5.0...v0.5.1
@@ -73,7 +73,7 @@ class Fixturama::Loader
73
73
  # @return [Object]
74
74
  def finalize_string(string)
75
75
  Marshal.restore(string)
76
- rescue TypeError, RuntimeError
76
+ rescue StandardError
77
77
  key = string.match(Value::MATCHER)&.captures&.first&.to_s
78
78
  key ? context[key] : string
79
79
  end
@@ -1,4 +1,4 @@
1
1
  module Fixturama
2
2
  # The current version of the gem
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fixturama
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kozin (nepalez)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-03 00:00:00.000000000 Z
11
+ date: 2021-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: factory_bot