devise_revocable_session 0.1.6 → 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 -0
- data/devise_revocable_session.gemspec +3 -3
- data/lib/devise_revocable_session/version.rb +1 -1
- data/renovate.json +17 -0
- metadata +22 -22
- data/.github/workflows/gitleaks.toml +0 -8
- data/.github/workflows/scheduled.yml +0 -29
- data/.github/workflows/test.yml +0 -50
- data/.ruby_version +0 -1
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
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.3.7
|
@@ -24,8 +24,8 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
25
|
spec.require_paths = ['lib']
|
26
26
|
|
27
|
-
spec.
|
27
|
+
spec.add_dependency 'activemodel', '~> 7.0'
|
28
|
+
spec.add_dependency 'devise', '> 1.5'
|
28
29
|
|
29
|
-
spec.
|
30
|
-
spec.add_dependency 'devise'
|
30
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
31
31
|
end
|
data/renovate.json
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
3
|
+
"extends": [
|
4
|
+
"config:base"
|
5
|
+
],
|
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
|
17
|
+
}
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
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
|
-
name:
|
14
|
+
name: activemodel
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
type: :
|
19
|
+
version: '7.0'
|
20
|
+
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '7.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: devise
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1.5'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '1.5'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :
|
47
|
+
version: '13.0'
|
48
|
+
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
54
|
+
version: '13.0'
|
55
55
|
description: A module for devise to revoke sessions
|
56
56
|
email:
|
57
57
|
- engineers@dispatchit.com
|
@@ -59,14 +59,13 @@ 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"
|
70
69
|
- Gemfile
|
71
70
|
- LICENSE.txt
|
72
71
|
- README.md
|
@@ -81,6 +80,7 @@ files:
|
|
81
80
|
- lib/devise_revocable_session/version.rb
|
82
81
|
- lib/generators/devise_revocable_session/devise_revocable_session_generator.rb
|
83
82
|
- lib/generators/devise_revocable_session/templates/migration.rb
|
83
|
+
- renovate.json
|
84
84
|
homepage: http://github.com/dispatchitinc/devise_revocable_session
|
85
85
|
licenses:
|
86
86
|
- MIT
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
|
-
rubygems_version: 3.
|
104
|
+
rubygems_version: 3.5.22
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
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.13.0
|
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@v1.32.0
|
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 }}
|
data/.ruby_version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
3.1.2
|