domp 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 731b83429338d7d90464a431ac652f52f97b559f
|
4
|
+
data.tar.gz: 918b89b16ad0c94eb8323d6e981099d59ca4c947
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f365e90d335925009bac201ef8cbbb8d81984c32a4a4d8e23f37e55270e721d129922cfcd56788dc4d9c7e68784145eeace4fe6b3ddee0490a031602501f9435
|
7
|
+
data.tar.gz: 4627f95a516d93a265d7a0a6a1ca05c6a08f213d9bcc27527a6591f0da6dc119ac5ad5876e063945de074c08fcbfe473b0fe771f9b6b3d8f94eb655f118d8c3f
|
data/lib/domp/version.rb
CHANGED
@@ -6,7 +6,7 @@ class <%= class_name %>Authentication < ActiveRecord::Base
|
|
6
6
|
serialize :params
|
7
7
|
|
8
8
|
<% if Rails::VERSION::MAJOR < 4 -%>
|
9
|
-
attr_accessible
|
9
|
+
attr_accessible "#{class_name.downcase}_id", :authentication_provider_id, :uid, :token, :token_expires_at, :params
|
10
10
|
|
11
11
|
<% end -%>
|
12
12
|
def self.create_from_omniauth(params, <%= class_name.downcase %>, provider)
|
@@ -12,7 +12,7 @@ class Create<%= class_name %>Authentications < ActiveRecord::Migration
|
|
12
12
|
t.datetime "updated_at", :null => false
|
13
13
|
end
|
14
14
|
add_index "<%= class_name.downcase %>_authentications", ["authentication_provider_id"], :name => "index_<%= class_name.downcase %>_authentications_on_authentication_provider_id"
|
15
|
-
add_index "<%= class_name.downcase %>_authentications", ["<%= class_name.downcase %>_id"], :name => "index_<%= class_name.downcase %>
|
15
|
+
add_index "<%= class_name.downcase %>_authentications", ["<%= class_name.downcase %>_id"], :name => "index_<%= class_name.downcase %>_authentications_on_<%= class_name.downcase %>_id"
|
16
16
|
end
|
17
17
|
end
|
18
18
|
<% end -%>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: domp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Zaytsev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Devise Omniauth Multiple Providers
|
14
14
|
email:
|