fabrication 2.16.1 → 2.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fabrication.rb +1 -1
- data/lib/fabrication/generator/sequel.rb +1 -1
- data/lib/fabrication/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38fb5cd3bc0dca8fecc6df1dfe271b0d6bc0d77a
|
4
|
+
data.tar.gz: 430eef3d2830c27b716b7d3d0cc52c14d455974d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb5fc849d4efdfe678ea3e94e4f06647acd96f45058af40b2dc7f4422497e9402490d531d334b7bb822c9ca996557dd4769fa47c6e85ce3370f2c5c13cef7bb8
|
7
|
+
data.tar.gz: bc98ee62ec3209351661a668e910225886c822260ed6bc70d59f405fcc548a5697e08559b67c5d625592717bab8cdf22d47584a1ca00ff05ccd697a485ebdbb7
|
data/lib/fabrication.rb
CHANGED
@@ -29,7 +29,7 @@ class Fabrication::Generator::Sequel < Fabrication::Generator::Base
|
|
29
29
|
private
|
30
30
|
|
31
31
|
def load_instance_hooks
|
32
|
-
klass = _klass.respond_to?(:cti_base_model) ? _klass.
|
32
|
+
klass = _klass.respond_to?(:cti_base_model) ? _klass.cti_models.first : _klass
|
33
33
|
klass.plugin :instance_hooks unless klass.new.respond_to? :after_save_hook
|
34
34
|
end
|
35
35
|
|
data/lib/fabrication/version.rb
CHANGED
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.16.
|
4
|
+
version: 2.16.2
|
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-
|
11
|
+
date: 2017-07-29 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.
|