Skip to content

Commit

Permalink
Fix linter issues (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesterovskiy authored Oct 31, 2017
1 parent bf8be56 commit 1e7a463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion redis-session-store.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Gem::Specification.new do |gem|
gem.version = File.read('lib/redis-session-store.rb')
.match(/^ VERSION = '(.*)'/)[1]

gem.add_runtime_dependency 'redis', '~> 3'
gem.add_runtime_dependency 'actionpack', '>= 3', '< 5.2'
gem.add_runtime_dependency 'redis', '~> 3'

gem.add_development_dependency 'fakeredis', '~> 0.5'
gem.add_development_dependency 'rake', '~> 11'
Expand Down
2 changes: 1 addition & 1 deletion spec/redis_session_store_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def self.dump(_value)
end

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

it 'does not explode at init' do
expect { store }.to_not raise_error
Expand Down

0 comments on commit 1e7a463

Please sign in to comment.