From 767744410bfb863fba64c1ba73ba1b80f1d7df6c Mon Sep 17 00:00:00 2001 From: Andreas Ulrich Date: Fri, 28 Jun 2024 09:42:13 +0200 Subject: [PATCH 1/6] mongoid 9.0.0 --- gemfiles/mongoid-9.0.gemfile | 6 ++++++ mongoid-grid_fs.gemspec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 gemfiles/mongoid-9.0.gemfile diff --git a/gemfiles/mongoid-9.0.gemfile b/gemfiles/mongoid-9.0.gemfile new file mode 100644 index 0000000..2ae32f4 --- /dev/null +++ b/gemfiles/mongoid-9.0.gemfile @@ -0,0 +1,6 @@ +source 'https://rubygems.org' + +gem 'mongoid', '~> 9.0.0' +gem 'rails', '~> 7.0' + +gemspec path: '../' diff --git a/mongoid-grid_fs.gemspec b/mongoid-grid_fs.gemspec index 223aef7..d813606 100644 --- a/mongoid-grid_fs.gemspec +++ b/mongoid-grid_fs.gemspec @@ -24,5 +24,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'rubocop', '~> 1.36.0' spec.add_dependency 'mime-types', '>= 1.0', '< 4.0' - spec.add_dependency 'mongoid', '>= 3.0', '< 9.0' + spec.add_dependency 'mongoid', '>= 3.0', '< 10.0' end From 40e17a09b08f400a7291fc1e4f1b338850db7f78 Mon Sep 17 00:00:00 2001 From: Andreas Date: Sat, 17 Aug 2024 19:58:07 +0200 Subject: [PATCH 2/6] Update CHANGELOG.md added mongoid 9 support --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4e1d8f..385272f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ### 2.4.1 (Next) -* Your contribution here. +* [#82](https://github.com/mongoid/mongoid-grid_fs/pull/82): Mongoid 9.0.0 - [@Nilpointer](https://github.com/Nilpointer). ### 2.4.0 (2018/07/11) From a95561fae88d5e705cf845edb3a87bf3aa288f59 Mon Sep 17 00:00:00 2001 From: Andreas Date: Sat, 17 Aug 2024 19:58:51 +0200 Subject: [PATCH 3/6] Update CHANGELOG.md remove sub version numbers --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 385272f..21f99bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ### 2.4.1 (Next) -* [#82](https://github.com/mongoid/mongoid-grid_fs/pull/82): Mongoid 9.0.0 - [@Nilpointer](https://github.com/Nilpointer). +* [#82](https://github.com/mongoid/mongoid-grid_fs/pull/82): Mongoid 9 - [@Nilpointer](https://github.com/Nilpointer). ### 2.4.0 (2018/07/11) From a91a706606b369c8182d85b5027f2d48bb2d4f85 Mon Sep 17 00:00:00 2001 From: Andreas Date: Sat, 17 Aug 2024 19:59:09 +0200 Subject: [PATCH 4/6] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21f99bc..d986c87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ### 2.4.1 (Next) -* [#82](https://github.com/mongoid/mongoid-grid_fs/pull/82): Mongoid 9 - [@Nilpointer](https://github.com/Nilpointer). +* [#82](https://github.com/mongoid/mongoid-grid_fs/pull/82): Mongoid 9 support - [@Nilpointer](https://github.com/Nilpointer). ### 2.4.0 (2018/07/11) From d809ee78cce0d0fe37e2dff8a4b7fd2ef47d4403 Mon Sep 17 00:00:00 2001 From: Andreas Date: Sat, 17 Aug 2024 20:04:49 +0200 Subject: [PATCH 5/6] Update ci.yml added mongoid 9 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae62cac..2615581 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,7 @@ jobs: - mongoid-6.0 - mongoid-7.0 - mongoid-8.0 + - mongoid-9.0 env: BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile From e580ca2d0fdd7bdec4f0a8410c40784f1d6eb659 Mon Sep 17 00:00:00 2001 From: Andreas Date: Sat, 17 Aug 2024 20:11:38 +0200 Subject: [PATCH 6/6] Update ci.yml fixed typo --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0bbdebd..d40caef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - { ruby: '3.0', mongodb: '4.4', gemfile: 'mongoid-9.0' } - { ruby: '3.1', mongodb: '4.4', gemfile: 'mongoid-9.0' } - { ruby: '3.2', mongodb: '4.4', gemfile: 'mongoid-9.0' } - name: test (ruby=${{ matrix.entry.ruby }}, mongodb=${{ matrix.entry.mongodb }}), gemfile=${{ matrix.entry.gemfi + name: test (ruby=${{ matrix.entry.ruby }}, mongodb=${{ matrix.entry.mongodb }}), gemfile=${{ matrix.entry.gemfile }}) env: BUNDLE_GEMFILE: gemfiles/${{ matrix.entry.gemfile }}.gemfile steps: @@ -35,4 +35,4 @@ jobs: bundler: '${{ matrix.entry.bundler || 1 }}' bundler-cache: true - name: Run tests - run: bundle exec rake \ No newline at end of file + run: bundle exec rake