Skip to content

Commit a8b0df4

Browse files
BREAKING CHANGE: Migrates to ruby 3.3.4 (#11)
1 parent 0374bac commit a8b0df4

File tree

5 files changed

+54
-34
lines changed

5 files changed

+54
-34
lines changed

.github/workflows/rspec_and_release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v3
1212

13-
- name: Set up Ruby 2.7.4
13+
- name: Set up Ruby 3.3.4
1414
uses: ruby/setup-ruby@v1
1515
with:
16-
ruby-version: 2.7.4
16+
ruby-version: 3.3.4
1717
- name: Test with Rspec
1818
run: |
1919
gem install bundler
@@ -26,10 +26,10 @@ jobs:
2626

2727
steps:
2828
- uses: actions/checkout@v3
29-
- name: Set up Ruby 2.7.4
29+
- name: Set up Ruby 3.3.4
3030
uses: ruby/setup-ruby@v1
3131
with:
32-
ruby-version: 2.7.4
32+
ruby-version: 3.3.4
3333
- name: Build with bundler
3434
run: |
3535
gem install bundler

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-2.7.4
1+
ruby-3.3.4

Gemfile

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
source 'https://rubygems.org'
4-
ruby '2.7.4'
4+
ruby '3.3.4'
55

66
gem 'dogapi'
77
gem 'redis'

Gemfile.lock

Lines changed: 46 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,23 @@ GEM
22
remote: https://rubygems.org/
33
specs:
44
coderay (1.1.3)
5-
connection_pool (2.3.0)
6-
diff-lcs (1.5.0)
5+
connection_pool (2.4.1)
6+
diff-lcs (1.5.1)
77
dogapi (1.45.0)
88
multi_json
9-
ffi (1.15.5)
9+
ffi (1.17.0)
10+
ffi (1.17.0-aarch64-linux-gnu)
11+
ffi (1.17.0-aarch64-linux-musl)
12+
ffi (1.17.0-arm-linux-gnu)
13+
ffi (1.17.0-arm-linux-musl)
14+
ffi (1.17.0-arm64-darwin)
15+
ffi (1.17.0-x86-linux-gnu)
16+
ffi (1.17.0-x86-linux-musl)
17+
ffi (1.17.0-x86_64-darwin)
18+
ffi (1.17.0-x86_64-linux-gnu)
19+
ffi (1.17.0-x86_64-linux-musl)
1020
formatador (1.1.0)
11-
guard (2.18.0)
21+
guard (2.18.1)
1222
formatador (>= 0.2.4)
1323
listen (>= 2.7, < 4.0)
1424
lumberjack (>= 1.0.12, < 2.0)
@@ -22,11 +32,11 @@ GEM
2232
guard (~> 2.1)
2333
guard-compat (~> 1.1)
2434
rspec (>= 2.99.0, < 4.0)
25-
listen (3.8.0)
35+
listen (3.9.0)
2636
rb-fsevent (~> 0.10, >= 0.10.3)
2737
rb-inotify (~> 0.9, >= 0.9.10)
28-
lumberjack (1.2.8)
29-
method_source (1.0.0)
38+
lumberjack (1.2.10)
39+
method_source (1.1.0)
3040
multi_json (1.15.0)
3141
nenv (0.3.0)
3242
notiffany (0.1.3)
@@ -36,31 +46,41 @@ GEM
3646
coderay (~> 1.1)
3747
method_source (~> 1.0)
3848
rb-fsevent (0.11.2)
39-
rb-inotify (0.10.1)
49+
rb-inotify (0.11.1)
4050
ffi (~> 1.0)
41-
redis (5.0.6)
42-
redis-client (>= 0.9.0)
43-
redis-client (0.12.1)
51+
redis (5.2.0)
52+
redis-client (>= 0.22.0)
53+
redis-client (0.22.2)
4454
connection_pool
45-
rspec (3.12.0)
46-
rspec-core (~> 3.12.0)
47-
rspec-expectations (~> 3.12.0)
48-
rspec-mocks (~> 3.12.0)
49-
rspec-core (3.12.1)
50-
rspec-support (~> 3.12.0)
51-
rspec-expectations (3.12.2)
55+
rspec (3.13.0)
56+
rspec-core (~> 3.13.0)
57+
rspec-expectations (~> 3.13.0)
58+
rspec-mocks (~> 3.13.0)
59+
rspec-core (3.13.0)
60+
rspec-support (~> 3.13.0)
61+
rspec-expectations (3.13.1)
5262
diff-lcs (>= 1.2.0, < 2.0)
53-
rspec-support (~> 3.12.0)
54-
rspec-mocks (3.12.3)
63+
rspec-support (~> 3.13.0)
64+
rspec-mocks (3.13.1)
5565
diff-lcs (>= 1.2.0, < 2.0)
56-
rspec-support (~> 3.12.0)
57-
rspec-support (3.12.0)
66+
rspec-support (~> 3.13.0)
67+
rspec-support (3.13.1)
5868
shellany (0.0.1)
59-
thor (1.2.1)
60-
timecop (0.9.6)
69+
thor (1.3.1)
70+
timecop (0.9.10)
6171

6272
PLATFORMS
73+
aarch64-linux-gnu
74+
aarch64-linux-musl
75+
arm-linux-gnu
76+
arm-linux-musl
77+
arm64-darwin
6378
ruby
79+
x86-linux-gnu
80+
x86-linux-musl
81+
x86_64-darwin
82+
x86_64-linux-gnu
83+
x86_64-linux-musl
6484

6585
DEPENDENCIES
6686
dogapi
@@ -71,7 +91,7 @@ DEPENDENCIES
7191
timecop
7292

7393
RUBY VERSION
74-
ruby 2.7.4p191
94+
ruby 3.3.4p94
7595

7696
BUNDLED WITH
77-
2.1.4
97+
2.5.14

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ and submits slowlog entry metrics to a Datadog account.
1414

1515
## Usage
1616

17-
This lambda function was built and tested with the `ruby-2.7` runtime.
17+
This lambda function was built and tested with the `ruby-3.3` runtime.
1818

1919
Deploy the "Full zip distribution" from the [releases pages](https://github.com/scribd/elasticache-slowlog-to-datadog/releases) to AWS lambda
2020

@@ -57,7 +57,7 @@ REDIS_HOST | string | FQDN or URI of the elasticache redis endpoint
5757

5858
To use *elasticache-slowlog-to-datadog* you need:
5959

60-
- An AWS account with an Elasticache instance running the `redis5.0` engine.
60+
- An AWS account with an Elasticache instance running the `redis5.0+` engine.
6161
- A Datadog account
6262

6363
# Development

0 commit comments

Comments
 (0)