fabrication 0.8.0 → 0.8.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.
- data/README.markdown +2 -1
- data/lib/fabrication.rb +3 -2
- data/lib/fabrication/errors/duplicate_fabricator_error.rb +1 -0
- data/lib/fabrication/errors/unfabricatable_error.rb +1 -0
- data/lib/fabrication/errors/unknown_fabricator_error.rb +1 -0
- data/lib/fabrication/version.rb +1 -1
- metadata +6 -4
- data/lib/fabrication/errors.rb +0 -9
data/README.markdown
CHANGED
data/lib/fabrication.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
module Fabrication
|
2
2
|
|
3
|
-
autoload :DuplicateFabricatorError, 'fabrication/errors'
|
4
|
-
autoload :UnfabricatableError, 'fabrication/errors'
|
3
|
+
autoload :DuplicateFabricatorError, 'fabrication/errors/duplicate_fabricator_error'
|
4
|
+
autoload :UnfabricatableError, 'fabrication/errors/unfabricatable_error'
|
5
|
+
autoload :UnknownFabricatorError, 'fabrication/errors/unknown_fabricator_error'
|
5
6
|
|
6
7
|
autoload :Attribute, 'fabrication/attribute'
|
7
8
|
autoload :Fabricator, 'fabrication/fabricator'
|
@@ -0,0 +1 @@
|
|
1
|
+
class Fabrication::DuplicateFabricatorError < StandardError; end
|
@@ -0,0 +1 @@
|
|
1
|
+
class Fabrication::UnfabricatableError < StandardError; end
|
@@ -0,0 +1 @@
|
|
1
|
+
class Fabrication::UnknownFabricatorError < StandardError; end
|
data/lib/fabrication/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 8
|
8
|
-
-
|
9
|
-
version: 0.8.
|
8
|
+
- 1
|
9
|
+
version: 0.8.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Paul Elliott
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-09-
|
17
|
+
date: 2010-09-14 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -122,7 +122,9 @@ extra_rdoc_files: []
|
|
122
122
|
|
123
123
|
files:
|
124
124
|
- lib/fabrication/attribute.rb
|
125
|
-
- lib/fabrication/errors.rb
|
125
|
+
- lib/fabrication/errors/duplicate_fabricator_error.rb
|
126
|
+
- lib/fabrication/errors/unfabricatable_error.rb
|
127
|
+
- lib/fabrication/errors/unknown_fabricator_error.rb
|
126
128
|
- lib/fabrication/fabricator.rb
|
127
129
|
- lib/fabrication/generator/active_record.rb
|
128
130
|
- lib/fabrication/generator/base.rb
|