trucker 0.5.0 → 0.5.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.
- data/VERSION.yml +2 -2
- data/lib/trucker.rb +2 -2
- metadata +4 -4
data/VERSION.yml
CHANGED
data/lib/trucker.rb
CHANGED
|
@@ -7,7 +7,7 @@ module Trucker
|
|
|
7
7
|
unless options[:helper]
|
|
8
8
|
|
|
9
9
|
# Grab model to migrate
|
|
10
|
-
model = name.to_s.
|
|
10
|
+
model = name.to_s.classify
|
|
11
11
|
|
|
12
12
|
# Wipe out existing records
|
|
13
13
|
model.constantize.delete_all
|
|
@@ -47,4 +47,4 @@ module Trucker
|
|
|
47
47
|
nil || ENV['offset'].to_i if ENV['offset'].to_i > 0
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
end
|
|
50
|
+
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:
|
|
4
|
+
hash: 9
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 0.5.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.5.1
|
|
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-09-
|
|
18
|
+
date: 2010-09-29 00:00:00 -07:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|