We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8611ea5 commit 9cd0042Copy full SHA for 9cd0042
Rakefile
@@ -55,6 +55,13 @@ namespace :spec do
55
framework, version = file_name.split(/(\d+)/)
56
major, minor = version.split(//)
57
58
+ # Ruby 3 exclusions
59
+ if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.0.0')
60
+ # Rails 5 does not support ruby-3.0.0 https://github.com/rails/rails/issues/40938#issuecomment-751569171
61
+ # Mongoid gem does not yet support ruby-3.0.0 https://github.com/mongodb/mongoid#compatibility
62
+ next if framework == 'mongoid' || (framework == 'rails' && version == "5")
63
+ end
64
+
65
frameworks_versions[framework] ||= []
66
frameworks_versions[framework] << file_name
67
0 commit comments