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: e41323956c24154d3024f6caa314be487025a13c
4
- data.tar.gz: a63514f5fe406d4cec169eec5cbfa711e930afba
3
+ metadata.gz: 731b83429338d7d90464a431ac652f52f97b559f
4
+ data.tar.gz: 918b89b16ad0c94eb8323d6e981099d59ca4c947
5
5
  SHA512:
6
- metadata.gz: f21d91da64b4172cd80b2389cd7fb714d8a1a9bdde452a51e3321c19152d3cf01ed95c551067b4eee70a000b35c11f534db083c928c0ad9257ff5f6cce6ff15a
7
- data.tar.gz: f01add0181b293c748551c877e005085544af006a38cda58652784b1154470bd2aaf63a309e56ce49267a06e6d9bb0485360d2b2407613fe9a34c1ef8df4e9c8
6
+ metadata.gz: f365e90d335925009bac201ef8cbbb8d81984c32a4a4d8e23f37e55270e721d129922cfcd56788dc4d9c7e68784145eeace4fe6b3ddee0490a031602501f9435
7
+ data.tar.gz: 4627f95a516d93a265d7a0a6a1ca05c6a08f213d9bcc27527a6591f0da6dc119ac5ad5876e063945de074c08fcbfe473b0fe771f9b6b3d8f94eb655f118d8c3f
@@ -1,3 +1,3 @@
1
1
  module Domp
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
@@ -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 :user_id, :authentication_provider_id, :uid, :token, :token_expires_at, :params
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 %>_authentications_on_user_id"
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.3
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-06-30 00:00:00.000000000 Z
11
+ date: 2013-07-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Devise Omniauth Multiple Providers
14
14
  email: