request_store 1.0.7 → 1.0.8
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
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb3e17b4e4c29fdf633fdbe9cbd51424d62ef77b
|
4
|
+
data.tar.gz: c8f310a093f800910a9cb961155fcec3b5566b10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb37f222f196d1e72b349d771795e89ef98dbd060953318ff3cce18484aae33b1e8babd44a9fe4698aa00fe4d35d2e82c60f7fc2302491ae4b71a7e2620ced50
|
7
|
+
data.tar.gz: 9cc43fe801adab0f1f6c5085aeb94646f189e5fe4631d6a583b78bc6708904879fee2742a7e3338e6c0d3c51e1dbed97245a9a558db44d445f1881be679a4103
|
@@ -1,7 +1,11 @@
|
|
1
1
|
module RequestStore
|
2
2
|
class Railtie < ::Rails::Railtie
|
3
3
|
initializer "request_store.insert_middleware" do |app|
|
4
|
-
|
4
|
+
if ActionDispatch.const_defined? :RequestId
|
5
|
+
app.config.middleware.insert_after ActionDispatch::RequestId, RequestStore::Middleware
|
6
|
+
else
|
7
|
+
app.config.middleware.insert_after Rack::MethodOverride, RequestStore::Middleware
|
8
|
+
end
|
5
9
|
end
|
6
10
|
end
|
7
11
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: request_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Klabnik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|