Skip to content

Commit

Permalink
Update all ruby gems
Browse files Browse the repository at this point in the history
  • Loading branch information
anaschwendler committed Oct 8, 2024
1 parent f2c224b commit 6434188
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.2
3.3
32 changes: 17 additions & 15 deletions ruby/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,31 @@ GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
json (2.6.3)
minitest (5.18.0)
parallel (1.22.1)
parser (3.2.1.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
minitest (5.25.1)
parallel (1.26.3)
parser (3.3.5.0)
ast (~> 2.4.1)
racc
racc (1.8.1)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.7.0)
rexml (3.2.5)
rubocop (1.48.0)
rake (13.2.1)
regexp_parser (2.9.2)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.0.0)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.26.0, < 2.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.27.0)
parser (>= 3.2.1.0)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
unicode-display_width (2.4.2)
unicode-display_width (2.6.0)

PLATFORMS
ruby
Expand Down
2 changes: 1 addition & 1 deletion ruby/clock/clock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ def ==(other)
private

def format_time(time)
format('%<time>02d', time: time)
format('%<time>02d', time:)
end
end
2 changes: 1 addition & 1 deletion ruby/grade-school/grade_school_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_students_by_grade
grade = 6
students = %w[Beemee Aimee Ceemee]
students.each { |student| school.add(student, grade) }
expected = [{ grade: grade, students: students.sort }]
expected = [{ grade:, students: students.sort }]
assert_equal expected, school.students_by_grade
end

Expand Down
2 changes: 1 addition & 1 deletion ruby/phone-number/phone_number.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def self.country_digit?(phone)
end

def self.check_valid_phone(phone)
(area_digit?(phone) && exchange_digit?(phone))
area_digit?(phone) && exchange_digit?(phone)
end

def self.area_digit?(phone)
Expand Down

0 comments on commit 6434188

Please sign in to comment.