jbuilder_rspec_generator 1.0.9 → 1.1.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82a0519cddcf423edf83069fd424da69b9bdc976
4
- data.tar.gz: b2b0aa1b07e08fadda8e14ba753f465d2dae6ef8
3
+ metadata.gz: 8b950f7c524fad22f56605af7dee4bf313b6d53a
4
+ data.tar.gz: a7dcb94c18ba1581a64ce65761f8e387d76f2e49
5
5
  SHA512:
6
- metadata.gz: 60ea0f6d7bce7fe0698d808282d78cdd6317f6e8637defbcce13342dd90db2b1cc8eb14a72dceb7580a0709a637adeb2ad5437af4f24fd3997714a7e946aa351
7
- data.tar.gz: 6f392522af90f3d87dbd423e63bc08c6f5f82d58253b87ec890d9a0e3706133c2323c113c28839ac254c6e840a2aae8e1ce2e2f3105468e418c65174278a1cc6
6
+ metadata.gz: f207426438154c4669561903fad9f4746d2f4fd4cb1b578a0ee16c72035c149391c359312f0412c5aac8bfc0a24608480788022c54c18dd9df9c830f4b1fcc49
7
+ data.tar.gz: 504a0a60ad624d4086f80386496086111c38eeff8ac3a54dc81569b6204af30bc51f57ae7654ee8ad8efcc2f59aab48d187e3ded81388fdc47b7f1c1ce8c93be
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.9
1
+ 1.1.0
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: jbuilder_rspec_generator 1.0.9 ruby lib
5
+ # stub: jbuilder_rspec_generator 1.1.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "jbuilder_rspec_generator"
9
- s.version = "1.0.9"
9
+ s.version = "1.1.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
@@ -15,7 +15,7 @@ describe "<%= ns_table_name %>/index.json.jbuilder", type: :view do
15
15
  <% else -%>
16
16
  @<%= ns_file_name %> = <%= class_name %>.create(<%= open_attributes.empty? ? ')' : '' %>
17
17
  <% open_attributes.each_with_index do |attribute, attribute_index| -%>
18
- :<%= attribute.name %> => <%= value_for(attribute) %><%= attribute_index == open_attributes.length - 1 ? '' : ','%>
18
+ <%= attribute.name %>: <%= value_for(attribute) %><%= attribute_index == open_attributes.length - 1 ? '' : ','%>
19
19
  <% end -%>
20
20
  )
21
21
  <% end -%>
@@ -15,7 +15,7 @@ describe "<%= ns_table_name %>/show.json.jbuilder", type: :view do
15
15
  <% else -%>
16
16
  @<%= ns_file_name %> = assign(:<%= ns_file_name %>, <%= class_name %>.create(<%= open_attributes.empty? ? '))' : '' %>
17
17
  <% open_attributes.each_with_index do |attribute, attribute_index| -%>
18
- :<%= attribute.name %> => <%= value_for(attribute) %><%= attribute_index == open_attributes.length - 1 ? '' : ','%>
18
+ <%= attribute.name %>: <%= value_for(attribute) %><%= attribute_index == open_attributes.length - 1 ? '' : ','%>
19
19
  <% end -%>
20
20
  <% if !open_attributes.empty? -%>
21
21
  ))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jbuilder_rspec_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitri Koulikoff