diff --git a/Gemfile.lock b/Gemfile.lock index 1d6cfdbbed..4ea64c4535 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,7 +8,7 @@ PATH datetime_picker_rails (~> 0.0.7) jquery-rails (>= 4.0) kaminari (>= 1.0) - momentjs-rails (~> 2.8) + momentjs-rails (>= 2.8, <= 2.20.1) sassc-rails (~> 2.1) selectize-rails (~> 0.6) diff --git a/administrate.gemspec b/administrate.gemspec index 555c7fda5f..86f2cfd174 100644 --- a/administrate.gemspec +++ b/administrate.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |s| s.add_dependency "datetime_picker_rails", "~> 0.0.7" s.add_dependency "jquery-rails", ">= 4.0" s.add_dependency "kaminari", ">= 1.0" - s.add_dependency "momentjs-rails", "~> 2.8" + s.add_dependency "momentjs-rails", ">= 2.8", "<= 2.20.1" s.add_dependency "sassc-rails", "~> 2.1" s.add_dependency "selectize-rails", "~> 0.6"