jekyll_example_embed 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jekyll_example_embed.rb +6 -1
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 931fec50c13b3b12d361451ac22f5fc4f7d843d6
4
- data.tar.gz: a4cdb381f1ea9274fc8ef4c5d35b345683220c5e
3
+ metadata.gz: 8e2072ce9f170b5b370e91a8e107500c08c72900
4
+ data.tar.gz: ff8e92214de2fe110ea17afd3fe2dacd1d7f95a9
5
5
  SHA512:
6
- metadata.gz: 23ee7ec955c90093f263b893269e7d354de5efc23ea878a83136f464de9b5bd871c0a6777639d3d7a0cb01a036cd02c336b3dccf647ebcd2d01ba565a16ae301
7
- data.tar.gz: 72bbbc8edfdb33f5d0866da6961fb3bcb4b1b48fb467ee7b80e7aeeffe241170e806ff6b6c92e9471baa74835b2c91a6c0b81934c026b0155f41f49d88cb4b72
6
+ metadata.gz: 2ee4163db3fd5945ed091fac30f80254a21c50602473372e341f2a08164b8ea9fa437163bc81b5bdbf2f8a9cb6be517ced0649111a3c20259845349f1aa04d0f
7
+ data.tar.gz: e5cc4cb5253e4e50be86dbba49604a61b3743db6693d526c8555497a6fcbb9feef178657a61cb90a30d4165bf2a362e688997fddab47471ab77f8238c59dd7f9
@@ -22,7 +22,12 @@ module Jekyll
22
22
  Liquid::Template.parse(wrapped_content).render!(context)
23
23
  end
24
24
 
25
- "<h4>#{name}</h4><h5>Source</h5>#{highlight}<h5>Result</h5><iframe src=\"#{document.url}\" frameBorder=\"0\"></iframe>"
25
+ [ "<h4>#{name}</h4>",
26
+ '<h5>Source</h5>',
27
+ highlight,
28
+ '<h5>Result</h5>',
29
+ %{<iframe src="#{document.url}" frameBorder="0"></iframe>}
30
+ ].join("\n")
26
31
  end
27
32
 
28
33
  Liquid::Template.register_tag('example_embed', Jekyll::ExampleEmbedTag)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_example_embed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sonny Michaud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-05 00:00:00.000000000 Z
11
+ date: 2014-12-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michaud.sonny@gmail.com
@@ -27,17 +27,17 @@ require_paths:
27
27
  - lib
28
28
  required_ruby_version: !ruby/object:Gem::Requirement
29
29
  requirements:
30
- - - '>='
30
+ - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: '0'
33
33
  required_rubygems_version: !ruby/object:Gem::Requirement
34
34
  requirements:
35
- - - '>='
35
+ - - ">="
36
36
  - !ruby/object:Gem::Version
37
37
  version: '0'
38
38
  requirements: []
39
39
  rubyforge_project:
40
- rubygems_version: 2.0.3
40
+ rubygems_version: 2.2.2
41
41
  signing_key:
42
42
  specification_version: 4
43
43
  summary: Embed examples in Jekyll