Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions gemfiles/rails-6.1.gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
source 'https://rubygems.org'

# See https://stackoverflow.com/questions/79360526
gem 'concurrent-ruby', '< 1.3.5'

gem 'actionpack', '~> 6.1'
gem 'activemodel', '~> 6.1'

Expand Down
2 changes: 1 addition & 1 deletion lib/mongoid/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Mongoid
VERSION = "8.0.9"
VERSION = "8.0.10"
end
4 changes: 4 additions & 0 deletions spec/integration/app_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ def check_call(cmd, **opts)
skip 'Set APP_TESTS=1 in environment to run application tests'
end

if SpecConfig.instance.rails_version < '7.1'
skip 'App tests require Rails > 7.0 (see https://stackoverflow.com/questions/79360526)'
end

require 'fileutils'
require 'mrss/child_process_helper'
require 'open-uri'
Expand Down
1 change: 1 addition & 0 deletions spec/support/models/book.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ class Book
end

embeds_many :pages, cascade_callbacks: true
embeds_many :covers, cascade_callbacks: true
end
10 changes: 10 additions & 0 deletions spec/support/models/cover.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# frozen_string_literal: true

class Cover
include Mongoid::Document
include Mongoid::Timestamps

field :title, type: String

embedded_in :book
end
Loading