Skip to content

Instantly share code, notes, and snippets.

@yahonda
Last active August 8, 2023 11:27
Show Gist options
  • Save yahonda/0d0572f9f457ac3869f219adc987fd93 to your computer and use it in GitHub Desktop.
Save yahonda/0d0572f9f457ac3869f219adc987fd93 to your computer and use it in GitHub Desktop.
mutex_m
drb
base64
git grep 'require "observer"'
git grep 'require "drb"'
git grep 'require "abbrev"'
git grep 'require "observer"'
git grep 'require "getoptlong"'
git grep 'require "resolv-replace"'
git grep 'require "rinda"'
git grep 'require "nkf"'
git grep 'require "syslog"'
git grep 'require "drb"'
git grep 'require "mutex_m"'
git grep 'require "csv"'
git grep 'require "base64"'
yahonda@myryzen:~/src/github.com/rails/rails$ git grep 'require "abbrev"'
git grep 'require "observer"'
git grep 'require "getoptlong"'
git grep 'require "resolv-replace"'
git grep 'require "rinda"'
git grep 'require "nkf"'
git grep 'require "syslog"'
git grep 'require "drb"'
git grep 'require "mutex_m"'
git grep 'require "csv"'
git grep 'require "base64"'
- drb -> activesupport
test
activesupport/lib/active_support/testing/parallelization.rb:require "drb"
activesupport/lib/active_support/testing/parallelization/server.rb:require "drb"
- mutex_m -> activesupport
actionpack depends on activesupport
activerecord depends on activesupport
actionpack/lib/action_controller/metal/params_wrapper.rb: require "mutex_m"
activerecord/lib/active_record/attribute_methods.rb:require "mutex_m"
activerecord/lib/active_record/relation/delegation.rb:require "mutex_m"
activesupport/lib/active_support/notifications/fanout.rb:require "mutex_m"
- base64
actioncable depends on activesupport (Rakefile though)
actionmailer depends on activesupport
actionpack depends on activesupport
actionview depends on activesupport
activerecord depends on activesupport
activesupport depends on nothing from rails
raileties depends on nothing from rails (test file though)
actioncable/Rakefile:require "base64"
actionmailer/lib/action_mailer/inline_preview_interceptor.rb:require "base64"
actionpack/lib/action_controller/metal/http_authentication.rb:require "base64"
actionview/Rakefile:require "base64"
activerecord/lib/active_record/encryption/message_serializer.rb:require "base64"
activerecord/lib/active_record/fixture_set/render_context.rb:require "base64"
activerecord/test/cases/encryption/message_serializer_test.rb:require "base64"
activesupport/lib/active_support/message_encryptor.rb:require "base64"
activesupport/lib/active_support/message_verifier.rb:require "base64"
activesupport/lib/active_support/xml_mini.rb:require "base64"
railties/test/application/mailer_previews_test.rb:require "base64"
yahonda@myryzen:~/src/github.com/rails/rails$
railties/test/application/mailer_previews_test.rb:require "base64"
activesupport or railties?
@yahonda
Copy link
Author

yahonda commented Aug 7, 2023

add_development_dependency not help

@yahonda
Copy link
Author

yahonda commented Aug 8, 2023

diff --git a/activesupport/activesupport.gemspec b/activesupport/activesupport.gemspec
index 5ac821c37a..2289dbbefb 100644
--- a/activesupport/activesupport.gemspec
+++ b/activesupport/activesupport.gemspec
@@ -39,4 +39,7 @@
   s.add_dependency "concurrent-ruby", "~> 1.0", ">= 1.0.2"
   s.add_dependency "connection_pool", ">= 2.2.5"
   s.add_dependency "minitest",        ">= 5.1"
+  s.add_dependency "drb"
+  s.add_dependency "mutex_m"
+#  s.add_dependency "base64"
 end

@yahonda
Copy link
Author

yahonda commented Aug 8, 2023

@yahonda
Copy link
Author

yahonda commented Aug 8, 2023

$ ruby -v ; ruby -e 'pp Gem::BUNDLED_GEMS::SINCE.select { |k,v| v == "3.4.0" }'
ruby 3.3.0dev (2023-08-07T23:09:02Z master 0e5da05a32) [x86_64-linux]
{"abbrev"=>"3.4.0",
"observer"=>"3.4.0",
"getoptlong"=>"3.4.0",
"resolv-replace"=>"3.4.0",
"rinda"=>"3.4.0",
"nkf"=>"3.4.0",
"syslog"=>"3.4.0",
"drb"=>"3.4.0",
"mutex_m"=>"3.4.0",
"csv"=>"3.4.0",
"base64"=>"3.4.0"}
yahonda@myryzen:~/src/github.com/ruby/ruby$

@yahonda
Copy link
Author

yahonda commented Aug 8, 2023

@yahonda
Copy link
Author

yahonda commented Aug 8, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment