lib/active_admin/dependency.rb in activeadmin-2.9.0 vs lib/active_admin/dependency.rb in activeadmin-2.10.0
- old
+ new
@@ -1,5 +1,6 @@
+# frozen_string_literal: true
module ActiveAdmin
module Dependency
module Requirements
DEVISE = ">= 4.0", "< 5"
end
@@ -54,10 +55,10 @@
def self.[](name)
Matcher.new name.to_s
end
def self.supports_zeitwerk?
- rails >= "6.0.0.beta3" && RUBY_ENGINE != "jruby"
+ RUBY_ENGINE != "jruby"
end
class Matcher
attr_reader :name