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 +4 -4
- data/.deepsource.toml +7 -0
- data/.github/workflows/auto-trigger-remove-stale.yml +31 -0
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/lib/devise_revocable_session/version.rb +1 -1
- data/renovate.json +11 -1
- metadata +5 -6
- data/.github/workflows/gitleaks.toml +0 -8
- data/.github/workflows/scheduled.yml +0 -29
- data/.github/workflows/test.yml +0 -50
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70f612662a96462f86abbe4452fce360424017faa4c81a4c7ebd19683f1624fd
|
4
|
+
data.tar.gz: c2ee857231da33c7dcf787044d463ad51c2a05be50a8250371867005a1406a88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 831d6a1447e419568f9e20037d38d4398c5ef06069287680c4507cdf45ff95af5fe59d6c1766c27ff4766556b9e0dd7940736f3ded422fe603e9b655b2931881
|
7
|
+
data.tar.gz: 4c15eb588d27a3131cad244a0a01eaced830db06d85a03c8220f7c91558dc8b0c08ed7ba831c8bfeaa24f6a3d79530772a80aabaf39f2061362034532f2ef7a1
|
data/.deepsource.toml
ADDED
@@ -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
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.3.7
|
data/renovate.json
CHANGED
@@ -3,5 +3,15 @@
|
|
3
3
|
"extends": [
|
4
4
|
"config:base"
|
5
5
|
],
|
6
|
-
"
|
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.
|
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:
|
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/
|
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.
|
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,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
|
data/.github/workflows/test.yml
DELETED
@@ -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 }}
|