fabrication 2.9.7 → 2.9.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f3a4124f8a18c1d6f72be52b264ce79ee21664d
4
- data.tar.gz: b676ba9ffbef5fff3bfbd2665a2d1730bb720e58
3
+ metadata.gz: fe7f9d8e73dc89c93bfef3a396ba4ac7e5f8cdf7
4
+ data.tar.gz: e2bf0994300ca75c8cbaf2cc235256f63aa561b8
5
5
  SHA512:
6
- metadata.gz: 2bc65b35267c9c5cfb4f7ca8963a4ce96d9a4299720f949ef6c188e143057a4290e667623c77e1c723387be5b20fc61a7742b686336aeb4fda5d0bc447e7ee74
7
- data.tar.gz: c61fd7e86e7af75fa4b8ac6d82f61293510032a7c8b18c5ac9bed81ab4a9a2a6ab19ea154b8484ee916df135cc6ecdd4e129a6b690d303b1ec24793a58ba9622
6
+ metadata.gz: b829a8b42f44fe41f4c1f544c7839e0c7b18ed4de6a6b6c47f77ea6a444085e6f0af1d7897557e0075babadf4583de8ee7f0ad43a9fec62f3d9c66feb5f8ab98
7
+ data.tar.gz: 784c0956e2fda65b4e87c517b443468b789ee16f743e6640808d372f3043a4af100db9b53c52b6881bb55ae7d2fbc6f5055edf0fc4af3576b2bee6c0ec2a823d
data/lib/fabrication.rb CHANGED
@@ -1,6 +1,9 @@
1
1
  autoload :Fabricate, 'fabricate'
2
2
 
3
- Dir[File.join(File.dirname(__FILE__),'tasks/*.rake')].each { |f| load f } if defined?(Rake)
3
+ if defined?(Rake)
4
+ require 'rake'
5
+ Dir[File.join(File.dirname(__FILE__), 'tasks', '**/*.rake')].each { |rake| load rake }
6
+ end
4
7
 
5
8
  module Fabrication
6
9
  autoload :DuplicateFabricatorError, 'fabrication/errors/duplicate_fabricator_error'
@@ -1,3 +1,3 @@
1
1
  module Fabrication
2
- VERSION = '2.9.7'
2
+ VERSION = '2.9.8'
3
3
  end
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.9.7
4
+ version: 2.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Elliott
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-04 00:00:00.000000000 Z
11
+ date: 2014-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord