omniauth-bootic 0.0.3 → 0.0.4

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: ce4de8d97deae116fadba5fac0e1920c9ff80475
4
- data.tar.gz: 9cbc58ccfa03385516c36c34b2c243979b728bd1
3
+ metadata.gz: 8f99fa06b9206502c03ae2797c02bbfbbcebf6b6
4
+ data.tar.gz: bcffe508fa1d4f9d34eb8be2630a72dd57bea4b7
5
5
  SHA512:
6
- metadata.gz: 774609b1e35d6e18c97aa2465a1f5b9986ef43a470e94f1ffb6b9b4541587f14684b30c25c6d7b02ecd3907e056dc3224c64c0993e313e25d71fde9b005fd694
7
- data.tar.gz: e8c56b941b7b9bcb47c93f5bc0a76812e91341ded0ab26f4d20a51dbae4ce2d55a28de34dda3874811795518c644d3acb1a2387d880d4916ca39a534555b1a11
6
+ metadata.gz: 77f2ae5acebab07f6e61be98ac279c748aaca6e8ee3b62ee1be5a839744e6290fef7736499dd84c109104d6ac85367d24cd16ca5b0b247ac077e7ab50089cfdd
7
+ data.tar.gz: 6d11c67d44c769779ff599e7bde5f9dba2b1c05bef14e1e2b3a3f1151336d2046e7d41fde26ff0131727af8277e67bb9f635f3eb4bf069270706d89ec8c4f04e
data/README.md CHANGED
@@ -18,7 +18,7 @@ Bootic's API lets you set scopes to provide granular access to your Bootic data:
18
18
 
19
19
  ```ruby
20
20
  use OmniAuth::Builder do
21
- provider :bootic, ENV['BOOTIC_KEY'], ENV['BOOTIC_SECRET'], scope: 'public,administrador,offline'
21
+ provider :bootic, ENV['BOOTIC_KEY'], ENV['BOOTIC_SECRET'], scope: 'public,admin'
22
22
  end
23
23
  ```
24
24
 
@@ -9,7 +9,7 @@ module OmniAuth
9
9
 
10
10
  # Give your strategy a name.
11
11
  option :name, "Bootic"
12
- option :provider_ignores_state, true
12
+ option :provider_ignores_state, false
13
13
 
14
14
  # This is where you pass the options you would pass when
15
15
  # initializing your consumer from the OAuth gem.
@@ -19,10 +19,6 @@ module OmniAuth
19
19
  token_url: "#{BOOTIC_AUTH_URL}/oauth/token"
20
20
  }
21
21
 
22
- def request_phase
23
- super
24
- end
25
-
26
22
  def authorize_params
27
23
  if request.params['scope']
28
24
  super.merge({scope: request.params['scope']})
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Bootic
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-bootic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ismael Celis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-17 00:00:00.000000000 Z
11
+ date: 2017-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: omniauth-oauth2
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '2.7'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.7'
55
55
  description: Official Omniauth strategy for Bootic apps
@@ -59,7 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
62
+ - ".gitignore"
63
63
  - Gemfile
64
64
  - README.md
65
65
  - Rakefile
@@ -78,17 +78,17 @@ require_paths:
78
78
  - lib
79
79
  required_ruby_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - '>='
86
+ - - ">="
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
90
  rubyforge_project: omniauth-bootic
91
- rubygems_version: 2.0.3
91
+ rubygems_version: 2.5.1
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: Official Omniauth strategy for Bootic apps