uuid_it 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,9 +4,10 @@ require 'rails/generators/migration'
4
4
  class UuidItGenerator < Rails::Generators::Base
5
5
  include Rails::Generators::Migration
6
6
 
7
+ source_root File.expand_path('../../../generators/uuid_it/templates', __FILE__)
8
+
7
9
  def copy_files(*args)
8
- migration_template File.join(File.dirname(__FILE__), "..", "..", "generators", "uuid_it", "templates", "create_uuids.rb"),
9
- "db/migrate/create_uuids.rb"
10
+ migration_template "create_uuids.rb", "db/migrate/create_uuids.rb"
10
11
  end
11
12
 
12
13
  def self.next_migration_number dirname
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uuid_it
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Andr\xC3\xA9 Duffeck"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-07 00:00:00 Z
18
+ date: 2012-05-31 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: " You need to assign UUIDs to your model? UuidIt makes it as simple as adding one line of code to the according models.\n"