fabrication 2.18.0 → 2.19.0

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
  SHA1:
3
- metadata.gz: b16cf8ca405caaf21ab076cd40a2ea7d8c2be30a
4
- data.tar.gz: b785f882534a6d5139ca43bca6c8240dcd43efdb
3
+ metadata.gz: ec76537ef334cfc100461b49634dcd19b672d7a7
4
+ data.tar.gz: 0d37203436e8a6fef226545cd7a5c22e0c208d88
5
5
  SHA512:
6
- metadata.gz: edb17b2fe50e6b6076b921576039e25e8aee00ffcce70f0ffdde721912617d5e26db164cd8bb1d291adc578dd1a420fbc4e7304586a46ec8695803eec908b657
7
- data.tar.gz: 984e757e5f90514b95cab7d32ad776d0a9b04a0550773e28b74732059d27ff39ae71d3feb3b379183f61a4b90629b970c159fce75fb15eb1d106fb6af3cc3adf
6
+ metadata.gz: a07b2975a2328a16393594aa85fbb0ddcce3f5848af26c23435ea28e539843b393068e152a749dca027d6fe6ee8572dfaad1cebdf1a78eddee4cfa8607782e7b
7
+ data.tar.gz: 77b7fcd3038aeca55a2543491c5fce0ae360b3537e95705f348e34b0b3a5183c3b01161993ccfa3683cd117d88ca14f2050722213c06470877b16eeab9f16740
@@ -23,7 +23,7 @@ class Fabrication::Generator::Sequel < Fabrication::Generator::Base
23
23
  end
24
24
 
25
25
  def persist
26
- _instance.save
26
+ _instance.save(raise_on_failure: true)
27
27
  end
28
28
 
29
29
  private
@@ -1,3 +1,3 @@
1
1
  module Fabrication
2
- VERSION = '2.18.0'
2
+ VERSION = '2.19.0'
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.18.0
4
+ version: 2.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Elliott
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-09 00:00:00.000000000 Z
11
+ date: 2017-12-30 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.
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  version: '0'
72
72
  requirements: []
73
73
  rubyforge_project:
74
- rubygems_version: 2.6.13
74
+ rubygems_version: 2.6.14
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: Implementing the factory pattern in Ruby so you don't have to.