trucker 0.4.1 → 0.5.0

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.
data/README.rdoc CHANGED
@@ -21,7 +21,7 @@ Trucker is a gem that helps migrate legacy data into a Rails app.
21
21
  * Add legacy adapter to database.yml
22
22
  * Add legacy base class
23
23
  * Add legacy sub classes for all existing models
24
- * Add app/models/legacy to load path in Rails Initializer config block
24
+ * Add app/models/legacy to autoload_paths in Rails Initializer config block
25
25
  * Generate sample migration task (using pluralized model names)
26
26
 
27
27
  4. Update the legacy database adapter in <em>database.yml</em> with your legacy database info
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :minor: 4
2
+ :minor: 5
3
3
  :build:
4
- :patch: 1
4
+ :patch: 0
5
5
  :major: 0
@@ -27,7 +27,7 @@ EOS
27
27
 
28
28
  m.append "config/database.yml", snippet
29
29
 
30
- snippet = 'config.load_paths += %W( #{RAILS_ROOT}/app/models/legacy )'
30
+ snippet = 'config.autoload_paths += %W( #{RAILS_ROOT}/app/models/legacy )'
31
31
  m.insert_after "config/environment.rb", snippet, '^Rails::Initializer\.run do.+$'
32
32
 
33
33
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trucker
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 4
9
- - 1
10
- version: 0.4.1
8
+ - 5
9
+ - 0
10
+ version: 0.5.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Patrick Crowley and Rob Kaufman
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-21 00:00:00 -07:00
18
+ date: 2010-09-09 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency