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 CHANGED
@@ -156,4 +156,5 @@ To run rake successfully:
156
156
  * Matt (winescout)
157
157
  * Lar Van Der Jagt (supaspoida)
158
158
  * Justin Smestad (jsmestad)
159
- * chanks
159
+ * Christopher Hanks (chanks) - Chained callbacks
160
+ * monsterlabs - Rails 3 Generators
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
@@ -1,3 +1,3 @@
1
1
  module Fabrication
2
- VERSION = '0.8.0'
2
+ VERSION = '0.8.1'
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 8
8
- - 0
9
- version: 0.8.0
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-13 00:00:00 -04:00
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
@@ -1,9 +0,0 @@
1
- module Fabrication
2
-
3
- class DuplicateFabricatorError < StandardError; end
4
-
5
- class UnfabricatableError < StandardError; end
6
-
7
- class UnknownFabricatorError < StandardError; end
8
-
9
- end