bigid_auth 0.2.0 → 0.2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/CHANGELOG.md +28 -0
- data/docs/CODE_OF_CONDUCT.md +128 -0
- data/docs/CONTRIBUTING.md +14 -0
- data/{LICENSE.txt → docs/LICENSE.txt} +0 -0
- data/docs/PUBLISHING.md +11 -0
- data/lib/bigid/auth/version.rb +1 -1
- metadata +58 -64
- data/CHANGELOG.md +0 -13
- data/README.md +0 -112
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ba633e86e856b290c2e52242fe614a4d0d87573594134286cf553a296d65d41
|
4
|
+
data.tar.gz: dbef81ff0214678f6121813706cd37ee853ff9959594190ddc4698accba0b4f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e779c6e506a39b4bc6ecc697a94cd216b696b55896ccb12ff07bea273859d8829ddfb6b68d7f481b77492773195a7b92e2851ccfe7ae44920634e7f6cfc37715
|
7
|
+
data.tar.gz: e1f2bcbb07df31e2709398b2e1fe9d5b92f075a66c6816584a7c8c9266896102e9adbae545e08b2be5bc3f8af779c6779774a87b8c69202bb1b2607471367bb1
|
data/docs/CHANGELOG.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# CHANGELOG
|
2
|
+
|
3
|
+
## v0.2.1.2-20220505 - [Danilo Carolino](@danilogco)
|
4
|
+
|
5
|
+
* build(deps): bump ruby version from 3.1.0 to 3.1.2
|
6
|
+
|
7
|
+
## v0.2.1.1-20220209 - [Danilo Carolino](@danilogco)
|
8
|
+
|
9
|
+
* bump flash_integration version to v0.1.2
|
10
|
+
* add docker configs to the project
|
11
|
+
|
12
|
+
## v0.2.1-20220202 - [Danilo Carolino](@danilogco)
|
13
|
+
|
14
|
+
* [QC-79](https://qflash.atlassian.net/jira/software/projects/QC/boards/31?selectedIssue=QC-79)
|
15
|
+
Reduzir uso de pipelines em projetos Ruby [Dependabot]
|
16
|
+
* Bump Ruby version to v3.1.0
|
17
|
+
|
18
|
+
## v0.2.0
|
19
|
+
|
20
|
+
* Use the gem "flash_integration" to retrieve a connection
|
21
|
+
|
22
|
+
## v0.1.1
|
23
|
+
|
24
|
+
* Fix a problem with the locale initialization in Rails projects
|
25
|
+
|
26
|
+
## v0.1.0
|
27
|
+
|
28
|
+
* Initial release of Bigid Auth
|
@@ -0,0 +1,128 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity
|
10
|
+
and orientation.
|
11
|
+
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
13
|
+
diverse, inclusive, and healthy community.
|
14
|
+
|
15
|
+
## Our Standards
|
16
|
+
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
18
|
+
community include:
|
19
|
+
|
20
|
+
* Demonstrating empathy and kindness toward other people
|
21
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
22
|
+
* Giving and gracefully accepting constructive feedback
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
24
|
+
and learning from the experience
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the
|
26
|
+
overall community
|
27
|
+
|
28
|
+
Examples of unacceptable behavior include:
|
29
|
+
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or
|
31
|
+
advances of any kind
|
32
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
33
|
+
* Public or private harassment
|
34
|
+
* Publishing others' private information, such as a physical or email
|
35
|
+
address, without their explicit permission
|
36
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
37
|
+
professional setting
|
38
|
+
|
39
|
+
## Enforcement Responsibilities
|
40
|
+
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
44
|
+
or harmful.
|
45
|
+
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
49
|
+
decisions when appropriate.
|
50
|
+
|
51
|
+
## Scope
|
52
|
+
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
54
|
+
an individual is officially representing the community in public spaces.
|
55
|
+
Examples of representing our community include using an official e-mail address,
|
56
|
+
posting via an official social media account, or acting as an appointed
|
57
|
+
representative at an online or offline event.
|
58
|
+
|
59
|
+
## Enforcement
|
60
|
+
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
62
|
+
reported to the community leaders responsible for enforcement at
|
63
|
+
danilogcarolino@gmail.com.
|
64
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
65
|
+
|
66
|
+
All community leaders are obligated to respect the privacy and security of the
|
67
|
+
reporter of any incident.
|
68
|
+
|
69
|
+
## Enforcement Guidelines
|
70
|
+
|
71
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
72
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
73
|
+
|
74
|
+
### 1. Correction
|
75
|
+
|
76
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
77
|
+
unprofessional or unwelcome in the community.
|
78
|
+
|
79
|
+
**Consequence**: A private, written warning from community leaders, providing
|
80
|
+
clarity around the nature of the violation and an explanation of why the
|
81
|
+
behavior was inappropriate. A public apology may be requested.
|
82
|
+
|
83
|
+
### 2. Warning
|
84
|
+
|
85
|
+
**Community Impact**: A violation through a single incident or series
|
86
|
+
of actions.
|
87
|
+
|
88
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
89
|
+
interaction with the people involved, including unsolicited interaction with
|
90
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
91
|
+
includes avoiding interactions in community spaces as well as external channels
|
92
|
+
like social media. Violating these terms may lead to a temporary or
|
93
|
+
permanent ban.
|
94
|
+
|
95
|
+
### 3. Temporary Ban
|
96
|
+
|
97
|
+
**Community Impact**: A serious violation of community standards, including
|
98
|
+
sustained inappropriate behavior.
|
99
|
+
|
100
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
101
|
+
communication with the community for a specified period of time. No public or
|
102
|
+
private interaction with the people involved, including unsolicited interaction
|
103
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
104
|
+
Violating these terms may lead to a permanent ban.
|
105
|
+
|
106
|
+
### 4. Permanent Ban
|
107
|
+
|
108
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
109
|
+
standards, including sustained inappropriate behavior, harassment of an
|
110
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
111
|
+
|
112
|
+
**Consequence**: A permanent ban from any sort of public interaction within
|
113
|
+
the community.
|
114
|
+
|
115
|
+
## Attribution
|
116
|
+
|
117
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
118
|
+
version 2.0, available at
|
119
|
+
<https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
|
120
|
+
|
121
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
122
|
+
enforcement ladder](https://github.com/mozilla/diversity).
|
123
|
+
|
124
|
+
[homepage]: https://www.contributor-covenant.org
|
125
|
+
|
126
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
127
|
+
<https://www.contributor-covenant.org/faq>. Translations are available at
|
128
|
+
<https://www.contributor-covenant.org/translations>.
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Contributing
|
2
|
+
|
3
|
+
- Check out the latest master to make sure the feature hasn't been implemented
|
4
|
+
or the bug hasn't been fixed yet;
|
5
|
+
- Check out the issue tracker to make sure someone already hasn't requested it
|
6
|
+
and/or contributed it;
|
7
|
+
- Fork the project;
|
8
|
+
- Start a feature/bugfix branch;
|
9
|
+
- Commit and push until you are happy with your contribution;
|
10
|
+
- Make sure to add tests for it. This is important so I don't break it in a
|
11
|
+
future version unintentionally.;
|
12
|
+
- Please try not to mess with the Rakefile, version, or history. If you want to
|
13
|
+
have your own version, or is otherwise necessary, that is fine, but please
|
14
|
+
isolate to its own commit so I can cherry-pick around it.
|
File without changes
|
data/docs/PUBLISHING.md
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# Publishing
|
2
|
+
|
3
|
+
After the Github and Rubygems authenticatication, push with the following command:
|
4
|
+
|
5
|
+
```sh
|
6
|
+
gem build bigid_auth.gemspec
|
7
|
+
rake release
|
8
|
+
gem push --key github --host https://rubygems.pkg.github.com/quasar-flash bigid_auth-0.2.1.gem
|
9
|
+
```
|
10
|
+
|
11
|
+
Don't forget to generate the release.
|
data/lib/bigid/auth/version.rb
CHANGED
@@ -9,6 +9,6 @@ module Bigid
|
|
9
9
|
# Major - Incremented for incompatible changes with previous release (or big enough new features)
|
10
10
|
# Minor - Incremented for new backwards-compatible features + deprecations
|
11
11
|
# Patch - Incremented for backwards-compatible bug fixes
|
12
|
-
VERSION = "0.2.
|
12
|
+
VERSION = "0.2.1.2"
|
13
13
|
end
|
14
14
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bigid_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danilo Carolino
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flash_integration
|
@@ -16,110 +16,102 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.
|
19
|
+
version: 0.1.2
|
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: 0.1.
|
26
|
+
version: 0.1.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: i18n
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.8.0
|
34
31
|
- - ">="
|
35
32
|
- !ruby/object:Gem::Version
|
36
|
-
version: '1.
|
33
|
+
version: '1.8'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '1.11'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - "~>"
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: 1.8.0
|
44
41
|
- - ">="
|
45
42
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
43
|
+
version: '1.8'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.11'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: json
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 2.5.0
|
54
51
|
- - ">="
|
55
52
|
- !ruby/object:Gem::Version
|
56
|
-
version: '2.
|
53
|
+
version: '2.5'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '2.7'
|
57
57
|
type: :runtime
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - "~>"
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: 2.5.0
|
64
61
|
- - ">="
|
65
62
|
- !ruby/object:Gem::Version
|
66
|
-
version: '2.
|
63
|
+
version: '2.5'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '2.7'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: bundler
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
|
-
- - "
|
71
|
+
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
74
|
-
type: :development
|
75
|
-
prerelease: false
|
76
|
-
version_requirements: !ruby/object:Gem::Requirement
|
77
|
-
requirements:
|
73
|
+
version: '2.3'
|
78
74
|
- - ">="
|
79
75
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: factory_bot
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
-
requirements:
|
85
|
-
- - "~>"
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: 6.2.0
|
76
|
+
version: 2.3.0
|
88
77
|
type: :development
|
89
78
|
prerelease: false
|
90
79
|
version_requirements: !ruby/object:Gem::Requirement
|
91
80
|
requirements:
|
92
81
|
- - "~>"
|
93
82
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
83
|
+
version: '2.3'
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 2.3.0
|
95
87
|
- !ruby/object:Gem::Dependency
|
96
|
-
name:
|
88
|
+
name: factory_bot
|
97
89
|
requirement: !ruby/object:Gem::Requirement
|
98
90
|
requirements:
|
99
91
|
- - "~>"
|
100
92
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
93
|
+
version: '6.2'
|
102
94
|
type: :development
|
103
95
|
prerelease: false
|
104
96
|
version_requirements: !ruby/object:Gem::Requirement
|
105
97
|
requirements:
|
106
98
|
- - "~>"
|
107
99
|
- !ruby/object:Gem::Version
|
108
|
-
version: '
|
100
|
+
version: '6.2'
|
109
101
|
- !ruby/object:Gem::Dependency
|
110
102
|
name: pry
|
111
103
|
requirement: !ruby/object:Gem::Requirement
|
112
104
|
requirements:
|
113
105
|
- - "~>"
|
114
106
|
- !ruby/object:Gem::Version
|
115
|
-
version: 0.14
|
107
|
+
version: '0.14'
|
116
108
|
type: :development
|
117
109
|
prerelease: false
|
118
110
|
version_requirements: !ruby/object:Gem::Requirement
|
119
111
|
requirements:
|
120
112
|
- - "~>"
|
121
113
|
- !ruby/object:Gem::Version
|
122
|
-
version: 0.14
|
114
|
+
version: '0.14'
|
123
115
|
- !ruby/object:Gem::Dependency
|
124
116
|
name: rake
|
125
117
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,7 +121,7 @@ dependencies:
|
|
129
121
|
version: '13.0'
|
130
122
|
- - ">="
|
131
123
|
- !ruby/object:Gem::Version
|
132
|
-
version: 10.0
|
124
|
+
version: '10.0'
|
133
125
|
type: :development
|
134
126
|
prerelease: false
|
135
127
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -139,77 +131,77 @@ dependencies:
|
|
139
131
|
version: '13.0'
|
140
132
|
- - ">="
|
141
133
|
- !ruby/object:Gem::Version
|
142
|
-
version: 10.0
|
134
|
+
version: '10.0'
|
143
135
|
- !ruby/object:Gem::Dependency
|
144
136
|
name: rspec
|
145
137
|
requirement: !ruby/object:Gem::Requirement
|
146
138
|
requirements:
|
147
139
|
- - "~>"
|
148
140
|
- !ruby/object:Gem::Version
|
149
|
-
version: 3.
|
141
|
+
version: '3.11'
|
150
142
|
type: :development
|
151
143
|
prerelease: false
|
152
144
|
version_requirements: !ruby/object:Gem::Requirement
|
153
145
|
requirements:
|
154
146
|
- - "~>"
|
155
147
|
- !ruby/object:Gem::Version
|
156
|
-
version: 3.
|
148
|
+
version: '3.11'
|
157
149
|
- !ruby/object:Gem::Dependency
|
158
150
|
name: rubocop
|
159
151
|
requirement: !ruby/object:Gem::Requirement
|
160
152
|
requirements:
|
161
153
|
- - "~>"
|
162
154
|
- !ruby/object:Gem::Version
|
163
|
-
version: 1.
|
155
|
+
version: '1.28'
|
164
156
|
type: :development
|
165
157
|
prerelease: false
|
166
158
|
version_requirements: !ruby/object:Gem::Requirement
|
167
159
|
requirements:
|
168
160
|
- - "~>"
|
169
161
|
- !ruby/object:Gem::Version
|
170
|
-
version: 1.
|
162
|
+
version: '1.28'
|
171
163
|
- !ruby/object:Gem::Dependency
|
172
164
|
name: rubocop-packaging
|
173
165
|
requirement: !ruby/object:Gem::Requirement
|
174
166
|
requirements:
|
175
167
|
- - "~>"
|
176
168
|
- !ruby/object:Gem::Version
|
177
|
-
version: 0.5
|
169
|
+
version: '0.5'
|
178
170
|
type: :development
|
179
171
|
prerelease: false
|
180
172
|
version_requirements: !ruby/object:Gem::Requirement
|
181
173
|
requirements:
|
182
174
|
- - "~>"
|
183
175
|
- !ruby/object:Gem::Version
|
184
|
-
version: 0.5
|
176
|
+
version: '0.5'
|
185
177
|
- !ruby/object:Gem::Dependency
|
186
178
|
name: rubocop-performance
|
187
179
|
requirement: !ruby/object:Gem::Requirement
|
188
180
|
requirements:
|
189
181
|
- - "~>"
|
190
182
|
- !ruby/object:Gem::Version
|
191
|
-
version: 1.
|
183
|
+
version: '1.13'
|
192
184
|
type: :development
|
193
185
|
prerelease: false
|
194
186
|
version_requirements: !ruby/object:Gem::Requirement
|
195
187
|
requirements:
|
196
188
|
- - "~>"
|
197
189
|
- !ruby/object:Gem::Version
|
198
|
-
version: 1.
|
190
|
+
version: '1.13'
|
199
191
|
- !ruby/object:Gem::Dependency
|
200
192
|
name: simplecov
|
201
193
|
requirement: !ruby/object:Gem::Requirement
|
202
194
|
requirements:
|
203
195
|
- - "~>"
|
204
196
|
- !ruby/object:Gem::Version
|
205
|
-
version: 0.21
|
197
|
+
version: '0.21'
|
206
198
|
type: :development
|
207
199
|
prerelease: false
|
208
200
|
version_requirements: !ruby/object:Gem::Requirement
|
209
201
|
requirements:
|
210
202
|
- - "~>"
|
211
203
|
- !ruby/object:Gem::Version
|
212
|
-
version: 0.21
|
204
|
+
version: '0.21'
|
213
205
|
description: A library to use BigData Corps auth features
|
214
206
|
email:
|
215
207
|
- danilo.carolino@qflash.com.br
|
@@ -217,10 +209,12 @@ executables: []
|
|
217
209
|
extensions: []
|
218
210
|
extra_rdoc_files: []
|
219
211
|
files:
|
220
|
-
- CHANGELOG.md
|
221
|
-
- LICENSE.txt
|
222
|
-
- README.md
|
223
212
|
- Rakefile
|
213
|
+
- docs/CHANGELOG.md
|
214
|
+
- docs/CODE_OF_CONDUCT.md
|
215
|
+
- docs/CONTRIBUTING.md
|
216
|
+
- docs/LICENSE.txt
|
217
|
+
- docs/PUBLISHING.md
|
224
218
|
- lib/bigid/auth/authenticated_connection.rb
|
225
219
|
- lib/bigid/auth/authenticated_resource.rb
|
226
220
|
- lib/bigid/auth/authentication.rb
|
@@ -236,14 +230,14 @@ files:
|
|
236
230
|
- lib/locales/pt-BR.yml
|
237
231
|
- spec/bigid_auth_spec.rb
|
238
232
|
- spec/spec_helper.rb
|
239
|
-
homepage: https://github.com/Quasar-Flash/
|
233
|
+
homepage: https://github.com/Quasar-Flash/bigid_auth
|
240
234
|
licenses:
|
241
235
|
- MIT
|
242
236
|
metadata:
|
243
|
-
changelog_uri: https://github.com/Quasar-Flash/
|
244
|
-
source_code_uri: https://github.com/Quasar-Flash/
|
245
|
-
bug_tracker_uri: https://github.com/Quasar-Flash/
|
246
|
-
post_install_message:
|
237
|
+
changelog_uri: https://github.com/Quasar-Flash/bigid_auth/blob/master/CHANGELOG.md
|
238
|
+
source_code_uri: https://github.com/Quasar-Flash/bigid_auth
|
239
|
+
bug_tracker_uri: https://github.com/Quasar-Flash/bigid_auth/issues
|
240
|
+
post_install_message:
|
247
241
|
rdoc_options: []
|
248
242
|
require_paths:
|
249
243
|
- lib
|
@@ -251,15 +245,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
251
245
|
requirements:
|
252
246
|
- - ">="
|
253
247
|
- !ruby/object:Gem::Version
|
254
|
-
version: '2.
|
248
|
+
version: '2.7'
|
255
249
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
256
250
|
requirements:
|
257
251
|
- - ">="
|
258
252
|
- !ruby/object:Gem::Version
|
259
253
|
version: '0'
|
260
254
|
requirements: []
|
261
|
-
rubygems_version: 3.
|
262
|
-
signing_key:
|
255
|
+
rubygems_version: 3.3.7
|
256
|
+
signing_key:
|
263
257
|
specification_version: 4
|
264
258
|
summary: Bigid Auth Library
|
265
259
|
test_files:
|
data/CHANGELOG.md
DELETED
data/README.md
DELETED
@@ -1,112 +0,0 @@
|
|
1
|
-
BigId Auth's Library for Ruby
|
2
|
-
==============
|
3
|
-
|
4
|
-
[![Gem Version](https://badge.fury.io/rb/bigid_auth.svg)](https://badge.fury.io/rb/bigid_auth)
|
5
|
-
[![Build Status](https://travis-ci.com/Quasar-Flash/bigid-auth-ruby.svg?branch=master)](https://travis-ci.com/Quasar-Flash/bigid-auth-ruby)
|
6
|
-
[![bigid_auth](https://github.com/Quasar-Flash/bigid-auth-ruby/actions/workflows/ruby.yml/badge.svg)](https://github.com/Quasar-Flash/bigid-auth-ruby/actions/workflows/ruby.yml)
|
7
|
-
|
8
|
-
Dev Requirements
|
9
|
-
-----------------
|
10
|
-
|
11
|
-
- Ruby: Any version
|
12
|
-
- Bundler
|
13
|
-
|
14
|
-
Global Installation
|
15
|
-
-----------------
|
16
|
-
|
17
|
-
```ruby
|
18
|
-
gem install bigid_auth
|
19
|
-
```
|
20
|
-
|
21
|
-
Installation for Rails
|
22
|
-
-----------------
|
23
|
-
|
24
|
-
```ruby
|
25
|
-
# Add to the Gemfile
|
26
|
-
gem "bigid_auth", '~> 0.1.0'
|
27
|
-
```
|
28
|
-
|
29
|
-
Setting the BigID credentials - Rails Project
|
30
|
-
-----------------
|
31
|
-
|
32
|
-
Create the config/initializers/bigid.rb file and define:
|
33
|
-
|
34
|
-
```ruby
|
35
|
-
# Set the env variables
|
36
|
-
Bigid.configure do |config|
|
37
|
-
config.username = 'JHONNY.MUNIS@QFLASH.COM.BR'
|
38
|
-
config.password = 'crtvreru'
|
39
|
-
end
|
40
|
-
```
|
41
|
-
|
42
|
-
Applying an authentication
|
43
|
-
-----------------
|
44
|
-
|
45
|
-
```ruby
|
46
|
-
require 'bigid_auth'
|
47
|
-
|
48
|
-
Bigid::Auth::Authentication.new.login
|
49
|
-
```
|
50
|
-
|
51
|
-
Result Example
|
52
|
-
-----------------
|
53
|
-
|
54
|
-
```ruby
|
55
|
-
<Flash::Integration::Response:xxxx
|
56
|
-
@request=<Flash::Integration::Request:xxx
|
57
|
-
@method = :post,
|
58
|
-
@url = "https://accesstoken.bigdatacorp.com.br/Generate",
|
59
|
-
@params = {},
|
60
|
-
@headers = {
|
61
|
-
:"Content-Type" => "application/json",
|
62
|
-
:Accept => "application/json"
|
63
|
-
},
|
64
|
-
@body = "{\"login\":\"email@email.com\",\"password\":\"xxxxxx\",\"expires\":60000}",
|
65
|
-
@time = 2021-07-21 22:49:57.869382432 UTC>,
|
66
|
-
@status = 200,
|
67
|
-
@headers = {
|
68
|
-
"content-type" => "application/json",
|
69
|
-
"content-length" => "361",
|
70
|
-
"connection" => "keep-alive",
|
71
|
-
"date" => "Wed, 21 Jul 2021 22:49:58 GMT"
|
72
|
-
},
|
73
|
-
@body="{\"expiration\":\"Thu, 25 May 2028 22:49:58 GMT\",\"message\":\"Token Generated\",\"success\":true,\"token\":\"xxx\",\"tokenID\":\"xxx\"}\n",
|
74
|
-
@time=2021-07-21 22:49:58.248277077 UTC>
|
75
|
-
|
76
|
-
```
|
77
|
-
|
78
|
-
Problems?
|
79
|
-
-----------------
|
80
|
-
|
81
|
-
**Please do not directly email any committers with questions or problems.** A
|
82
|
-
community is best served when discussions are held in public.
|
83
|
-
|
84
|
-
Searching the [issues](https://github.com/Quasar-Flash/bigid-auth-ruby/issues)
|
85
|
-
for your problem is also a good idea.
|
86
|
-
|
87
|
-
Contributing
|
88
|
-
-----------------
|
89
|
-
|
90
|
-
- Check out the latest master to make sure the feature hasn't been implemented
|
91
|
-
or the bug hasn't been fixed yet;
|
92
|
-
- Check out the issue tracker to make sure someone already hasn't requested it
|
93
|
-
and/or contributed it;
|
94
|
-
- Fork the project;
|
95
|
-
- Start a feature/bugfix branch;
|
96
|
-
- Commit and push until you are happy with your contribution;
|
97
|
-
- Make sure to add tests for it. This is important so I don't break it in a
|
98
|
-
future version unintentionally.;
|
99
|
-
- Please try not to mess with the Rakefile, version, or history. If you want to
|
100
|
-
have your own version, or is otherwise necessary, that is fine, but please
|
101
|
-
isolate to its own commit so I can cherry-pick around it.
|
102
|
-
|
103
|
-
License
|
104
|
-
-----------------
|
105
|
-
|
106
|
-
Please see [LICENSE](https://github.com/Quasar-Flash/bigid-auth-ruby/blob/master/LICENSE.txt)
|
107
|
-
for licensing details.
|
108
|
-
|
109
|
-
Authors
|
110
|
-
-----------------
|
111
|
-
|
112
|
-
Danilo Carolino, [@danilogco](https://github.com/danilogco) / [@Quasar-Flash](https://github.com/Quasar-Flash)
|