Skip to content

Commit 00c71cc

Browse files
committed
Bump Ruby to 3.4.1
1 parent be45a09 commit 00c71cc

File tree

5 files changed

+43
-35
lines changed

5 files changed

+43
-35
lines changed

.ruby-version

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

Gemfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
require_relative "version"
2+
13
source "https://rubygems.org"
2-
ruby File.read("#{__dir__}/.ruby-version")
34

4-
# Specify your gem's dependencies in foobara-load_dotenv.gemspec
5+
ruby Foobara::LoadDotenv::MINIMUM_RUBY_VERSION
6+
57
gemspec
68

79
# Development dependencies go here

Gemfile.lock

Lines changed: 33 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,21 @@ GEM
1111
byebug (11.1.3)
1212
coderay (1.1.3)
1313
diff-lcs (1.5.1)
14-
docile (1.4.0)
15-
dotenv (3.1.2)
16-
ffi (1.17.0-x86_64-linux-gnu)
17-
foobara-rubocop-rules (0.0.3)
14+
docile (1.4.1)
15+
dotenv (3.1.7)
16+
ffi (1.17.1-x86_64-linux-gnu)
17+
foobara-rubocop-rules (0.0.5)
1818
rubocop
1919
rubocop-rspec
2020
formatador (1.1.0)
21-
guard (2.18.1)
21+
guard (2.19.1)
2222
formatador (>= 0.2.4)
2323
listen (>= 2.7, < 4.0)
24+
logger (~> 1.6)
2425
lumberjack (>= 1.0.12, < 2.0)
2526
nenv (~> 0.1)
2627
notiffany (~> 0.0)
28+
ostruct (~> 0.6)
2729
pry (>= 0.13.0)
2830
shellany (~> 0.0)
2931
thor (>= 0.18.1)
@@ -32,19 +34,21 @@ GEM
3234
guard (~> 2.1)
3335
guard-compat (~> 1.1)
3436
rspec (>= 2.99.0, < 4.0)
35-
json (2.7.2)
37+
json (2.9.1)
3638
language_server-protocol (3.17.0.3)
3739
listen (3.9.0)
3840
rb-fsevent (~> 0.10, >= 0.10.3)
3941
rb-inotify (~> 0.9, >= 0.9.10)
42+
logger (1.6.4)
4043
lumberjack (1.2.10)
4144
method_source (1.1.0)
4245
nenv (0.3.0)
4346
notiffany (0.1.3)
4447
nenv (~> 0.1)
4548
shellany (~> 0.0)
46-
parallel (1.25.1)
47-
parser (3.3.3.0)
49+
ostruct (0.6.1)
50+
parallel (1.26.3)
51+
parser (3.3.6.0)
4852
ast (~> 2.4.1)
4953
racc
5054
pry (0.14.2)
@@ -53,59 +57,57 @@ GEM
5357
pry-byebug (3.10.1)
5458
byebug (~> 11.0)
5559
pry (>= 0.13, < 0.15)
56-
racc (1.8.0)
60+
racc (1.8.1)
5761
rainbow (3.1.1)
5862
rake (13.2.1)
5963
rb-fsevent (0.11.2)
6064
rb-inotify (0.11.1)
6165
ffi (~> 1.0)
62-
regexp_parser (2.9.2)
63-
rexml (3.3.0)
64-
strscan
66+
regexp_parser (2.10.0)
6567
rspec (3.13.0)
6668
rspec-core (~> 3.13.0)
6769
rspec-expectations (~> 3.13.0)
6870
rspec-mocks (~> 3.13.0)
69-
rspec-core (3.13.0)
71+
rspec-core (3.13.2)
7072
rspec-support (~> 3.13.0)
71-
rspec-expectations (3.13.1)
73+
rspec-expectations (3.13.3)
7274
diff-lcs (>= 1.2.0, < 2.0)
7375
rspec-support (~> 3.13.0)
74-
rspec-its (1.3.0)
75-
rspec-core (>= 3.0.0)
76-
rspec-expectations (>= 3.0.0)
77-
rspec-mocks (3.13.1)
76+
rspec-its (2.0.0)
77+
rspec-core (>= 3.13.0)
78+
rspec-expectations (>= 3.13.0)
79+
rspec-mocks (3.13.2)
7880
diff-lcs (>= 1.2.0, < 2.0)
7981
rspec-support (~> 3.13.0)
80-
rspec-support (3.13.1)
81-
rubocop (1.64.1)
82+
rspec-support (3.13.2)
83+
rubocop (1.69.2)
8284
json (~> 2.3)
8385
language_server-protocol (>= 3.17.0)
8486
parallel (~> 1.10)
8587
parser (>= 3.3.0.2)
8688
rainbow (>= 2.2.2, < 4.0)
87-
regexp_parser (>= 1.8, < 3.0)
88-
rexml (>= 3.2.5, < 4.0)
89-
rubocop-ast (>= 1.31.1, < 2.0)
89+
regexp_parser (>= 2.9.3, < 3.0)
90+
rubocop-ast (>= 1.36.2, < 2.0)
9091
ruby-progressbar (~> 1.7)
91-
unicode-display_width (>= 2.4.0, < 3.0)
92-
rubocop-ast (1.31.3)
92+
unicode-display_width (>= 2.4.0, < 4.0)
93+
rubocop-ast (1.37.0)
9394
parser (>= 3.3.1.0)
9495
rubocop-rake (0.6.0)
9596
rubocop (~> 1.0)
96-
rubocop-rspec (3.0.1)
97+
rubocop-rspec (3.3.0)
9798
rubocop (~> 1.61)
9899
ruby-progressbar (1.13.0)
99100
shellany (0.0.1)
100101
simplecov (0.22.0)
101102
docile (~> 1.1)
102103
simplecov-html (~> 0.11)
103104
simplecov_json_formatter (~> 0.1)
104-
simplecov-html (0.12.3)
105+
simplecov-html (0.13.1)
105106
simplecov_json_formatter (0.1.4)
106-
strscan (3.1.0)
107-
thor (1.3.1)
108-
unicode-display_width (2.5.0)
107+
thor (1.3.2)
108+
unicode-display_width (3.1.3)
109+
unicode-emoji (~> 4.0, >= 4.0.4)
110+
unicode-emoji (4.0.4)
109111

110112
PLATFORMS
111113
x86_64-linux
@@ -124,7 +126,7 @@ DEPENDENCIES
124126
simplecov
125127

126128
RUBY VERSION
127-
ruby 3.2.2p53
129+
ruby 3.4.1p0
128130

129131
BUNDLED WITH
130132
2.4.14

foobara-dotenv-loader.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
1313
spec.license = "Apache-2.0 OR MIT"
1414
spec.licenses = ["Apache-2.0", "MIT"]
1515

16-
spec.required_ruby_version = ">= #{File.read("#{__dir__}/.ruby-version")}"
16+
spec.required_ruby_version = Foobara::LoadDotenv::MINIMUM_RUBY_VERSION
1717

1818
spec.metadata["homepage_uri"] = spec.homepage
1919
spec.metadata["source_code_uri"] = spec.homepage

version.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
module Foobara
22
class LoadDotenv
33
VERSION = "0.0.1".freeze
4+
5+
local_ruby_version = File.read("#{__dir__}/.ruby-version").chomp
6+
local_ruby_version_minor = local_ruby_version[/\A(\d+\.\d+)\.\d+\z/, 1]
7+
MINIMUM_RUBY_VERSION = ">= #{local_ruby_version_minor}.0".freeze
48
end
59
end

0 commit comments

Comments
 (0)