devise_revocable_session 0.1.7 → 0.1.8

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: 30e0509cd10f2fe03a2220aa3e5106d7960c80ba8c784367e05c9a8f44c3c7ef
4
- data.tar.gz: d3b553ad0b14d666d703ac4ccbf44e28af0b6d6202d300d7bce41ebdb90d1433
3
+ metadata.gz: 70f612662a96462f86abbe4452fce360424017faa4c81a4c7ebd19683f1624fd
4
+ data.tar.gz: c2ee857231da33c7dcf787044d463ad51c2a05be50a8250371867005a1406a88
5
5
  SHA512:
6
- metadata.gz: 8a22a5bb7d5ee58e71417f6809d809c101e4c8ceb3dcd3457230513bbf4396ff0cf2e68f52e49a095d028d45e06238683bc7d8d8178a55f55508dae917433ef0
7
- data.tar.gz: a2f3026f20a738de3d5ccf25437c2425681a2ce22857417a371973d0dd9c3c16a5a1180064ede9c8abc1764f16ebfb59c77ed4cba5f202c8734ef79b2aa8bf23
6
+ metadata.gz: 831d6a1447e419568f9e20037d38d4398c5ef06069287680c4507cdf45ff95af5fe59d6c1766c27ff4766556b9e0dd7940736f3ded422fe603e9b655b2931881
7
+ data.tar.gz: 4c15eb588d27a3131cad244a0a01eaced830db06d85a03c8220f7c91558dc8b0c08ed7ba831c8bfeaa24f6a3d79530772a80aabaf39f2061362034532f2ef7a1
data/.deepsource.toml ADDED
@@ -0,0 +1,7 @@
1
+ version = 1
2
+
3
+ [[analyzers]]
4
+ name = "ruby"
5
+
6
+ [[analyzers]]
7
+ name = "secrets"
@@ -0,0 +1,31 @@
1
+ name: "Daily/Trigger: Remove Stale Branches & PRs"
2
+
3
+ on:
4
+ schedule:
5
+ - cron: "0 0 * * *" # 12am UTC daily (6pm/7pm CT)
6
+ workflow_dispatch:
7
+
8
+ jobs:
9
+ remove-stale:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/stale@v9
13
+ with:
14
+ close-pr-message: 'This PR was closed because it has been stale for 7 days.'
15
+ days-before-close: 7
16
+ days-before-issue-close: -1
17
+ days-before-issue-stale: -1
18
+ days-before-stale: 60
19
+ delete-branch: true
20
+ exempt-pr-labels: 'dependencies'
21
+ operations-per-run: 75
22
+ stale-pr-label: 'stale'
23
+ stale-pr-message: 'This PR is marked as stale because it has been open for 60 days with no activity.'
24
+
25
+ - uses: fpicalausa/remove-stale-branches@v2.2.0
26
+ with:
27
+ days-before-branch-delete: 7
28
+ days-before-branch-stale: 90
29
+ exempt-authors-regex: "^(dependa|renovate)"
30
+ operations-per-run: 75
31
+ stale-branch-message: 'This branch is marked as stale because it has had no activity in 90 days. Delete the comment or add new commits to avoid the branch being deleted in 7 days.'
data/.rubocop.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  AllCops:
2
2
  NewCops: enable
3
3
  SuggestExtensions: false
4
- TargetRubyVersion: 3.2
4
+ TargetRubyVersion: 3.3
5
5
  Exclude:
6
6
  - vendor/**/*
7
7
 
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.0
1
+ 3.3.7
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeviseRevocableSession
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
5
5
  end
data/renovate.json CHANGED
@@ -3,5 +3,15 @@
3
3
  "extends": [
4
4
  "config:base"
5
5
  ],
6
- "includeForks": true
6
+ "labels": [
7
+ "dependencies"
8
+ ],
9
+ "includeForks": true,
10
+ "rebaseWhen": "conflicted",
11
+ "schedule": [
12
+ "after 10pm every weekday",
13
+ "before 5am every weekday",
14
+ "every weekend"
15
+ ],
16
+ "updateNotScheduled": false
7
17
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_revocable_session
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - DispatchIt, Inc. Engineers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-09 00:00:00.000000000 Z
11
+ date: 2025-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -59,11 +59,10 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - ".deepsource.toml"
62
63
  - ".github/issue_template.md"
63
64
  - ".github/pull_request_template.md"
64
- - ".github/workflows/gitleaks.toml"
65
- - ".github/workflows/scheduled.yml"
66
- - ".github/workflows/test.yml"
65
+ - ".github/workflows/auto-trigger-remove-stale.yml"
67
66
  - ".gitignore"
68
67
  - ".rubocop.yml"
69
68
  - ".ruby-version"
@@ -102,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
101
  - !ruby/object:Gem::Version
103
102
  version: '0'
104
103
  requirements: []
105
- rubygems_version: 3.4.1
104
+ rubygems_version: 3.5.22
106
105
  signing_key:
107
106
  specification_version: 4
108
107
  summary: A module for devise to revoke sessions
@@ -1,8 +0,0 @@
1
- [allowlist]
2
- description = 'A list of commits and secrets to skip when scanning for secrets'
3
- commits = [
4
- 'ExampleCommit'
5
- ]
6
- regexes = [
7
- 'ExampleSecret'
8
- ]
@@ -1,29 +0,0 @@
1
- name: Scheduled
2
- on:
3
- schedule:
4
- - cron: "0 4 * * 1" # 4am UTC on Mondays (10pm/11pm CT on Sundays)
5
-
6
- jobs:
7
- bundler-audit:
8
- runs-on: ubuntu-latest
9
- steps:
10
- - uses: actions/checkout@v3
11
- with:
12
- fetch-depth: 0
13
- - uses: ruby/setup-ruby@v1
14
- with:
15
- bundler-cache: true
16
- - run: |
17
- gem install bundler-audit
18
- bundler-audit update
19
- bundler-audit
20
- bundle-outdated:
21
- runs-on: ubuntu-latest
22
- steps:
23
- - uses: actions/checkout@v3
24
- with:
25
- fetch-depth: 0
26
- - uses: ruby/setup-ruby@v1
27
- with:
28
- bundler-cache: true
29
- - run: bundle outdated --strict
@@ -1,50 +0,0 @@
1
- name: Test
2
- on:
3
- push:
4
- branches: [ main ]
5
- pull_request:
6
- branches: [ main ]
7
-
8
- env:
9
- GITLEAKS_VERSION: v8.15.1
10
-
11
- jobs:
12
- pronto:
13
- if: github.EVENT_NAME == 'pull_request'
14
- runs-on: ubuntu-latest
15
- steps:
16
- - uses: actions/checkout@v3
17
- with:
18
- fetch-depth: 0
19
- - uses: HeRoMo/pronto-action@1.43.1
20
- with:
21
- github_token: ${{ secrets.GITHUB_TOKEN }}
22
- gitleaks:
23
- if: github.EVENT_NAME == 'pull_request'
24
- runs-on: ubuntu-latest
25
- steps:
26
- - uses: actions/checkout@v3
27
- with:
28
- fetch-depth: 0
29
- - run: |
30
- curl -H "Accept: application/vnd.github.v3.raw" \
31
- -L "https://api.github.com/repos/zricethezav/gitleaks/contents/config/gitleaks.toml?ref=${{ env.GITLEAKS_VERSION }}" \
32
- >> ${{ github.WORKSPACE }}/.github/workflows/original.toml
33
- sed "/\[allowlist\]/,/^$/d" ${{ github.WORKSPACE }}/.github/workflows/original.toml >> ${{ github.WORKSPACE }}/.github/workflows/official.toml
34
- cat .github/workflows/gitleaks.toml >> .github/workflows/official.toml
35
- if [[ ${{ github.REF }} == 'refs/heads/main' ]]; then
36
- CURRENT_COMMIT="${{ github.SHA }}"
37
- else
38
- CURRENT_COMMIT="${{ github.EVENT.PULL_REQUEST.HEAD.SHA }}"
39
- fi
40
- echo "LOG_OPTS='^origin/main $CURRENT_COMMIT'" >> $GITHUB_ENV
41
- - uses: addnab/docker-run-action@v3
42
- with:
43
- image: zricethezav/gitleaks:${{ env.GITLEAKS_VERSION }}
44
- options: -v ${{ github.WORKSPACE }}:/app
45
- run: |
46
- cd /app
47
- git config --global --add safe.directory /app
48
- gitleaks detect --verbose --source='./' \
49
- --config='.github/workflows/official.toml' \
50
- --log-opts=${{ env.LOG_OPTS }}