mdless 2.1.54 → 2.1.56

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: e29eaccc08998a3969e753da22f591defe6c33e6c7d33083810fb3ab83d5679a
4
+ data.tar.gz: 4e65b9b35f6135fd6595a3edf9c98f1ce33d6f6b2d5019d777f870339b046858
5
5
  SHA512:
6
- metadata.gz: 6cecd959cad4cd50c75ba0dcd06a6b5b4cc76e24aadc48738cc30462c83fcb3d15ea05e8bfb59f728c7bd575c71757971fe6bdd9a17d934ee7aa4e4ac1f5e5f9
7
- data.tar.gz: 8cab154eb94b64e6b282513352fdaa9acfdc13bf012f6c5063fb8a1c93682e72eed075faeab27f4cb0aa8253616479ee4da2514d2bbed6338d618291462dec18
6
+ metadata.gz: 8c204b8f2023b1c1f431aa75e412717468ff418cbbe5c8a57c173a9cb352410e3e4c3d7b901ab2f65a8688a09eb946366594f2401debc7faeb23cc663869399c
7
+ data.tar.gz: 96b9aaabeef2b7ea83a3d0417533fa5b42ff1cb17638a6476cfe0f953a11a3e8cfadd31a725fd59b2d128eecb35ce04a1bdfdd212edd77bb66596a0574c7013e
@@ -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' => '😶',
@@ -143,6 +145,7 @@ module CLIMarkdown
143
145
  'thought_balloon' => '💭',
144
146
  'tongue' => '👅',
145
147
  'poop' => '💩',
148
+ 'shit' => '💩',
146
149
  'cold_sweat' => '😰',
147
150
  'gem' => '💎',
148
151
  'gesturing_OK_man' => '🙆‍♂',
@@ -1406,6 +1409,7 @@ module CLIMarkdown
1406
1409
  'call_me_hand' => '🤙',
1407
1410
  'index_pointing_up' => '☝',
1408
1411
  'leftfacing_fist' => '🤛',
1412
+ 'punch' => '👊',
1409
1413
  'rightfacing_fist' => '🤜',
1410
1414
  'palms_up_together' => '🤲',
1411
1415
  'handshake' => '🤝',
@@ -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.56'
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.56
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra