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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa953ad7bf6c8b84380f987b05e4314b4262157d
4
- data.tar.gz: a9fb9126633b10bd5b772a554d03180e3178e037
3
+ metadata.gz: 391646b8c58da9263bb610b9e5b6689da71defb7
4
+ data.tar.gz: ca41e3676636eef266d20cbbc518f76cbf19389b
5
5
  SHA512:
6
- metadata.gz: e5279ae7c6457130feb4cfe62debe47be00a2bff2ebff84f227351474edb2e3e73ffc5d598f9a27144cc7b971189592735aebb55bb22dd165fd3aed0c2c40c78
7
- data.tar.gz: 1d2ed627a79283a094d1d5fa83f9f78a6c5240e126c038c9e38ad96a466318ae8d4e363d237379b85e39d893e1d6c7a90b79e10670ea3bbee7056140ea9b0a50
6
+ metadata.gz: 0026a76cf399b0714235ff24bd9d29d4efb099112f7140caef340f2c92769162bbda7e350640d1dd1e9edaa1873634b16d4bb3c8100cebfafa71cef99cbe97c7
7
+ data.tar.gz: d502eaa8eb9b45a78afb7f0f31c70c818e8d5238a62785cc5e7f7ed1ba14142fac672eb9a48a361334e13fe77a8c647f081224368f59f4e4dd3c2729bf2ee082
@@ -38,7 +38,7 @@ if defined?(::Rails)
38
38
 
39
39
  ::Mime::Type.register "application/msgpack", :msgpack
40
40
 
41
- ::ActionController.add_renderer :msgpack do |data, options|
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
@@ -1,3 +1,3 @@
1
1
  module MsgpackRails
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  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.0
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-28 00:00:00.000000000 Z
11
+ date: 2014-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport