diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..8fd252f --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +# These are supported funding model platforms + +github: whomwah diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 56e8cdd..05006cb 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - ruby: ['2.6', '2.7', '3.0', '3.1', '3.2'] + ruby: ['2.7', '3.0', '3.1', '3.2', '3.3'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 diff --git a/.standard.yml b/.standard.yml new file mode 100644 index 0000000..c19ce03 --- /dev/null +++ b/.standard.yml @@ -0,0 +1 @@ +ruby_version: 2.7 diff --git a/Gemfile.lock b/Gemfile.lock index 68dcba6..4314be1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,63 +10,75 @@ GEM specs: ast (2.4.2) chunky_png (1.4.0) - diff-lcs (1.5.0) - json (2.6.3) - language_server-protocol (3.17.0.2) - parallel (1.22.1) - parser (3.1.3.0) + diff-lcs (1.5.1) + json (2.7.2) + language_server-protocol (3.17.0.3) + lint_roller (1.1.0) + parallel (1.26.3) + parser (3.3.4.2) ast (~> 2.4.1) + racc + racc (1.8.1) rainbow (3.1.1) - rake (13.0.6) - regexp_parser (2.6.1) - rexml (3.2.5) + rake (13.2.1) + regexp_parser (2.9.2) + rexml (3.3.7) rqrcode_core (1.2.0) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - rspec-core (3.12.0) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.1) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.1) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.2) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.1) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-support (3.12.0) - rubocop (1.40.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) + rubocop (1.64.1) json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.1.2.1) + 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.23.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.24.0) - parser (>= 3.1.1.0) - rubocop-performance (1.15.1) - rubocop (>= 1.7.0, < 2.0) - rubocop-ast (>= 0.4.0) - ruby-progressbar (1.11.0) - standard (1.20.0) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.32.2) + parser (>= 3.3.1.0) + rubocop-performance (1.21.1) + rubocop (>= 1.48.1, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) + ruby-progressbar (1.13.0) + standard (1.37.0) language_server-protocol (~> 3.17.0.2) - rubocop (= 1.40.0) - rubocop-performance (= 1.15.1) - standardrb (1.0.1) - standard - unicode-display_width (2.3.0) + lint_roller (~> 1.0) + rubocop (~> 1.64.0) + standard-custom (~> 1.0.0) + standard-performance (~> 1.4) + standard-custom (1.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.50) + standard-performance (1.4.0) + lint_roller (~> 1.1) + rubocop-performance (~> 1.21.0) + unicode-display_width (2.5.0) PLATFORMS ruby + x86_64-linux + aarch64-linux DEPENDENCIES bundler (~> 2.0) rake (~> 13.0) rqrcode! rspec (~> 3.5) - standardrb (~> 1.0) + standard (= 1.37) BUNDLED WITH - 2.3.26 + 2.4.10 diff --git a/README.md b/README.md index c144021..41ddb75 100644 --- a/README.md +++ b/README.md @@ -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.6` +* Minimum Ruby version is `>= 2.7` * 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) diff --git a/rqrcode.gemspec b/rqrcode.gemspec index 9dc5fc3..e2acc22 100644 --- a/rqrcode.gemspec +++ b/rqrcode.gemspec @@ -29,11 +29,13 @@ 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.6" + spec.required_ruby_version = ">= 2.7" 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" - spec.add_development_dependency "standardrb", "~> 1.0" + # We need an explicit lower version as high versons + # require us to support Ruby >= 3.0.0 + spec.add_development_dependency "standard", "1.37" end