Revert "DEV: Allow rake plugin:spec to traverse symlinks"

Revert “DEV: Allow rake plugin:spec to traverse symlinks”

This reverts commit dfd63b185f3b5279f49f979638dd17c30431669e.

https://meta.discourse.org/t/108110/11

diff --git a/lib/tasks/plugin.rake b/lib/tasks/plugin.rake
index 13f18c1..c775250 100644
--- a/lib/tasks/plugin.rake
+++ b/lib/tasks/plugin.rake
@@ -87,8 +87,7 @@ desc 'run plugin specs'
 task 'plugin:spec', :plugin do |t, args|
   args.with_defaults(plugin: "*")
   ruby = `which ruby`.strip
-  # Traverse symlinks (https://stackoverflow.com/questions/357754/can-i-traverse-symlinked-directories-in-ruby-with-a-glob)
-  files = Dir.glob("./plugins/#{args[:plugin]}/spec/**{,/*/**}/*_spec.rb")
+  files = Dir.glob("./plugins/#{args[:plugin]}/spec/**/*_spec.rb")
   if files.length > 0
     sh "LOAD_PLUGINS=1 #{ruby} -S rspec #{files.join(' ')}"
   else

GitHub sha: 68173cd2