omniauth-barong-oauth2 1.0.0 → 1.0.1

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
  SHA256:
3
- metadata.gz: 1d0e7124b82ace5611a512f57e375b9b6a069ea7ea1380a8ef5fd7faaad1e085
4
- data.tar.gz: 993427163311e1297209e35ed1cf58db577c37fbab7ef25ffd5488202c965a49
3
+ metadata.gz: 9e8b28d6d0d192fd7134a3b09e1809c3b42cf0ccbc92d435a633ba4c7d668713
4
+ data.tar.gz: 956ee00fd0b31ab8afd3709cfa45c5612bacb79c41f12b6faba35558673de91a
5
5
  SHA512:
6
- metadata.gz: 3be2369d1c9092afa48af25a218c8c279ba67381c7eb64295f3a2fb504d93e1c0736b19f91db993be639ce0af60c1a3bb9b8ce7c88a5014fc764f6985c235835
7
- data.tar.gz: aa3bf6a7878c020169ff9517f1016f8080ea4acdd8dc552d9bf162770b59bebf53b9a9ea8af06cb0ccf7e86886ea51c64b5ae92f937066f12707b999b6ab679b
6
+ metadata.gz: e90472fbe349eee7fbe24814bc49b17cb7f13e0f6a3ed786a9c4f78f9863a83318cfcf7cdf2bc496c10bf6614b73a614a9d4000f3cf08089aaed3cd2c29f5c74
7
+ data.tar.gz: 9486667443a803b4b0defd79e076cf7f536e809b7412d50d099cf71d456c8d990ec35ab2649d161cf0c1ab48a7c9f3d253cd0de9e0580226c1520983eb54e68e
data/Gemfile.lock CHANGED
@@ -1,16 +1,26 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-barong-oauth2 (1.0.0)
4
+ omniauth-barong-oauth2 (1.0.1)
5
+ activesupport (>= 4.0, < 6.0)
5
6
  omniauth-oauth2 (~> 1.5)
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
9
10
  specs:
11
+ activesupport (5.2.1)
12
+ concurrent-ruby (~> 1.0, >= 1.0.2)
13
+ i18n (>= 0.7, < 2)
14
+ minitest (~> 5.1)
15
+ tzinfo (~> 1.1)
16
+ concurrent-ruby (1.0.5)
10
17
  faraday (0.12.2)
11
18
  multipart-post (>= 1.2, < 3)
12
19
  hashie (3.5.7)
20
+ i18n (1.1.0)
21
+ concurrent-ruby (~> 1.0)
13
22
  jwt (1.5.6)
23
+ minitest (5.11.3)
14
24
  multi_json (1.13.1)
15
25
  multi_xml (0.6.0)
16
26
  multipart-post (2.0.0)
@@ -27,6 +37,9 @@ GEM
27
37
  oauth2 (~> 1.1)
28
38
  omniauth (~> 1.2)
29
39
  rack (2.0.5)
40
+ thread_safe (0.3.6)
41
+ tzinfo (1.2.5)
42
+ thread_safe (~> 0.1)
30
43
 
31
44
  PLATFORMS
32
45
  ruby
@@ -3,6 +3,7 @@
3
3
 
4
4
  require "omniauth-oauth2"
5
5
  require "uri"
6
+ require "active_support/core_ext/object/deep_dup"
6
7
 
7
8
  module OmniAuth::Strategies
8
9
  class Barong < OAuth2
@@ -23,6 +24,8 @@ module OmniAuth::Strategies
23
24
 
24
25
  uid { account.fetch("uid") }
25
26
 
27
+ info { account.deep_dup }
28
+
26
29
  def account
27
30
  @account ||= access_token.get(URI.join(root_url, options.account_path).to_s).parsed
28
31
  end
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module OmniAuthBarongOAuth2
5
- VERSION = "1.0.0"
5
+ VERSION = "1.0.1"
6
6
  end
@@ -17,5 +17,6 @@ Gem::Specification.new do |s|
17
17
  s.require_paths = ["lib"]
18
18
 
19
19
  s.add_dependency "omniauth-oauth2", "~> 1.5"
20
+ s.add_dependency "activesupport", ">= 4.0", "< 6.0"
20
21
  s.add_development_dependency "bundler", "~> 1.7"
21
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-barong-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Konoplov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-29 00:00:00.000000000 Z
11
+ date: 2018-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -24,6 +24,26 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '4.0'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '6.0'
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '4.0'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '6.0'
27
47
  - !ruby/object:Gem::Dependency
28
48
  name: bundler
29
49
  requirement: !ruby/object:Gem::Requirement