svenfuchs-devise_oauth2_authenticatable 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{svenfuchs-devise_oauth2_authenticatable}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["bhbryant"]
|
@@ -2,7 +2,7 @@ module Devise
|
|
2
2
|
class Engine
|
3
3
|
config.after_initialize do
|
4
4
|
begin
|
5
|
-
Devise::OAUTH2_CONFIG
|
5
|
+
Devise::OAUTH2_CONFIG = YAML.load_file(Rails.root.join('config', 'oauth2.yml'))[Rails.env] unless defined?(Devise::OAUTH2_CONFIG)
|
6
6
|
rescue
|
7
7
|
puts "Can't load oauth2.yml. You can generate with rails g devise:oauth2_authenticatable"
|
8
8
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: svenfuchs-devise_oauth2_authenticatable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- bhbryant
|