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.
- data/Gemfile.lock +1 -1
- data/jbuilder-0.9.0.gem +0 -0
- data/jbuilder.gemspec +1 -1
- data/lib/jbuilder.rb +9 -2
- metadata +3 -2
data/Gemfile.lock
CHANGED
data/jbuilder-0.9.0.gem
ADDED
|
Binary file
|
data/jbuilder.gemspec
CHANGED
data/lib/jbuilder.rb
CHANGED
|
@@ -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
|
-
|
|
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.
|
|
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-
|
|
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
|