Skip to content

Commit

Permalink
chore(gem): drop Ruby 3.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
cyril committed Jan 9, 2024
1 parent 23a3ff4 commit b9ab94d
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 33 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
strategy:
matrix:
ruby:
- 3.1
- 3.2
- head

Expand Down
4 changes: 1 addition & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ AllCops:

- doc/

- pkg/


NewCops: enable
TargetRubyVersion: 3.1
TargetRubyVersion: 3.2

inherit_from:
- https://raw.githubusercontent.com/sashite/sashite-rubocop.rb/v1.0.3/config/rubocop.yml
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ AllCops:
<% end %>

NewCops: enable
TargetRubyVersion: 3.1
TargetRubyVersion: 3.2

inherit_from:
- https://raw.githubusercontent.com/sashite/sashite-rubocop.rb/v1.0.3/config/rubocop.yml
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.4
3.2.2
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ decisions when appropriate.

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
Examples of representing our community include using an official email address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

Expand Down
46 changes: 25 additions & 21 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
accept_language (2.0.4)
accept_language (2.0.5)

GEM
remote: https://rubygems.org/
Expand All @@ -12,48 +12,52 @@ GEM
aw (~> 0.2.0)
docile (1.4.0)
expresenter (1.4.0)
json (2.6.3)
json (2.7.1)
language_server-protocol (3.17.0.3)
matchi (3.3.1)
parallel (1.23.0)
parser (3.2.2.1)
parallel (1.24.0)
parser (3.3.0.2)
ast (~> 2.4.1)
racc
r_spec (1.0.5)
r_spec-clone
r_spec-clone (1.7.0)
expresenter (~> 1.4.0)
matchi (~> 3.3.1)
test_tube (~> 2.1.3)
racc (1.7.3)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.8.0)
rexml (3.2.5)
rubocop (1.51.0)
rake (13.1.0)
regexp_parser (2.9.0)
rexml (3.2.6)
rubocop (1.59.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.0.0)
parser (>= 3.2.2.4)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.0, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.28.1)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-capybara (2.18.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.25.1)
rubocop (~> 1.41)
rubocop-factory_bot (2.23.1)
rubocop (~> 1.33)
rubocop-gitlab-security (0.1.1)
rubocop (>= 0.51)
rubocop-md (1.2.0)
rubocop-md (1.2.2)
rubocop (>= 1.0)
rubocop-performance (1.18.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-performance (1.20.2)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.22.0)
rubocop (~> 1.33)
rubocop-rspec (2.26.1)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-thread_safety (0.5.1)
Expand All @@ -67,7 +71,7 @@ GEM
simplecov_json_formatter (0.1.4)
test_tube (2.1.3)
defi (~> 2.0.6)
unicode-display_width (2.4.2)
unicode-display_width (2.5.0)
yard (0.9.34)

PLATFORMS
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The MIT License

Copyright (c) 2019-2023 Cyril Kato
Copyright (c) 2019-2024 Cyril Kato

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion VERSION.semver
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.4
2.0.5
2 changes: 1 addition & 1 deletion accept_language.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.license = "MIT"
spec.files = Dir["LICENSE.md", "README.md", "lib/**/*"]

spec.required_ruby_version = ">= 3.1.4"
spec.required_ruby_version = ">= 3.2.2"

spec.metadata["rubygems_mfa_required"] = "true"
end
2 changes: 0 additions & 2 deletions lib/accept_language/matcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,3 @@ def wildcard?(value)
end
end
end

require "set"

0 comments on commit b9ab94d

Please sign in to comment.