Skip to content

Commit

Permalink
GW-20804 Bump version to 4.0.0 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
knovoselic authored Aug 30, 2022
1 parent d4a816e commit 7a2ae64
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 19 deletions.
16 changes: 4 additions & 12 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
appraise 'mongoid-4' do
gem 'mongoid', '~> 4.0'
end

appraise 'mongoid-5' do
gem 'mongoid', '~> 5.0'
end

appraise 'mongoid-6' do
gem 'mongoid', '~> 6.0'
end

appraise 'mongoid-7' do
gem 'mongoid', '~> 7.0'
end

appraise 'mongoid-8' do
gem 'mongoid', '~> 8.0'
end
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
- TODO

## [v4.0.0] - 2022-08-31
- Fix rails 6 active model error deprecations (#22)
- Added Mongoid 8 support
- Dropped support for Mongoid 4, 5 and 6

## [v3.0.1] - 2020-09-29
### Added
- Started 🔎 tracking changes in a changelog!
Expand All @@ -22,6 +27,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [v3.0.0] - 2020-09-29 [YANKED]
- Yanked due to wrong dependencies in gemspec.

[Unreleased]: https://github.com/glooko/mongoid-embedded-errors/compare/v3.0.1...HEAD
[Unreleased]: https://github.com/glooko/mongoid-embedded-errors/compare/v4.0.0...HEAD
[v4.0.0]: https://github.com/glooko/mongoid-embedded-errors/compare/v3.0.1...v4.0.0
[v3.0.1]: https://github.com/glooko/mongoid-embedded-errors/compare/v3.0.0...v3.0.1
[v3.0.0]: https://github.com/glooko/mongoid-embedded-errors/compare/f1ce0d8ed140de86c894b2fad7ad197504fefd5a...v3.0.0
[v3.0.0]: https://github.com/glooko/mongoid-embedded-errors/compare/f1ce0d8ed140de86c894b2fad7ad197504fefd5a...v3.0.0
7 changes: 5 additions & 2 deletions gemfiles/mongoid_7.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ source "https://rubygems.org"
gem "mongoid", "~> 7.0"

group :development do
gem "rake"
end

group :test do
gem "appraisal"
gem "database_cleaner"
gem "database_cleaner-mongoid", "~> 2.0", ">= 2.0.1"
gem "guard-rspec"
gem "mutant-rspec"
gem "rake"
gem "rspec"
end

Expand Down
19 changes: 19 additions & 0 deletions gemfiles/mongoid_8.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "mongoid", "~> 8.0"

group :development do
gem "rake"
end

group :test do
gem "appraisal"
gem "database_cleaner-mongoid", "~> 2.0", ">= 2.0.1"
gem "guard-rspec"
gem "mutant-rspec"
gem "rspec"
end

gemspec path: "../"
2 changes: 1 addition & 1 deletion lib/mongoid/embedded_errors/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

module Mongoid; end
module Mongoid::EmbeddedErrors
VERSION = '3.0.1'
VERSION = '4.0.0'
end
3 changes: 1 addition & 2 deletions mongoid-embedded-errors.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ Gem::Specification.new do |gem|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ['lib']

gem.add_dependency 'activemodel', '>=6.1'
gem.add_dependency 'mongoid', '>=4.0', '<8.0.0'
gem.add_dependency 'mongoid', '>=7.0', '<9.0.0'
gem.add_development_dependency 'rubocop', '~> 0.92'
gem.add_development_dependency 'rubocop-rspec', '~> 1.43'
end

0 comments on commit 7a2ae64

Please sign in to comment.