lib/anyway/config.rb in anyway_config-2.0.0.pre vs lib/anyway/config.rb in anyway_config-2.0.0.pre2
- old
+ new
@@ -1,23 +1,18 @@
# frozen_string_literal: true
require "anyway/optparse_config"
require "anyway/dynamic_config"
-require "anyway/ext/jruby" if defined? JRUBY_VERSION
require "anyway/ext/deep_dup"
require "anyway/ext/deep_freeze"
require "anyway/ext/hash"
require "anyway/ext/string_serialize"
module Anyway # :nodoc:
- if defined? JRUBY_VERSION
- using Anyway::Ext::JRuby
- else
- using Anyway::Ext::DeepDup
- using Anyway::Ext::DeepFreeze
- using Anyway::Ext::Hash
- end
+ using Anyway::Ext::DeepDup
+ using Anyway::Ext::DeepFreeze
+ using Anyway::Ext::Hash
using Anyway::Ext::StringSerialize
# Base config class
# Provides `attr_config` method to describe
# configuration parameters and set defaults