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 +4 -4
- data/Gemfile.lock +6 -3
- data/README.md +1 -10
- data/lib/omniauth/decidim/version.rb +1 -1
- data/lib/omniauth/strategies/decidim.rb +1 -1
- data/omniauth-decidim.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17c756b689d3345f2247da69684faf3264124aa01bb6c19803ef030b7bfd8590
|
4
|
+
data.tar.gz: 6ddf0221ef9a7878b8c2a62c8500ca0a1d64a315fa1cc2acca2899fd881548cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
5
|
-
omniauth (~>
|
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 (
|
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
|
data/omniauth-decidim.gemspec
CHANGED
@@ -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", "~>
|
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.
|
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: '
|
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: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: omniauth-oauth2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|