File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
- require ' rails'
3
+ require " rails"
4
4
Rails . env = "test"
5
5
6
6
require "bundler/gem_tasks"
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ def scan_rails_app
17
17
18
18
# determine if the application is affected by the net-pop bug
19
19
# https://github.com/ruby/ruby/pull/11006#issuecomment-2176562332
20
- if RUBY_VERSION == ' 3.3.3' && @gemfile . include? ( "net-pop" )
21
- @netpopbug = parser . specs . find { |spec | spec . name == "net-pop" } . dependencies . empty?
20
+ if RUBY_VERSION == " 3.3.3" && @gemfile . include? ( "net-pop" )
21
+ @netpopbug = parser . specs . find { |spec | spec . name == "net-pop" } . dependencies . empty?
22
22
end
23
23
end
24
24
@@ -94,8 +94,8 @@ def using_trilogy?
94
94
end
95
95
96
96
### patches ###
97
- if RUBY_VERSION == ' 3.3.3'
98
- parser = Bundler ::LockfileParser . new ( Bundler . read_file ( "Gemfile.lock" ) )
97
+ if RUBY_VERSION == " 3.3.3"
98
+ Bundler ::LockfileParser . new ( Bundler . read_file ( "Gemfile.lock" ) )
99
99
100
100
end
101
101
end
You can’t perform that action at this time.
0 commit comments