jbuilder_rspec_generator 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a662cb905e03600a0010aef08655124bf8b1cb3
4
- data.tar.gz: b5ed0af9c40de99ac130c59f62f5c06a70b4f935
3
+ metadata.gz: 208ab584290fd227602acad24e3d0ebd97ced6a1
4
+ data.tar.gz: 32db548f1651ef8a4b172131d7e049fff974b615
5
5
  SHA512:
6
- metadata.gz: dd106b0f2d7f70d0042914751178fbbf6cd0d243da4e764721ff39d5db34b101a46c199f674cc57ab8d2a39bd9489508cba3418ade30761ba8aebbd9d044a41b
7
- data.tar.gz: e4c2d4ae3cea70f60077c40ac02edfcf6cb07e8f6660fd65e2825046d6fcf5c9f4ad5c7c5669a9422818bca017465cb423cd486f2314c9c7e969b2383ab85f6f
6
+ metadata.gz: 5f943cb09c060c6ca417de784974497a257e511522d63b1089e4d44e7574c7822b681e606cb18f4403be56c93d0e079995982493f9118aed2420d95f712f0978
7
+ data.tar.gz: 19a7140aba4e34656dae2a3404a30febad807de5318176c3c28dab62b1b6698fbd8dd98230a51ff1305b67b4ed2f722559b731d10f8f0eac8ee769241528f7b4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -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.2 ruby lib
5
+ # stub: jbuilder_rspec_generator 1.0.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "jbuilder_rspec_generator"
9
- s.version = "1.0.2"
9
+ s.version = "1.0.3"
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"]
@@ -34,7 +34,7 @@ describe "<%= ns_table_name %>/show.json.jbuilder", type: :view do
34
34
 
35
35
  hash = MultiJson.load rendered
36
36
  expect(hash.keys.sort).to eq attributes.sort
37
- expected = MultiJson.load MultiJson.dump @user.attributes.slice *attributes
37
+ expected = MultiJson.load MultiJson.dump @<%= ns_file_name %>.attributes.slice *attributes
38
38
  expect(hash).to eq expected
39
39
  <% for attribute in attributes -%>
40
40
  # expect(hash['<%= attribute.name %>']).to eq expected['<%= attribute.name %>']
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.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitri Koulikoff