File tree 5 files changed +9
-13
lines changed
5 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -83,20 +83,8 @@ Style/FrozenStringLiteralComment:
83
83
Enabled : true
84
84
EnforcedStyle : always
85
85
Include :
86
- - ' activesupport/**/*'
87
- - ' activemodel/**/*'
88
- - ' actioncable/**/*'
89
- - ' activejob/**/*'
90
- - ' activerecord/**/*'
91
- - ' activestorage/**/*'
92
- - ' actionmailer/**/*'
93
- - ' actionview/**/*'
94
- - ' actionpack/**/*'
95
- - ' ci/**/*'
96
- - ' guides/**/*'
97
- - ' tasks/**/*'
98
- - ' tools/**/*'
99
86
Exclude :
87
+ - ' railties/**/*'
100
88
- ' actionview/test/**/*.builder'
101
89
- ' actionview/test/**/*.ruby'
102
90
- ' actionpack/test/**/*.builder'
Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
1
3
source "https://rubygems.org"
2
4
3
5
git_source ( :github ) { |repo | "https://github.com/#{ repo } .git" }
Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
1
3
require "net/http"
2
4
3
5
$:. unshift __dir__
Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
1
3
version = File . read ( File . expand_path ( "RAILS_VERSION" , __dir__ ) ) . strip
2
4
3
5
Gem ::Specification . new do |s |
Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
1
3
module Rails
2
4
# Returns the version of the currently loaded Rails as a <tt>Gem::Version</tt>
3
5
def self . gem_version
You can’t perform that action at this time.
0 commit comments