omniauth-gov 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +24 -0
- data/.gitignore +20 -0
- data/.rspec +1 -0
- data/Gemfile +13 -0
- data/Guardfile +10 -0
- data/README.md +1 -3
- data/Rakefile +8 -0
- data/lib/omniauth-gov/version.rb +1 -1
- data/omniauth-gov.gemspec +26 -0
- metadata +18 -29
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8325c0101ce21a755e3c380a1c2ce225c8d08f3bb50a4f2e916a99bdd58c8806
|
|
4
|
+
data.tar.gz: b9a6cbfbb3910f487d981e8f254db5a02e24e5342e5aaf90e971d6718264ecaf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90107ceeee915ade2abd57738ad3e2aaab87da1ee6a95b17e055268789857875c599e18f90e4c0764b052afc6265237b4708e62491ae730b680dfe9ba1898f3a
|
|
7
|
+
data.tar.gz: 26536ae23866e074ce243110375adc42be2629952fbb9079a18843003f024ef3e291d88f755e2bc771c60d8bd6e2eb944624792d4ce5e56d08cd80103aec9ed9
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: Ruby
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ main ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ main ]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
strategy:
|
|
13
|
+
matrix:
|
|
14
|
+
ruby-version: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', 'truffleruby-head']
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v3
|
|
18
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
|
19
|
+
uses: ruby/setup-ruby@v1
|
|
20
|
+
with:
|
|
21
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
22
|
+
bundler-cache: true
|
|
23
|
+
- name: Build and test with Rake
|
|
24
|
+
run: bundle exec rake
|
data/.gitignore
ADDED
data/.rspec
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
--colour
|
data/Gemfile
ADDED
data/Guardfile
ADDED
data/README.md
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
1
|
# OmniAuth Gov
|
|
4
2
|
|
|
5
3
|
Estratégia omniauth para integração do Login Único do governo brasileiro ao autentiador devise.
|
|
@@ -10,7 +8,7 @@ Estratégia omniauth para integração do Login Único do governo brasileiro ao
|
|
|
10
8
|
gem 'omniauth', '1.9.1'
|
|
11
9
|
gem "omniauth-rails_csrf_protection", '0.1.2'
|
|
12
10
|
gem 'omniauth-oauth2'
|
|
13
|
-
gem 'omniauth-gov', '~> 0.1.
|
|
11
|
+
gem 'omniauth-gov', '~> 0.1.8'
|
|
14
12
|
```
|
|
15
13
|
|
|
16
14
|
## Configuração devise
|
data/Rakefile
ADDED
data/lib/omniauth-gov/version.rb
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
|
2
|
+
require File.expand_path('../lib/omniauth-gov/version', __FILE__)
|
|
3
|
+
|
|
4
|
+
Gem::Specification.new do |gem|
|
|
5
|
+
gem.authors = ["Jonas Ricardo", "Renato de Souza"]
|
|
6
|
+
gem.email = ["jonas.campos@yahoo.com.br", "renatocdesouza@gmail.com"]
|
|
7
|
+
gem.description = %q{OmniAuth strategy for Gov.br (login.gov.br / govbr).}
|
|
8
|
+
gem.summary = %q{OmniAuth strategy for Gov.br (login.gov.br / govbr).}
|
|
9
|
+
gem.homepage = "https://github.com/jonasrscampos/omniauth-gov"
|
|
10
|
+
gem.license = "MIT"
|
|
11
|
+
|
|
12
|
+
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
13
|
+
gem.files = `git ls-files`.split("\n")
|
|
14
|
+
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
15
|
+
gem.name = "omniauth-gov"
|
|
16
|
+
gem.require_paths = ["lib"]
|
|
17
|
+
gem.version = OmniAuth::Gov::VERSION
|
|
18
|
+
|
|
19
|
+
gem.add_dependency 'omniauth', '>= 1.9.1', '< 3.0'
|
|
20
|
+
gem.add_dependency 'omniauth-oauth2', '>= 1.7'
|
|
21
|
+
gem.add_development_dependency 'rspec', '~> 3.5'
|
|
22
|
+
gem.add_development_dependency 'faraday', '~> 2.9'
|
|
23
|
+
gem.add_development_dependency 'rack-test'
|
|
24
|
+
gem.add_development_dependency 'simplecov'
|
|
25
|
+
gem.add_development_dependency 'webmock'
|
|
26
|
+
end
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-gov
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonas Ricardo
|
|
8
8
|
- Renato de Souza
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: omniauth
|
|
@@ -17,34 +16,34 @@ dependencies:
|
|
|
17
16
|
requirements:
|
|
18
17
|
- - ">="
|
|
19
18
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: 1.9.
|
|
19
|
+
version: 1.9.1
|
|
21
20
|
- - "<"
|
|
22
21
|
- !ruby/object:Gem::Version
|
|
23
|
-
version: '
|
|
22
|
+
version: '3.0'
|
|
24
23
|
type: :runtime
|
|
25
24
|
prerelease: false
|
|
26
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
27
26
|
requirements:
|
|
28
27
|
- - ">="
|
|
29
28
|
- !ruby/object:Gem::Version
|
|
30
|
-
version: 1.9.
|
|
29
|
+
version: 1.9.1
|
|
31
30
|
- - "<"
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
32
|
+
version: '3.0'
|
|
34
33
|
- !ruby/object:Gem::Dependency
|
|
35
34
|
name: omniauth-oauth2
|
|
36
35
|
requirement: !ruby/object:Gem::Requirement
|
|
37
36
|
requirements:
|
|
38
37
|
- - ">="
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
39
|
+
version: '1.7'
|
|
41
40
|
type: :runtime
|
|
42
41
|
prerelease: false
|
|
43
42
|
version_requirements: !ruby/object:Gem::Requirement
|
|
44
43
|
requirements:
|
|
45
44
|
- - ">="
|
|
46
45
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
46
|
+
version: '1.7'
|
|
48
47
|
- !ruby/object:Gem::Dependency
|
|
49
48
|
name: rspec
|
|
50
49
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -115,22 +114,7 @@ dependencies:
|
|
|
115
114
|
- - ">="
|
|
116
115
|
- !ruby/object:Gem::Version
|
|
117
116
|
version: '0'
|
|
118
|
-
|
|
119
|
-
name: uri
|
|
120
|
-
requirement: !ruby/object:Gem::Requirement
|
|
121
|
-
requirements:
|
|
122
|
-
- - ">="
|
|
123
|
-
- !ruby/object:Gem::Version
|
|
124
|
-
version: '0'
|
|
125
|
-
type: :development
|
|
126
|
-
prerelease: false
|
|
127
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
128
|
-
requirements:
|
|
129
|
-
- - ">="
|
|
130
|
-
- !ruby/object:Gem::Version
|
|
131
|
-
version: '0'
|
|
132
|
-
description: OmniAuth strategy for integrating authentication with Brazilian Gov.br
|
|
133
|
-
using OmniAuth and OAuth2.
|
|
117
|
+
description: OmniAuth strategy for Gov.br (login.gov.br / govbr).
|
|
134
118
|
email:
|
|
135
119
|
- jonas.campos@yahoo.com.br
|
|
136
120
|
- renatocdesouza@gmail.com
|
|
@@ -138,17 +122,23 @@ executables: []
|
|
|
138
122
|
extensions: []
|
|
139
123
|
extra_rdoc_files: []
|
|
140
124
|
files:
|
|
125
|
+
- ".github/workflows/ruby.yml"
|
|
126
|
+
- ".gitignore"
|
|
127
|
+
- ".rspec"
|
|
128
|
+
- Gemfile
|
|
129
|
+
- Guardfile
|
|
141
130
|
- LICENSE.txt
|
|
142
131
|
- README.md
|
|
132
|
+
- Rakefile
|
|
143
133
|
- lib/gov_br/params_encoder.rb
|
|
144
134
|
- lib/omniauth-gov.rb
|
|
145
135
|
- lib/omniauth-gov/version.rb
|
|
146
136
|
- lib/omniauth/strategies/gov.rb
|
|
137
|
+
- omniauth-gov.gemspec
|
|
147
138
|
homepage: https://github.com/jonasrscampos/omniauth-gov
|
|
148
139
|
licenses:
|
|
149
140
|
- MIT
|
|
150
141
|
metadata: {}
|
|
151
|
-
post_install_message:
|
|
152
142
|
rdoc_options: []
|
|
153
143
|
require_paths:
|
|
154
144
|
- lib
|
|
@@ -163,8 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
163
153
|
- !ruby/object:Gem::Version
|
|
164
154
|
version: '0'
|
|
165
155
|
requirements: []
|
|
166
|
-
rubygems_version: 3.
|
|
167
|
-
signing_key:
|
|
156
|
+
rubygems_version: 3.6.9
|
|
168
157
|
specification_version: 4
|
|
169
|
-
summary:
|
|
158
|
+
summary: OmniAuth strategy for Gov.br (login.gov.br / govbr).
|
|
170
159
|
test_files: []
|