jbuilder 1.0.0 → 1.0.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.
Binary file
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'jbuilder'
3
- s.version = '1.0.0'
3
+ s.version = '1.0.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,4 @@
1
1
  json.array!(@<%= plural_table_name %>) do |<%= singular_table_name %>|
2
2
  json.extract! <%= singular_table_name %>, <%= attributes_list %>
3
- json.url <%= singular_table_name %>_url(<%= singular_table_name %>)
3
+ json.url <%= singular_table_name %>_url(<%= singular_table_name %>, format: :json)
4
4
  end
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: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -52,6 +52,7 @@ files:
52
52
  - ./Gemfile
53
53
  - ./Gemfile-1.8
54
54
  - ./jbuilder-0.9.0.gem
55
+ - ./jbuilder-1.0.0.gem
55
56
  - ./jbuilder.gemspec
56
57
  - ./lib/generators/rails/jbuilder_generator.rb
57
58
  - ./lib/generators/rails/jbuilder_scaffold_controller_generator.rb