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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46cda3523d223466f04777b4b33380097772c969
4
- data.tar.gz: 022c7de933abc12bc0acd0b9f561b5030329dc10
3
+ metadata.gz: bb3e17b4e4c29fdf633fdbe9cbd51424d62ef77b
4
+ data.tar.gz: c8f310a093f800910a9cb961155fcec3b5566b10
5
5
  SHA512:
6
- metadata.gz: 3cf82155f9fabb543b2d35251964ee399ba7cc3d49304745f3d0750668a929aa645963fcdd4f07e6c5a944a4cbffe3975e7693fb0667cc52aba532dcb6e86d58
7
- data.tar.gz: 2df78ebd5783faa5c3ef57675f7a13f957491b5f05273d5eaab1f57d0dc8fe983a153322f417349917a5eb75918a86a360a7fda5eadccc629ad655fad26f9312
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
- app.config.middleware.insert_after ActionDispatch::RequestId, RequestStore::Middleware
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
@@ -1,3 +1,3 @@
1
1
  module RequestStore
2
- VERSION = "1.0.7"
2
+ VERSION = "1.0.8"
3
3
  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.7
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-16 00:00:00.000000000 Z
11
+ date: 2014-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake