redis-actionpack 5.2.0.pre → 5.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
- SHA1:
3
- metadata.gz: 3e2b6211a9e93d7d4437bd0a16154812f0490980
4
- data.tar.gz: d6393f01d6f54f7cec47f5aaf8b96b8024cd15d7
2
+ SHA256:
3
+ metadata.gz: 5e8c18274ebb8a1a35f6490ea21d3728ce4daebfc974b77d81f1e1d29c517b0a
4
+ data.tar.gz: b8b9b5cf0d95370bf4688c833bc854b32fcf153c0cdfab17b72828268dd5de77
5
5
  SHA512:
6
- metadata.gz: 49599e9033bb2cec8f544ad965203ff74cf53110fc9977ed95ad1e4c8fe7fd4bc84bc86525e65bec6a867b3402570bf37d36f145abad2293d2da13581c24fd8b
7
- data.tar.gz: 5a855c54e08114d9145f432991c4b642a429d9f3819904bb535c525d0adcc3280c425ec92d4d31bb43d5cb0efc2ef82ad215866b3e869b17d0354194178166fa
6
+ metadata.gz: 17437048b9c715bd8029676f0da6865d10035fa1089484aaa14a8b6a9dc39f9296c53a8176212b372f4efeba379e6868d60e548468ac82aa520069c8d9ce0bc9
7
+ data.tar.gz: e84179116acf7607e560cb03721c1ecb662d946a55dba0604cfb853e41fa83ae3f9beb2f0be446958fb390dc06e49f848303252e3da2f146a6c76e51cd9a7822
@@ -6,6 +6,7 @@ rvm:
6
6
  - 2.4
7
7
  - 2.5
8
8
  - 2.6
9
+ - 2.7
9
10
  - ruby-head
10
11
  - jruby-head
11
12
  gemfile:
@@ -0,0 +1,252 @@
1
+ v5.2.0 (2020-01-13)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Require latest version of redis-rack
5
+ Tom Scott
6
+
7
+ * Update version to v5.2.0 final
8
+ Tom Scott
9
+
10
+ * Fix for rack 2.0.8 (#28)
11
+
12
+ * Fix for rack 2.0.8
13
+ * add new redis-rack for tests
14
+ * add new ruby 2.7 for tests
15
+ Alexey Vasiliev
16
+
17
+ * v5.2.0.pre: Support Signed/Encrypted Cookies
18
+ Tom Scott
19
+
20
+ * Update README with info about signed cookies
21
+ Tom Scott
22
+
23
+ * Support Signed and Encrypted Cookie Storage (#27)
24
+
25
+ With the `:signed` option passed into the Redis session store, you can
26
+ now ensure that sessions will be set up in the browser using a
27
+ signed/encrypted cookie. This prevents user tampering by changing their
28
+ session ID or the data within the cookie.
29
+
30
+ Closes #21
31
+ Tom Scott
32
+
33
+ v5.1.0
34
+ --------------------------------------------------------------------------------
35
+
36
+ * Add appraisal to test on multiple versions of Rails (#18)
37
+
38
+ Update the build configuration to exclude older versions we no longer support and use Appraisal to test against multiple gemfiles/rubies in CI.
39
+
40
+ * Remove old gemfiles
41
+ * Update appraisal gemfiles
42
+ * Exclude some builds
43
+ * Install bundler on older versions of Ruby
44
+ * Prevent updating bundler to a non-compatible version
45
+ * Remove lockfiles from the repo
46
+ * Drop support for old versions of Rails & Ruby
47
+ * Automatically assign issues to @tubbo when they are created
48
+ Tom Scott
49
+
50
+ * Reduce build scope to only support Rails 5 & 6
51
+ Tom Scott
52
+
53
+ * v5.1.0: Support Rails 6
54
+ Tom Scott
55
+
56
+ * Bump max version constraint on actionpack (#25)
57
+
58
+ This change allows this gem to work with Rails 6.
59
+ Arjun Radhakrishnan
60
+
61
+ * Fix build
62
+ Tom Scott
63
+
64
+ * README: Use SVG badges
65
+ Olle Jonsson
66
+
67
+ * Gemspec: Drop EOL'd property rubyforge_project
68
+ Olle Jonsson
69
+
70
+ * Loosen Bundler dependency
71
+ Tom Scott
72
+
73
+ * Update testing matrix
74
+ Tom Scott
75
+
76
+ * Automatically release to RubyGems when new tags are pushed to GitHub
77
+ Tom Scott
78
+
79
+ * Add code owners
80
+ Tom Scott
81
+
82
+ * Clarify usage of gem in the README
83
+ Tom Scott
84
+
85
+ * Fix rails 4 build failure
86
+ Tom Scott
87
+
88
+ * Don't always use local testing gem
89
+ Tom Scott
90
+
91
+ v5.0.2
92
+ --------------------------------------------------------------------------------
93
+
94
+ * v5.0.2: Loosen dependencies to work with new minor redis-store versions
95
+ Tom Scott
96
+
97
+ * Update class name in README
98
+ Tom Scott
99
+
100
+ * Loosen redis-store dependency
101
+ Tom Scott
102
+
103
+ * Update tests to remove deprecation warnings
104
+ Tom Scott
105
+
106
+ * Remove testing code from Gemfile
107
+ Tom Scott
108
+
109
+ v5.0.1
110
+ --------------------------------------------------------------------------------
111
+
112
+ * Release v5.0.1
113
+ Tom Scott
114
+
115
+ * Respect cookie options in setting cookie with session ID
116
+ Michael Dawson
117
+
118
+ * Update tests and gemfiles to work on all supported versions.
119
+
120
+ Do not depend on pre-release versions of gems.
121
+
122
+ Move tests to use minitest-rails to alleviate some of the dependency hell.
123
+
124
+ Remove version_test.rb because that's dumb.
125
+ Connor Shea
126
+
127
+ v5.0.0
128
+ --------------------------------------------------------------------------------
129
+
130
+ * Update README.md (#12)
131
+ Nicolas
132
+
133
+ * Bump to 5.0.0
134
+ Ryan Bigg
135
+
136
+ * Fix gem dependency versions
137
+ Tom Scott
138
+
139
+ * Pre-Release of v5.0.0
140
+ Tom Scott
141
+
142
+ * Disable rbx-19mode on Travis CI
143
+
144
+ This syntax is no longer supported by Travis, so we aren't getting
145
+ reliable builds and thus must disable its use, at least for now. We were
146
+ getting problems on the Rails 4.0 and 4.1 Gemfiles.
147
+
148
+ More information is available at
149
+ https://travis-ci.org/redis-store/redis-actionpack/builds/112702496
150
+ Tom Scott
151
+
152
+ * exclue jruby-19 from rails5
153
+ Marc Roberts
154
+
155
+ * bump ruby 2.2 version in travis, rails5 need at least 2.2.4
156
+ Marc Roberts
157
+
158
+ * env is already an ActionDispatch::Request in rails5
159
+ Marc Roberts
160
+
161
+ * specify version of minitest-spec-rails
162
+ Marc Roberts
163
+
164
+ * need all of rails in gemfile for rails5
165
+ Marc Roberts
166
+
167
+ * use redis-store from github until a new gem is cut
168
+ Marc Roberts
169
+
170
+ * prevent rails5 deprecation warnings
171
+ Marc Roberts
172
+
173
+ * don't use mini_backtrace for now, incompatible with rails5
174
+ Marc Roberts
175
+
176
+ * bump rails5 gem version up to beta3
177
+ Marc Roberts
178
+
179
+ * use redis-rack via github for rails 5.0
180
+ Marc Roberts
181
+
182
+ * use minitest-spec-rails for consistency
183
+ Marc Roberts
184
+
185
+ * Merge remote-tracking branch 'upstream/master'
186
+ Miles Matthias
187
+
188
+ * update mini_specunit to minitest-spec-rails
189
+ Marc Roberts
190
+
191
+ * ignore .lock files in gemfiles
192
+ Marc Roberts
193
+
194
+ * correct gemfiles names in travis excludes
195
+ Marc Roberts
196
+
197
+ * fix gemspec path in gemfiles
198
+ Marc Roberts
199
+
200
+ * add multiple gemfiles for rails 4.0, 4.1, 4.2 and 5
201
+ Marc Roberts
202
+
203
+ * remove 1.9, add 2.1/2.2 rubies to travis
204
+ Marc Roberts
205
+
206
+ * Loosen dependancy on actionpack to support Rails 5
207
+ Marc Roberts
208
+
209
+ * travis ci add before_install
210
+ shiro16
211
+
212
+ * fixed travis.yml
213
+ shiro16
214
+
215
+ * travis ci add Ruby 2.1 and 2.2, 2.3.0
216
+ shiro16
217
+
218
+ * ignore stdout, file resulted from running tests
219
+ Miles Matthias
220
+
221
+ * Revert "Update README.md"
222
+
223
+ This reverts commit a4c7f94ed6283b28a34079b5a4917897d6a2b77d.
224
+ Ryan Bigg
225
+
226
+ * Update README.md
227
+ Ryan Bigg
228
+
229
+ * These silly version tests
230
+ Ryan Bigg
231
+
232
+ v4.0.1
233
+ --------------------------------------------------------------------------------
234
+ G
235
+ * Bump to 4.0.1
236
+ Ryan Bigg
237
+
238
+ * support the same values for domain as rails' session stores usually do
239
+
240
+ * needed to change the tests based on test in rails, so the options for the session store could be changed per test
241
+
242
+ Fixes #2
243
+ Michael Reinsch
244
+
245
+ v4.0.0
246
+ --------------------------------------------------------------------------------
247
+
248
+ * Enable CI
249
+ Luca Guidi
250
+
251
+ * Move from jodosha/redis-store
252
+ Luca Guidi
data/Gemfile CHANGED
@@ -1,2 +1,10 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
+
4
+ gem "rake", "~> 10.5"
5
+ gem "bundler", "~> 2.1"
6
+ gem "mocha", "~> 0.14.0"
7
+ gem "minitest-rails", "~> 6.0"
8
+ gem "tzinfo", "~> 1.2"
9
+ gem "appraisal", "~> 2.2"
10
+ gem "redis-store-testing", github: 'redis-store/testing', branch: 'v0.0.3'
@@ -18,6 +18,10 @@ module ActionDispatch
18
18
  super
19
19
  end
20
20
 
21
+ def generate_sid
22
+ Rack::Session::SessionId.new(super)
23
+ end
24
+
21
25
  private
22
26
 
23
27
  def set_cookie(env, _session_id, cookie)
@@ -1,5 +1,5 @@
1
1
  class Redis
2
2
  module ActionPack
3
- VERSION = '5.2.0.pre'
3
+ VERSION = '5.2.0'
4
4
  end
5
5
  end
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.email = ['me@lucaguidi.com']
10
10
  s.homepage = 'http://redis-store.org/redis-actionpack'
11
11
  s.summary = %q{Redis session store for ActionPack}
12
- s.description = %q{Redis session store for ActionPack}
12
+ s.description = "#{s.summary}. Used for storing the Rails session in Redis."
13
13
  s.license = 'MIT'
14
14
 
15
15
  s.files = `git ls-files`.split("\n")
@@ -19,14 +19,6 @@ Gem::Specification.new do |s|
19
19
  s.required_ruby_version = '>= 2.3.0'
20
20
 
21
21
  s.add_runtime_dependency 'redis-store', '>= 1.1.0', '< 2'
22
- s.add_runtime_dependency 'redis-rack', '>= 1', '< 3'
22
+ s.add_runtime_dependency 'redis-rack', '>= 2.1.0', '< 3'
23
23
  s.add_runtime_dependency 'actionpack', '>= 5', '< 7'
24
-
25
- s.add_development_dependency 'rake', '~> 10'
26
- s.add_development_dependency 'bundler', '> 1', '< 3'
27
- s.add_development_dependency 'mocha', '~> 0.14.0'
28
- s.add_development_dependency 'minitest-rails'
29
- s.add_development_dependency 'tzinfo'
30
- s.add_development_dependency 'redis-store-testing'
31
- s.add_development_dependency 'appraisal'
32
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-actionpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0.pre
4
+ version: 5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-18 00:00:00.000000000 Z
11
+ date: 2020-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis-store
@@ -36,7 +36,7 @@ dependencies:
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '1'
39
+ version: 2.1.0
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '3'
@@ -46,7 +46,7 @@ dependencies:
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: '1'
49
+ version: 2.1.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '3'
@@ -70,111 +70,8 @@ dependencies:
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
72
  version: '7'
73
- - !ruby/object:Gem::Dependency
74
- name: rake
75
- requirement: !ruby/object:Gem::Requirement
76
- requirements:
77
- - - "~>"
78
- - !ruby/object:Gem::Version
79
- version: '10'
80
- type: :development
81
- prerelease: false
82
- version_requirements: !ruby/object:Gem::Requirement
83
- requirements:
84
- - - "~>"
85
- - !ruby/object:Gem::Version
86
- version: '10'
87
- - !ruby/object:Gem::Dependency
88
- name: bundler
89
- requirement: !ruby/object:Gem::Requirement
90
- requirements:
91
- - - ">"
92
- - !ruby/object:Gem::Version
93
- version: '1'
94
- - - "<"
95
- - !ruby/object:Gem::Version
96
- version: '3'
97
- type: :development
98
- prerelease: false
99
- version_requirements: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">"
102
- - !ruby/object:Gem::Version
103
- version: '1'
104
- - - "<"
105
- - !ruby/object:Gem::Version
106
- version: '3'
107
- - !ruby/object:Gem::Dependency
108
- name: mocha
109
- requirement: !ruby/object:Gem::Requirement
110
- requirements:
111
- - - "~>"
112
- - !ruby/object:Gem::Version
113
- version: 0.14.0
114
- type: :development
115
- prerelease: false
116
- version_requirements: !ruby/object:Gem::Requirement
117
- requirements:
118
- - - "~>"
119
- - !ruby/object:Gem::Version
120
- version: 0.14.0
121
- - !ruby/object:Gem::Dependency
122
- name: minitest-rails
123
- requirement: !ruby/object:Gem::Requirement
124
- requirements:
125
- - - ">="
126
- - !ruby/object:Gem::Version
127
- version: '0'
128
- type: :development
129
- prerelease: false
130
- version_requirements: !ruby/object:Gem::Requirement
131
- requirements:
132
- - - ">="
133
- - !ruby/object:Gem::Version
134
- version: '0'
135
- - !ruby/object:Gem::Dependency
136
- name: tzinfo
137
- requirement: !ruby/object:Gem::Requirement
138
- requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- version: '0'
142
- type: :development
143
- prerelease: false
144
- version_requirements: !ruby/object:Gem::Requirement
145
- requirements:
146
- - - ">="
147
- - !ruby/object:Gem::Version
148
- version: '0'
149
- - !ruby/object:Gem::Dependency
150
- name: redis-store-testing
151
- requirement: !ruby/object:Gem::Requirement
152
- requirements:
153
- - - ">="
154
- - !ruby/object:Gem::Version
155
- version: '0'
156
- type: :development
157
- prerelease: false
158
- version_requirements: !ruby/object:Gem::Requirement
159
- requirements:
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- version: '0'
163
- - !ruby/object:Gem::Dependency
164
- name: appraisal
165
- requirement: !ruby/object:Gem::Requirement
166
- requirements:
167
- - - ">="
168
- - !ruby/object:Gem::Version
169
- version: '0'
170
- type: :development
171
- prerelease: false
172
- version_requirements: !ruby/object:Gem::Requirement
173
- requirements:
174
- - - ">="
175
- - !ruby/object:Gem::Version
176
- version: '0'
177
- description: Redis session store for ActionPack
73
+ description: Redis session store for ActionPack. Used for storing the Rails session
74
+ in Redis.
178
75
  email:
179
76
  - me@lucaguidi.com
180
77
  executables: []
@@ -185,6 +82,7 @@ files:
185
82
  - ".gitignore"
186
83
  - ".travis.yml"
187
84
  - Appraisals
85
+ - CHANGELOG.md
188
86
  - CODEOWNERS
189
87
  - Gemfile
190
88
  - MIT-LICENSE
@@ -229,12 +127,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
229
127
  version: 2.3.0
230
128
  required_rubygems_version: !ruby/object:Gem::Requirement
231
129
  requirements:
232
- - - ">"
130
+ - - ">="
233
131
  - !ruby/object:Gem::Version
234
- version: 1.3.1
132
+ version: '0'
235
133
  requirements: []
236
- rubyforge_project:
237
- rubygems_version: 2.6.14
134
+ rubygems_version: 3.1.2
238
135
  signing_key:
239
136
  specification_version: 4
240
137
  summary: Redis session store for ActionPack