omniauth-multiprovider 0.2.2 → 0.3.0

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: cd47d513a8e2914c5cdd303f2ba17f8f7a2aa109
4
- data.tar.gz: 45fbf0f9467c9e3838d816c789a896737a6ffe5e
3
+ metadata.gz: 944cc7eedafcfd8b973e39fdf91e675913cfdad5
4
+ data.tar.gz: 9ee05d2730a1acace2af93c4b5177d0b09ae6096
5
5
  SHA512:
6
- metadata.gz: f36ee885d41d6a4a30466225b55adbf3b24a1f199ca815eb89856146702b56a3174fd8ee2315361bd02cc953b73cb6a6bc3f1452985a206614148944bef354d9
7
- data.tar.gz: 1fb4ce5b3de1f7e52acc7f098ee36f4f599e9409b61a0bc16f361956abd26c0ce8c92ce27d0a7a580b48a7161db5be35c0c17f7afce9a05c4b43de365e27e03f
6
+ metadata.gz: e72cf11df7a419c39c248627b298391c5f7e0b7a726de593b21c353d1b2ebeebb8dd610f2549081b4b2fdd45c5d32f0a00ac015010f767bd78203e43b92e125e
7
+ data.tar.gz: 114f8ac72f34755ce3f42f51af9bc9a99205b31f40fbb35eaeea806faa8642f9feaa93a2d64ebadf4ca12e261420835a430a80025291fb0c31ea41d97751f79c
data/README.md CHANGED
@@ -52,6 +52,7 @@ The change method should contain something like:
52
52
  t.string :uid, null: false
53
53
  t.string :provider, null: false
54
54
  t.string :access_token
55
+ t.string :access_token_secret
55
56
  t.string :permissions
56
57
  t.timestamps
57
58
  end
@@ -8,6 +8,7 @@ class Authentication < ActiveRecord::Base
8
8
  auth = normalize(omniauth_data)
9
9
  authentication = self.find_or_create(auth)
10
10
  authentication.access_token = auth.credentials.token
11
+ authentication.access_token_secret = auth.credentials.secret
11
12
  authentication.resource = resource
12
13
  resource.save(validate: false)
13
14
  authentication.save
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module MultiProvider
3
- VERSION = '0.2.2'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-multiprovider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - German Del Zotto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-26 00:00:00.000000000 Z
11
+ date: 2015-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise