omniauth-decidim 0.2.0 → 0.2.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: b7cb99e90b41326c6af2343960544e17e5698fa0728492ad78f8698faebf9f45
4
- data.tar.gz: ad4827ce5f1c5b5446b5c54c32ed9c57ca93f441e269a9a08990e3dbaaa08bee
3
+ metadata.gz: 17c756b689d3345f2247da69684faf3264124aa01bb6c19803ef030b7bfd8590
4
+ data.tar.gz: 6ddf0221ef9a7878b8c2a62c8500ca0a1d64a315fa1cc2acca2899fd881548cc
5
5
  SHA512:
6
- metadata.gz: e180268101724adf4e926c46dfe6cd92ccdeb2aee301b7aaed8fe6a7774663111b854d46f9b2a0afae6fbeffdddbc73903a40b7e54201b60c039221fba1979e3
7
- data.tar.gz: 03a279b6109bab4aaa97e80623b73e6b91959b77f4e0f374a20ce518e7fc933342bbf159fad9e8355e932c039d863c448e8b5a99fe157e057a8ecf04a46328ea
6
+ metadata.gz: f4e085bb7e70fd407478eacabe10262a34120caef98b0311a0402579c88c8426111ec569b10af5d67b1bc521c6760d363bec364b89bac9f730780b854a5edfb7
7
+ data.tar.gz: 339cc5747cf2ca1583019cff85c61d1473c122c0e70c0df1087ff9d668581ab3a3d3828090e9b745e900287d933375794a521515ddc507c5bce39eb9a77c3ba6
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-decidim (0.2.0)
5
- omniauth (~> 1.5)
4
+ omniauth-decidim (0.2.1)
5
+ omniauth (~> 2.0)
6
6
  omniauth-oauth2 (>= 1.4.0, < 2.0)
7
7
 
8
8
  GEM
@@ -40,13 +40,16 @@ GEM
40
40
  multi_json (~> 1.3)
41
41
  multi_xml (~> 0.5)
42
42
  rack (>= 1.2, < 3)
43
- omniauth (1.9.1)
43
+ omniauth (2.0.4)
44
44
  hashie (>= 3.4.6)
45
45
  rack (>= 1.6.2, < 3)
46
+ rack-protection
46
47
  omniauth-oauth2 (1.7.2)
47
48
  oauth2 (~> 1.4)
48
49
  omniauth (>= 1.9, < 3)
49
50
  rack (2.2.3)
51
+ rack-protection (2.1.0)
52
+ rack
50
53
  rack-test (1.1.0)
51
54
  rack (>= 1.0, < 3)
52
55
  rake (10.5.0)
data/README.md CHANGED
@@ -7,22 +7,13 @@ This is the [Decidim](https://github.com/decidim/decim) strategy for OmniAuth. I
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'omniauth-decidim'
10
+ gem 'omniauth-decidim', git: 'https://github.com/decidim/omniauth-decidim'
11
11
  ```
12
12
 
13
13
  And then execute:
14
14
 
15
15
  $ bundle
16
16
 
17
- ## Version compatiblity
18
-
19
- Depending in which Decidim version it's being used in the application is necessary to use differents versions of omniauth-decidim for compatibility reasons.
20
-
21
- |omniauth-decidim version | decidim version |
22
- |-------------------------|-----------------|
23
- | 0.1 | < 0.25.2 |
24
- | 0.2 | >= 0.25.2 |
25
-
26
17
  ## Usage
27
18
 
28
19
  ### Configure the Decidim application which acts as the OAuth provider
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Omniauth
4
4
  module Decidim
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
7
7
  end
@@ -38,7 +38,7 @@ module OmniAuth
38
38
 
39
39
  # https://github.com/intridea/omniauth-oauth2/issues/81
40
40
  def callback_url
41
- full_host + script_name + callback_path
41
+ full_host + callback_path
42
42
  end
43
43
  end
44
44
  end
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
25
 
26
- spec.add_dependency "omniauth", "~> 1.5"
26
+ spec.add_dependency "omniauth", "~> 2.0"
27
27
  spec.add_dependency "omniauth-oauth2", ">= 1.4.0", "< 2.0"
28
28
  spec.add_development_dependency "bundler", "~> 2.2"
29
29
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-decidim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oriol Gual
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.5'
19
+ version: '2.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
- version: '1.5'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: omniauth-oauth2
29
29
  requirement: !ruby/object:Gem::Requirement