Skip to content

Commit

Permalink
Avoid version not compatible with Ruby 2.5 (#2023)
Browse files Browse the repository at this point in the history
Version 1.0.1 invokes `YAML.safe_load` with arguments that are incompatible
with Ruby 2.5, causing an `ArgumentError: unknown keyword: permitted_classes`
  • Loading branch information
pablobm authored Jul 24, 2021
1 parent f8547f4 commit 968da84
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 8 deletions.
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ gemspec

gem "administrate-field-image"
gem "faker"
gem "front_matter_parser"
gem "globalid"
gem "kaminari-i18n"
gem "pg"
gem "redcarpet"
gem "sentry-raven"
gem "unicorn"

# Version 1.0.1 invokes `YAML.safe_load` with arguments that are incompatible
# with Ruby 2.5, causing an `ArgumentError: unknown keyword: permitted_classes`
gem "front_matter_parser", "1.0.0"

group :development, :test do
gem "appraisal"
gem "awesome_print"
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ DEPENDENCIES
factory_bot_rails
faker
formulaic
front_matter_parser
front_matter_parser (= 1.0.0)
globalid
i18n-tasks (= 0.9.34)
kaminari-i18n
Expand All @@ -352,4 +352,4 @@ DEPENDENCIES
yard

BUNDLED WITH
2.2.13
2.2.24
2 changes: 1 addition & 1 deletion gemfiles/rails50.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ source "https://rubygems.org"

gem "administrate-field-image"
gem "faker"
gem "front_matter_parser"
gem "globalid"
gem "kaminari-i18n"
gem "pg", "0.21.0"
gem "redcarpet"
gem "sentry-raven"
gem "unicorn"
gem "front_matter_parser", "1.0.0"
gem "actionpack", "~> 5.0.0"
gem "actionview", "~> 5.0.0"
gem "activerecord", "~> 5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails51.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ source "https://rubygems.org"

gem "administrate-field-image"
gem "faker"
gem "front_matter_parser"
gem "globalid"
gem "kaminari-i18n"
gem "pg", "0.21.0"
gem "redcarpet"
gem "sentry-raven"
gem "unicorn"
gem "front_matter_parser", "1.0.0"
gem "actionpack", "~> 5.1.0"
gem "actionview", "~> 5.1.0"
gem "activerecord", "~> 5.1.0"
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails52.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ source "https://rubygems.org"

gem "administrate-field-image"
gem "faker"
gem "front_matter_parser"
gem "globalid"
gem "kaminari-i18n"
gem "pg"
gem "redcarpet"
gem "sentry-raven"
gem "unicorn"
gem "front_matter_parser", "1.0.0"
gem "actionpack", "~> 5.2.0"
gem "actionview", "~> 5.2.0"
gem "activerecord", "~> 5.2.0"
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails60.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ source "https://rubygems.org"

gem "administrate-field-image"
gem "faker"
gem "front_matter_parser"
gem "globalid"
gem "kaminari-i18n"
gem "pg"
gem "redcarpet"
gem "sentry-raven"
gem "unicorn"
gem "front_matter_parser", "1.0.0"
gem "rails", "~> 6.0.3.4"

group :development, :test do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails61.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ source "https://rubygems.org"

gem "administrate-field-image"
gem "faker"
gem "front_matter_parser"
gem "globalid"
gem "kaminari-i18n"
gem "pg"
gem "redcarpet"
gem "sentry-raven"
gem "unicorn"
gem "front_matter_parser", "1.0.0"
gem "rails", "~> 6.1"

group :development, :test do
Expand Down

0 comments on commit 968da84

Please sign in to comment.