diff --git a/gems/bess/Rakefile b/gems/bess/Rakefile index fb1acbce..965a3ff7 100644 --- a/gems/bess/Rakefile +++ b/gems/bess/Rakefile @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require "bundler/setup" require "bundler/gem_tasks" diff --git a/gems/houdini_upgrade/Rakefile b/gems/houdini_upgrade/Rakefile index 027b88ad..cf119919 100644 --- a/gems/houdini_upgrade/Rakefile +++ b/gems/houdini_upgrade/Rakefile @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require "bundler/setup" load "rails/tasks/statistics.rake" diff --git a/lib/templates/active_record/application_record/application_record.rb.tt b/lib/templates/active_record/application_record/application_record.rb.tt index fda9fbfc..bddf2478 100644 --- a/lib/templates/active_record/application_record/application_record.rb.tt +++ b/lib/templates/active_record/application_record/application_record.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE <% module_namespacing do -%> class ApplicationRecord < ActiveRecord::Base self.abstract_class = true diff --git a/lib/templates/active_record/migration/create_table_migration.rb.tt b/lib/templates/active_record/migration/create_table_migration.rb.tt index e9143689..506b8e6f 100644 --- a/lib/templates/active_record/migration/create_table_migration.rb.tt +++ b/lib/templates/active_record/migration/create_table_migration.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE class <%= migration_class_name %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>] def change create_table :<%= table_name %><%= primary_key_type %> do |t| diff --git a/lib/templates/active_record/migration/migration.rb.tt b/lib/templates/active_record/migration/migration.rb.tt index 169a7f23..e0461cb7 100644 --- a/lib/templates/active_record/migration/migration.rb.tt +++ b/lib/templates/active_record/migration/migration.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE class <%= migration_class_name %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>] <%- if migration_action == 'add' -%> def change diff --git a/lib/templates/active_record/model/model.rb.tt b/lib/templates/active_record/model/model.rb.tt index 33976ec9..62c6f59f 100644 --- a/lib/templates/active_record/model/model.rb.tt +++ b/lib/templates/active_record/model/model.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE <% module_namespacing do -%> class <%= class_name %> < <%= parent_class_name.classify %> <% attributes.select(&:reference?).each do |attribute| -%> diff --git a/lib/templates/active_record/model/module.rb.tt b/lib/templates/active_record/model/module.rb.tt index 050ab4dd..41861a01 100644 --- a/lib/templates/active_record/model/module.rb.tt +++ b/lib/templates/active_record/model/module.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE <% module_namespacing do -%> module <%= class_path.map(&:camelize).join('::') %> def self.table_name_prefix diff --git a/lib/templates/erb/controller/view.html.erb.tt b/lib/templates/erb/controller/view.html.erb.tt index d1202998..55830cb1 100644 --- a/lib/templates/erb/controller/view.html.erb.tt +++ b/lib/templates/erb/controller/view.html.erb.tt @@ -1,4 +1,4 @@ <%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>

<%= class_name %>#<%= @action %>

Find me in <%= @path %>

diff --git a/lib/templates/erb/mailer/layout.html.erb.tt b/lib/templates/erb/mailer/layout.html.erb.tt index 67de2790..21d20d9d 100644 --- a/lib/templates/erb/mailer/layout.html.erb.tt +++ b/lib/templates/erb/mailer/layout.html.erb.tt @@ -1,5 +1,5 @@ <%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> diff --git a/lib/templates/erb/mailer/layout.text.erb.tt b/lib/templates/erb/mailer/layout.text.erb.tt index 015bb910..56f8388b 100644 --- a/lib/templates/erb/mailer/layout.text.erb.tt +++ b/lib/templates/erb/mailer/layout.text.erb.tt @@ -1,3 +1,3 @@ <%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> <%%= yield %> diff --git a/lib/templates/erb/mailer/view.html.erb.tt b/lib/templates/erb/mailer/view.html.erb.tt index 8a691f39..4930d792 100644 --- a/lib/templates/erb/mailer/view.html.erb.tt +++ b/lib/templates/erb/mailer/view.html.erb.tt @@ -1,5 +1,5 @@ <%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>

<%= class_name %>#<%= @action %>

diff --git a/lib/templates/erb/mailer/view.text.erb.tt b/lib/templates/erb/mailer/view.text.erb.tt index 3b136064..e9e2fc77 100644 --- a/lib/templates/erb/mailer/view.text.erb.tt +++ b/lib/templates/erb/mailer/view.text.erb.tt @@ -1,5 +1,5 @@ <%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> <%= class_name %>#<%= @action %> <%%= @greeting %>, find me in <%= @path %> diff --git a/lib/templates/erb/scaffold/_form.html.erb.tt b/lib/templates/erb/scaffold/_form.html.erb.tt index cb5ff270..b5064a1e 100644 --- a/lib/templates/erb/scaffold/_form.html.erb.tt +++ b/lib/templates/erb/scaffold/_form.html.erb.tt @@ -1,5 +1,5 @@ <%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> <%%= form_with(model: <%= model_resource_name %>, local: true) do |form| %> <%% if <%= singular_table_name %>.errors.any? %>

diff --git a/lib/templates/erb/scaffold/edit.html.erb.tt b/lib/templates/erb/scaffold/edit.html.erb.tt index 22084690..a6d44efd 100644 --- a/lib/templates/erb/scaffold/edit.html.erb.tt +++ b/lib/templates/erb/scaffold/edit.html.erb.tt @@ -1,5 +1,5 @@ <%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>

Editing <%= singular_table_name.titleize %>

<%%= render 'form', <%= singular_table_name %>: @<%= singular_table_name %> %> diff --git a/lib/templates/erb/scaffold/index.html.erb.tt b/lib/templates/erb/scaffold/index.html.erb.tt index 73223054..ee74159f 100644 --- a/lib/templates/erb/scaffold/index.html.erb.tt +++ b/lib/templates/erb/scaffold/index.html.erb.tt @@ -1,5 +1,5 @@ <%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>

<%%= notice %>

<%= plural_table_name.titleize %>

diff --git a/lib/templates/erb/scaffold/new.html.erb.tt b/lib/templates/erb/scaffold/new.html.erb.tt index a7b61050..49b77543 100644 --- a/lib/templates/erb/scaffold/new.html.erb.tt +++ b/lib/templates/erb/scaffold/new.html.erb.tt @@ -1,5 +1,5 @@ <%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>

New <%= singular_table_name.titleize %>

<%%= render 'form', <%= singular_table_name %>: @<%= singular_table_name %> %> diff --git a/lib/templates/erb/scaffold/show.html.erb.tt b/lib/templates/erb/scaffold/show.html.erb.tt index d3f3949a..c75b402f 100644 --- a/lib/templates/erb/scaffold/show.html.erb.tt +++ b/lib/templates/erb/scaffold/show.html.erb.tt @@ -1,5 +1,5 @@ <%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%> +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>

<%%= notice %>

<% attributes.reject(&:password_digest?).each do |attribute| -%> diff --git a/lib/templates/rails/controller/controller.rb.tt b/lib/templates/rails/controller/controller.rb.tt index b0006a5f..d26a1f27 100644 --- a/lib/templates/rails/controller/controller.rb.tt +++ b/lib/templates/rails/controller/controller.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE <% if namespaced? -%> require_dependency "<%= namespaced_path %>/application_controller" diff --git a/lib/templates/rails/generator/%file_name%_generator.rb.tt b/lib/templates/rails/generator/%file_name%_generator.rb.tt index 9d64953a..18fc8f0c 100644 --- a/lib/templates/rails/generator/%file_name%_generator.rb.tt +++ b/lib/templates/rails/generator/%file_name%_generator.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE class <%= class_name %>Generator < Rails::Generators::NamedBase source_root File.expand_path('templates', __dir__) end diff --git a/lib/templates/rails/helper/helper.rb.tt b/lib/templates/rails/helper/helper.rb.tt index 8e8f83b8..b2d90b93 100644 --- a/lib/templates/rails/helper/helper.rb.tt +++ b/lib/templates/rails/helper/helper.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE <% module_namespacing do -%> module <%= class_name %>Helper end diff --git a/lib/templates/rails/scaffold_controller/api_controller.rb.tt b/lib/templates/rails/scaffold_controller/api_controller.rb.tt index 6cdeecd4..d766e67b 100644 --- a/lib/templates/rails/scaffold_controller/api_controller.rb.tt +++ b/lib/templates/rails/scaffold_controller/api_controller.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE <% if namespaced? -%> require_dependency "<%= namespaced_path %>/application_controller" diff --git a/lib/templates/rails/scaffold_controller/controller.rb.tt b/lib/templates/rails/scaffold_controller/controller.rb.tt index 6a6b760e..164b60f2 100644 --- a/lib/templates/rails/scaffold_controller/controller.rb.tt +++ b/lib/templates/rails/scaffold_controller/controller.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE <% if namespaced? -%> require_dependency "<%= namespaced_path %>/application_controller" diff --git a/lib/templates/rails/task/task.rb.tt b/lib/templates/rails/task/task.rb.tt index 82bae64d..a41950e6 100644 --- a/lib/templates/rails/task/task.rb.tt +++ b/lib/templates/rails/task/task.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE namespace :<%= file_name %> do <% actions.each do |action| -%> desc "TODO" diff --git a/lib/templates/rspec/channel/channel_spec.rb.erb.tt b/lib/templates/rspec/channel/channel_spec.rb.erb.tt index 917686d0..07344076 100644 --- a/lib/templates/rspec/channel/channel_spec.rb.erb.tt +++ b/lib/templates/rspec/channel/channel_spec.rb.erb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' <% module_namespacing do -%> diff --git a/lib/templates/rspec/controller/controller_spec.rb.tt b/lib/templates/rspec/controller/controller_spec.rb.tt index a70c93c5..4775fde1 100644 --- a/lib/templates/rspec/controller/controller_spec.rb.tt +++ b/lib/templates/rspec/controller/controller_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' <% module_namespacing do -%> diff --git a/lib/templates/rspec/controller/request_spec.rb.tt b/lib/templates/rspec/controller/request_spec.rb.tt index c5716d75..051ae268 100644 --- a/lib/templates/rspec/controller/request_spec.rb.tt +++ b/lib/templates/rspec/controller/request_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' RSpec.describe "<%= class_name.pluralize %>", <%= type_metatag(:request) %> do diff --git a/lib/templates/rspec/controller/routing_spec.rb.tt b/lib/templates/rspec/controller/routing_spec.rb.tt index 5463b5ad..ac772107 100644 --- a/lib/templates/rspec/controller/routing_spec.rb.tt +++ b/lib/templates/rspec/controller/routing_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' <% module_namespacing do -%> diff --git a/lib/templates/rspec/controller/view_spec.rb.tt b/lib/templates/rspec/controller/view_spec.rb.tt index beef8d4e..6b750b3e 100644 --- a/lib/templates/rspec/controller/view_spec.rb.tt +++ b/lib/templates/rspec/controller/view_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' RSpec.describe "<%= file_name %>/<%= @action %>.html.<%= options[:template_engine] %>", <%= type_metatag(:view) %> do diff --git a/lib/templates/rspec/feature/feature_singular_spec.rb.tt b/lib/templates/rspec/feature/feature_singular_spec.rb.tt index cf6608fc..eff01ce0 100644 --- a/lib/templates/rspec/feature/feature_singular_spec.rb.tt +++ b/lib/templates/rspec/feature/feature_singular_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' RSpec.feature "<%= class_name.singularize %>", <%= type_metatag(:feature) %> do diff --git a/lib/templates/rspec/feature/feature_spec.rb.tt b/lib/templates/rspec/feature/feature_spec.rb.tt index 992ed523..5f4a5257 100644 --- a/lib/templates/rspec/feature/feature_spec.rb.tt +++ b/lib/templates/rspec/feature/feature_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' RSpec.feature "<%= class_name.pluralize %>", <%= type_metatag(:feature) %> do diff --git a/lib/templates/rspec/generator/generator_spec.rb.tt b/lib/templates/rspec/generator/generator_spec.rb.tt index 9fcb5bbe..edf720e6 100644 --- a/lib/templates/rspec/generator/generator_spec.rb.tt +++ b/lib/templates/rspec/generator/generator_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' RSpec.describe "<%= class_name.pluralize %>", <%= type_metatag(:generator) %> do diff --git a/lib/templates/rspec/helper/helper_spec.rb.tt b/lib/templates/rspec/helper/helper_spec.rb.tt index e017a9e8..05a3940b 100644 --- a/lib/templates/rspec/helper/helper_spec.rb.tt +++ b/lib/templates/rspec/helper/helper_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' # Specs in this file have access to a helper object that includes diff --git a/lib/templates/rspec/integration/request_spec.rb.tt b/lib/templates/rspec/integration/request_spec.rb.tt index 161fa5b2..e67e45e2 100644 --- a/lib/templates/rspec/integration/request_spec.rb.tt +++ b/lib/templates/rspec/integration/request_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' RSpec.describe "<%= class_name.pluralize %>", <%= type_metatag(:request) %> do diff --git a/lib/templates/rspec/job/job_spec.rb.erb.tt b/lib/templates/rspec/job/job_spec.rb.erb.tt index 732b0945..5a8df1d7 100644 --- a/lib/templates/rspec/job/job_spec.rb.erb.tt +++ b/lib/templates/rspec/job/job_spec.rb.erb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' <% module_namespacing do -%> diff --git a/lib/templates/rspec/mailbox/mailbox_spec.rb.erb.tt b/lib/templates/rspec/mailbox/mailbox_spec.rb.erb.tt index f59f0316..32ed2853 100644 --- a/lib/templates/rspec/mailbox/mailbox_spec.rb.erb.tt +++ b/lib/templates/rspec/mailbox/mailbox_spec.rb.erb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' <% module_namespacing do -%> diff --git a/lib/templates/rspec/mailer/mailer_spec.rb.tt b/lib/templates/rspec/mailer/mailer_spec.rb.tt index 708e6aeb..07f4334a 100644 --- a/lib/templates/rspec/mailer/mailer_spec.rb.tt +++ b/lib/templates/rspec/mailer/mailer_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require "rails_helper" <% module_namespacing do -%> diff --git a/lib/templates/rspec/mailer/preview.rb.tt b/lib/templates/rspec/mailer/preview.rb.tt index 00112116..36f5244a 100644 --- a/lib/templates/rspec/mailer/preview.rb.tt +++ b/lib/templates/rspec/mailer/preview.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE <% module_namespacing do -%> # Preview all emails at http://localhost:3000/rails/mailers/<%= file_path %> class <%= class_name %>Preview < ActionMailer::Preview diff --git a/lib/templates/rspec/model/model_spec.rb.tt b/lib/templates/rspec/model/model_spec.rb.tt index 5f837c0e..f8847527 100644 --- a/lib/templates/rspec/model/model_spec.rb.tt +++ b/lib/templates/rspec/model/model_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' <% module_namespacing do -%> diff --git a/lib/templates/rspec/scaffold/api_controller_spec.rb.tt b/lib/templates/rspec/scaffold/api_controller_spec.rb.tt index dd53e8c8..a1a45c56 100644 --- a/lib/templates/rspec/scaffold/api_controller_spec.rb.tt +++ b/lib/templates/rspec/scaffold/api_controller_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' # This spec was generated by rspec-rails when you ran the scaffold generator. diff --git a/lib/templates/rspec/scaffold/api_request_spec.rb.tt b/lib/templates/rspec/scaffold/api_request_spec.rb.tt index 89e680de..8c0ebcd7 100644 --- a/lib/templates/rspec/scaffold/api_request_spec.rb.tt +++ b/lib/templates/rspec/scaffold/api_request_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' # This spec was generated by rspec-rails when you ran the scaffold generator. diff --git a/lib/templates/rspec/scaffold/controller_spec.rb.tt b/lib/templates/rspec/scaffold/controller_spec.rb.tt index 5ae342c4..ad62e9d7 100644 --- a/lib/templates/rspec/scaffold/controller_spec.rb.tt +++ b/lib/templates/rspec/scaffold/controller_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' # This spec was generated by rspec-rails when you ran the scaffold generator. diff --git a/lib/templates/rspec/scaffold/edit_spec.rb.tt b/lib/templates/rspec/scaffold/edit_spec.rb.tt index 64759b96..e593b1e4 100644 --- a/lib/templates/rspec/scaffold/edit_spec.rb.tt +++ b/lib/templates/rspec/scaffold/edit_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' <% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%> diff --git a/lib/templates/rspec/scaffold/index_spec.rb.tt b/lib/templates/rspec/scaffold/index_spec.rb.tt index 05aebea8..a5548dab 100644 --- a/lib/templates/rspec/scaffold/index_spec.rb.tt +++ b/lib/templates/rspec/scaffold/index_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' <% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%> diff --git a/lib/templates/rspec/scaffold/new_spec.rb.tt b/lib/templates/rspec/scaffold/new_spec.rb.tt index 19017f42..0373f110 100644 --- a/lib/templates/rspec/scaffold/new_spec.rb.tt +++ b/lib/templates/rspec/scaffold/new_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' <% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%> diff --git a/lib/templates/rspec/scaffold/request_spec.rb.tt b/lib/templates/rspec/scaffold/request_spec.rb.tt index 1497564a..3681a6c9 100644 --- a/lib/templates/rspec/scaffold/request_spec.rb.tt +++ b/lib/templates/rspec/scaffold/request_spec.rb.tt @@ -1,8 +1,8 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE - require 'rails_helper' +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +require 'rails_helper' # This spec was generated by rspec-rails when you ran the scaffold generator. # It demonstrates how one might use RSpec to test the controller code that diff --git a/lib/templates/rspec/scaffold/routing_spec.rb.tt b/lib/templates/rspec/scaffold/routing_spec.rb.tt index 5669286b..432ac840 100644 --- a/lib/templates/rspec/scaffold/routing_spec.rb.tt +++ b/lib/templates/rspec/scaffold/routing_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require "rails_helper" <% module_namespacing do -%> diff --git a/lib/templates/rspec/scaffold/show_spec.rb.tt b/lib/templates/rspec/scaffold/show_spec.rb.tt index 05930434..6bbf6625 100644 --- a/lib/templates/rspec/scaffold/show_spec.rb.tt +++ b/lib/templates/rspec/scaffold/show_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' <% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%> diff --git a/lib/templates/rspec/system/system_spec.rb.tt b/lib/templates/rspec/system/system_spec.rb.tt index 0ee9d07d..a7cc3b54 100644 --- a/lib/templates/rspec/system/system_spec.rb.tt +++ b/lib/templates/rspec/system/system_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' RSpec.describe "<%= class_name.pluralize %>", <%= type_metatag(:system) %> do diff --git a/lib/templates/rspec/view/view_spec.rb.tt b/lib/templates/rspec/view/view_spec.rb.tt index debd0997..a2ae3b9f 100644 --- a/lib/templates/rspec/view/view_spec.rb.tt +++ b/lib/templates/rspec/view/view_spec.rb.tt @@ -1,7 +1,7 @@ # frozen_string_literal: true # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later -Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE +# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require 'rails_helper' RSpec.describe "<%= file_path %>/<%= @action %>", <%= type_metatag(:view) %> do