mack-data_factory 0.8.0.101 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mack-data_factory.rb +6 -0
- metadata +2 -2
data/lib/mack-data_factory.rb
CHANGED
@@ -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.
|
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-
|
12
|
+
date: 2008-10-26 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|