Skip to content

Commit 1e7a463

Browse files
authored
Fix linter issues (#99)
1 parent bf8be56 commit 1e7a463

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

redis-session-store.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Gem::Specification.new do |gem|
1616
gem.version = File.read('lib/redis-session-store.rb')
1717
.match(/^ VERSION = '(.*)'/)[1]
1818

19-
gem.add_runtime_dependency 'redis', '~> 3'
2019
gem.add_runtime_dependency 'actionpack', '>= 3', '< 5.2'
20+
gem.add_runtime_dependency 'redis', '~> 3'
2121

2222
gem.add_development_dependency 'fakeredis', '~> 0.5'
2323
gem.add_development_dependency 'rake', '~> 11'

spec/redis_session_store_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def self.dump(_value)
496496
end
497497

498498
context 'when callable' do
499-
let(:options) { { :"#{h}" => ->(*) { !nil } } }
499+
let(:options) { { :"#{h}" => ->(*) { true } } }
500500

501501
it 'does not explode at init' do
502502
expect { store }.to_not raise_error

0 commit comments

Comments
 (0)