msgpack_rails 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/msgpack_rails.rb +1 -1
- data/lib/msgpack_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: 391646b8c58da9263bb610b9e5b6689da71defb7
|
4
|
+
data.tar.gz: ca41e3676636eef266d20cbbc518f76cbf19389b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0026a76cf399b0714235ff24bd9d29d4efb099112f7140caef340f2c92769162bbda7e350640d1dd1e9edaa1873634b16d4bb3c8100cebfafa71cef99cbe97c7
|
7
|
+
data.tar.gz: d502eaa8eb9b45a78afb7f0f31c70c818e8d5238a62785cc5e7f7ed1ba14142fac672eb9a48a361334e13fe77a8c647f081224368f59f4e4dd3c2729bf2ee082
|
data/lib/msgpack_rails.rb
CHANGED
@@ -38,7 +38,7 @@ if defined?(::Rails)
|
|
38
38
|
|
39
39
|
::Mime::Type.register "application/msgpack", :msgpack
|
40
40
|
|
41
|
-
::ActionController.
|
41
|
+
::ActionController::Renderers.add :msgpack do |data, options|
|
42
42
|
self.content_type = Mime::MSGPACK
|
43
43
|
self.response_body = data.as_msgpack(options)
|
44
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: msgpack_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jingwen Owen Ou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|