diff options
-rw-r--r-- | .rubocop.yml | 14 | ||||
-rw-r--r-- | Gemfile | 2 | ||||
-rw-r--r-- | Rakefile | 2 | ||||
-rw-r--r-- | rails.gemspec | 2 | ||||
-rw-r--r-- | version.rb | 2 |
5 files changed, 9 insertions, 13 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index ac8623638c..88d52c68be 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -83,20 +83,8 @@ Style/FrozenStringLiteralComment: Enabled: true EnforcedStyle: always Include: - - 'activesupport/**/*' - - 'activemodel/**/*' - - 'actioncable/**/*' - - 'activejob/**/*' - - 'activerecord/**/*' - - 'activestorage/**/*' - - 'actionmailer/**/*' - - 'actionview/**/*' - - 'actionpack/**/*' - - 'ci/**/*' - - 'guides/**/*' - - 'tasks/**/*' - - 'tools/**/*' Exclude: + - 'railties/**/*' - 'actionview/test/**/*.builder' - 'actionview/test/**/*.ruby' - 'actionpack/test/**/*.builder' @@ -1,3 +1,5 @@ +# frozen_string_literal: true + source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "net/http" $:.unshift __dir__ diff --git a/rails.gemspec b/rails.gemspec index 31eee025bf..4b57377871 100644 --- a/rails.gemspec +++ b/rails.gemspec @@ -1,3 +1,5 @@ +# frozen_string_literal: true + version = File.read(File.expand_path("RAILS_VERSION", __dir__)).strip Gem::Specification.new do |s| diff --git a/version.rb b/version.rb index 7bacf2e0ba..92b5e0392a 100644 --- a/version.rb +++ b/version.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module Rails # Returns the version of the currently loaded Rails as a <tt>Gem::Version</tt> def self.gem_version |