From 881e2977d02aefb15b901a2f4520fd2b32ae7803 Mon Sep 17 00:00:00 2001 From: simukappu Date: Mon, 12 Aug 2019 19:58:51 +0900 Subject: [PATCH] Update dynamoid dependency and related README.md --- README.md | 6 ++++++ activity_notification.gemspec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index feb24f92..2f2530c4 100644 --- a/README.md +++ b/README.md @@ -195,6 +195,12 @@ You need to configure Mongoid in your Rails application for your MongoDB environ #### Using Dynamoid ORM +Currently, *activity_notification* only works with Dynamoid 3.1.0. + +```ruby +gem 'dynamoid', '3.1.0' +``` + When you use *activity_notification* with [Dynamoid](https://github.com/Dynamoid/dynamoid) ORM, set **AN_ORM** environment variable to **dynamoid**: ```console diff --git a/activity_notification.gemspec b/activity_notification.gemspec index cf19fbc8..3308879d 100644 --- a/activity_notification.gemspec +++ b/activity_notification.gemspec @@ -29,7 +29,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'mysql2', '>= 0.5.2' s.add_development_dependency 'pg', '>= 1.0.0' s.add_development_dependency 'mongoid', '>= 4.0.0' - s.add_development_dependency 'dynamoid', '>= 3.0.0', '< 3.2.0' + s.add_development_dependency 'dynamoid', '3.1.0' s.add_development_dependency 'rspec-rails', '>= 3.8.0' s.add_development_dependency 'factory_bot_rails', '>= 4.11.0', '< 5.0.0' s.add_development_dependency 'simplecov', '~> 0'