File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
lib/active_record/connection_adapters Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def inspect
2727 end
2828
2929 def eql? ( other )
30- self . class == other . class && self . value == other . value
30+ self . class == other . class && value == other . value
3131 end
3232 alias :== :eql?
3333 end
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ def dblib_connect(config)
105105 end
106106
107107 def config_appname ( config )
108- if self . instance_methods . include? ( :configure_application_name )
108+ if instance_methods . include? ( :configure_application_name )
109109 ActiveSupport ::Deprecation . warn <<~MSG . squish
110110 Configuring the application name used by TinyTDS by overriding the
111111 `ActiveRecord::ConnectionAdapters::SQLServerAdapter#configure_application_name`
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module CoerceableTest
1313 module ClassMethods
1414 def coerce_tests! ( *methods )
1515 methods . each do |method |
16- self . coerced_tests . push ( method )
16+ coerced_tests . push ( method )
1717 coerced_test_warning ( method )
1818 end
1919 end
@@ -24,7 +24,7 @@ def coerce_all_tests!
2424
2525 undef_method ( method )
2626 end
27- STDOUT . puts "🙉 🙈 🙊 Undefined all tests: #{ self . name } "
27+ STDOUT . puts "🙉 🙈 🙊 Undefined all tests: #{ name } "
2828 end
2929
3030 private
@@ -43,9 +43,9 @@ def coerced_test_warning(test_to_coerce)
4343 end
4444
4545 if result . blank?
46- STDOUT . puts "🐳 Unfound coerced test: #{ self . name } ##{ m } "
46+ STDOUT . puts "🐳 Unfound coerced test: #{ name } ##{ m } "
4747 else
48- STDOUT . puts "🐵 Undefined coerced test: #{ self . name } ##{ m } "
48+ STDOUT . puts "🐵 Undefined coerced test: #{ name } ##{ m } "
4949 end
5050 end
5151 end
You can’t perform that action at this time.
0 commit comments