mack-data_factory 0.8.0.101 → 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.
Files changed (2) hide show
  1. data/lib/mack-data_factory.rb +6 -0
  2. metadata +2 -2
@@ -16,4 +16,10 @@ end
16
16
 
17
17
  [:active_record, :data_mapper, :default].each do |f|
18
18
  require File.join(fl, 'mack-data_factory', 'orm_api_bridge', 'orm', "#{f}.rb")
19
+ end
20
+
21
+ Mack::Environment.after_class_method(:load) do
22
+ Dir.glob(Mack::Paths.test("factories", "**/*.rb")).each do |f|
23
+ require File.expand_path(f)
24
+ end
19
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mack-data_factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0.101
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darsono Sutedja
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-11 00:00:00 -04:00
12
+ date: 2008-10-26 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency