diff --git a/.github/workflows/ruby.yml b/.github/workflows/test.yml similarity index 95% rename from .github/workflows/ruby.yml rename to .github/workflows/test.yml index d89e336..7b335ef 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Ruby +name: Test on: push: @@ -7,7 +7,7 @@ on: branches: [main] jobs: - test: + ruby: runs-on: ubuntu-latest strategy: matrix: diff --git a/Gemfile.lock b/Gemfile.lock index 697cd94..4787536 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,12 +8,12 @@ PATH GEM remote: http://rubygems.org/ specs: - activemodel (6.1.3) - activesupport (= 6.1.3) - activerecord (6.1.3) - activemodel (= 6.1.3) - activesupport (= 6.1.3) - activesupport (6.1.3) + activemodel (6.1.3.1) + activesupport (= 6.1.3.1) + activerecord (6.1.3.1) + activemodel (= 6.1.3.1) + activesupport (= 6.1.3.1) + activesupport (6.1.3.1) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -22,17 +22,17 @@ GEM ast (2.4.2) concurrent-ruby (1.1.8) diff-lcs (1.4.4) - i18n (1.8.9) + i18n (1.8.10) concurrent-ruby (~> 1.0) minitest (5.14.4) parallel (1.20.1) - parser (3.0.0.0) + parser (3.0.1.1) ast (~> 2.4.1) rack (2.2.3) rainbow (3.0.0) rake (13.0.3) regexp_parser (2.1.1) - rexml (3.2.4) + rexml (3.2.5) rspec (3.10.0) rspec-core (~> 3.10.0) rspec-expectations (~> 3.10.0) @@ -46,7 +46,7 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.10.0) rspec-support (3.10.2) - rubocop (1.11.0) + rubocop (1.13.0) parallel (~> 1.10) parser (>= 3.0.0.0) rainbow (>= 2.2.2, < 4.0) @@ -55,16 +55,16 @@ GEM rubocop-ast (>= 1.2.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.4.1) - parser (>= 2.7.1.5) - rubocop-bsm (0.5.4) + rubocop-ast (1.5.0) + parser (>= 3.0.1.1) + rubocop-bsm (0.5.9) rubocop (~> 1.0) rubocop-performance rubocop-rails rubocop-rake rubocop-rspec - rubocop-performance (1.10.1) - rubocop (>= 0.90.0, < 2.0) + rubocop-performance (1.11.1) + rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) rubocop-rails (2.9.1) activesupport (>= 4.2.0) @@ -72,7 +72,7 @@ GEM rubocop (>= 0.90.0, < 2.0) rubocop-rake (0.5.1) rubocop - rubocop-rspec (2.2.0) + rubocop-rspec (2.3.0) rubocop (~> 1.0) rubocop-ast (>= 1.1.0) ruby-progressbar (1.11.0) diff --git a/README.md b/README.md index 6b23565..269051c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Filterable By +[![Test](https://github.com/bsm/filterable-by/actions/workflows/test.yml/badge.svg)](https://github.com/bsm/filterable-by/actions/workflows/test.yml) + ActiveRecord plugin to parse e.g. a `filter` query parameter apply scopes. Useful for [JSON-API][jsonapi] compatibility. [jsonapi]: http://jsonapi.org/format/#fetching-filtering