Bump emoji_regex from 3.0.0 to 3.2.0 (#11210)
* Bump emoji_regex from 3.0.0 to 3.2.0 Bumps [emoji_regex](https://github.com/ticky/ruby-emoji-regex) from 3.0.0 to 3.2.0. - [Release notes](https://github.com/ticky/ruby-emoji-regex/releases) - [Commits](https://github.com/ticky/ruby-emoji-regex/compare/v3.0.0...v3.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump emoji_regex from 3.0.0 to 3.2.0 (Update vendor/cache) * Use new ::RGIEmoji instead of deprecated ::Regex Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: rhymes <rhymes@hey.com>
This commit is contained in:
parent
bf2e6d749d
commit
2a31681e87
5 changed files with 4 additions and 4 deletions
2
Gemfile
2
Gemfile
|
|
@ -33,7 +33,7 @@ gem "dogstatsd-ruby", "~> 4.8" # A client for DogStatsD, an extension of the Sta
|
|||
gem "doorkeeper", "~> 5.4" # Oauth 2 provider
|
||||
gem "elasticsearch", "~> 7.9" # Powers DEVs core search functionality
|
||||
gem "email_validator", "~> 2.0" # Email validator for Rails and ActiveModel
|
||||
gem "emoji_regex", "~> 3.0" # A pair of Ruby regular expressions for matching Unicode Emoji symbols
|
||||
gem "emoji_regex", "~> 3.2" # A pair of Ruby regular expressions for matching Unicode Emoji symbols
|
||||
gem "fastly", "~> 2.5" # Client library for the Fastly acceleration system
|
||||
gem "feedjira", "~> 3.1" # A feed fetching and parsing library
|
||||
gem "field_test", "~> 0.4" # A/B testing
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ GEM
|
|||
http_parser.rb (~> 0.6.0)
|
||||
email_validator (2.0.1)
|
||||
activemodel
|
||||
emoji_regex (3.0.0)
|
||||
emoji_regex (3.2.0)
|
||||
environs (1.1.0)
|
||||
equalizer (0.0.11)
|
||||
erb_lint (0.0.35)
|
||||
|
|
@ -877,7 +877,7 @@ DEPENDENCIES
|
|||
dotenv-rails (~> 2.7.6)
|
||||
elasticsearch (~> 7.9)
|
||||
email_validator (~> 2.0)
|
||||
emoji_regex (~> 3.0)
|
||||
emoji_regex (~> 3.2)
|
||||
erb_lint (~> 0.0.34)
|
||||
exifr (>= 1.3.6)
|
||||
factory_bot_rails (~> 6.1)
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ module Redcarpet
|
|||
|
||||
def slugify(string)
|
||||
stripped_string = ActionView::Base.full_sanitizer.sanitize string
|
||||
stripped_string.downcase.gsub(EmojiRegex::Regex, "").strip.gsub(/[[:punct:]]/u, "").gsub(/\s+/, "-")
|
||||
stripped_string.downcase.gsub(EmojiRegex::RGIEmoji, "").strip.gsub(/[[:punct:]]/u, "").gsub(/\s+/, "-")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
BIN
vendor/cache/emoji_regex-3.0.0.gem
vendored
BIN
vendor/cache/emoji_regex-3.0.0.gem
vendored
Binary file not shown.
BIN
vendor/cache/emoji_regex-3.2.0.gem
vendored
Normal file
BIN
vendor/cache/emoji_regex-3.2.0.gem
vendored
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue