reveal-ck 3.5.1 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,71 +14,71 @@ module RevealCK
14
14
  end
15
15
 
16
16
  it 'does not turn _s within a single emoji into <em>s' do
17
- output = render_markdown <<-eos
18
- :money_with_wings:
19
- eos
17
+ output = render_markdown <<-EOS.strip_heredoc
18
+ :money_with_wings:
19
+ EOS
20
20
  expect(output).to include ':money_with_wings:'
21
21
  end
22
22
 
23
23
  it 'does not turn _s between two emojis into <em>s' do
24
- output = render_markdown <<-eos
25
- :blue_heart: :blue_heart:
26
- eos
24
+ output = render_markdown <<-EOS.strip_heredoc
25
+ :blue_heart: :blue_heart:
26
+ EOS
27
27
  expect(output).to include ':blue_heart: :blue_heart:'
28
28
  end
29
29
 
30
30
  it 'uses "---" to create "<section>"s' do
31
- output = render_markdown <<-eos
32
- # h1 Slide
33
- ---
34
- ## h2 Slide
35
- eos
31
+ output = render_markdown <<-EOS.strip_heredoc
32
+ # h1 Slide
33
+ ---
34
+ ## h2 Slide
35
+ EOS
36
36
  expect(output).to include '<h1>h1 Slide</h1>'
37
37
  expect(output).to include "</section>\n<section>"
38
38
  expect(output).to include '<h2>h2 Slide</h2>'
39
39
  end
40
40
 
41
41
  it 'wraps ``` code in a <pre> and <code>' do
42
- output = render_markdown <<-eos
43
- ```
44
- def adder(a, b); a + b; end
45
- ```
46
- eos
42
+ output = render_markdown <<-EOS.strip_heredoc
43
+ ```
44
+ def adder(a, b); a + b; end
45
+ ```
46
+ EOS
47
47
  expect(output).to include '<pre><code>'
48
48
  expect(output).to include '</code></pre>'
49
49
  expect(output).to include 'a + b'
50
50
  end
51
51
 
52
52
  it 'converts special characters in ``` block to entity references' do
53
- output = render_markdown <<-eos
54
- ```
55
- <p>"&"</p>
56
- ```
57
- eos
53
+ output = render_markdown <<-EOS.strip_heredoc
54
+ ```
55
+ <p>"&"</p>
56
+ ```
57
+ EOS
58
58
  expect(output).to include '<pre><code>'
59
59
  expect(output).to include '</code></pre>'
60
60
  expect(output).to include '&lt;p&gt;"&amp;"&lt;/p&gt;'
61
61
  end
62
62
 
63
63
  it 'wraps ```ruby code in a <pre> and <code class="language-ruby">' do
64
- output = render_markdown <<-eos
65
- ```ruby
66
- def adder(a, b); a + b; end
67
- ```
68
- eos
64
+ output = render_markdown <<-EOS.strip_heredoc
65
+ ```ruby
66
+ def adder(a, b); a + b; end
67
+ ```
68
+ EOS
69
69
  expect(output).to include '<pre><code class="language-ruby">'
70
70
  expect(output).to include '</code></pre>'
71
71
  expect(output).to include 'a + b'
72
72
  end
73
73
 
74
74
  it 'works when there is no space surrounding the ---' do
75
- output = render_markdown <<-eos
76
- # Your headline
77
- * Bullet 1
78
- * Bullet 2
79
- ---
80
- # Next Slide
81
- eos
75
+ output = render_markdown <<-EOS.strip_heredoc
76
+ # Your headline
77
+ * Bullet 1
78
+ * Bullet 2
79
+ ---
80
+ # Next Slide
81
+ EOS
82
82
  expect(output).to include "</section>\n<section>"
83
83
  end
84
84
  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: 3.5.1
4
+ version: 3.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jed Northridge
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-14 00:00:00.000000000 Z
11
+ date: 2017-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docile
@@ -234,6 +234,20 @@ dependencies:
234
234
  - - '='
235
235
  - !ruby/object:Gem::Version
236
236
  version: 0.19.1
237
+ - !ruby/object:Gem::Dependency
238
+ name: activesupport
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
237
251
  - !ruby/object:Gem::Dependency
238
252
  name: aruba
239
253
  requirement: !ruby/object:Gem::Requirement
@@ -346,8 +360,7 @@ dependencies:
346
360
  - - ">="
347
361
  - !ruby/object:Gem::Version
348
362
  version: '0'
349
- description: A command line interface for generating reveal.js presentations from
350
- markdown.
363
+ description: A cli for generating reveal.js presentations from markdown.
351
364
  email:
352
365
  - reveal-ck@jedcn.com
353
366
  executables: