omniauth-vkontakte 1.3.5 → 1.3.6

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: d0c199e114dec8304976f1b104aea9196126c233
4
- data.tar.gz: a05592290150b668bb891f053f99bfaed86d7842
3
+ metadata.gz: 79997d8ef6bc7d287e6e508de3cfcdaf9624f77c
4
+ data.tar.gz: abf92173017bfcd7f6ca215f430787362566fe2c
5
5
  SHA512:
6
- metadata.gz: 490eaf357f29db3839296fa7bf45e0de041dc3aeb834fbee6ae1ab090c692b7e3ee4e96ad5c59a8149028d019a036b48faf5cb91a5abdc4fea4a58494186e735
7
- data.tar.gz: a3c0f003d55223cd6e2d77eb261f7b5988109e83f10076ba65dffa55db56daa5321706d4881f4d5b2d2ac13b0ef6b47d8be055a3b877a629ace7d867222f5dee
6
+ metadata.gz: de6e4aeee44d6843c38b4608fa7e1363bd413ab1d99d3e3bc7a107620e4e3b89e288a323529c9e4a44b9fcf21549c7e96fbfbe5b21cf3b374462059301450ad6
7
+ data.tar.gz: 1ad929240913e3af7e9e9ecd1b5f6beb033d9eb9757c0cba34bae6e1acae5f9731e7ea31142b450c9c8ae062a220ec62933a293374a62bf8885251dfa58c4eab
data/README.md CHANGED
@@ -21,6 +21,7 @@ You can configure several options, which you pass in to the `provider` method vi
21
21
  * `image_size`: defines the size of the user's image. Valid options include `mini`(50x50), `bigger`(100x100), `bigger_x2`(200x200), `original`(200x*) and `original_x2`(400x*). Default is `mini`.
22
22
  * `info_fields`: specify which fields should be added to AuthHash when
23
23
  getting the user's info. Value should be a comma-separated string as per http://vk.com/dev/fields.
24
+ * `redirect_url`: URL where code will be passed. This URL shall be a part of the domain specified in application settings http://vk.com/dev/auth_sites.
24
25
 
25
26
  Here's an example of a possible configuration:
26
27
 
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Vkontakte
3
- VERSION = "1.3.5"
3
+ VERSION = "1.3.6"
4
4
  end
5
5
  end
@@ -97,7 +97,7 @@ module OmniAuth
97
97
  private
98
98
 
99
99
  def callback_url
100
- options.redirect_url || super
100
+ options.redirect_url || (full_host + script_name + callback_path)
101
101
  end
102
102
 
103
103
  def info_options
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-vkontakte
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.5
4
+ version: 1.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Maminov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-03 00:00:00.000000000 Z
11
+ date: 2015-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth