octopress-render-tag 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{test/.clash.yml → .clash.yml} +0 -0
- data/.travis.yml +1 -1
- data/CHANGELOG.md +5 -0
- data/lib/octopress-render-tag/version.rb +1 -1
- data/lib/octopress-render-tag.rb +13 -3
- data/test/Gemfile +2 -2
- metadata +3 -5
- data/lib/octopress-render-tag/ink-plugin.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 138c74edd295838b466f5ec52c71b34f2dca3cca
|
4
|
+
data.tar.gz: 2726a4033cb915c80cc4b70029d69e15e61ff4bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 673a6dd405bdc40d641b799d8e032c0a08283194ae8cffcfa515864962c31ddac815b11b174674e2d09ecc376e20e0ef61b013d184991c1805533d1c6c81692f
|
7
|
+
data.tar.gz: 08661aa639bd1db9a28dc13dc1b0f55b26994c028d856a989d806b1fdfcf9641fd8e15fc6c1a7a5d6ed4f7df7631c84c3c6b43e1af88da37e3c789dac16c44c0
|
File without changes
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/octopress-render-tag.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
require "octopress-render-tag/version"
|
2
|
-
require "octopress-tag-helpers"
|
3
|
-
require "octopress-render-tag/ink-plugin"
|
4
2
|
require "octopress-render-tag/hooks"
|
3
|
+
require "octopress-tag-helpers"
|
5
4
|
require "jekyll"
|
6
5
|
|
7
6
|
module Octopress
|
@@ -86,7 +85,7 @@ module Octopress
|
|
86
85
|
end
|
87
86
|
|
88
87
|
def parse_convertible(content, context)
|
89
|
-
page =
|
88
|
+
page = Partial.new(context.registers[:site], @path, content)
|
90
89
|
page.render({})
|
91
90
|
page.output.strip
|
92
91
|
end
|
@@ -98,3 +97,14 @@ end
|
|
98
97
|
|
99
98
|
Liquid::Template.register_tag('render', Octopress::Tags::RenderTag::Tag)
|
100
99
|
Liquid::Template.register_tag('render_partial', Octopress::Tags::RenderTag::Tag)
|
100
|
+
|
101
|
+
if defined? Octopress::Docs
|
102
|
+
Octopress::Docs.add({
|
103
|
+
name: "Octopress Render Tag",
|
104
|
+
description: "Embed files directly from the file system. This tag also supports conditional rendering, in-line filters.",
|
105
|
+
path: File.expand_path(File.join(File.dirname(__FILE__), "../")),
|
106
|
+
type: "tag",
|
107
|
+
source_url: "https://github.com/octopress/render-tag",
|
108
|
+
version: Octopress::Tags::RenderTag::VERSION
|
109
|
+
})
|
110
|
+
end
|
data/test/Gemfile
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-render-tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octopress-tag-helpers
|
@@ -101,6 +101,7 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
+
- ".clash.yml"
|
104
105
|
- ".gitignore"
|
105
106
|
- ".travis.yml"
|
106
107
|
- CHANGELOG.md
|
@@ -112,10 +113,8 @@ files:
|
|
112
113
|
- assets/docs/index.markdown
|
113
114
|
- lib/octopress-render-tag.rb
|
114
115
|
- lib/octopress-render-tag/hooks.rb
|
115
|
-
- lib/octopress-render-tag/ink-plugin.rb
|
116
116
|
- lib/octopress-render-tag/version.rb
|
117
117
|
- octopress-render-tag.gemspec
|
118
|
-
- test/.clash.yml
|
119
118
|
- test/.gitignore
|
120
119
|
- test/Gemfile
|
121
120
|
- test/_config.yml
|
@@ -151,7 +150,6 @@ signing_key:
|
|
151
150
|
specification_version: 4
|
152
151
|
summary: Render files inline on any Jekyll page or post
|
153
152
|
test_files:
|
154
|
-
- test/.clash.yml
|
155
153
|
- test/.gitignore
|
156
154
|
- test/Gemfile
|
157
155
|
- test/_config.yml
|
@@ -1,11 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require 'octopress-ink'
|
3
|
-
|
4
|
-
Octopress::Ink.add_plugin({
|
5
|
-
name: 'Wrap Tag',
|
6
|
-
assets_path: File.join(File.expand_path(File.dirname(__FILE__)), '../../assets' ),
|
7
|
-
description: "Embed files directly from the file system. This tag also supports conditional rendering, in-line filters."
|
8
|
-
})
|
9
|
-
rescue LoadError
|
10
|
-
end
|
11
|
-
|