firebug 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -1
- data/CHANGELOG.md +9 -0
- data/firebug.gemspec +6 -5
- data/lib/action_dispatch/session/code_igniter_store.rb +4 -3
- data/lib/firebug/version.rb +1 -1
- metadata +26 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e483ea99e335091b929d029a6f9b5321f6bba9a6f231e10b2782ea01322120ec
|
4
|
+
data.tar.gz: 5b8c48238a51d4fdcda291a14ce84388db98685dd4501cb9fd96c0d0f1deafe6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e7036d13c174d71c1de08d7e9baf5f4e7e72eb99ccf4fa4edf8d8983490250cdd8a50a36f5c2f73195e64d62c430619f93c77e8d4a0f60f06ab12c425263e59
|
7
|
+
data.tar.gz: cc3b8ebbcfb232d5c6f7c0f9bfb5767c30353dd8edb33516979f2e0206338d161dff117ac9764af1d7c60c48b1df0d5ba7fe62dd75ca07b7695cf66c83c63740
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/firebug.gemspec
CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |spec| # rubocop:disable BlockLength
|
|
24
24
|
spec.metadata['changelog_uri'] = 'https://github.com/rvshare/firebug/blob/master/CHANGELOG.md'
|
25
25
|
spec.metadata['source_code_uri'] = spec.homepage
|
26
26
|
|
27
|
-
spec.add_dependency 'actionpack', '
|
28
|
-
spec.add_dependency 'activerecord', '
|
27
|
+
spec.add_dependency 'actionpack', '> 5.0'
|
28
|
+
spec.add_dependency 'activerecord', '> 5.0'
|
29
29
|
spec.add_dependency 'ruby-mcrypt', '~> 0.2'
|
30
30
|
|
31
31
|
spec.add_development_dependency 'bundler', '~> 2.0', '>= 2.0.1'
|
@@ -34,9 +34,10 @@ Gem::Specification.new do |spec| # rubocop:disable BlockLength
|
|
34
34
|
spec.add_development_dependency 'rake', '~> 12.3', '>= 12.3.2'
|
35
35
|
spec.add_development_dependency 'rspec', '~> 3.8'
|
36
36
|
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.4.1'
|
37
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
37
|
+
spec.add_development_dependency 'rubocop', '~> 0.74.0'
|
38
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.4.1'
|
38
39
|
spec.add_development_dependency 'rubocop-rspec', '~> 1.32'
|
39
|
-
spec.add_development_dependency 'simplecov', '~> 0.
|
40
|
-
spec.add_development_dependency 'sqlite3', '~> 1.
|
40
|
+
spec.add_development_dependency 'simplecov', '~> 0.17'
|
41
|
+
spec.add_development_dependency 'sqlite3', '~> 1.4'
|
41
42
|
spec.add_development_dependency 'yard', '~> 0.9.18'
|
42
43
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
module ActionDispatch # :nodoc:
|
4
4
|
module Session # :nodoc:
|
5
5
|
require 'action_dispatch'
|
6
|
-
|
6
|
+
require 'firebug/session'
|
7
7
|
|
8
8
|
# A session store for Rails to handle Pyro sessions.
|
9
9
|
class CodeIgniterStore < AbstractStore
|
@@ -69,7 +69,8 @@ module ActionDispatch # :nodoc:
|
|
69
69
|
# @param [String] sid
|
70
70
|
# @param [Hash] session
|
71
71
|
# @param [Hash] _options
|
72
|
-
# @return [String] encrypted and base64 encoded string of the session data
|
72
|
+
# @return [String, FalseClass] encrypted and base64 encoded string of the session data or +false+ if the
|
73
|
+
# session could not be saved.
|
73
74
|
def write_session(req, sid, session, _options)
|
74
75
|
silence_logger(req) do
|
75
76
|
model = find_session_model(req, sid)
|
@@ -97,7 +98,7 @@ module ActionDispatch # :nodoc:
|
|
97
98
|
# @param [ActionDispatch::Request] req
|
98
99
|
# @param [String] sid
|
99
100
|
# @param [Hash] options
|
100
|
-
# @return [String] the new session id
|
101
|
+
# @return [String, nil] the new session id or +nil+ if +options[:drop]+.
|
101
102
|
def delete_session(req, sid, options)
|
102
103
|
silence_logger(req) do
|
103
104
|
# Get the current database record for this session then delete it.
|
data/lib/firebug/version.rb
CHANGED
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firebug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Frase
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '5.0'
|
20
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
26
|
version: '5.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activerecord
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '5.0'
|
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
40
|
version: '5.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -154,14 +154,28 @@ dependencies:
|
|
154
154
|
requirements:
|
155
155
|
- - "~>"
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version: 0.
|
157
|
+
version: 0.74.0
|
158
|
+
type: :development
|
159
|
+
prerelease: false
|
160
|
+
version_requirements: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - "~>"
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 0.74.0
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: rubocop-performance
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - "~>"
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: 1.4.1
|
158
172
|
type: :development
|
159
173
|
prerelease: false
|
160
174
|
version_requirements: !ruby/object:Gem::Requirement
|
161
175
|
requirements:
|
162
176
|
- - "~>"
|
163
177
|
- !ruby/object:Gem::Version
|
164
|
-
version:
|
178
|
+
version: 1.4.1
|
165
179
|
- !ruby/object:Gem::Dependency
|
166
180
|
name: rubocop-rspec
|
167
181
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,28 +196,28 @@ dependencies:
|
|
182
196
|
requirements:
|
183
197
|
- - "~>"
|
184
198
|
- !ruby/object:Gem::Version
|
185
|
-
version: 0.
|
199
|
+
version: '0.17'
|
186
200
|
type: :development
|
187
201
|
prerelease: false
|
188
202
|
version_requirements: !ruby/object:Gem::Requirement
|
189
203
|
requirements:
|
190
204
|
- - "~>"
|
191
205
|
- !ruby/object:Gem::Version
|
192
|
-
version: 0.
|
206
|
+
version: '0.17'
|
193
207
|
- !ruby/object:Gem::Dependency
|
194
208
|
name: sqlite3
|
195
209
|
requirement: !ruby/object:Gem::Requirement
|
196
210
|
requirements:
|
197
211
|
- - "~>"
|
198
212
|
- !ruby/object:Gem::Version
|
199
|
-
version: 1.
|
213
|
+
version: '1.4'
|
200
214
|
type: :development
|
201
215
|
prerelease: false
|
202
216
|
version_requirements: !ruby/object:Gem::Requirement
|
203
217
|
requirements:
|
204
218
|
- - "~>"
|
205
219
|
- !ruby/object:Gem::Version
|
206
|
-
version: 1.
|
220
|
+
version: '1.4'
|
207
221
|
- !ruby/object:Gem::Dependency
|
208
222
|
name: yard
|
209
223
|
requirement: !ruby/object:Gem::Requirement
|