omniauth-ssoprovider 0.1.0 → 0.1.1
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/lib/omniauth/ssoprovider/version.rb +1 -1
- data/omniauth-ssoprovider-0.1.0.gem +0 -0
- metadata +3 -7
- 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: 99bbdfaace004ece1f1879069ce833e01a8d88fdc72fa8dc6877e6ccc0cd7a7c
|
|
4
|
+
data.tar.gz: f4dda33e3c5b20cd832f8d8971b283d4a57b4d787e57c7a6c1a2ee28507b773a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7259294b68a3a0cb29583f8f221d8734c01f7af927556dde86382c30e9bb84da72bd5a36add0445894238fb06eed9a9fd4729fa65928552a91d2d41998d02072
|
|
7
|
+
data.tar.gz: b53ac5226821ad9dd7ebec37e86f05c20457e711df6a1e666a1d8dc3fe9c167de8e9394844c8862da206fe5612e2df2665af2da5255b01f12b865cb03122f15a
|
|
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.1
|
|
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-23 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
|
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
|