omniauth-boletosimples 0.0.8 → 0.0.9

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
- SHA1:
3
- metadata.gz: 9df88addaa8678a6b229dedfe92f141021518c69
4
- data.tar.gz: 9530460c64c8cd2504502519d67eaacdb51f5982
2
+ SHA256:
3
+ metadata.gz: 4cb401f88cad09689c2b5499482999e236065d8bb8278494acc6ef4f482ab266
4
+ data.tar.gz: 6a522bd6a9bcca95c5f59ff5055398e835c6d70b77ec461d7b05bd5e794e2018
5
5
  SHA512:
6
- metadata.gz: 307a95405f0d970ec567b612e6ca991c4d592e15dbc5e96c59e1c644d8a4e64c30e242ebe98e94d75b152ee8013e1e6f069ae6097b382812e1d37692df0e8fd4
7
- data.tar.gz: 6898ace3d2b7a05a1dfac8dce23d04d0265ef6521c1c8c12a1ab8a27b528c38ef526e3abf68c90cff0359afd9a087605d7a353fb31389a4604ebe16049335d3d
6
+ metadata.gz: fd6930fda3956c619c3b53299244e32238262332acbe79da9bf385260bf4f25d3905c74bb62232c436abc835e744c47c3903d910d58a733f33ddfb691758c68e
7
+ data.tar.gz: 5d9fd123dc24705966541b7e3d243cd2c9ee31e0a46c74c19ccfec8e08f98e9968b1ce1fd274192bab22b181b5e9cf8ca78471f28c3b0392fb743b0ebae17f9f
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.3.1
1
+ 2.5.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-boletosimples (0.0.8)
4
+ omniauth-boletosimples (0.0.9)
5
5
  omniauth-oauth2 (~> 1.4.0)
6
6
 
7
7
  GEM
@@ -10,10 +10,10 @@ GEM
10
10
  diff-lcs (1.3)
11
11
  faraday (0.12.2)
12
12
  multipart-post (>= 1.2, < 3)
13
- hashie (3.5.6)
13
+ hashie (3.5.7)
14
14
  json (2.1.0)
15
15
  jwt (1.5.6)
16
- multi_json (1.12.1)
16
+ multi_json (1.13.1)
17
17
  multi_xml (0.6.0)
18
18
  multipart-post (2.0.0)
19
19
  oauth2 (1.4.0)
@@ -22,27 +22,27 @@ GEM
22
22
  multi_json (~> 1.3)
23
23
  multi_xml (~> 0.5)
24
24
  rack (>= 1.2, < 3)
25
- omniauth (1.6.1)
25
+ omniauth (1.8.1)
26
26
  hashie (>= 3.4.6, < 3.6.0)
27
27
  rack (>= 1.6.2, < 3)
28
28
  omniauth-oauth2 (1.4.0)
29
29
  oauth2 (~> 1.0)
30
30
  omniauth (~> 1.2)
31
31
  rack (2.0.3)
32
- rake (12.0.0)
33
- rspec (3.6.0)
34
- rspec-core (~> 3.6.0)
35
- rspec-expectations (~> 3.6.0)
36
- rspec-mocks (~> 3.6.0)
37
- rspec-core (3.6.0)
38
- rspec-support (~> 3.6.0)
39
- rspec-expectations (3.6.0)
32
+ rake (12.3.0)
33
+ rspec (3.7.0)
34
+ rspec-core (~> 3.7.0)
35
+ rspec-expectations (~> 3.7.0)
36
+ rspec-mocks (~> 3.7.0)
37
+ rspec-core (3.7.1)
38
+ rspec-support (~> 3.7.0)
39
+ rspec-expectations (3.7.0)
40
40
  diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.6.0)
42
- rspec-mocks (3.6.0)
41
+ rspec-support (~> 3.7.0)
42
+ rspec-mocks (3.7.0)
43
43
  diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.6.0)
45
- rspec-support (3.6.0)
44
+ rspec-support (~> 3.7.0)
45
+ rspec-support (3.7.0)
46
46
 
47
47
  PLATFORMS
48
48
  ruby
@@ -54,4 +54,4 @@ DEPENDENCIES
54
54
  rspec
55
55
 
56
56
  BUNDLED WITH
57
- 1.15.3
57
+ 1.16.1
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module BoletoSimples
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
@@ -68,6 +68,10 @@ module OmniAuth
68
68
  @raw_info ||= load_identity
69
69
  end
70
70
 
71
+ def callback_url
72
+ options[:redirect_uri] || (full_host + script_name + callback_path)
73
+ end
74
+
71
75
  def authorize_params
72
76
  super.tap do |params|
73
77
  params[:scope] ||= DEFAULT_SCOPE
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-boletosimples
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael Lima
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-17 00:00:00.000000000 Z
12
+ date: 2018-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth-oauth2
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  requirements: []
101
101
  rubyforge_project:
102
- rubygems_version: 2.5.1
102
+ rubygems_version: 2.7.3
103
103
  signing_key:
104
104
  specification_version: 4
105
105
  summary: BoletoSimples strategy for OmniAuth