rabl 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,7 +53,7 @@ if defined?(Rails) && Rails.version =~ /^3/
53
53
  self.default_format = Mime::JSON
54
54
 
55
55
  def compile(template) %{
56
- ::Rabl::Engine.new(#{template.source.inspect}, { :format => #{template.formats.first.inspect} }).
56
+ ::Rabl::Engine.new(#{template.source.inspect}).
57
57
  render(self, assigns.merge(local_assigns))
58
58
  } end
59
59
  end
@@ -1,3 +1,3 @@
1
1
  module Rabl
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rabl
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
5
+ version: 0.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nathan Esquenazi
@@ -10,7 +10,8 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-12 00:00:00 Z
13
+ date: 2011-05-16 00:00:00 -07:00
14
+ default_executable:
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: riot
@@ -89,6 +90,7 @@ files:
89
90
  - test/models/user.rb
90
91
  - test/template_test.rb
91
92
  - test/teststrap.rb
93
+ has_rdoc: true
92
94
  homepage: https://github.com/nesquena/rabl
93
95
  licenses: []
94
96
 
@@ -112,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
114
  requirements: []
113
115
 
114
116
  rubyforge_project: rabl
115
- rubygems_version: 1.7.2
117
+ rubygems_version: 1.6.2
116
118
  signing_key:
117
119
  specification_version: 3
118
120
  summary: General ruby templating for json or xml