Skip to content

Commit e48497a

Browse files
authored
Bumped Ruby to 3.3.0 (#162)
1 parent 9fdfaf1 commit e48497a

File tree

6 files changed

+14
-13
lines changed

6 files changed

+14
-13
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
- uses: ruby/setup-ruby@v1
1414
with:
1515
bundler-cache: true
16-
ruby-version: "3.2.2"
16+
ruby-version: "3.3.0"
1717
- run: bundle exec rubocop
1818
test:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
ruby: ["2.7", "3.0", "3.1", "3.2"]
22+
ruby: ["3.0", "3.1", "3.2", "3.3"]
2323
steps:
2424
- uses: actions/checkout@v4
2525
- uses: ruby/setup-ruby@v1

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ require:
88
- rubocop-rspec
99

1010
AllCops:
11-
TargetRubyVersion: 2.7
11+
TargetRubyVersion: 3.0

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.2
1+
3.3.0

Gemfile.lock

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ GEM
2626
tzinfo (~> 2.0)
2727
ast (2.4.2)
2828
base64 (0.1.1)
29-
bigdecimal (3.1.4)
29+
bigdecimal (3.1.5)
3030
boxt_rubocop (1.1.0)
3131
rubocop (= 1.56.4)
3232
rubocop-faker (= 1.1.0)
@@ -49,7 +49,7 @@ GEM
4949
language_server-protocol (3.17.0.3)
5050
minitest (5.20.0)
5151
mutex_m (0.2.0)
52-
parallel (1.23.0)
52+
parallel (1.24.0)
5353
parser (3.2.2.4)
5454
ast (~> 2.4.1)
5555
racc
@@ -114,9 +114,9 @@ GEM
114114
simplecov_json_formatter (~> 0.1)
115115
simplecov-html (0.12.3)
116116
simplecov_json_formatter (0.1.4)
117-
sqlite3 (1.6.9-arm64-darwin)
118-
sqlite3 (1.6.9-x86_64-darwin)
119-
sqlite3 (1.6.9-x86_64-linux)
117+
sqlite3 (1.7.0-arm64-darwin)
118+
sqlite3 (1.7.0-x86_64-darwin)
119+
sqlite3 (1.7.0-x86_64-linux)
120120
timecop (0.9.8)
121121
timeout (0.4.1)
122122
tzinfo (2.0.6)
@@ -129,6 +129,7 @@ PLATFORMS
129129
arm64-darwin-20
130130
arm64-darwin-21
131131
arm64-darwin-22
132+
arm64-darwin-23
132133
x86_64-darwin-19
133134
x86_64-darwin-20
134135
x86_64-darwin-21

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Provides attribute logging functionality to ActiveRecord objects.
77

88
## Requirements
99

10-
* Ruby 2.7 or above
10+
- Ruby >= 3.0
1111

1212
## Installation
1313

@@ -36,10 +36,10 @@ Add the following to your model:
3636
```ruby
3737
class Thing < ApplicationRecord
3838
# Optional author accessor. See #author
39-
attr_accessor :author
39+
attr_accessor :author
4040

4141
# Association to :log_entries, which the loggable object must response to for logging.
42-
has_many :log_entries, as: :loggable, dependent: :destroy
42+
has_many :log_entries, as: :loggable, dependent: :destroy
4343

4444
add_log_entries_for(
4545
:create, # Log on object create

logga.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
77
require "logga/version"
88

99
Gem::Specification.new do |spec|
10-
spec.required_ruby_version = ">= 2.7"
10+
spec.required_ruby_version = ">= 3.0"
1111
spec.name = "logga"
1212
spec.version = Logga::VERSION
1313
spec.authors = ["Boxt"]

0 commit comments

Comments
 (0)