octopress-include-tag 1.0.3 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/octopress-include-tag.rb +1 -0
- data/lib/octopress-include-tag/version.rb +1 -1
- data/{.clash.yml → test/_clash.yml} +0 -0
- data/test/_expected/ink-includes.html +3 -0
- data/test/_ink_plugins/test-plugin/config.yml +1 -0
- data/test/_ink_plugins/test-plugin/includes/config.html +1 -0
- data/test/ink-includes.html +3 -0
- metadata +8 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9821934b09459815853e620013e8d93f90773608
|
4
|
+
data.tar.gz: 4d705dd23a9849851762f39bee4d495ffc0e73c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71bd7880605c03b53c4bdd323a42bd6519a7ecdf39a158ce6fea0e86fe1a6940a6c05b26326da1342ef0c4d57467a3692be79ef82714cf4e261da5c7e4c78b6d
|
7
|
+
data.tar.gz: a28802c3db717b7c84600113d1f1af590de93d23a9f98ce85af2ae6a677863bba4e4d6d6497b3f43c36f42ce7bba5d730b1a64d05e24009a2f5ee70f90b0c933
|
data/CHANGELOG.md
CHANGED
@@ -42,6 +42,7 @@ module Octopress
|
|
42
42
|
partial = Liquid::Template.parse(content)
|
43
43
|
content = context.stack {
|
44
44
|
context['include'] = include_tag.parse_params(context)
|
45
|
+
context['plugin'] = Octopress::Ink::Plugins.plugin(plugin).config(context['lang'])
|
45
46
|
partial.render!(context)
|
46
47
|
}.strip
|
47
48
|
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
test: howdy y'all
|
@@ -0,0 +1 @@
|
|
1
|
+
Config for test is: {{ plugin.test }}
|
data/test/ink-includes.html
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-include-tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octopress-tag-helpers
|
@@ -115,7 +115,6 @@ executables: []
|
|
115
115
|
extensions: []
|
116
116
|
extra_rdoc_files: []
|
117
117
|
files:
|
118
|
-
- ".clash.yml"
|
119
118
|
- ".gitignore"
|
120
119
|
- ".travis.yml"
|
121
120
|
- CHANGELOG.md
|
@@ -128,12 +127,15 @@ files:
|
|
128
127
|
- octopress-include-tag.gemspec
|
129
128
|
- test/.gitignore
|
130
129
|
- test/Gemfile
|
130
|
+
- test/_clash.yml
|
131
131
|
- test/_config.yml
|
132
132
|
- test/_expected/includes.html
|
133
133
|
- test/_expected/ink-includes.html
|
134
134
|
- test/_includes/bar.html
|
135
135
|
- test/_includes/foo.html
|
136
|
+
- test/_ink_plugins/test-plugin/config.yml
|
136
137
|
- test/_ink_plugins/test-plugin/includes/bar.html
|
138
|
+
- test/_ink_plugins/test-plugin/includes/config.html
|
137
139
|
- test/_ink_plugins/test-plugin/includes/greet.html
|
138
140
|
- test/_ink_plugins/test-plugin/includes/some-include.html
|
139
141
|
- test/_ink_plugins/test-plugin/test.rb
|
@@ -169,12 +171,15 @@ summary: A powerful include tag with conditions, filters and more
|
|
169
171
|
test_files:
|
170
172
|
- test/.gitignore
|
171
173
|
- test/Gemfile
|
174
|
+
- test/_clash.yml
|
172
175
|
- test/_config.yml
|
173
176
|
- test/_expected/includes.html
|
174
177
|
- test/_expected/ink-includes.html
|
175
178
|
- test/_includes/bar.html
|
176
179
|
- test/_includes/foo.html
|
180
|
+
- test/_ink_plugins/test-plugin/config.yml
|
177
181
|
- test/_ink_plugins/test-plugin/includes/bar.html
|
182
|
+
- test/_ink_plugins/test-plugin/includes/config.html
|
178
183
|
- test/_ink_plugins/test-plugin/includes/greet.html
|
179
184
|
- test/_ink_plugins/test-plugin/includes/some-include.html
|
180
185
|
- test/_ink_plugins/test-plugin/test.rb
|