Skip to content

Commit

Permalink
chore: Updating dependencies and drop Ruby < 3
Browse files Browse the repository at this point in the history
  • Loading branch information
whomwah committed Oct 9, 2024
1 parent e4a5bf2 commit f2d55d6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3']
ruby: ['3.0', '3.1', '3.2', '3.3']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
30 changes: 14 additions & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ GEM
language_server-protocol (3.17.0.3)
lint_roller (1.1.0)
parallel (1.26.3)
parser (3.3.4.2)
parser (3.3.5.0)
ast (~> 2.4.1)
racc
racc (1.8.1)
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.9.2)
rexml (3.3.7)
rqrcode_core (1.2.0)
rspec (3.13.0)
rspec-core (~> 3.13.0)
Expand All @@ -37,48 +36,47 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (1.64.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
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.31.1, < 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.32.2)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-performance (1.21.1)
rubocop-performance (1.22.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (1.13.0)
standard (1.37.0)
standard (1.41.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.64.0)
rubocop (~> 1.66.0)
standard-custom (~> 1.0.0)
standard-performance (~> 1.4)
standard-performance (~> 1.5)
standard-custom (1.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.50)
standard-performance (1.4.0)
standard-performance (1.5.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.21.0)
unicode-display_width (2.5.0)
rubocop-performance (~> 1.22.0)
unicode-display_width (2.6.0)

PLATFORMS
aarch64-linux
ruby
x86_64-linux
aarch64-linux

DEPENDENCIES
bundler (~> 2.0)
rake (~> 13.0)
rqrcode!
rspec (~> 3.5)
standard (= 1.37)
standard (~> 1.41)

BUNDLED WITH
2.4.10
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[RQRCode](https://github.com/whomwah/rqrcode) is a library for creating and rendering QR codes into various formats. It has a simple interface with all the standard QR code options. It was adapted from the Javascript library by Kazuhiko Arase.

* QR code is trademarked by Denso Wave inc
* Minimum Ruby version is `>= 2.7`
* Minimum Ruby version is `>= 3.0.0`
* For `rqrcode` releases `< 2.0.0` please use [this README](https://github.com/whomwah/rqrcode/blob/v1.2.0/README.md)
* For `rqrcode` releases `< 1.0.0` please use [this README](https://github.com/whomwah/rqrcode/blob/v0.9.0/README.md)

Expand Down
6 changes: 2 additions & 4 deletions rqrcode.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.7"
spec.required_ruby_version = ">= 3.0.0"
spec.add_dependency "rqrcode_core", "~> 1.0"
spec.add_dependency "chunky_png", "~> 1.0"
spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.5"
# We need an explicit lower version as high versons
# require us to support Ruby >= 3.0.0
spec.add_development_dependency "standard", "1.37"
spec.add_development_dependency "standard", "~> 1.41"
end

0 comments on commit f2d55d6

Please sign in to comment.