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 +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +3 -5
- data/lib/transit/rails/railtie.rb +2 -2
- data/lib/transit/rails/version.rb +1 -1
- data/transit-rails.gemspec +6 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a10f3e2457b4dcb97d643cdb9c8517afd535363d
|
4
|
+
data.tar.gz: acbd5b5d69bbf394100b51db96e033033bfacd22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a96d8c1083be8f904ba86746d01349cdbfcee2f66f1df9ba8ec72521c79ea609985d336146717c9720274d7f26fec3f668476f9dcc36aa65db621a38edd5e20b
|
7
|
+
data.tar.gz: 2cf57c2a420365ae8f6f72801501da92c1c469105e084409634d1697f8400a513cdf712a566af63d4478fffc953b7c84ae19e2385bb012c54bdb6d8f9deb0820
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.3.
|
1
|
+
ruby-2.3.4
|
data/.travis.yml
CHANGED
@@ -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
|
data/transit-rails.gemspec
CHANGED
@@ -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
|
-
|
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
|
+
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:
|
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.
|
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.
|
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.
|
94
|
+
rubygems_version: 2.5.2
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Transit format helpers for Rails
|