Skip to content

Commit 27a0942

Browse files
committed
Modernize code.
1 parent 637eb21 commit 27a0942

File tree

23 files changed

+28
-25
lines changed

23 files changed

+28
-25
lines changed

.github/workflows/documentation-coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: ruby/setup-ruby@v1
1919
with:
20-
ruby-version: "3.3"
20+
ruby-version: "3.4"
2121
bundler-cache: true
2222

2323
- name: Validate coverage

.github/workflows/documentation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- uses: ruby/setup-ruby@v1
3131
with:
32-
ruby-version: "3.3"
32+
ruby-version: "3.4"
3333
bundler-cache: true
3434

3535
- name: Installing packages

.github/workflows/test-coverage.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- ubuntu
3232

3333
ruby:
34-
- "3.3"
34+
- "3.4"
3535

3636
steps:
3737
- uses: actions/checkout@v4
@@ -61,7 +61,7 @@ jobs:
6161
- ubuntu
6262

6363
ruby:
64-
- "3.3"
64+
- "3.4"
6565

6666
steps:
6767
- uses: actions/checkout@v4
@@ -94,7 +94,7 @@ jobs:
9494
- ubuntu
9595

9696
ruby:
97-
- "3.3"
97+
- "3.4"
9898

9999
steps:
100100
- uses: actions/checkout@v4
@@ -128,7 +128,7 @@ jobs:
128128
- uses: actions/checkout@v4
129129
- uses: ruby/setup-ruby@v1
130130
with:
131-
ruby-version: "3.3"
131+
ruby-version: "3.4"
132132
bundler-cache: true
133133

134134
- uses: actions/download-artifact@v4

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- "3.1"
3535
- "3.2"
3636
- "3.3"
37+
- "3.4"
3738

3839
experimental: [false]
3940

async-redis.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
77
spec.version = Async::Redis::VERSION
88

99
spec.summary = "A Redis client library."
10-
spec.authors = ["Samuel Williams", "Huba Nagy", "David Ortiz", "Gleb Sinyavskiy", "Mikael Henriksson", "Troex Nevelin", "Alex Matchneer", "Jeremy Jung", "Joan Lledó", "Olle Jonsson", "Pierre Montelle", "Salim Semaoune", "Tim Willard"]
10+
spec.authors = ["Samuel Williams", "Huba Nagy", "David Ortiz", "Gleb Sinyavskiy", "Mikael Henriksson", "Troex Nevelin", "Alex Matchneer", "Jeremy Jung", "Joan Lledó", "Olle Jonsson", "Pierre Montelle", "Salim Semaoune", "Tim Willard", "Travis Bell"]
1111
spec.license = "MIT"
1212

1313
spec.cert_chain = ["release.cert"]

bake.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2018-2023, by Samuel Williams.
4+
# Copyright, 2018-2025, by Samuel Williams.
55

66
def client
77
require "irb"

config/sus.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2023, by Samuel Williams.
4+
# Copyright, 2023-2025, by Samuel Williams.
55

66
require "covered/sus"
77
include Covered::Sus

examples/auth/protocol.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2021-2023, by Samuel Williams.
4+
# Copyright, 2021-2025, by Samuel Williams.
55

66
require_relative "../../lib/async/redis"
77

examples/redis/pop.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# frozen_string_literal: true
33

44
# Released under the MIT License.
5-
# Copyright, 2022-2023, by Samuel Williams.
5+
# Copyright, 2022-2025, by Samuel Williams.
66

77
require "async"
88
require "async/barrier"

examples/redis/pres/pop.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# frozen_string_literal: true
33

44
# Released under the MIT License.
5-
# Copyright, 2022-2023, by Samuel Williams.
5+
# Copyright, 2022-2025, by Samuel Williams.
66

77
require "async"
88
require "redis"

examples/slow-log/analysis.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# frozen_string_literal: true
33

44
# Released under the MIT License.
5-
# Copyright, 2022-2023, by Samuel Williams.
5+
# Copyright, 2022-2025, by Samuel Williams.
66

77
require "set"
88
require "async"

examples/slow-log/queues.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# frozen_string_literal: true
33

44
# Released under the MIT License.
5-
# Copyright, 2022-2023, by Samuel Williams.
5+
# Copyright, 2022-2025, by Samuel Williams.
66

77
require "async"
88
require_relative "../../lib/async/redis"

examples/subscribe/pubsub.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# frozen_string_literal: true
33

44
# Released under the MIT License.
5-
# Copyright, 2023, by Samuel Williams.
5+
# Copyright, 2023-2025, by Samuel Williams.
66

77
require_relative "../../lib/async/redis"
88

gems.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2018-2024, by Samuel Williams.
4+
# Copyright, 2018-2025, by Samuel Williams.
55

66
source "https://rubygems.org"
77

lib/async/redis/cluster_client.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2024, by Samuel Williams.
4+
# Copyright, 2024-2025, by Samuel Williams.
5+
# Copyright, 2025, by Travis Bell.
56

67
require_relative "client"
78
require "io/stream"

lib/async/redis/context/generic.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Released under the MIT License.
44
# Copyright, 2019, by Mikael Henriksson.
5-
# Copyright, 2019-2023, by Samuel Williams.
5+
# Copyright, 2019-2025, by Samuel Williams.
66

77
require "protocol/redis/methods"
88

lib/async/redis/context/transaction.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Released under the MIT License.
44
# Copyright, 2018, by Huba Nagy.
5-
# Copyright, 2018-2023, by Samuel Williams.
5+
# Copyright, 2018-2025, by Samuel Williams.
66

77
require_relative "pipeline"
88

license.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
Copyright, 2018-2024, by Samuel Williams.
3+
Copyright, 2018-2025, by Samuel Williams.
44
Copyright, 2018, by Huba Nagy.
55
Copyright, 2019-2020, by David Ortiz.
66
Copyright, 2019, by Pierre Montelle.
@@ -13,6 +13,7 @@ Copyright, 2021, by Troex Nevelin.
1313
Copyright, 2022, by Tim Willard.
1414
Copyright, 2022, by Gleb Sinyavskiy.
1515
Copyright, 2024, by Joan Lledó.
16+
Copyright, 2025, by Travis Bell.
1617

1718
Permission is hereby granted, free of charge, to any person obtaining a copy
1819
of this software and associated documentation files (the "Software"), to deal

test/async/redis/context/transaction.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2018-2023, by Samuel Williams.
4+
# Copyright, 2018-2025, by Samuel Williams.
55

66
require "client_context"
77

test/async/redis/methods/generic.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Released under the MIT License.
44
# Copyright, 2018, by Huba Nagy.
5-
# Copyright, 2018-2023, by Samuel Williams.
5+
# Copyright, 2018-2025, by Samuel Williams.
66

77
require "client_context"
88

test/async/redis/methods/hashes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Released under the MIT License.
44
# Copyright, 2019, by Mikael Henriksson.
5-
# Copyright, 2019-2023, by Samuel Williams.
5+
# Copyright, 2019-2025, by Samuel Williams.
66

77
require "client_context"
88

test/async/redis/methods/lists.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Released under the MIT License.
44
# Copyright, 2018, by Huba Nagy.
5-
# Copyright, 2018-2023, by Samuel Williams.
5+
# Copyright, 2018-2025, by Samuel Williams.
66
# Copyright, 2019, by David Ortiz.
77

88
require "client_context"

test/async/redis/methods/strings.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Released under the MIT License.
44
# Copyright, 2018, by Huba Nagy.
5-
# Copyright, 2018-2023, by Samuel Williams.
5+
# Copyright, 2018-2025, by Samuel Williams.
66

77
require "client_context"
88

0 commit comments

Comments
 (0)