Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🧹 Add Redcarpet gem for markdown support
Browse files Browse the repository at this point in the history
The `Markdown` constant depends on the Redcarpet gem; namely the
[./lib/redcarpet/compat.rb][1].

This was introduced in:
notch8/palni-palci@8153a1c

Related to:

- notch8/palni-palci#437
- notch8/palni-palci#402

[1]: https://github.com/vmg/redcarpet/blob/3e3f0b522fbe9283ba450334b5cec7a439dc0955/lib/redcarpet/compat.rb#L71
jeremyf committed Dec 18, 2023
1 parent dcc9120 commit 6359795
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -64,6 +64,7 @@ gem 'puma', '~> 5.6' # Use Puma as the app server
gem 'rack-test', '0.7.0', group: %i[test] # rack-test >= 0.71 does not work with older Capybara versions (< 2.17). See #214 for more details
gem 'rails-controller-testing', group: %i[test]
gem 'rdf', '~> 3.1.15' # rdf 3.2.0 removed SerializedTransaction which ldp requires
gem 'redcarpet' # for Markdown constant
gem 'redlock', '>= 0.1.2', '< 2.0' # lock redlock per https://github.com/samvera/hyrax/pull/5961
gem 'riiif', '~> 1.1'
gem 'rolify'
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1019,6 +1019,7 @@ GEM
rdf-xsd (3.1.1)
rdf (~> 3.1)
rexml (~> 3.2)
redcarpet (3.6.0)
redic (1.5.3)
hiredis
redis (4.8.1)
@@ -1351,6 +1352,7 @@ DEPENDENCIES
rails (~> 5.2.5)
rails-controller-testing
rdf (~> 3.1.15)
redcarpet
redlock (>= 0.1.2, < 2.0)
riiif (~> 1.1)
rolify

0 comments on commit 6359795

Please sign in to comment.