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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a10f3e2457b4dcb97d643cdb9c8517afd535363d
4
- data.tar.gz: acbd5b5d69bbf394100b51db96e033033bfacd22
3
+ metadata.gz: 9f560ecb78db73f252a41e10ca96fbca9b0fad8b
4
+ data.tar.gz: 96a94b237fffdc90bb75feb4372a39a081f02f13
5
5
  SHA512:
6
- metadata.gz: a96d8c1083be8f904ba86746d01349cdbfcee2f66f1df9ba8ec72521c79ea609985d336146717c9720274d7f26fec3f668476f9dcc36aa65db621a38edd5e20b
7
- data.tar.gz: 2cf57c2a420365ae8f6f72801501da92c1c469105e084409634d1697f8400a513cdf712a566af63d4478fffc953b7c84ae19e2385bb012c54bdb6d8f9deb0820
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[:TRANSIT] => Transit::Rails::Reader.make_reader(:json),
25
- Mime[:TRANSIT_MSGPACK] => Transit::Rails::Reader.make_reader(:msgpack) }
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
@@ -1,5 +1,5 @@
1
1
  module Transit
2
2
  module Rails
3
- VERSION = "0.8.5"
3
+ VERSION = "0.8.6"
4
4
  end
5
5
  end
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.5
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: 2017-10-23 00:00:00.000000000 Z
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: transit-ruby