request_store 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/request_store/railtie.rb +5 -1
- data/lib/request_store/version.rb +1 -1
- data/request_store.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58c303a8659c7c6b0a6d0c67e9b7fca905d0bac9
|
4
|
+
data.tar.gz: 21d349a607e6d9bf8aaf2f6431527c25a7ccd110
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 481c535fc14d0321f148037d85d7598acb260fd09d6c3722244cb714a26e0729a9f50d4f9b8f1921659585a07bff7bff59d785f1ecbd331fb5cf8d70bfef1b5d
|
7
|
+
data.tar.gz: 4cdca12599f0cbeeecaf9006702817d5fdd3ea7d3489c49fba2fca58e04aafd3d625baa23a7c7442c1bb3642a42721e0b64cb62bf2728c8b139b3f1394e20933
|
@@ -7,7 +7,11 @@ module RequestStore
|
|
7
7
|
app.config.middleware.insert_after Rack::MethodOverride, RequestStore::Middleware
|
8
8
|
end
|
9
9
|
|
10
|
-
if
|
10
|
+
if ActiveSupport.const_defined?(:Reloader) && ActiveSupport::Reloader.respond_to?(:to_complete)
|
11
|
+
ActiveSupport::Reloader.to_complete do
|
12
|
+
RequestStore.clear!
|
13
|
+
end
|
14
|
+
elsif ActionDispatch.const_defined?(:Reloader) && ActionDispatch::Reloader.respond_to?(:to_cleanup)
|
11
15
|
ActionDispatch::Reloader.to_cleanup do
|
12
16
|
RequestStore.clear!
|
13
17
|
end
|
data/request_store.gemspec
CHANGED
@@ -18,6 +18,6 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_development_dependency "rake"
|
21
|
+
gem.add_development_dependency "rake", "~> 10.5"
|
22
22
|
gem.add_development_dependency "minitest", "~> 5.0"
|
23
23
|
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: request_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Klabnik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '10.5'
|
20
20
|
type: :development
|
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: '10.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|