hobo_fields 2.0.0.pre6 → 2.0.0.pre7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0.pre6
1
+ 2.0.0.pre7
@@ -76,12 +76,7 @@ module Generators
76
76
 
77
77
 
78
78
  def load_rails_models
79
- if defined? Rails.root
80
- Dir["#{Rails.root}/app/models/**/[a-z0-9_]*.rb"].each do |f|
81
- _, filename = *f.match(%r{/app/models/([_a-z0-9/]*).rb$})
82
- filename.camelize.constantize
83
- end
84
- end
79
+ Rails.application.eager_load!
85
80
  end
86
81
 
87
82
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hobo_fields
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre6
4
+ version: 2.0.0.pre7
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-15 00:00:00.000000000 Z
12
+ date: 2012-12-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hobo_support
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 2.0.0.pre6
21
+ version: 2.0.0.pre7
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 2.0.0.pre6
29
+ version: 2.0.0.pre7
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rubydoctest
32
32
  requirement: !ruby/object:Gem::Requirement