omniauth-ssoprovider 0.1.0 → 0.1.2
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/CHANGELOG.md +6 -0
- data/lib/omniauth/ssoprovider/version.rb +1 -1
- data/omniauth-ssoprovider-0.1.0.gem +0 -0
- metadata +9 -10
- data/.github/workflows/ci.yml +0 -48
- data/.rspec_status +0 -11
- data/.rubocop.yml +0 -47
- data/Gemfile +0 -15
- data/Gemfile.lock +0 -89
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b65e5c905e21b6af34bdb6cddfd014f4ab06e73a24b6384877e6349662da7d7
|
|
4
|
+
data.tar.gz: b9cf27269657a8def877377f3cf7c1240838afffa5ca575c519d3fdf1f34e603
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7629b34f74bd45d3805c7d424fc4467331032bdbbae798a40a1337f2a66538147cb9aef7c4d31ed6201d8fbed0b4df111f7adee3ce95c43e61a3c6f0d1b4fa57
|
|
7
|
+
data.tar.gz: 5ded781d412d103b57e3bba3684e7c48f7c1f3a3df27910d8ee49b1dd6bac233a6d62c28f7c2e01d3a102a0f8d7b6124916bdc9e362ae3d38bd971584b83e803
|
data/CHANGELOG.md
CHANGED
|
@@ -23,6 +23,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
23
23
|
* Placeholder for resolved bugs or issues.
|
|
24
24
|
|
|
25
25
|
|
|
26
|
+
\[0.1.2\] - 2025-10-25
|
|
27
|
+
----------------------
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
* ruby version
|
|
31
|
+
|
|
26
32
|
\[0.1.0\] - 2025-10-23
|
|
27
33
|
----------------------
|
|
28
34
|
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-ssoprovider
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniele Frisanco
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-10-
|
|
11
|
+
date: 2025-10-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: omniauth
|
|
@@ -116,19 +116,15 @@ executables: []
|
|
|
116
116
|
extensions: []
|
|
117
117
|
extra_rdoc_files: []
|
|
118
118
|
files:
|
|
119
|
-
- ".github/workflows/ci.yml"
|
|
120
|
-
- ".rspec_status"
|
|
121
|
-
- ".rubocop.yml"
|
|
122
119
|
- CHANGELOG.md
|
|
123
120
|
- CONTRIBUTING.md
|
|
124
|
-
- Gemfile
|
|
125
|
-
- Gemfile.lock
|
|
126
121
|
- LICENSE.txt
|
|
127
122
|
- README.md
|
|
128
123
|
- Rakefile
|
|
129
124
|
- lib/omniauth/ssoprovider.rb
|
|
130
125
|
- lib/omniauth/ssoprovider/version.rb
|
|
131
126
|
- lib/omniauth/strategies/ssoprovider.rb
|
|
127
|
+
- omniauth-ssoprovider-0.1.0.gem
|
|
132
128
|
homepage: https://github.com/danielefrisanco/omniauth-ssoprovider
|
|
133
129
|
licenses:
|
|
134
130
|
- MIT
|
|
@@ -143,16 +139,19 @@ require_paths:
|
|
|
143
139
|
- lib
|
|
144
140
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
145
141
|
requirements:
|
|
146
|
-
- - "
|
|
142
|
+
- - ">="
|
|
143
|
+
- !ruby/object:Gem::Version
|
|
144
|
+
version: 2.7.0
|
|
145
|
+
- - "<"
|
|
147
146
|
- !ruby/object:Gem::Version
|
|
148
|
-
version:
|
|
147
|
+
version: 4.0.0
|
|
149
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
149
|
requirements:
|
|
151
150
|
- - ">="
|
|
152
151
|
- !ruby/object:Gem::Version
|
|
153
152
|
version: '0'
|
|
154
153
|
requirements: []
|
|
155
|
-
rubygems_version: 3.
|
|
154
|
+
rubygems_version: 3.3.26
|
|
156
155
|
signing_key:
|
|
157
156
|
specification_version: 4
|
|
158
157
|
summary: An OmniAuth strategy for integrating with a generic OAuth 2.0 based SSO provider.
|
data/.github/workflows/ci.yml
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
name: OmniAuth Strategy CI
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: [ "main" ]
|
|
6
|
-
pull_request:
|
|
7
|
-
branches: [ "main" ]
|
|
8
|
-
# Allows manual runs
|
|
9
|
-
workflow_dispatch:
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
build-and-test:
|
|
13
|
-
# Use standard Ubuntu runner
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
|
|
16
|
-
# Test against multiple common Ruby versions
|
|
17
|
-
strategy:
|
|
18
|
-
matrix:
|
|
19
|
-
ruby-version: [ '3.1', '3.2', '3.3' ]
|
|
20
|
-
|
|
21
|
-
steps:
|
|
22
|
-
- name: Checkout Repository
|
|
23
|
-
uses: actions/checkout@v4
|
|
24
|
-
|
|
25
|
-
- name: Set up Ruby ${{ matrix.ruby-version }}
|
|
26
|
-
uses: ruby/setup-ruby@v1
|
|
27
|
-
with:
|
|
28
|
-
ruby-version: ${{ matrix.ruby-version }}
|
|
29
|
-
# Cache gems to speed up subsequent runs
|
|
30
|
-
bundler-cache: true
|
|
31
|
-
|
|
32
|
-
- name: Install Dependencies
|
|
33
|
-
# Uses bundler-cache above, so we just check for errors
|
|
34
|
-
run: bundle check || bundle install
|
|
35
|
-
|
|
36
|
-
- name: Run Tests (RSpec/Minitest)
|
|
37
|
-
# Assuming your OmniAuth strategy uses RSpec or Minitest, typically run via Rake
|
|
38
|
-
run: bundle exec rake spec
|
|
39
|
-
# If you use a different command, replace 'bundle exec rake spec' with it (e.g., 'bundle exec rspec')
|
|
40
|
-
env:
|
|
41
|
-
# Define necessary environment variables for test execution, like mock API credentials
|
|
42
|
-
# Replace these placeholders with actual test variables if your tests need them.
|
|
43
|
-
OMNIAUTH_TEST_CLIENT_ID: ${{ secrets.OMNIAUTH_TEST_CLIENT_ID }}
|
|
44
|
-
OMNIAUTH_TEST_CLIENT_SECRET: ${{ secrets.OMNIAUTH_TEST_CLIENT_SECRET }}
|
|
45
|
-
|
|
46
|
-
- name: Check Gem Specification
|
|
47
|
-
# Ensures the .gemspec file is valid and the gem can be packaged
|
|
48
|
-
run: gem build *.gemspec
|
data/.rspec_status
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
example_id | status | run_time |
|
|
2
|
-
----------------------------------------------------- | ------ | --------------- |
|
|
3
|
-
./spec/omniauth/strategies/ssoprovider_spec.rb[1:1:1] | passed | 0.00046 seconds |
|
|
4
|
-
./spec/omniauth/strategies/ssoprovider_spec.rb[1:1:2] | passed | 0.00013 seconds |
|
|
5
|
-
./spec/omniauth/strategies/ssoprovider_spec.rb[1:1:3] | passed | 0.00013 seconds |
|
|
6
|
-
./spec/omniauth/strategies/ssoprovider_spec.rb[1:2:1] | passed | 0.00454 seconds |
|
|
7
|
-
./spec/omniauth/strategies/ssoprovider_spec.rb[1:2:2] | passed | 0.00071 seconds |
|
|
8
|
-
./spec/omniauth/strategies/ssoprovider_spec.rb[1:3:1] | passed | 0.00084 seconds |
|
|
9
|
-
./spec/omniauth/strategies/ssoprovider_spec.rb[1:3:2] | passed | 0.00075 seconds |
|
|
10
|
-
./spec/omniauth/strategies/ssoprovider_spec.rb[1:3:3] | passed | 0.00076 seconds |
|
|
11
|
-
./spec/omniauth/strategies/ssoprovider_spec.rb[1:3:4] | passed | 0.00085 seconds |
|
data/.rubocop.yml
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require:
|
|
4
|
-
- rubocop-rspec
|
|
5
|
-
|
|
6
|
-
AllCops:
|
|
7
|
-
TargetRubyVersion: 2.6
|
|
8
|
-
NewCops: enable
|
|
9
|
-
Exclude:
|
|
10
|
-
- 'bin/**/*'
|
|
11
|
-
- 'db/**/*'
|
|
12
|
-
- 'vendor/**/*'
|
|
13
|
-
- 'spec/fixtures/**/*'
|
|
14
|
-
- 'tmp/**/*'
|
|
15
|
-
- 'Rakefile' # Exclude if you want less strict Rakefile checks
|
|
16
|
-
|
|
17
|
-
# --- Common Cops ---
|
|
18
|
-
|
|
19
|
-
# Enforce the use of frozen_string_literal comment
|
|
20
|
-
Style/FrozenStringLiteralComment:
|
|
21
|
-
Enabled: true
|
|
22
|
-
|
|
23
|
-
# Use `foo.freeze` instead of `FOO = 'bar'.freeze`
|
|
24
|
-
Style/MutableConstant:
|
|
25
|
-
Enabled: false
|
|
26
|
-
|
|
27
|
-
# Max line length for consistency
|
|
28
|
-
Layout/LineLength:
|
|
29
|
-
Max: 120
|
|
30
|
-
|
|
31
|
-
# --- RSpec Cops ---
|
|
32
|
-
|
|
33
|
-
# Relax block length rules for RSpec `describe` blocks
|
|
34
|
-
RSpec/ExampleGroup:
|
|
35
|
-
Max: 6
|
|
36
|
-
|
|
37
|
-
RSpec/MultipleExpectations:
|
|
38
|
-
Max: 3
|
|
39
|
-
|
|
40
|
-
# Allow using `is_expected.to` when appropriate
|
|
41
|
-
RSpec/MessageChain:
|
|
42
|
-
Enabled: false
|
|
43
|
-
|
|
44
|
-
# Allow stubbing methods like `env` that are difficult to inject
|
|
45
|
-
RSpec/UnspecifiedKeywordArgument:
|
|
46
|
-
Enabled: false
|
|
47
|
-
|
data/Gemfile
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
source "https://rubygems.org"
|
|
4
|
-
|
|
5
|
-
# Runtime dependencies (defined in gemspec)
|
|
6
|
-
gemspec
|
|
7
|
-
|
|
8
|
-
# Development dependencies (for testing and building)
|
|
9
|
-
group :development, :test do
|
|
10
|
-
gem "rake", "~> 13.0"
|
|
11
|
-
gem "rspec", "~> 3.12"
|
|
12
|
-
gem "webmock", "~> 3.18"
|
|
13
|
-
# This gem contains the necessary testing helpers
|
|
14
|
-
gem "omniauth-test", "~> 0.0.11"
|
|
15
|
-
end
|
data/Gemfile.lock
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
omniauth-ssoprovider (0.1.0)
|
|
5
|
-
omniauth (~> 2.1)
|
|
6
|
-
omniauth-oauth2 (~> 1.8)
|
|
7
|
-
|
|
8
|
-
GEM
|
|
9
|
-
remote: https://rubygems.org/
|
|
10
|
-
specs:
|
|
11
|
-
addressable (2.8.7)
|
|
12
|
-
public_suffix (>= 2.0.2, < 7.0)
|
|
13
|
-
base64 (0.3.0)
|
|
14
|
-
bigdecimal (3.3.1)
|
|
15
|
-
crack (1.0.1)
|
|
16
|
-
bigdecimal
|
|
17
|
-
rexml
|
|
18
|
-
diff-lcs (1.6.2)
|
|
19
|
-
faraday (2.8.1)
|
|
20
|
-
base64
|
|
21
|
-
faraday-net_http (>= 2.0, < 3.1)
|
|
22
|
-
ruby2_keywords (>= 0.0.4)
|
|
23
|
-
faraday-net_http (3.0.2)
|
|
24
|
-
hashdiff (1.2.1)
|
|
25
|
-
hashie (5.0.0)
|
|
26
|
-
jwt (3.1.2)
|
|
27
|
-
base64
|
|
28
|
-
logger (1.7.0)
|
|
29
|
-
multi_xml (0.6.0)
|
|
30
|
-
oauth2 (2.0.17)
|
|
31
|
-
faraday (>= 0.17.3, < 4.0)
|
|
32
|
-
jwt (>= 1.0, < 4.0)
|
|
33
|
-
logger (~> 1.2)
|
|
34
|
-
multi_xml (~> 0.5)
|
|
35
|
-
rack (>= 1.2, < 4)
|
|
36
|
-
snaky_hash (~> 2.0, >= 2.0.3)
|
|
37
|
-
version_gem (~> 1.1, >= 1.1.9)
|
|
38
|
-
omniauth (2.1.4)
|
|
39
|
-
hashie (>= 3.4.6)
|
|
40
|
-
logger
|
|
41
|
-
rack (>= 2.2.3)
|
|
42
|
-
rack-protection
|
|
43
|
-
omniauth-oauth2 (1.8.0)
|
|
44
|
-
oauth2 (>= 1.4, < 3)
|
|
45
|
-
omniauth (~> 2.0)
|
|
46
|
-
omniauth-test (0.0.11)
|
|
47
|
-
omniauth-oauth2 (~> 1.2)
|
|
48
|
-
public_suffix (5.1.1)
|
|
49
|
-
rack (3.2.3)
|
|
50
|
-
rack-protection (3.0.6)
|
|
51
|
-
rack
|
|
52
|
-
rake (13.3.0)
|
|
53
|
-
rexml (3.4.4)
|
|
54
|
-
rspec (3.13.2)
|
|
55
|
-
rspec-core (~> 3.13.0)
|
|
56
|
-
rspec-expectations (~> 3.13.0)
|
|
57
|
-
rspec-mocks (~> 3.13.0)
|
|
58
|
-
rspec-core (3.13.6)
|
|
59
|
-
rspec-support (~> 3.13.0)
|
|
60
|
-
rspec-expectations (3.13.5)
|
|
61
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
62
|
-
rspec-support (~> 3.13.0)
|
|
63
|
-
rspec-mocks (3.13.6)
|
|
64
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
65
|
-
rspec-support (~> 3.13.0)
|
|
66
|
-
rspec-support (3.13.6)
|
|
67
|
-
ruby2_keywords (0.0.5)
|
|
68
|
-
snaky_hash (2.0.3)
|
|
69
|
-
hashie (>= 0.1.0, < 6)
|
|
70
|
-
version_gem (>= 1.1.8, < 3)
|
|
71
|
-
version_gem (1.1.9)
|
|
72
|
-
webmock (3.25.1)
|
|
73
|
-
addressable (>= 2.8.0)
|
|
74
|
-
crack (>= 0.3.2)
|
|
75
|
-
hashdiff (>= 0.4.0, < 2.0.0)
|
|
76
|
-
|
|
77
|
-
PLATFORMS
|
|
78
|
-
x86_64-linux
|
|
79
|
-
|
|
80
|
-
DEPENDENCIES
|
|
81
|
-
bundler (~> 2.0)
|
|
82
|
-
omniauth-ssoprovider!
|
|
83
|
-
omniauth-test (~> 0.0.11)
|
|
84
|
-
rake (~> 13.0)
|
|
85
|
-
rspec (~> 3.12)
|
|
86
|
-
webmock (~> 3.18)
|
|
87
|
-
|
|
88
|
-
BUNDLED WITH
|
|
89
|
-
2.4.22
|