jbuilder 0.9.0 → 0.9.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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jbuilder (0.8.3)
4
+ jbuilder (0.9.1)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
Binary file
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'jbuilder'
3
- s.version = '0.9.0'
3
+ s.version = '0.9.1'
4
4
  s.author = 'David Heinemeier Hansson'
5
5
  s.email = 'david@37signals.com'
6
6
  s.summary = 'Create JSON structures via a Builder-style DSL'
@@ -1,4 +1,3 @@
1
- require 'active_support/basic_object'
2
1
  require 'active_support/ordered_hash'
3
2
  require 'active_support/core_ext/array/access'
4
3
  require 'active_support/core_ext/enumerable'
@@ -6,7 +5,15 @@ require 'active_support/core_ext/hash'
6
5
  require 'active_support/cache'
7
6
  require 'multi_json'
8
7
 
9
- class Jbuilder < ActiveSupport::BasicObject
8
+ begin
9
+ require 'active_support/proxy_object'
10
+ JbuilderProxy = ActiveSupport::ProxyObject
11
+ rescue LoadError
12
+ require 'active_support/basic_object'
13
+ JbuilderProxy = ActiveSupport::BasicObject
14
+ end
15
+
16
+ class Jbuilder < JbuilderProxy
10
17
  class KeyFormatter
11
18
  def initialize(*args)
12
19
  @format = {}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jbuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-28 00:00:00.000000000 Z
12
+ date: 2012-12-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -35,6 +35,7 @@ extra_rdoc_files: []
35
35
  files:
36
36
  - ./Gemfile
37
37
  - ./Gemfile.lock
38
+ - ./jbuilder-0.9.0.gem
38
39
  - ./jbuilder.gemspec
39
40
  - ./lib/jbuilder.rb
40
41
  - ./lib/jbuilder_template.rb