fabrication 2.21.0 → 2.21.1

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
  SHA256:
3
- metadata.gz: 9a0d6dabff5b3d58e4abf5704c0c05084edc8733655015c0e43f941b08d64f73
4
- data.tar.gz: 5beb461b6679fbd5d4a73f29038dfdb85fccf22e7cb738e229771178b3020403
3
+ metadata.gz: 5dbcba44b9446ef945eecbd052251612613a639911d3475fbd013cde22c8bb84
4
+ data.tar.gz: b420774d1de2b94e64f0c9c36a4b1b0017359500a6516caa64607f430675cb95
5
5
  SHA512:
6
- metadata.gz: a04671cb31da952388f8df09576c7fcfcfd810b0441e6ef204c2f442d10de3e7c2831bee095a3dad10e439fb887d6d8fbd0c9c630632c3bc10b07f2f588d0ba8
7
- data.tar.gz: feb4242360e6236ec8c000257127365c2d095acbc0ad6d3c06a1f195e2d1bb8c0c57f43911da7fd4dbf910f4e6182b6b0d30dd1066abe32c5bbfabbcbfaab1bc
6
+ metadata.gz: 91679b6323aac2832863e89dd30925bb6c1886639efb607cd825794a4a383e4eb1e8186333a8550205a4e3ea312bb7ae5db7823dd4002d85ef002c0eab02d8b3
7
+ data.tar.gz: e09a8947f7895f46b5c538db79dc916f335baa9e48633bcb8db7dc81c43f3e53a27cc8a7cd4c9503b42e0724423b395ad80d2b3a1e7e19a94de52879111191ea
@@ -76,7 +76,7 @@ class Fabrication::Generator::Base
76
76
  end
77
77
 
78
78
  def method_missing(method_name, *args, &block)
79
- _attributes[method_name] || super
79
+ _attributes.fetch(method_name) { super }
80
80
  end
81
81
 
82
82
  protected
@@ -1,3 +1,3 @@
1
1
  module Fabrication
2
- VERSION = '2.21.0'.freeze
2
+ VERSION = '2.21.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fabrication
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.21.0
4
+ version: 2.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Elliott
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-25 00:00:00.000000000 Z
11
+ date: 2020-04-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Fabrication is an object generation framework for ActiveRecord, Mongoid,
14
14
  DataMapper, Sequel, or any other Ruby object.