redis-actionpack.gemspec in redis-actionpack-5.4.0 vs redis-actionpack.gemspec in redis-actionpack-5.5.0
- old
+ new
@@ -1,27 +1,25 @@
-# -*- encoding: utf-8 -*-
-$:.push File.expand_path('../lib', __FILE__)
-require 'redis/actionpack/version'
+# frozen_string_literal: true
+require_relative 'lib/redis/actionpack/version'
+
Gem::Specification.new do |s|
s.name = 'redis-actionpack'
s.version = Redis::ActionPack::VERSION
s.authors = ['Luca Guidi']
s.email = ['me@lucaguidi.com']
- s.homepage = 'http://redis-store.org/redis-actionpack'
- s.summary = %q{Redis session store for ActionPack}
+ s.homepage = 'https://redis-store.org/redis-actionpack/'
+ s.summary = 'Redis session store for ActionPack'
s.description = "#{s.summary}. Used for storing the Rails session in Redis."
s.license = 'MIT'
s.metadata = {
- "source_code_uri" => "https://github.com/redis-store/redis-actionpack"
+ 'source_code_uri' => 'https://github.com/redis-store/redis-actionpack'
}
- s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- s.executables = []
- s.require_paths = ['lib']
- s.required_ruby_version = '>= 2.3.0'
+ s.required_ruby_version = '>= 2.7.0'
- s.add_runtime_dependency 'redis-store', '>= 1.1.0', '< 2'
- s.add_runtime_dependency 'redis-rack', '>= 2.1.0', '< 4'
- s.add_runtime_dependency 'actionpack', '>= 5', '< 8'
+ s.files = `git ls-files`.split("\n")
+
+ s.add_dependency 'actionpack', '>= 5'
+ s.add_dependency 'redis-rack', '>= 2.1.0', '< 4'
+ s.add_dependency 'redis-store', '>= 1.1.0', '< 2'
end