mongo_session_store 3.3.0 → 3.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e3d5855f45006aba783cdc7edb80d07a3721d985c40b156548e596a2e1a50bb
4
- data.tar.gz: 01a005c71cd44b77044bbfea12df9121d03ccf8a6bf80bd8f7626a3153ed216d
3
+ metadata.gz: b87dd8015108184bd13cf8e529c2d62a237c9a76c36e2559326a20cd43520141
4
+ data.tar.gz: 1ceee637e1456b9c0736147f589e4482229d1f232df40e05b358042c3f290729
5
5
  SHA512:
6
- metadata.gz: 90ae3da4b0804b39df8710b2c69bf66a1a5330422cab88d091cf41e177713b038bcd8626342ef6dc7a26615bb0efddfe6f7e5f498bd694b33d1272bfa2c5b1ff
7
- data.tar.gz: 8cfe12b69f98fb936e51404a9cf54b8d330ce805e174c0b020dcc606d9c2906a76eccb9e41fe2e1afe6f525599fb471e6c7c72a6216d72a499cddcee96e1b49e
6
+ metadata.gz: 7d543f00ba314e64379697ead54a648a76eff763ad0c6c260cf58e1190ed1cb156ae0c4cd4d980ab28a3505b33b907a5f181d83fde8e84361541696dda75bc81
7
+ data.tar.gz: 4685bb9ace0864d844867e5cc3df3a5511c1ab5a038624800faec02e0bfb8c556fbdd64042a537f3e4087b09e4746dbd7b9a13794e911804de9a9f6c30415337
@@ -115,22 +115,3 @@ jobs:
115
115
  github-token: ${{ secrets.GITHUB_TOKEN }}
116
116
  file: coverage/.resultset.json
117
117
  format: simplecov
118
-
119
- rubocop:
120
- name: "RuboCop"
121
- runs-on: ubuntu-latest
122
- timeout-minutes: 10
123
-
124
- steps:
125
- - name: Checkout project
126
- uses: actions/checkout@v7
127
-
128
- - name: Set up Ruby
129
- uses: ruby/setup-ruby@v1
130
- with:
131
- ruby-version: "3.3"
132
- gemfile: gemfiles/rails-6.0-mongo.gemfile
133
- bundler-cache: true
134
-
135
- - name: Run RuboCop
136
- run: bundle exec rubocop
@@ -6,12 +6,14 @@ on:
6
6
  types: [completed]
7
7
 
8
8
  permissions:
9
- contents: read
10
9
  actions: read
11
10
  issues: write
12
11
  pull-requests: write
13
12
 
14
13
  jobs:
15
14
  comment:
16
- uses: numbata/danger-pr-comment/.github/workflows/danger-comment.yml@v0.1.0
17
- secrets: inherit
15
+ name: Post Review Comment
16
+ uses: danger/danger-pr-comment/.github/workflows/danger-comment.yml@645e89bcc7be89ee7e8362166110b05cbced8e59 # v0.3.0
17
+ with:
18
+ base-branch: '*'
19
+ comment-empty: false
@@ -13,41 +13,10 @@ concurrency:
13
13
 
14
14
  jobs:
15
15
  danger:
16
- runs-on: ubuntu-latest
17
- timeout-minutes: 10
18
-
19
- env:
20
- BUNDLE_GEMFILE: Gemfile.danger
21
-
22
- steps:
23
- - name: Checkout repository
24
- uses: actions/checkout@v7
25
- with:
26
- fetch-depth: 0
27
-
28
- - name: Set up Ruby
29
- uses: ruby/setup-ruby@v1
30
- with:
31
- ruby-version: '3.4'
32
- bundler-cache: true
33
-
34
- - name: Run Danger
35
- id: danger
36
- continue-on-error: true
37
- env:
38
- DANGER_GITHUB_API_TOKEN: ${{ github.token }}
39
- GITHUB_TOKEN: ${{ github.token }}
40
- DANGER_REPORT_PATH: ${{ runner.temp }}/danger-report.json
41
- run: bundle exec danger dry_run
42
-
43
- - name: Upload Danger report
44
- if: ${{ always() }}
45
- uses: actions/upload-artifact@v4
46
- with:
47
- name: danger-report
48
- path: ${{ runner.temp }}/danger-report.json
49
- if-no-files-found: error
50
-
51
- - name: Fail if Danger failed
52
- if: ${{ steps.danger.outcome == 'failure' }}
53
- run: exit 1
16
+ name: Review Pull Request
17
+ uses: danger/danger-pr-comment/.github/workflows/danger-run.yml@645e89bcc7be89ee7e8362166110b05cbced8e59 # v0.3.0
18
+ with:
19
+ ruby-version: '3.4'
20
+ bundler-cache: true
21
+ gemfile: Gemfile.danger
22
+ danger-args: dry_run --base=origin/${{ github.base_ref }}
@@ -0,0 +1,29 @@
1
+ name: Lint
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ concurrency:
9
+ group: ${{ github.workflow }}-${{ github.ref }}
10
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
11
+
12
+ permissions:
13
+ contents: read
14
+
15
+ jobs:
16
+ lint:
17
+ name: Lint Code and Documentation
18
+ runs-on: ubuntu-latest
19
+ timeout-minutes: 10
20
+ steps:
21
+ - name: Check Out Code
22
+ uses: actions/checkout@v7
23
+ - name: Set Up Ruby
24
+ uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: '4.0'
27
+ bundler-cache: true
28
+ - name: Run Lint
29
+ run: bundle exec rake lint
@@ -0,0 +1,31 @@
1
+ name: Release
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ version:
7
+ description: Optional release version overriding the checked-in version.
8
+ type: string
9
+ required: false
10
+ dry-run:
11
+ description: Check release prerequisites, such as RubyGems Trusted Publishing, without releasing.
12
+ type: boolean
13
+ default: false
14
+
15
+ permissions:
16
+ contents: write
17
+ id-token: write
18
+
19
+ jobs:
20
+ release:
21
+ if: github.repository == 'mongoid/mongo_session_store' && github.ref == 'refs/heads/main'
22
+ uses: dblock/ruby-gem-release/.github/workflows/release.yml@v0.9.0
23
+ with:
24
+ ruby-version: '3.3'
25
+ gemfile: gemfiles/rails-current-mongoid.gemfile
26
+ version: ${{ inputs.version }}
27
+ dry-run: ${{ inputs.dry-run }}
28
+ test: |
29
+ docker run --detach --name mongodb --publish 27017:27017 mongo:8.0
30
+ timeout 60 bash -c 'until docker exec mongodb mongosh --quiet --eval "db.adminCommand({ping: 1})"; do sleep 1; done'
31
+ bundle exec rake
data/.gitignore CHANGED
@@ -8,3 +8,5 @@ spec/support/apps/rails_*/db/*.sqlite3-*
8
8
  spec/support/apps/rails_*/log/
9
9
  *.gem
10
10
  /tmp/
11
+ /vendor/bundle
12
+ .bundle
data/.rubocop.yml CHANGED
@@ -1,31 +1,47 @@
1
- inherit_from: .rubocop_todo.yml
1
+ plugins:
2
+ - rubocop-md
3
+ - rubocop-prose
4
+ - rubocop-rake
5
+ - rubocop-spellcheck
6
+ - rubocop-yaml
7
+
8
+ inherit_from: ".rubocop_todo.yml"
2
9
 
3
10
  AllCops:
4
11
  TargetRubyVersion: 2.6
5
12
  NewCops: enable
6
13
  Include:
7
- - "**/*.rb"
8
- - "**/*.gemspec"
9
- - "**/*.gemfile"
10
- - "**/Gemfile"
11
- - "**/Gemfile.danger"
12
- - "**/Rakefile"
13
- - "**/Dangerfile"
14
- Exclude:
15
- - "gemfiles/vendor/**/*"
16
- - "perf/benchmark.rb"
17
- - "spec/support/apps/**/*"
18
- - "tmp/**/*"
19
- - "vendor/**/*"
14
+ - ".github/**/*.yml"
15
+ - ".rubocop.yml"
16
+ Exclude:
17
+ - gemfiles/vendor/**/*
18
+ - perf/benchmark.rb
19
+ - spec/support/apps/**/*
20
+ - tmp/**/*
21
+ - vendor/**/*
22
+ - coverage/**/*
23
+ - pkg/**/*
20
24
  DisplayCopNames: true
21
25
  UseCache: true
22
- CacheRootDirectory: ./tmp
26
+ CacheRootDirectory: "./tmp"
27
+ SuggestExtensions: false
28
+ inherit_mode:
29
+ merge:
30
+ - Include
23
31
 
24
32
  Style/Documentation:
25
33
  Enabled: false
34
+ inherit_mode:
35
+ merge:
36
+ - Exclude
37
+ Exclude:
38
+ - "**/*.md"
26
39
 
27
40
  Style/StringLiterals:
28
41
  EnforcedStyle: double_quotes
42
+ inherit_mode:
43
+ merge:
44
+ - Exclude
29
45
 
30
46
  Style/StringLiteralsInInterpolation:
31
47
  EnforcedStyle: double_quotes
@@ -35,12 +51,18 @@ Layout/ParameterAlignment:
35
51
 
36
52
  Layout/MultilineOperationIndentation:
37
53
  EnforcedStyle: indented
54
+ inherit_mode:
55
+ merge:
56
+ - Exclude
38
57
 
39
58
  Layout/HashAlignment:
40
59
  EnforcedLastArgumentHashStyle: ignore_implicit
41
60
 
42
61
  Style/HashSyntax:
43
62
  EnforcedStyle: hash_rockets
63
+ inherit_mode:
64
+ merge:
65
+ - Exclude
44
66
 
45
67
  Layout/FirstArrayElementIndentation:
46
68
  EnforcedStyle: consistent
@@ -50,3 +72,116 @@ Style/FormatString:
50
72
 
51
73
  Metrics/MethodLength:
52
74
  Max: 15
75
+ inherit_mode:
76
+ merge:
77
+ - Exclude
78
+ Exclude:
79
+ - "**/*.md"
80
+
81
+ YAML/Lint/InvalidSyntax:
82
+ Include:
83
+ - "**/*.yml"
84
+ - "**/*.yaml"
85
+
86
+ YAML/Lint/DuplicateKey:
87
+ Include:
88
+ - "**/*.yml"
89
+ - "**/*.yaml"
90
+
91
+ Naming/FileName:
92
+ inherit_mode:
93
+ merge:
94
+ - Exclude
95
+ Exclude:
96
+ - "**/*.md"
97
+ - ".github/workflows/*.yml"
98
+
99
+ Metrics/AbcSize:
100
+ inherit_mode:
101
+ merge:
102
+ - Exclude
103
+ Exclude:
104
+ - "**/*.md"
105
+
106
+ Naming/HeredocDelimiterNaming:
107
+ inherit_mode:
108
+ merge:
109
+ - Exclude
110
+ Exclude:
111
+ - "**/*.md"
112
+
113
+ Style/SafeNavigation:
114
+ inherit_mode:
115
+ merge:
116
+ - Exclude
117
+ Exclude:
118
+ - "**/*.md"
119
+
120
+ Style/OneClassPerFile:
121
+ inherit_mode:
122
+ merge:
123
+ - Exclude
124
+ Exclude:
125
+ - "**/*.md"
126
+
127
+ Lint/UselessAssignment:
128
+ inherit_mode:
129
+ merge:
130
+ - Exclude
131
+ Exclude:
132
+ - "**/*.md"
133
+
134
+ Style/MultilineBlockChain:
135
+ inherit_mode:
136
+ merge:
137
+ - Exclude
138
+ Exclude:
139
+ - "**/*.md"
140
+
141
+ Style/SymbolProc:
142
+ inherit_mode:
143
+ merge:
144
+ - Exclude
145
+ Exclude:
146
+ - "**/*.md"
147
+
148
+ Lint/Void:
149
+ inherit_mode:
150
+ merge:
151
+ - Exclude
152
+ Exclude:
153
+ - "**/*.md"
154
+
155
+ Metrics/BlockLength:
156
+ inherit_mode:
157
+ merge:
158
+ - Exclude
159
+ Exclude:
160
+ - 'spec/release/release_spec.rb'
161
+ - Gemfile
162
+
163
+ Layout/LineLength:
164
+ inherit_mode:
165
+ merge:
166
+ - Exclude
167
+ Exclude:
168
+ - ".github/workflows/*.yml"
169
+
170
+ Markdown/HeadingCapitalization:
171
+ Enabled: true
172
+ Style: title_case
173
+
174
+ Prose/MaxLength:
175
+ Max: false
176
+ Exclude:
177
+ - LICENSE
178
+
179
+ Spellcheck:
180
+ DictionaryFiles:
181
+ en:
182
+ - gem:rubocop-spellcheck/data/en/en.dic
183
+ - ".spellcheck.txt"
184
+
185
+ Spellcheck/Spelling:
186
+ Exclude:
187
+ - LICENSE
data/.rubocop_todo.yml CHANGED
@@ -1,12 +1,11 @@
1
1
  # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2026-10-17 03:50:12 UTC using RuboCop version 1.92.0.
2
+ # `rubocop --auto-gen-config --no-exclude-limit --no-offense-counts --no-auto-gen-timestamp`
3
+ # using RuboCop version 1.92.3.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
- # Offense count: 26
10
9
  # This cop supports safe autocorrection (--autocorrect).
11
10
  # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation.
12
11
  Bundler/OrderedGems:
@@ -23,37 +22,21 @@ Bundler/OrderedGems:
23
22
  - 'gemfiles/rails-8.1-mongoid.gemfile'
24
23
  - 'gemfiles/rails-current-mongo.gemfile'
25
24
 
26
- # Offense count: 1
27
- # This cop supports safe autocorrection (--autocorrect).
28
- Gemspec/DeprecatedAttributeAssignment:
29
- Exclude:
30
- - 'mongo_session_store.gemspec'
31
-
32
- # Offense count: 3
33
25
  # Configuration parameters: EnforcedStyle, AllowedGems.
34
26
  # SupportedStyles: Gemfile, gems.rb, gemspec
35
27
  Gemspec/DevelopmentDependencies:
36
28
  Exclude:
37
29
  - 'mongo_session_store.gemspec'
38
30
 
39
- # Offense count: 1
40
- # This cop supports safe autocorrection (--autocorrect).
41
- Gemspec/RequireMFA:
42
- Exclude:
43
- - 'mongo_session_store.gemspec'
44
-
45
- # Offense count: 1
46
31
  Gemspec/RequiredRubyVersion:
47
32
  Exclude:
48
33
  - 'mongo_session_store.gemspec'
49
34
 
50
- # Offense count: 1
51
35
  # This cop supports safe autocorrection (--autocorrect).
52
36
  Layout/EmptyLineAfterGuardClause:
53
37
  Exclude:
54
38
  - 'lib/mongo_session_store/mongo_store.rb'
55
39
 
56
- # Offense count: 2
57
40
  # This cop supports safe autocorrection (--autocorrect).
58
41
  # Configuration parameters: EnforcedStyle.
59
42
  # SupportedStyles: space, no_space
@@ -61,7 +44,6 @@ Layout/LineContinuationSpacing:
61
44
  Exclude:
62
45
  - 'lib/mongo_session_store/mongo_store.rb'
63
46
 
64
- # Offense count: 1
65
47
  # This cop supports safe autocorrection (--autocorrect).
66
48
  # Configuration parameters: EnforcedStyle, IndentationWidth.
67
49
  # SupportedStyles: aligned, indented
@@ -69,7 +51,13 @@ Layout/LineEndStringConcatenationIndentation:
69
51
  Exclude:
70
52
  - 'lib/mongo_session_store/mongo_store.rb'
71
53
 
72
- # Offense count: 5
54
+ # This cop supports safe autocorrection (--autocorrect).
55
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
56
+ # SupportedStyles: aligned, indented
57
+ Layout/MultilineOperationIndentation:
58
+ Exclude:
59
+ - 'Rakefile'
60
+
73
61
  # This cop supports safe autocorrection (--autocorrect).
74
62
  # Configuration parameters: AllowedMethods, AllowedPatterns.
75
63
  Lint/AmbiguousBlockAssociation:
@@ -77,26 +65,32 @@ Lint/AmbiguousBlockAssociation:
77
65
  - 'spec/lib/mongo_session_store/mongo_store/session_spec.rb'
78
66
  - 'spec/lib/mongo_session_store/mongo_store_base_spec.rb'
79
67
 
80
- # Offense count: 3
81
68
  # Configuration parameters: AllowedMethods.
82
69
  # AllowedMethods: enums
83
70
  Lint/ConstantDefinitionInBlock:
84
71
  Exclude:
85
72
  - 'Rakefile'
86
73
 
87
- # Offense count: 17
88
- # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
74
+ # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
89
75
  # AllowedMethods: refine
90
76
  Metrics/BlockLength:
91
- Max: 215
77
+ Exclude:
78
+ - 'Rakefile'
79
+ - 'spec/integrations/devise_spec.rb'
80
+ - 'spec/lib/mongo_session_store/mongo_store/session_spec.rb'
81
+ - 'spec/lib/mongo_session_store/mongo_store_base_spec.rb'
82
+ - 'spec/lib/mongo_session_store/mongoid_store/session_spec.rb'
83
+ - 'spec/lib/mongo_session_store/serialization_spec.rb'
84
+ - 'spec/lib/mongo_session_store/stale_sessions_spec.rb'
85
+ - 'spec/lib/mongo_session_store_spec.rb'
86
+ - 'spec/spec_helper.rb'
92
87
 
93
- # Offense count: 12
94
88
  # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
95
89
  # CheckDefinitionPathHierarchyRoots: lib, spec, test, src
96
90
  # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
97
91
  Naming/FileName:
98
92
  Exclude:
99
- - 'Rakefile.rb'
93
+ - 'docker-compose.yml'
100
94
  - 'gemfiles/rails-5.0-mongo.gemfile'
101
95
  - 'gemfiles/rails-5.0-mongoid.gemfile'
102
96
  - 'gemfiles/rails-5.1-mongo.gemfile'
@@ -110,28 +104,65 @@ Naming/FileName:
110
104
  - 'gemfiles/rails-current-mongo.gemfile'
111
105
  - 'gemfiles/rails-current-mongoid.gemfile'
112
106
 
113
- # Offense count: 5
107
+ Rake/MethodDefinitionInTask:
108
+ Exclude:
109
+ - 'Rakefile'
110
+
114
111
  Security/MarshalLoad:
115
112
  Exclude:
116
113
  - 'lib/mongo_session_store/mongo_store.rb'
117
114
  - 'lib/mongo_session_store/mongoid_store.rb'
118
115
  - 'spec/lib/mongo_session_store/mongo_store/session_spec.rb'
119
116
 
120
- # Offense count: 34
121
117
  # This cop supports unsafe autocorrection (--autocorrect-all).
122
118
  # Configuration parameters: EnforcedStyle.
123
119
  # SupportedStyles: always, always_true, never
124
120
  Style/FrozenStringLiteralComment:
125
- Enabled: false
121
+ Exclude:
122
+ - 'Gemfile'
123
+ - 'Rakefile'
124
+ - 'gemfiles/rails-5.0-mongo.gemfile'
125
+ - 'gemfiles/rails-5.0-mongoid.gemfile'
126
+ - 'gemfiles/rails-5.1-mongo.gemfile'
127
+ - 'gemfiles/rails-5.1-mongoid.gemfile'
128
+ - 'gemfiles/rails-5.2-mongo.gemfile'
129
+ - 'gemfiles/rails-5.2-mongoid.gemfile'
130
+ - 'gemfiles/rails-6.0-mongo.gemfile'
131
+ - 'gemfiles/rails-6.0-mongoid.gemfile'
132
+ - 'gemfiles/rails-8.1-mongo.gemfile'
133
+ - 'gemfiles/rails-8.1-mongoid.gemfile'
134
+ - 'gemfiles/rails-current-mongo.gemfile'
135
+ - 'gemfiles/rails-current-mongoid.gemfile'
136
+ - 'lib/mongo_session_store.rb'
137
+ - 'lib/mongo_session_store/mongo_store.rb'
138
+ - 'lib/mongo_session_store/mongo_store_base.rb'
139
+ - 'lib/mongo_session_store/mongoid_store.rb'
140
+ - 'lib/mongo_session_store/version.rb'
141
+ - 'mongo_session_store.gemspec'
142
+ - 'spec/integrations/devise_spec.rb'
143
+ - 'spec/integrations/rack_spec.rb'
144
+ - 'spec/lib/mongo_session_store/legacy_serialization_spec.rb'
145
+ - 'spec/lib/mongo_session_store/mongo_store/session_spec.rb'
146
+ - 'spec/lib/mongo_session_store/mongo_store_base_spec.rb'
147
+ - 'spec/lib/mongo_session_store/mongo_store_spec.rb'
148
+ - 'spec/lib/mongo_session_store/mongoid_store/session_spec.rb'
149
+ - 'spec/lib/mongo_session_store/mongoid_store_spec.rb'
150
+ - 'spec/lib/mongo_session_store/serialization_spec.rb'
151
+ - 'spec/lib/mongo_session_store/stale_sessions_spec.rb'
152
+ - 'spec/lib/mongo_session_store/version_spec.rb'
153
+ - 'spec/lib/mongo_session_store_spec.rb'
154
+ - 'spec/rails_helper.rb'
155
+ - 'spec/spec_helper.rb'
156
+ - 'spec/support/helpers/session_id_helper.rb'
157
+ - 'spec/support/helpers/test_database_helper.rb'
158
+ - 'spec/support/rack_app.rb'
126
159
 
127
- # Offense count: 1
128
160
  # This cop supports safe autocorrection (--autocorrect).
129
161
  # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
130
162
  Style/GuardClause:
131
163
  Exclude:
132
164
  - 'Rakefile'
133
165
 
134
- # Offense count: 1
135
166
  # This cop supports safe autocorrection (--autocorrect).
136
167
  # Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
137
168
  # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
@@ -140,20 +171,17 @@ Style/HashSyntax:
140
171
  Exclude:
141
172
  - 'Dangerfile'
142
173
 
143
- # Offense count: 1
144
174
  # This cop supports safe autocorrection (--autocorrect).
145
175
  Style/IfUnlessModifier:
146
176
  Exclude:
147
177
  - 'Rakefile'
148
178
 
149
- # Offense count: 1
150
179
  # This cop supports unsafe autocorrection (--autocorrect-all).
151
180
  # Configuration parameters: InverseMethods, InverseBlocks.
152
181
  Style/InverseMethods:
153
182
  Exclude:
154
183
  - 'spec/support/helpers/test_database_helper.rb'
155
184
 
156
- # Offense count: 3
157
185
  # This cop supports unsafe autocorrection (--autocorrect-all).
158
186
  # Configuration parameters: EnforcedStyle, Recursive.
159
187
  # SupportedStyles: literals, strict
@@ -161,24 +189,20 @@ Style/MutableConstant:
161
189
  Exclude:
162
190
  - 'Rakefile'
163
191
 
164
- # Offense count: 1
165
192
  Style/OpenStructUse:
166
193
  Exclude:
167
194
  - 'spec/lib/mongo_session_store/mongo_store_base_spec.rb'
168
195
 
169
- # Offense count: 1
170
196
  # This cop supports safe autocorrection (--autocorrect).
171
197
  Style/RedundantConstantBase:
172
198
  Exclude:
173
199
  - 'spec/spec_helper.rb'
174
200
 
175
- # Offense count: 1
176
201
  # This cop supports safe autocorrection (--autocorrect).
177
202
  Style/RedundantParentheses:
178
203
  Exclude:
179
204
  - 'lib/mongo_session_store/mongo_store_base.rb'
180
205
 
181
- # Offense count: 1
182
206
  # This cop supports safe autocorrection (--autocorrect).
183
207
  # Configuration parameters: EnforcedStyle.
184
208
  # SupportedStyles: implicit, explicit
@@ -186,10 +210,15 @@ Style/RescueStandardError:
186
210
  Exclude:
187
211
  - 'Rakefile'
188
212
 
189
- # Offense count: 1
190
213
  # This cop supports safe autocorrection (--autocorrect).
191
214
  # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
192
215
  # SupportedStyles: single_quotes, double_quotes
193
216
  Style/StringLiterals:
194
217
  Exclude:
195
218
  - 'Dangerfile'
219
+
220
+ # This cop supports safe autocorrection (--autocorrect).
221
+ # Configuration parameters: MinSize.
222
+ # SupportedStyles: percent, brackets
223
+ Style/SymbolArray:
224
+ EnforcedStyle: brackets
data/.spellcheck.txt ADDED
@@ -0,0 +1,54 @@
1
+ ActionDispatch
2
+ ActionPack
3
+ brianhempel
4
+ Brickley
5
+ Bruijn
6
+ BSON
7
+ Bundler
8
+ capybara
9
+ CHANGELOG
10
+ CLI
11
+ DataMapper
12
+ dblock
13
+ de
14
+ ENV
15
+ Gemfile
16
+ Gemfiles
17
+ gemspec
18
+ Hempel
19
+ hsbt
20
+ html
21
+ initializer
22
+ ismaster
23
+ JRuby
24
+ linter
25
+ lt
26
+ marshalled
27
+ md
28
+ memuller
29
+ middleware
30
+ Mongo
31
+ mongod
32
+ Mongoid
33
+ MongoMapper
34
+ MongoSessionStore
35
+ MongoSessionStoreRelease
36
+ MongoStore
37
+ Mérouze
38
+ nmerouze
39
+ ODM
40
+ Pitale
41
+ Racco
42
+ Rakefile
43
+ rb
44
+ README
45
+ rspec
46
+ RuboCop
47
+ RubyGems
48
+ shingara
49
+ streetlogics
50
+ stringify
51
+ tombruijn
52
+ tpitale
53
+ TTL
54
+ YAML
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 3.3.1 (2026/11/24)
2
+
3
+ * [#59](https://github.com/mongoid/mongo_session_store/pull/59): Lint Markdown, YAML, and spelling with rubocop-md, rubocop-prose, rubocop-spellcheck, and rubocop-yaml in a separate Lint workflow, and clean up documentation - [@dblock](https://github.com/dblock).
4
+ * [#60](https://github.com/mongoid/mongo_session_store/pull/60): Run CI pushes only on the default branch, cancel superseded pull request runs, skip duplicate lint in the test matrix, and bound job times - [@dblock](https://github.com/dblock).
5
+ * [#61](https://github.com/mongoid/mongo_session_store/pull/61): Release with ruby-gem-release from a manually dispatched GitHub Actions workflow using RubyGems Trusted Publishing, with dry runs - [@dblock](https://github.com/dblock).
6
+ * [#63](https://github.com/mongoid/mongo_session_store/pull/63): Upgrade danger-pr-comment to 0.3.0 from the `danger` organization and skip empty Danger report comments - [@dblock](https://github.com/dblock).
7
+ * [#64](https://github.com/mongoid/mongo_session_store/pull/64): Ignore `.bundle` in every directory so the release workflow's clean-checkout check passes when Bundler writes `gemfiles/.bundle/config` - [@dblock](https://github.com/dblock).
8
+
1
9
  ### 3.3.0 (2026/10/18)
2
10
 
3
11
  * [#57](https://github.com/mongoid/mongo_session_store/pull/57): Cover legacy session decoding and fix private decoder delegation in the plain-driver adapter - [@dblock](https://github.com/dblock).