trucker 0.2.0 → 0.3.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 +6 -1
- data/VERSION.yml +1 -1
- metadata +4 -4
data/README.rdoc
CHANGED
|
@@ -110,7 +110,7 @@ Trucker supports a few command line options when migrating records:
|
|
|
110
110
|
|
|
111
111
|
== Custom migration labels
|
|
112
112
|
|
|
113
|
-
You can tweak the default migration output generated by Trucker by using the :label option
|
|
113
|
+
You can tweak the default migration output generated by Trucker by using the :label option.
|
|
114
114
|
|
|
115
115
|
rake db:migrate:posts
|
|
116
116
|
=> Migrating posts
|
|
@@ -203,6 +203,11 @@ As an example, here's a custom helper used to migrate join tables on a bunch of
|
|
|
203
203
|
end
|
|
204
204
|
|
|
205
205
|
|
|
206
|
+
== Sample application
|
|
207
|
+
|
|
208
|
+
Check out the {Trucker sample app}[http://github.com/mokolabs/trucker_sample_app] for a working example of Trucker-based legacy data migration.
|
|
209
|
+
|
|
210
|
+
|
|
206
211
|
== Background
|
|
207
212
|
|
|
208
213
|
Trucker is based on a migration technique using legacy models first pioneered by Dave Thomas:
|
data/VERSION.yml
CHANGED
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:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
8
|
+
- 3
|
|
9
9
|
- 0
|
|
10
|
-
version: 0.
|
|
10
|
+
version: 0.3.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-
|
|
18
|
+
date: 2010-07-17 00:00:00 -05:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|