omniauth-elitmus 0.1.0 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77ad28afe3601d9427d17d5d04c1a3f8caa995b5fecf2db1c7d16143cf43d808
4
- data.tar.gz: 10cfea81befe67a84a06c82da32be4e02ac82959be31b3fb6e5d1db1bcc9df91
3
+ metadata.gz: 66628d1f49a7d608bc2b2ff206503406de85ac17f99462ea2b10cb01fae47251
4
+ data.tar.gz: 651d6623068ebd251f538168812e20b95b6870f09dba7b57e0e44f842e8c7071
5
5
  SHA512:
6
- metadata.gz: c60174df7594998231af03f7d1ec791e7dd1cf4548c81d33a831f25918d57be4231dc66096681e2b3484f4d08a008979e518cc1bf41cadaf08784d54a2291021
7
- data.tar.gz: 5f2e571a09d40c60a5f7df241acbf4570513760bf1943b2e0b4b840c4f587b9baefda809a9f3bd70144e1525bdd0e4686c8285c3f2742b84c908ecc6bf84afaf
6
+ metadata.gz: d4c1d6f64480e2fe5664c2985be332c69a5acb38867503feed8c563488dab464c2cbf9fc685cf3394ebdebf188aca3fc294e41bd8aa698cb81020e34390c5a57
7
+ data.tar.gz: 1bec97b55ebde3b25f336827b034971b8f03d19a8527c3aede84b76e865a47d22955c6cda8349b168c5edafe7dc610a467fc18fd0d1c40b1c56cd6a1aa94025f
@@ -0,0 +1,66 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+
6
+ # This workflow lets you generate SLSA provenance file for your project.
7
+ # The generation satisfies level 3 for the provenance requirements - see https://slsa.dev/spec/v0.1/requirements
8
+ # The project is an initiative of the OpenSSF (openssf.org) and is developed at
9
+ # https://github.com/slsa-framework/slsa-github-generator.
10
+ # The provenance file can be verified using https://github.com/slsa-framework/slsa-verifier.
11
+ # For more information about SLSA and how it improves the supply-chain, visit slsa.dev.
12
+
13
+ name: SLSA generic generator
14
+ on:
15
+ workflow_dispatch:
16
+ release:
17
+ types: [created]
18
+
19
+ jobs:
20
+ build:
21
+ runs-on: ubuntu-latest
22
+ outputs:
23
+ digests: ${{ steps.hash.outputs.digests }}
24
+
25
+ steps:
26
+ - uses: actions/checkout@v4
27
+
28
+ # ========================================================
29
+ #
30
+ # Step 1: Build your artifacts.
31
+ #
32
+ # ========================================================
33
+ - name: Build artifacts
34
+ run: |
35
+ # These are some amazing artifacts.
36
+ echo "artifact1" > artifact1
37
+ echo "artifact2" > artifact2
38
+
39
+ # ========================================================
40
+ #
41
+ # Step 2: Add a step to generate the provenance subjects
42
+ # as shown below. Update the sha256 sum arguments
43
+ # to include all binaries that you generate
44
+ # provenance for.
45
+ #
46
+ # ========================================================
47
+ - name: Generate subject for provenance
48
+ id: hash
49
+ run: |
50
+ set -euo pipefail
51
+
52
+ # List the artifacts the provenance will refer to.
53
+ files=$(ls artifact*)
54
+ # Generate the subjects (base64 encoded).
55
+ echo "hashes=$(sha256sum $files | base64 -w0)" >> "${GITHUB_OUTPUT}"
56
+
57
+ provenance:
58
+ needs: [build]
59
+ permissions:
60
+ actions: read # To read the workflow path.
61
+ id-token: write # To sign the provenance.
62
+ contents: write # To add assets to a release.
63
+ uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.4.0
64
+ with:
65
+ base64-subjects: "${{ needs.build.outputs.digests }}"
66
+ upload-assets: true # Optional: Upload to a new release
@@ -0,0 +1,60 @@
1
+ # This workflow uses actions that are not certified by GitHub. They are
2
+ # provided by a third-party and are governed by separate terms of service,
3
+ # privacy policy, and support documentation.
4
+ #
5
+ # This workflow will install a prebuilt Ruby version, install dependencies, and
6
+ # run tests and linters.
7
+ name: "Ruby on Rails CI"
8
+ on:
9
+ push:
10
+ branches: [ "master" ]
11
+ pull_request:
12
+ branches: [ "master" ]
13
+ jobs:
14
+ test:
15
+ runs-on: ubuntu-latest
16
+ services:
17
+ postgres:
18
+ image: postgres:11-alpine
19
+ ports:
20
+ - "5432:5432"
21
+ env:
22
+ POSTGRES_DB: rails_test
23
+ POSTGRES_USER: rails
24
+ POSTGRES_PASSWORD: password
25
+ env:
26
+ RAILS_ENV: test
27
+ DATABASE_URL: "postgres://rails:password@localhost:5432/rails_test"
28
+ steps:
29
+ - name: Checkout code
30
+ uses: actions/checkout@v4
31
+ # Add or replace dependency steps here
32
+ - name: Install Ruby and gems
33
+ uses: ruby/setup-ruby@78c01b705fd9d5ad960d432d3a0cfa341d50e410 # v1.179.1
34
+ with:
35
+ bundler-cache: true
36
+ # Add or replace database setup steps here
37
+ - name: Set up database schema
38
+ run: bin/rails db:schema:load
39
+ # Add or replace test runners here
40
+ - name: Run tests
41
+ run: bin/rake
42
+
43
+ lint:
44
+ runs-on: ubuntu-latest
45
+ steps:
46
+ - name: Checkout code
47
+ uses: actions/checkout@v4
48
+ - name: Install Ruby and gems
49
+ uses: ruby/setup-ruby@78c01b705fd9d5ad960d432d3a0cfa341d50e410 # v1.179.1
50
+ with:
51
+ bundler-cache: true
52
+ - name: Generate binstubs
53
+ run: bundle binstubs bundler-audit brakeman rubocop
54
+ # Add or replace any other lints here
55
+ - name: Security audit dependencies
56
+ run: bin/bundler-audit --update
57
+ - name: Security audit application code
58
+ run: bin/brakeman -q -w2
59
+ - name: Lint Ruby files
60
+ run: bin/rubocop --parallel
data/.gitignore CHANGED
@@ -1,15 +1 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- *.bundle
11
- *.so
12
- *.o
13
- *.a
14
- mkmf.log
15
- .DS_Store
1
+ *.gem
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 4.0
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Elitmus
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-elitmus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shireesh Jayashetty
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-03-05 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: omniauth-oauth2
@@ -80,14 +79,16 @@ dependencies:
80
79
  - - ">="
81
80
  - !ruby/object:Gem::Version
82
81
  version: '0'
83
- description:
84
82
  email:
85
83
  - shireesh@elitmus.com
86
84
  executables: []
87
85
  extensions: []
88
86
  extra_rdoc_files: []
89
87
  files:
88
+ - ".github/workflows/generator-generic-ossf-slsa3-publish.yml"
89
+ - ".github/workflows/rubyonrails.yml"
90
90
  - ".gitignore"
91
+ - ".tool-versions"
91
92
  - ".travis.yml"
92
93
  - Gemfile
93
94
  - LICENSE.txt
@@ -105,7 +106,6 @@ homepage: https://github.com/elitmus/omniauth-elitmus
105
106
  licenses:
106
107
  - MIT
107
108
  metadata: {}
108
- post_install_message:
109
109
  rdoc_options: []
110
110
  require_paths:
111
111
  - lib
@@ -120,8 +120,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.4.10
124
- signing_key:
123
+ rubygems_version: 4.0.10
125
124
  specification_version: 4
126
125
  summary: eLitmus OAuth2 Strategy for OmniAuth
127
- test_files: []
126
+ test_files:
127
+ - test/helper.rb
128
+ - test/support/shared_example.rb
129
+ - test/test.rb