transit-rails 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/transit/rails/railtie.rb +2 -2
- data/lib/transit/rails/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: 9f560ecb78db73f252a41e10ca96fbca9b0fad8b
|
4
|
+
data.tar.gz: 96a94b237fffdc90bb75feb4372a39a081f02f13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 056d03ddd31e4b35d546ffa6ca3937c2c03cc2ef0cd4093ea863b1a97ed2da694f1e774b6c45fcaa7fd3b99f717597c2839609c6b401736a578b61a66bf5e772
|
7
|
+
data.tar.gz: a69d39908738c1a6cb0d3b87cc16a0e07498ccc365ce726f5470122752eb944ab81de2ec6f80d72f443a89d4548685abb3a79c6cfc4826657fe5ce60b20413ee
|
@@ -21,8 +21,8 @@ module Transit
|
|
21
21
|
|
22
22
|
initializer "transit.configure_rails_initialization" do |app|
|
23
23
|
require 'transit/rails/reader'
|
24
|
-
parameter_parsers = { Mime[:
|
25
|
-
Mime[:
|
24
|
+
parameter_parsers = { Mime[:transit] => Transit::Rails::Reader.make_reader(:json),
|
25
|
+
Mime[:transit_msgpack] => Transit::Rails::Reader.make_reader(:msgpack) }
|
26
26
|
if ActionDispatch::Request.respond_to?(:parameter_parsers=)
|
27
27
|
ActionDispatch::Request.parameter_parsers = (ActionDispatch::Request.parameter_parsers || {}).merge(parameter_parsers)
|
28
28
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transit-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Davey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: transit-ruby
|