diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10c6c0c..254b467 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: - { ruby: '2.7', rails: '6.0' } - { ruby: '3.0', rails: '6.1' } - { ruby: '3.1', rails: '7.0' } - - { ruby: '3.2', rails: '7.0' } + - { ruby: '3.2', rails: '7.1' } runs-on: ubuntu-latest env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails.${{ matrix.rails }}.gemfile diff --git a/Appraisals b/Appraisals index 8f69795..6464102 100644 --- a/Appraisals +++ b/Appraisals @@ -1,6 +1,6 @@ # frozen_string_literal: true -%w[5.2 6.0 6.1 7.0].each do |version| +%w[5.2 6.0 6.1 7.0 7.1].each do |version| appraise "rails.#{version}" do gem "activerecord", "~> #{version}.0" gem "activesupport", "~> #{version}.0" diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b169b7..acf11f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,10 @@ # Changelog -## [Unreleased](https://github.com/BookingSync/operations/tree/main) +## [0.6.2](https://github.com/BookingSync/operations/tree/main) ### Added -- Include `Dry::Monads[:result]` in Policies, Preconditions and Callbacks +- Include `Dry::Monads[:result]` in Policies, Preconditions and Callbacks [\#39](https://github.com/BookingSync/operations/pull/39) ([ston1x](https://github.com/ston1x)) - Add `callback` method to `Operations::Convenience` [\#37](https://github.com/BookingSync/operations/pull/37) ([pyromaniac](https://github.com/pyromaniac)) - Ability to access operation result in callbacks [\#36](https://github.com/BookingSync/operations/pull/36) ([pyromaniac](https://github.com/pyromaniac)) - Introduce Command#merge [\#34](https://github.com/BookingSync/operations/pull/34) ([pyromaniac](https://github.com/pyromaniac)) diff --git a/gemfiles/rails.7.1.gemfile b/gemfiles/rails.7.1.gemfile new file mode 100644 index 0000000..b181c1e --- /dev/null +++ b/gemfiles/rails.7.1.gemfile @@ -0,0 +1,14 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "bookingsync-rubocop", require: false, github: "BookingSync/bookingsync-rubocop", branch: "main" +gem "rspec" +gem "rubocop", require: false +gem "rubocop-performance", require: false +gem "rubocop-rails", require: false +gem "rubocop-rspec", require: false +gem "activerecord", "~> 7.1.0" +gem "activesupport", "~> 7.1.0" + +gemspec path: "../" diff --git a/lib/operations/version.rb b/lib/operations/version.rb index a9e6355..db09414 100644 --- a/lib/operations/version.rb +++ b/lib/operations/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Operations - VERSION = "0.6.1" + VERSION = "0.6.2" end diff --git a/operations.gemspec b/operations.gemspec index 5bb5d0e..568390b 100644 --- a/operations.gemspec +++ b/operations.gemspec @@ -31,8 +31,8 @@ Gem::Specification.new do |spec| spec.add_development_dependency "database_cleaner-active_record" spec.add_development_dependency "sqlite3" - spec.add_runtime_dependency "activerecord", ">= 5.2.0" - spec.add_runtime_dependency "activesupport", ">= 5.2.0" + spec.add_runtime_dependency "activerecord", ">= 6.0.0" + spec.add_runtime_dependency "activesupport", ">= 6.0.0" spec.add_runtime_dependency "after_commit_everywhere" spec.add_runtime_dependency "dry-monads" spec.add_runtime_dependency "dry-struct"