Correct another bug in the template license comments

This commit is contained in:
Eric Schultz 2021-01-27 12:00:22 -06:00 committed by Eric Schultz
parent b4c7dd114b
commit 169dbc5987
49 changed files with 50 additions and 50 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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|

View file

@ -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

View file

@ -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| -%>

View file

@ -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

View file

@ -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 -%>
<h1><%= class_name %>#<%= @action %></h1>
<p>Find me in <%= @path %></p>

View file

@ -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 -%>
<!DOCTYPE html>
<html>
<head>

View file

@ -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 %>

View file

@ -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 -%>
<h1><%= class_name %>#<%= @action %></h1>
<p>

View file

@ -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 %>

View file

@ -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? %>
<div id="error_explanation">

View file

@ -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 -%>
<h1>Editing <%= singular_table_name.titleize %></h1>
<%%= render 'form', <%= singular_table_name %>: @<%= singular_table_name %> %>

View file

@ -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 -%>
<p id="notice"><%%= notice %></p>
<h1><%= plural_table_name.titleize %></h1>

View file

@ -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 -%>
<h1>New <%= singular_table_name.titleize %></h1>
<%%= render 'form', <%= singular_table_name %>: @<%= singular_table_name %> %>

View file

@ -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 -%>
<p id="notice"><%%= notice %></p>
<% attributes.reject(&:password_digest?).each do |attribute| -%>

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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 -%>

View file

@ -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 -%>

View file

@ -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

View file

@ -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 -%>

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 -%>

View file

@ -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 -%>

View file

@ -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 -%>

View file

@ -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

View file

@ -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 -%>

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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) } -%>

View file

@ -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) } -%>

View file

@ -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) } -%>

View file

@ -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.

View file

@ -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 -%>

View file

@ -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) } -%>

View file

@ -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

View file

@ -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