Skip to content

Commit

Permalink
Limit the highest momentjs-rails version to 2.20.1
Browse files Browse the repository at this point in the history
v2.29.1 causes "export declarations may only appear at top level of a
module" error.

See derekprior/momentjs-rails#61.
  • Loading branch information
KingTiger001 committed Dec 28, 2021
1 parent fca594f commit 084c9cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion administrate.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 084c9cf

Please sign in to comment.