transit-rails 0.8.4 → 0.8.5

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: 4751543ae72ab742fdc01c2502b8faa1286c46cc
4
- data.tar.gz: 71eb69cc82fb3412edc6c51b6bac64ded2b639b6
3
+ metadata.gz: a10f3e2457b4dcb97d643cdb9c8517afd535363d
4
+ data.tar.gz: acbd5b5d69bbf394100b51db96e033033bfacd22
5
5
  SHA512:
6
- metadata.gz: ab4e5ee62dd8da1d6db42765ea38f5ad6da2b2ca7ad89f8425d798ef8a594b22daf63c0b765f43e22438fc9f0f51e48207bf6e16f9a2863a5e4fcefdf83f41cc
7
- data.tar.gz: 1e81b9d3c4bd2d09cba276b5de0e0f8550510cb1411e12b66bda430fee028942933881892eba5488a5f905073ea93a4f9834972f602ba72a567fe5c01ced51b0
6
+ metadata.gz: a96d8c1083be8f904ba86746d01349cdbfcee2f66f1df9ba8ec72521c79ea609985d336146717c9720274d7f26fec3f668476f9dcc36aa65db621a38edd5e20b
7
+ data.tar.gz: 2cf57c2a420365ae8f6f72801501da92c1c469105e084409634d1697f8400a513cdf712a566af63d4478fffc953b7c84ae19e2385bb012c54bdb6d8f9deb0820
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.3.1
1
+ ruby-2.3.4
data/.travis.yml CHANGED
@@ -1,7 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.1
4
- - 2.2.4
5
- - 2.1.5
6
- - jruby-9.1.6.0
7
- - rbx-2
3
+ - 2.3.5
4
+ - 2.4.2
5
+ - jruby-9.1.13.0
@@ -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.4"
3
+ VERSION = "0.8.5"
4
4
  end
5
5
  end
@@ -18,7 +18,12 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "transit-ruby", "~> 0.8", ">= 0.8.567"
21
+ if defined?(RUBY_PLATFORM) && RUBY_PLATFORM == "java"
22
+ # Work around most recent versions not working with java
23
+ spec.add_dependency "transit-ruby", "~> 0.8", "<= 0.8.591"
24
+ else
25
+ spec.add_dependency "transit-ruby", "~> 0.8", ">= 0.8.602"
26
+ end
22
27
 
23
28
  spec.add_development_dependency "bundler", "~> 1.6"
24
29
  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.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Davey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-11 00:00:00.000000000 Z
11
+ date: 2017-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: transit-ruby
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '0.8'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.8.567
22
+ version: 0.8.602
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '0.8'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 0.8.567
32
+ version: 0.8.602
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.5.1
94
+ rubygems_version: 2.5.2
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Transit format helpers for Rails