Permalink
Browse files

Don't blow up when fabrication not present

  • Loading branch information...
1 parent dd274d1 commit a258d5f2a2b0a65f392740ad8a252a6317c2bbd8 @ianwhite committed Sep 19, 2011
Showing with 10 additions and 2 deletions.
  1. +1 −1 Gemfile.lock.development
  2. +6 −0 History.txt
  3. +2 −0 lib/pickle/adapter.rb
  4. +1 −1 lib/pickle/version.rb
View
2 Gemfile.lock.development
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- pickle (0.4.9)
+ pickle (0.4.10)
cucumber (>= 0.8)
rake
View
6 History.txt
@@ -1,3 +1,9 @@
+== 0.4.10
+
+* 1 bugfix
+ * Don't blow up when fabrication not present [Ian White]
+
+
== 0.4.9
* 1 major improvement
View
2 lib/pickle/adapter.rb
@@ -138,6 +138,8 @@ def self.factories
if defined? ::Fabrication
::Fabrication::Support.find_definitions if ::Fabrication::Fabricator.schematics.empty?
::Fabrication::Fabricator.schematics.collect{|v| new(v)}
+ else
+ []
end
end
View
2 lib/pickle/version.rb
@@ -1,3 +1,3 @@
module Pickle
- VERSION = "0.4.9"
+ VERSION = "0.4.10"
end

0 comments on commit a258d5f

Please sign in to comment.