devise_uid 0.0.4 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/devise_uid/version.rb +1 -1
- data/lib/generators/active_record/templates/migration.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 058c3258c785293acad1de28943388ecd84ec83d
|
4
|
+
data.tar.gz: 98fee773b724802f4a1107ce7edddbe37d373ca7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 131bbd9f6f87443fb8a8516a6727f4e5b57e3dcb74e13928134c4c39a00360dc8a1a56eb4d2001f9a358af8c789ba406b42fe6b67792220d6dbf76b9305c156d
|
7
|
+
data.tar.gz: 02b3a0b3f336bcd85460bb1f1aacaa9f4f71a83aafe9da12f949d1011b109996c66a0a566c9515d559b0d9e8e0ad868159ecbec965c71f094e24ae78909121e9
|
data/lib/devise_uid/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
class DeviseUidAddTo<%= table_name.camelize %> < ActiveRecord::Migration
|
2
2
|
def change
|
3
|
-
add_column
|
4
|
-
add_index
|
3
|
+
add_column :<%= table_name %>, :uid, :string
|
4
|
+
add_index :<%= table_name %>, :uid, :unique => true
|
5
5
|
end
|
6
6
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_uid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jingwen Owen Ou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|