Skip to content

Commit

Permalink
Support Rails 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pyromaniac committed Nov 5, 2023
1 parent 98be011 commit e7c856c
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Appraisals
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))
14 changes: 14 additions & 0 deletions gemfiles/rails.7.1.gemfile
Original file line number Diff line number Diff line change
@@ -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: "../"
2 changes: 1 addition & 1 deletion lib/operations/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Operations
VERSION = "0.6.1"
VERSION = "0.6.2"
end
4 changes: 2 additions & 2 deletions operations.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e7c856c

Please sign in to comment.