mdless 2.1.54 → 2.1.55

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5b9775514e764d0d26df2096c2dc9d819fca7cb2ea465a583810f3a8a76057c
4
- data.tar.gz: 0e50a690679ed55e595f661d9430b15c7ac9b3e44542d431af1157dc2bea3fa0
3
+ metadata.gz: aecedf77946da4026d05871557d05cddbe79a2baf7333f2a5b29afe22436e3e3
4
+ data.tar.gz: db52bfc733a516d8a6ef7b408d9d5ba5c9e3bcc831fdaf66aec34286774b61c3
5
5
  SHA512:
6
- metadata.gz: 6cecd959cad4cd50c75ba0dcd06a6b5b4cc76e24aadc48738cc30462c83fcb3d15ea05e8bfb59f728c7bd575c71757971fe6bdd9a17d934ee7aa4e4ac1f5e5f9
7
- data.tar.gz: 8cab154eb94b64e6b282513352fdaa9acfdc13bf012f6c5063fb8a1c93682e72eed075faeab27f4cb0aa8253616479ee4da2514d2bbed6338d618291462dec18
6
+ metadata.gz: 8c810d87c2b195d36aaa51dcd0ce04e4a22d383272a9241e05a7e299101ae2688143b6cbf2b81a7530466b332f4e46859223b6c69aeaea20e7dbb7dd137cecf3
7
+ data.tar.gz: 90f889c776068b06c90ab006934fb4b34594a9deb7ea4cae0e81e0947514d66a5893f43a648aebdc6ea116b20413188ecfdb9e408f2605d88ed24960135645a4
@@ -24,7 +24,7 @@ module Redcarpet
24
24
  end
25
25
 
26
26
  def xc
27
- x + color("text")
27
+ x + color('text')
28
28
  end
29
29
 
30
30
  def x
@@ -899,7 +899,7 @@ module Redcarpet
899
899
  end
900
900
 
901
901
  # emojis
902
- input.gsub!(/(?<=\s|\A):(?<emoji>[\w-]+):/) do
902
+ input.gsub!(/(?<=\s|\A):(?<emoji>\S+):/) do
903
903
  m = Regexp.last_match
904
904
  emoji = CLIMarkdown::Emoji.convert_emoji(m['emoji'])
905
905
  "#{emoji}#{xc}"
data/lib/mdless/emoji.rb CHANGED
@@ -45,6 +45,7 @@ module CLIMarkdown
45
45
  'recycle' => '♻',
46
46
  'wink' => '😉',
47
47
  'thumbsup' => '👍',
48
+ '+1' => '👍',
48
49
  'pray' => '🙏',
49
50
  'relieved' => '😌',
50
51
  'notes' => '🎶',
@@ -130,6 +131,7 @@ module CLIMarkdown
130
131
  'raising_hand_man' => '🙋‍♂',
131
132
  'raising_hand' => '🙋',
132
133
  'thumbsdown' => '👎',
134
+ '-1' => '👎',
133
135
  'dancer' => '💃',
134
136
  'musical_note' => '🎵',
135
137
  'no_mouth' => '😶',
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CLIMarkdown
4
- VERSION = '2.1.54'
4
+ VERSION = '2.1.55'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdless
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.54
4
+ version: 2.1.55
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra