diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4aed22..3453bac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,13 +29,6 @@ jobs: - "3.1" - "3.0" steps: - - uses: ravsamhq/notify-slack-action@v1 - if: always() - with: - status: ${{ job.status }} - notify_when: "failure" - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - uses: actions/checkout@v1 - name: Install package dependencies run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS" diff --git a/README.md b/README.md index 2cc282e..16132b2 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,8 @@ Internal support gem for `Hanami::Action` params validation. ## Status [![Gem Version](https://badge.fury.io/rb/hanami-validations.svg)](https://badge.fury.io/rb/hanami-validations) -[![CI](https://github.com/hanami/validations/workflows/ci/badge.svg?branch=main)](https://github.com/hanami/validations/actions?query=workflow%3Aci+branch%3Amain) -[![Test Coverage](https://codecov.io/gh/hanami/validations/branch/main/graph/badge.svg)](https://codecov.io/gh/hanami/validations) +[![CI](https://github.com/hanami/validations/actions/workflows/ci.yml/badge.svg)](https://github.com/hanami/validations/actions?query=workflow%3Aci+branch%3Amain) [![Depfu](https://badges.depfu.com/badges/af6c6be539d9d587c7541ae7a013c9ff/overview.svg)](https://depfu.com/github/hanami/validations?project=Bundler) -[![Inline Docs](http://inch-ci.org/github/hanami/validations.svg)](http://inch-ci.org/github/hanami/validations) - -## Version - -**This branch contains the code for `hanami-validations` 2.x.** ## Contact @@ -20,17 +14,14 @@ Internal support gem for `Hanami::Action` params validation. * Community: http://hanamirb.org/community * Guides: https://guides.hanamirb.org * Mailing List: http://hanamirb.org/mailing-list -* API Doc: http://rdoc.info/gems/hanami-validations +* API Doc: http://rubydoc.info/gems/hanami-validations * Bugs/Issues: https://github.com/hanami/validations/issues -* Support: http://stackoverflow.com/questions/tagged/hanami * Chat: http://chat.hanamirb.org -## Rubies - -__Hanami::Validations__ supports Ruby (MRI) 3.0+ - ## Installation +__Hanami::Validations__ supports Ruby (MRI) 3.1+ + Add this line to your application's Gemfile: ```ruby @@ -86,4 +77,4 @@ See [hanami-controller][controller] for more detail on params validation. ## Copyright -Copyright © 2014 Hanami Team – Released under MIT License +Copyright © 2014–2024 Hanami Team – Released under MIT License diff --git a/hanami-validations.gemspec b/hanami-validations.gemspec index dfbd2c6..937f45d 100644 --- a/hanami-validations.gemspec +++ b/hanami-validations.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.require_paths = ["lib"] spec.metadata["rubygems_mfa_required"] = "true" - spec.required_ruby_version = ">= 3.0" + spec.required_ruby_version = ">= 3.1" spec.add_dependency "dry-validation", ">= 1.10", "< 2" spec.add_dependency "zeitwerk", "~> 2.6.0"