rspec_rails_scaffold_templates 3.0 → 3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rspec_rails_scaffold_templates/generators/templates/rspec/scaffold/edit_spec.rb +1 -1
- data/lib/rspec_rails_scaffold_templates/generators/templates/rspec/scaffold/index_spec.rb +1 -1
- data/lib/rspec_rails_scaffold_templates/generators/templates/rspec/scaffold/new_spec.rb +1 -1
- data/lib/rspec_rails_scaffold_templates/generators/templates/rspec/scaffold/show_spec.rb +1 -1
- data/rspec_rails_scaffold_templates.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aaab27c58df2393dbc2a3623590dbb3d48a424d24e9059cf3c542d7f158f1f96
|
4
|
+
data.tar.gz: 00a02385b2b424a555b7568e540e5ee6a793093b526359cfaa97b61ef62080f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b5da4d7d13b0546277db3015ae517e82b1bacd654fadb2354e494c902f0852aabcad633b5397f3b2efc1eb2f4e8876085e4393935e4160a1409ba17ea156be8
|
7
|
+
data.tar.gz: 97097960c692cd746bf22bd6951e4488109e1eb368fa677474c604fa1a00aaf524a3f9bf0c9bfc017081dd027ff52a4153371afae05330c247504cbbc16e6f87
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.1
|
@@ -10,7 +10,7 @@ require 'spec_helper'
|
|
10
10
|
<% end -%>
|
11
11
|
|
12
12
|
<% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
|
13
|
-
describe "<%= ns_table_name %>/edit", <%= type_metatag(:view) %> do
|
13
|
+
describe "<%= ns_table_name %>/edit.html.#{options[:template_engine]}", <%= type_metatag(:view) %> do
|
14
14
|
<% if factory_bot -%>
|
15
15
|
let(:<%= ns_file_name %>) {create :<%= ns_file_name %>}
|
16
16
|
<% else -%>
|
@@ -10,7 +10,7 @@ require 'spec_helper'
|
|
10
10
|
<% end -%>
|
11
11
|
|
12
12
|
<% output_attributes = attributes.reject{|attribute| [:created_at, :deleted_at, :updated_at].index(attribute.name) or attribute.password_digest? } -%>
|
13
|
-
describe "<%= ns_table_name %>/index", <%= type_metatag(:view) %> do
|
13
|
+
describe "<%= ns_table_name %>/index.html.#{options[:template_engine]}", <%= type_metatag(:view) %> do
|
14
14
|
<% if factory_bot -%>
|
15
15
|
let!(:<%= ns_file_name %>) {create :<%= ns_file_name %>}
|
16
16
|
<% else -%>
|
@@ -10,7 +10,7 @@ require 'spec_helper'
|
|
10
10
|
<% end -%>
|
11
11
|
|
12
12
|
<% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%>
|
13
|
-
describe "<%= ns_table_name %>/new", <%= type_metatag(:view) %> do
|
13
|
+
describe "<%= ns_table_name %>/new.html.#{options[:template_engine]}", <%= type_metatag(:view) %> do
|
14
14
|
<% if factory_bot -%>
|
15
15
|
let(:<%= ns_file_name %>) {build :<%= ns_file_name %>}
|
16
16
|
<% else -%>
|
@@ -5,7 +5,7 @@ require 'spec_helper'
|
|
5
5
|
<% end -%>
|
6
6
|
|
7
7
|
<% output_attributes = attributes.reject{|attribute| [:created_at, :deleted_at, :updated_at].index(attribute.name) or attribute.password_digest? } -%>
|
8
|
-
describe "<%= ns_table_name %>/show", <%= type_metatag(:view) %> do
|
8
|
+
describe "<%= ns_table_name %>/show.html.#{options[:template_engine]}", <%= type_metatag(:view) %> do
|
9
9
|
<% if Rails.application.config.generators.options[:rails][:fixture_replacement] == :factory_bot -%>
|
10
10
|
let(:<%= ns_file_name %>) {create :<%= ns_file_name %>}
|
11
11
|
<% else -%>
|
@@ -2,16 +2,16 @@
|
|
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 3.
|
5
|
+
# stub: rspec_rails_scaffold_templates 3.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "rspec_rails_scaffold_templates".freeze
|
9
|
-
s.version = "3.
|
9
|
+
s.version = "3.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Dmitri Koulikoff".freeze]
|
14
|
-
s.date = "2020-
|
14
|
+
s.date = "2020-07-09"
|
15
15
|
s.description = "RSpec scaffold generator templates that use FactoryGirl and WiceGrid".freeze
|
16
16
|
s.email = "dima@koulikoff.ru".freeze
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec_rails_scaffold_templates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '3.
|
4
|
+
version: '3.1'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitri Koulikoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|