diff --git a/fontello_rails_converter.gemspec b/fontello_rails_converter.gemspec index 507adfb..5734169 100644 --- a/fontello_rails_converter.gemspec +++ b/fontello_rails_converter.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.required_ruby_version = '~> 2.0' + spec.required_ruby_version = '>= 2.0' spec.add_runtime_dependency "rubyzip", "~> 1.0" spec.add_runtime_dependency "launchy" diff --git a/lib/fontello_rails_converter.rb b/lib/fontello_rails_converter.rb index 0f73c28..66d0c9c 100644 --- a/lib/fontello_rails_converter.rb +++ b/lib/fontello_rails_converter.rb @@ -1,3 +1,4 @@ +require "active_support/isolated_execution_state" if Gem::Requirement.create('>= 7').satisfied_by?(Gem.loaded_specs["activesupport"].version) require 'active_support/core_ext/string' require "fontello_rails_converter/version" diff --git a/lib/fontello_rails_converter/version.rb b/lib/fontello_rails_converter/version.rb index f094e64..a77090b 100644 --- a/lib/fontello_rails_converter/version.rb +++ b/lib/fontello_rails_converter/version.rb @@ -1,3 +1,3 @@ module FontelloRailsConverter - VERSION = "0.4.6" + VERSION = "0.4.7" end