rspec_rails_scaffold_templates 1.2.3 → 1.2.4

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: e5d873aeace06c11183c8f8c2cef471c0b48e637
4
- data.tar.gz: 6674d5589c1e55338ebdf67b463a9625be4b1362
3
+ metadata.gz: c5ace3dcb832579b7a882c8748ea886c708429bd
4
+ data.tar.gz: fb703f3cbefbfb9c0841e96673b1c2d80dbf6565
5
5
  SHA512:
6
- metadata.gz: 44e3e4e37f23c5bcd07a9097842071a0071a385dbfe4bc17ce1788147e81766d77186ab8cff38e62180b1a7e0b0a03adb4bb13102937790a1f7d3bad43f189fd
7
- data.tar.gz: 0e796b3673803efb2b386cd9abcce268074867d74d33ed8d7cc611bd650422937a024eae8d4e88314e0f17017be5a7733eab477992a4cd90e0964a2a53e2d93d
6
+ metadata.gz: c8695b6a9c41b46b08ef66f4739ffc9e2611ea9cc6a8ba4cff70d82aecb6fc6eb7b7a7edd0cfa374e61510e063ee8350d11a24358a33d1ed1c5c4356984eec05
7
+ data.tar.gz: 600812423e7b0e0c687e0609e5c5cfe3684bd85d2e41b1e554c4f07ff609ea354b440fea4ae7aa7f74aebbdec7de59d544c9528306b5f9b122033c1bd9ea1129
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.3
1
+ 1.2.4
@@ -17,7 +17,7 @@ describe <%= controller_class_name %>Controller, type: :controller do
17
17
  # This should return the minimal set of attributes required to create a valid
18
18
  # <%= class_name %>. As you add validations to <%= class_name %>, be sure to
19
19
  # adjust the attributes here as well. The list could not be empty.
20
- <% attribute = attributes.detect{|a| a.name == 'name' || a.name == 'title' || a.name == 'code' || a.name =~ /name/ || a.name =~ /title/ || attributes.first} -%>
20
+ <% attribute = attributes.detect{|a| a.name == 'name' || a.name == 'title' || a.name == 'code' || a.name =~ /name/ || a.name =~ /title/} || attributes.first -%>
21
21
  <% attribute_name = attribute.respond_to?(:column_name) ? attribute.column_name : attribute.name -%>
22
22
  <% if Rails.application.config.generators.options[:rails][:fixture_replacement] == :factory_girl -%>
23
23
  <% factory_girl = true -%>
@@ -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: rspec_rails_scaffold_templates 1.2.3 ruby lib
5
+ # stub: rspec_rails_scaffold_templates 1.2.4 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "rspec_rails_scaffold_templates"
9
- s.version = "1.2.3"
9
+ s.version = "1.2.4"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_rails_scaffold_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitri Koulikoff