rabl 0.5.5.a → 0.5.5.b

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
- ## 0.5.5.a
3
+ ## 0.5.5.a-b
4
4
 
5
5
  * Change engine to only instantiate one builder when rendering a collection
6
+ * Alias to\_msgpack to to\_mpac
6
7
 
7
8
  ## 0.5.4
8
9
 
data/lib/rabl/engine.rb CHANGED
@@ -63,6 +63,7 @@ module Rabl
63
63
  result = defined?(@_collection_name) ? { @_collection_name => to_hash(options) } : to_hash(options)
64
64
  Rabl.configuration.msgpack_engine.pack result
65
65
  end
66
+ alias_method :to_mpac, :to_msgpack
66
67
 
67
68
  # Returns an xml representation of the data object
68
69
  # to_xml(:root => true)
data/lib/rabl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rabl
2
- VERSION = "0.5.5.a"
2
+ VERSION = "0.5.5.b"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rabl
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 0.5.5.a
5
+ version: 0.5.5.b
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nathan Esquenazi