Module: Flipper

Defined in:
lib/flipper/version.rb,
lib/flipper/adapters/redis.rb,
lib/flipper/adapters/redis_cache.rb

Defined Under Namespace

Modules: Adapters

Constant Summary collapse

VERSION =
'1.3.0'.freeze
REQUIRED_RUBY_VERSION =
'2.6'.freeze
NEXT_REQUIRED_RUBY_VERSION =
'3.0'.freeze
REQUIRED_RAILS_VERSION =
'5.2'.freeze
NEXT_REQUIRED_RAILS_VERSION =
'6.1.0'.freeze

Class Method Summary collapse

Class Method Details

.deprecated_ruby_version?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/flipper/version.rb', line 10

def self.deprecated_ruby_version?
  Gem::Version.new(RUBY_VERSION) < Gem::Version.new(NEXT_REQUIRED_RUBY_VERSION)
end