Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update redis #9

Merged
merged 9 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## [1.0.3]
- Redis-namespace dependency moved to development dependency.
- Update 'redis' and 'redis-namespace' to the latest version to support redis-sentinel.
loadkpi marked this conversation as resolved.
Show resolved Hide resolved

## [1.0.2]
- Redis-namespace dependency now requires version 1.8.2 or more recent, because thread safety was broken in 1.8.1
- Adds processing for case when `watch` fails in redis transactions (during unlocking).
Expand All @@ -15,4 +19,4 @@ All notable changes to this project will be documented in this file.

## [1.0.0]

Initial public release
Initial public release
14 changes: 9 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ PATH
specs:
simple_mutex (1.0.2)
redis
redis-namespace (>= 1.8.2)
sidekiq

GEM
Expand All @@ -20,7 +19,7 @@ GEM
bundler (>= 1.2.0, < 3)
thor (~> 1.0)
concurrent-ruby (1.1.10)
connection_pool (2.2.5)
connection_pool (2.4.1)
diff-lcs (1.5.0)
docile (1.4.0)
i18n (1.10.0)
Expand All @@ -33,9 +32,12 @@ GEM
ast (~> 2.4.1)
rack (2.2.4)
rainbow (3.1.1)
redis (4.7.1)
redis-namespace (1.8.2)
redis (>= 3.0.4)
redis (5.0.7)
redis-client (>= 0.9.0)
redis-client (0.17.0)
connection_pool
redis-namespace (1.11.0)
redis (>= 4)
regexp_parser (2.5.0)
rexml (3.2.5)
rspec (3.11.0)
Expand Down Expand Up @@ -103,12 +105,14 @@ GEM
zeitwerk (2.6.0)

PLATFORMS
x86_64-darwin-21
x86_64-linux

DEPENDENCIES
bundler
bundler-audit
mock_redis
redis-namespace (>= 1.8.2)
rspec
rubocop
rubocop-config-umbrellio
Expand Down
2 changes: 1 addition & 1 deletion lib/simple_mutex/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module SimpleMutex
VERSION = "1.0.2"
VERSION = "1.0.3"
loadkpi marked this conversation as resolved.
Show resolved Hide resolved
end
2 changes: 1 addition & 1 deletion simple_mutex.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.add_runtime_dependency "redis"
loadkpi marked this conversation as resolved.
Show resolved Hide resolved
spec.add_runtime_dependency "redis-namespace", ">= 1.8.2"
spec.add_runtime_dependency "sidekiq"

spec.add_development_dependency "bundler"
spec.add_development_dependency "bundler-audit"
spec.add_development_dependency "mock_redis"
spec.add_development_dependency "redis-namespace", ">= 1.8.2"
spec.add_development_dependency "rspec"
spec.add_development_dependency "rubocop"
spec.add_development_dependency "rubocop-config-umbrellio"
Expand Down