trucker 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +2 -2
  2. data/lib/trucker.rb +2 -2
  3. metadata +4 -4
@@ -1,5 +1,5 @@
1
1
  ---
2
- :minor: 5
2
+ :patch: 1
3
3
  :build:
4
- :patch: 0
5
4
  :major: 0
5
+ :minor: 5
@@ -7,7 +7,7 @@ module Trucker
7
7
  unless options[:helper]
8
8
 
9
9
  # Grab model to migrate
10
- model = name.to_s.singularize.capitalize
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: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
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-09 00:00:00 -07:00
18
+ date: 2010-09-29 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency