reveal-ck 0.4.0 → 0.4.1

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
  SHA1:
3
- metadata.gz: a22fa9bd00a93a29d756242fa3fca039c7a51ded
4
- data.tar.gz: 9957dab823be1182634d4660df24a6b206d48a19
3
+ metadata.gz: 20df888fb9730d42a8b435a14262eb5f8cc0dde5
4
+ data.tar.gz: 8365f52f718af3bcc11d3d1a81942a0b76d0c02d
5
5
  SHA512:
6
- metadata.gz: 7f73aa08506b27f0d1e16e3e8b32e1fee62415d3a9cf8ae332a7e989ec7302dea53cb54ac940eb014ff7073cfa07d2ba299575f78e09b744ca8fa2a89a99b928
7
- data.tar.gz: bfdee99b08af09ab27de8aae8e8dae9a17c48c681acf73581ea5ab199a5b8be96256696e768e5c32439d5af876c126a6f14a09a46bd04f362dbca9e1b55008ba
6
+ metadata.gz: 0a98af3b6f6e73674c666609941caa3933e9cb573a883e9710abf86057d334c1a3d8da437248c7ad01d4300ec9267ae9083b62bb5802d955bd6ab99d064cd96c
7
+ data.tar.gz: f73f05b2cec5b986447ec8cc6ae19b5d97d8c6bd0f275506c343bed3dd4dcba9a11f39038b6cc54215e5485682aaec98b2f131d54a97fe4304f66710b5dea8fa
@@ -54,13 +54,13 @@ end
54
54
 
55
55
  module HTML
56
56
  class Pipeline
57
- # This class is very similar EmojiFilter. It has been slightly
58
- # tweaked to make emoji function better within reveal.js
57
+ # This class is very similar EmojiFilter. It removes the inline
58
+ # width/height attributes so that reveal-ck supplied CSS takes effect.
59
59
  class RevealCKEmojiFilter < EmojiFilter
60
60
  def emoji_image_filter(text)
61
61
  return text unless text.include?(':')
62
62
 
63
- text.gsub EmojiPattern do
63
+ text.gsub(emoji_pattern) do
64
64
  name = Regexp.last_match[1]
65
65
  result = "<img class='emoji' title=':#{name}:' alt=':#{name}:'"
66
66
  result + "src='#{emoji_url(name)}' align='absmiddle' />"
@@ -1,4 +1,4 @@
1
1
  # RevealCK::VERSION is the current version of reveal-ck
2
2
  module RevealCK
3
- VERSION = '0.4.0'
3
+ VERSION = '0.4.1'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reveal-ck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jed Northridge
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-21 00:00:00.000000000 Z
11
+ date: 2014-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: RedCloth
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.8'
89
+ version: '1.9'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.8'
96
+ version: '1.9'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement