Skip to content

Commit

Permalink
WIP: rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
Flink committed Feb 28, 2024
1 parent d88cb3d commit aeb87b8
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/dummy/Rakefile
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

Expand Down
1 change: 1 addition & 0 deletions test/dummy/app/channels/application_cable/channel.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module ApplicationCable
class Channel < ActionCable::Channel::Base
end
Expand Down
1 change: 1 addition & 0 deletions test/dummy/app/channels/application_cable/connection.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module ApplicationCable
class Connection < ActionCable::Connection::Base
end
Expand Down
1 change: 1 addition & 0 deletions test/dummy/app/controllers/application_controller.rb
@@ -1,2 +1,3 @@
# frozen_string_literal: true
class ApplicationController < ActionController::Base
end
1 change: 1 addition & 0 deletions test/dummy/app/helpers/application_helper.rb
@@ -1,2 +1,3 @@
# frozen_string_literal: true
module ApplicationHelper
end
1 change: 1 addition & 0 deletions test/dummy/app/jobs/application_job.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
class ApplicationJob < ActiveJob::Base
# Automatically retry jobs that encountered a deadlock
# retry_on ActiveRecord::Deadlocked
Expand Down
1 change: 1 addition & 0 deletions test/dummy/app/mailers/application_mailer.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
class ApplicationMailer < ActionMailer::Base
default from: "from@example.com"
layout "mailer"
Expand Down
1 change: 1 addition & 0 deletions test/dummy/app/models/application_record.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
class ApplicationRecord < ActiveRecord::Base
primary_abstract_class
end
1 change: 1 addition & 0 deletions test/dummy/bin/rails
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
APP_PATH = File.expand_path("../config/application", __dir__)
require_relative "../config/boot"
require "rails/commands"
1 change: 1 addition & 0 deletions test/dummy/bin/rake
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
require_relative "../config/boot"
require "rake"
Rake.application.run
1 change: 1 addition & 0 deletions test/dummy/bin/setup
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
require "fileutils"

# path to your application root.
Expand Down
1 change: 1 addition & 0 deletions test/dummy/config.ru
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# This file is used by Rack-based servers to start the application.

require_relative "config/environment"
Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/application.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require_relative "boot"

require "rails/all"
Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/boot.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Set up gems listed in the Gemfile.
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../../Gemfile", __dir__)

Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/environment.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Load the Rails application.
require_relative "application"

Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/environments/development.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require "active_support/core_ext/integer/time"

Rails.application.configure do
Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/environments/production.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require "active_support/core_ext/integer/time"

Rails.application.configure do
Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/environments/test.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require "active_support/core_ext/integer/time"

# The test environment is used exclusively to run your application's
Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/initializers/content_security_policy.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.

# Define an application-wide content security policy.
Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/initializers/filter_parameter_logging.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.

# Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file.
Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/initializers/inflections.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.

# Add new inflection rules using the following format. Inflections
Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/initializers/permissions_policy.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.

# Define an application-wide HTTP permissions policy. For further
Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/puma.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# This configuration file will be evaluated by Puma. The top-level methods that
# are invoked here are part of Puma's configuration DSL. For more information
# about methods provided by the DSL, see https://puma.io/puma/Puma/DSL.html.
Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/routes.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
Rails.application.routes.draw do
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html

Expand Down

0 comments on commit aeb87b8

Please sign in to comment.