fabrication 2.15.1 → 2.15.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/config.rb +4 -2
- data/lib/fabrication/generator/base.rb +1 -1
- data/lib/fabrication/schematic/attribute.rb +2 -1
- data/lib/fabrication/schematic/definition.rb +4 -1
- data/lib/fabrication/schematic/manager.rb +3 -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: 7cb941babdd5a40fe72c16cda95ab718b306de5b
|
4
|
+
data.tar.gz: 94f8213b2adff827cd7cc98edbe23670e0d8e9de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5e176e536ec16dbc3fbf041e17c18cd0a5e9daffd5f84623b9b13735ea6cfc5a78b1cbcd699b0fb72caffc9b3b0acf6f9ad17a3e768fbde8fb37cc7460e5d0f
|
7
|
+
data.tar.gz: 0afddbc74e4f8771af760d74c67b8ae0487c369a4bb1cdc3449bc94aa47c2a7d15bfaf2498f8cac8359f3a4e078223f4f15b597b61293eda205753de39bf88ee
|
data/lib/fabrication/config.rb
CHANGED
@@ -27,7 +27,7 @@ module Fabrication
|
|
27
27
|
|
28
28
|
def fabricator_dir=(folders)
|
29
29
|
puts "DEPRECATION WARNING: Fabrication::Config.fabricator_dir has been replaced by Fabrication::Config.fabricator_path"
|
30
|
-
fabricator_path = folders
|
30
|
+
self.fabricator_path = folders
|
31
31
|
end
|
32
32
|
|
33
33
|
attr_writer :sequence_start
|
@@ -43,6 +43,8 @@ module Fabrication
|
|
43
43
|
alias path_prefixes path_prefix
|
44
44
|
|
45
45
|
attr_writer :register_with_steps
|
46
|
-
def register_with_steps
|
46
|
+
def register_with_steps?
|
47
|
+
@register_with_steps ||= nil
|
48
|
+
end
|
47
49
|
end
|
48
50
|
end
|
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.15.
|
4
|
+
version: 2.15.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: 2016-05-
|
11
|
+
date: 2016-05-15 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.
|