octopress-include-tag 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f0e10f0c0c2f3230f23e5da95b5abb33df908715
4
+ data.tar.gz: 5f2c1b9d8b9d71c3c3b923e90f71a8e22599848e
5
+ SHA512:
6
+ metadata.gz: 40314c5850797983c62a0a20d1f9e7234b29d4a96aaf3f9a26c0461baa4b365de01a2e1016b3977ef54483d228c76632c3e5d5da9feefb491e5aa99b68f29f82
7
+ data.tar.gz: d17462a9d9dc62cf80d2c0ac3a6b7afe860ed5ab9872bf047b80ab062c27235cceaf165fbfb305038c8f9484288cdcf49e1915c3abee88b39affc81f40819cdf
data/.gitignore ADDED
@@ -0,0 +1,22 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ - 1.9.3
5
+ script: cd test && bundle exec clash
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ### 1.0.0 - 2014-07-14
4
+
5
+ - Initial release
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in octopress_render_tag.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Brandon Mathis
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,96 @@
1
+ # Octopress Include Tag
2
+
3
+ This tag replaces Jekyll's include and adds support for conditional rendering, in-line filters and including partials from Octopress Ink plugins.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'octopress-include-tag'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install octopress-include-tag
18
+
19
+ ## Usage
20
+
21
+ Use this just like the regular Jekyll include tag.
22
+
23
+ {% include foo.html %} // renders _includes/foo.html
24
+ {% include foo.html happy="yep" %} // samea as above but {{ include.happy }} == "yep"
25
+
26
+ Include partials stored as a variable.
27
+
28
+ {% assign post_sidebar = "post_sidebar.html" %}
29
+ {% include post_sidebar %} // renders _includes/post_sidebar.html
30
+
31
+ Include partials conditionally, using `if`, `unless` and ternary logic.
32
+
33
+ {% include sidebar.html if site.theme.sidebar %}
34
+ {% include comments.html unless page.comments == false %}
35
+ {% include (post ? post_sidebar : page_sidebar) %}
36
+
37
+ Filter included partials.
38
+
39
+ {% include foo.html %} //=> Yo, what's up
40
+ {% include foo.html | upcase %} //=> YO, WHAT'S UP
41
+
42
+ Yes, it can handle a complex combination of features… but can you?
43
+
44
+ {% include (post ? post_sidebar : page_sidebar) | smart_quotes unless site.theme.sidebar == false %}
45
+
46
+ ### Include partials with an Octopress Ink plugin.
47
+
48
+ It's easy to include a partial from an Ink theme or plugin.
49
+
50
+ Here's the syntax
51
+
52
+ {% include [plugin-slug]:[partial-name] %}
53
+
54
+ Some examples:
55
+
56
+ {% include theme:sidebar.html %} // Include the sidebar from a theme plugin
57
+ {% include twitter:feed.html %} // Include the feed from a twitter plugin
58
+
59
+ #### Overriding theme/plugin partials
60
+
61
+ Plugins and themes use this tag internally too. For example, the [octopress-feeds plugin](https://github.com/octopress/feeds/blob/master/assets/pages/article-feed.xml#L10) uses the include tag to
62
+ render partials for the RSS feed.
63
+
64
+ {% for post in site.articles %}
65
+ <entry>
66
+ {% include feeds:entry.xml %}
67
+ </entry>
68
+ {% endfor %}
69
+
70
+
71
+ If you want to make a change to the `entry.xml` partial, you could create your own version at `_plugins/feeds/includes/entry.xml`.
72
+ Now whenever `{% include feeds:entry.xml %}` is called, the include tag will use *your* local partial instead of the plugin's partial.
73
+
74
+ Note: To make overriding partials easier, you can copy all of a plugin's partials to your local override path with the Octopress Ink command:
75
+
76
+ octopress ink copy [plugin-slug] [options]
77
+
78
+ To copy all includes from the feeds plugin, you'd run:
79
+
80
+ octopress ink copy feeds --includes
81
+
82
+ This will copy all of the partials from octopress-feeds to `_plugins/feeds/includes/`. Modify any of the partials, and delete those that you want to be read from the plugin.
83
+
84
+ To list all partials from a plugin, run:
85
+
86
+ octopress ink list [plugin-slug] --includes
87
+
88
+ Note: When a plugin is updated, your local partials may be out of date, but will still override the plugin's partials. Be sure to watch changelogs and try to keep your modifications current.
89
+
90
+ ## Contributing
91
+
92
+ 1. Fork it ( https://github.com/octopress/include-tag/fork )
93
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
94
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
95
+ 4. Push to the branch (`git push origin my-new-feature`)
96
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,9 @@
1
+ require "bundler/gem_tasks"
2
+ require "octopress-ink"
3
+
4
+ desc "Copy Readme and Changelog into docs"
5
+ task :update_docs do
6
+ Octopress::Ink.copy_doc 'README.md', 'assets/docs/index.markdown'
7
+ Octopress::Ink.copy_doc 'CHANGELOG.md', 'assets/docs/changelog.markdown', '/changelog/'
8
+ end
9
+
@@ -0,0 +1,8 @@
1
+ ---
2
+ title: "Changelog"
3
+ permalink: /changelog/
4
+ ---
5
+
6
+ ## 1.0.0 - 2014-07-14
7
+
8
+ - Initial release
@@ -0,0 +1,98 @@
1
+ ---
2
+ title: "Octopress Include Tag"
3
+ ---
4
+
5
+ This tag replaces Jekyll's include and adds support for conditional rendering, in-line filters and including partials from Octopress Ink plugins.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ gem 'octopress-include-tag'
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install octopress-include-tag
20
+
21
+ ## Usage
22
+
23
+ Use this just like the regular Jekyll include tag.
24
+
25
+ {% include foo.html %} // renders _includes/foo.html
26
+ {% include foo.html happy="yep" %} // samea as above but {{ include.happy }} == "yep"
27
+
28
+ Include partials stored as a variable.
29
+
30
+ {% assign post_sidebar = "post_sidebar.html" %}
31
+ {% include post_sidebar %} // renders _includes/post_sidebar.html
32
+
33
+ Include partials conditionally, using `if`, `unless` and ternary logic.
34
+
35
+ {% include sidebar.html if site.theme.sidebar %}
36
+ {% include comments.html unless page.comments == false %}
37
+ {% include (post ? post_sidebar : page_sidebar) %}
38
+
39
+ Filter included partials.
40
+
41
+ {% include foo.html %} //=> Yo, what's up
42
+ {% include foo.html | upcase %} //=> YO, WHAT'S UP
43
+
44
+ Yes, it can handle a complex combination of features… but can you?
45
+
46
+ {% include (post ? post_sidebar : page_sidebar) | smart_quotes unless site.theme.sidebar == false %}
47
+
48
+ ### Include partials with an Octopress Ink plugin.
49
+
50
+ It's easy to include a partial from an Ink theme or plugin.
51
+
52
+ Here's the syntax
53
+
54
+ {% include [plugin-slug]:[partial-name] %}
55
+
56
+ Some examples:
57
+
58
+ {% include theme:sidebar.html %} // Include the sidebar from a theme plugin
59
+ {% include twitter:feed.html %} // Include the feed from a twitter plugin
60
+
61
+ #### Overriding theme/plugin partials
62
+
63
+ Plugins and themes use this tag internally too. For example, the [octopress-feeds plugin](https://github.com/octopress/feeds/blob/master/assets/pages/article-feed.xml#L10) uses the include tag to
64
+ render partials for the RSS feed.
65
+
66
+ {% for post in site.articles %}
67
+ <entry>
68
+ {% include feeds:entry.xml %}
69
+ </entry>
70
+ {% endfor %}
71
+
72
+
73
+ If you want to make a change to the `entry.xml` partial, you could create your own version at `_plugins/feeds/includes/entry.xml`.
74
+ Now whenever `{% include feeds:entry.xml %}` is called, the include tag will use *your* local partial instead of the plugin's partial.
75
+
76
+ Note: To make overriding partials easier, you can copy all of a plugin's partials to your local override path with the Octopress Ink command:
77
+
78
+ octopress ink copy [plugin-slug] [options]
79
+
80
+ To copy all includes from the feeds plugin, you'd run:
81
+
82
+ octopress ink copy feeds --includes
83
+
84
+ This will copy all of the partials from octopress-feeds to `_plugins/feeds/includes/`. Modify any of the partials, and delete those that you want to be read from the plugin.
85
+
86
+ To list all partials from a plugin, run:
87
+
88
+ octopress ink list [plugin-slug] --includes
89
+
90
+ Note: When a plugin is updated, your local partials may be out of date, but will still override the plugin's partials. Be sure to watch changelogs and try to keep your modifications current.
91
+
92
+ ## Contributing
93
+
94
+ 1. Fork it ( https://github.com/octopress/include-tag/fork )
95
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
96
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
97
+ 4. Push to the branch (`git push origin my-new-feature`)
98
+ 5. Create a new Pull Request
@@ -0,0 +1,11 @@
1
+ begin
2
+ require 'octopress-ink'
3
+
4
+ Octopress::Ink.add_plugin({
5
+ name: 'Include Tag',
6
+ assets_path: File.join(File.expand_path(File.dirname(__FILE__)), '../../assets' ),
7
+ description: "Test some plugins y'all"
8
+ })
9
+ rescue LoadError
10
+ end
11
+
@@ -0,0 +1,7 @@
1
+ module Octopress
2
+ module Tags
3
+ module IncludeTag
4
+ VERSION = "1.0.0"
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,65 @@
1
+ require "octopress-include-tag/version"
2
+ require "octopress-include-tag/ink-plugin"
3
+ require "octopress-tag-helpers"
4
+ require "jekyll"
5
+
6
+ module Octopress
7
+ module Tags
8
+ module IncludeTag
9
+ class Tag < Liquid::Tag
10
+ PLUGIN_SYNTAX = /(.+?):(\S+)/
11
+
12
+ def initialize(tag_name, markup, tokens)
13
+ super
14
+ @og_markup = @markup = markup
15
+ end
16
+
17
+ def render(context)
18
+ return unless markup = TagHelpers::Conditional.parse(@markup, context)
19
+ if markup =~ TagHelpers::Var::HAS_FILTERS
20
+ markup = $1
21
+ filters = $2
22
+ end
23
+ markup = TagHelpers::Var.evaluate_ternary(markup, context)
24
+ markup = TagHelpers::Path.parse(markup, context)
25
+
26
+ include_tag = Jekyll::Tags::IncludeTag.new('include', markup, [])
27
+
28
+ # If markup references a plugin e.g. plugin-name:include-file.html
29
+ if markup.strip =~ PLUGIN_SYNTAX
30
+ plugin = $1
31
+ path = $2
32
+ begin
33
+ content = Octopress::Ink::Plugins.include(plugin, path).read
34
+ rescue => error
35
+ msg = "Include failed: {% #{@tag_name} #{@og_markup}%}.\n"
36
+ if !defined?(Octopress::Ink)
37
+ msg += "To include plugin partials, first install Octopress Ink."
38
+ else
39
+ msg += "The plugin '#{plugin}' does not have an include named '#{path}'."
40
+ end
41
+ raise IOError.new(msg)
42
+ end
43
+ partial = Liquid::Template.parse(content)
44
+ content = context.stack {
45
+ context['include'] = include_tag.parse_params(context)
46
+ partial.render!(context)
47
+ }.strip
48
+
49
+ # Otherwise, use Jekyll's default include tag
50
+ else
51
+ content = include_tag.render(context).strip
52
+ end
53
+
54
+ unless content.nil? || filters.nil?
55
+ content = TagHelpers::Var.render_filters(content, filters, context)
56
+ end
57
+
58
+ content
59
+ end
60
+ end
61
+ end
62
+ end
63
+ end
64
+
65
+ Liquid::Template.register_tag('include', Octopress::Tags::IncludeTag::Tag)
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'octopress-include-tag/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "octopress-include-tag"
8
+ spec.version = Octopress::Tags::IncludeTag::VERSION
9
+ spec.authors = ["Brandon Mathis"]
10
+ spec.email = ["brandon@imathis.com"]
11
+ spec.summary = %q{A powerful include tag with conditions, filters and more}
12
+ spec.description = %q{A powerful include tag with conditions, filters and more}
13
+ spec.homepage = "https://github.com/octopress/include-tag"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_runtime_dependency "octopress-tag-helpers", "~> 1.0"
22
+ spec.add_runtime_dependency "jekyll", "~> 2.0"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.6"
25
+ spec.add_development_dependency "rake"
26
+ spec.add_development_dependency "clash"
27
+ spec.add_development_dependency "octopress-ink"
28
+ spec.add_development_dependency "octopress"
29
+ end
data/test/.clash.yml ADDED
@@ -0,0 +1,2 @@
1
+ build: true
2
+ compare: _expected _site
data/test/.gitignore ADDED
@@ -0,0 +1 @@
1
+ _site
data/test/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'octopress-include-tag', path: '../'
4
+ gem 'octopress'
5
+ gem 'octopress-ink'
6
+ gem 'pry-debugger'
7
+ gem 'clash'
data/test/_config.yml ADDED
@@ -0,0 +1,9 @@
1
+ # Site settings
2
+ name: Your New Jekyll Site
3
+ url: "http://yourdomain.com"
4
+
5
+ markdown: rdiscount
6
+ exclude:
7
+ - Gemfile*
8
+ gems:
9
+ - octopress-include-tag
@@ -0,0 +1,26 @@
1
+
2
+
3
+ ## Testing a simple include
4
+ Testing Include → Testing Include
5
+
6
+ ## Include from var
7
+ Testing Include → Testing Include
8
+
9
+ ## Local var passing
10
+ Testing Include var_test → Testing Include var_test
11
+
12
+ ## Filter testing
13
+ TESTING INCLUDE → TESTING INCLUDE
14
+ '' → ''
15
+
16
+ ## Conditional Include
17
+ '' → ''
18
+ '' → ''
19
+ '' → ''
20
+ Testing Include → Testing Include
21
+ Testing Include → Testing Include
22
+ Testing Include var_test → Testing Include var_test
23
+
24
+ ## Ternary include
25
+ Testing Include → Testing Include
26
+ Testing Include → Testing Include
@@ -0,0 +1,11 @@
1
+
2
+
3
+
4
+ ## Plugin Includes
5
+ include from plugin → include from plugin
6
+ Yo Dawg, I heard you like includes. → Yo Dawg, I heard you like includes.
7
+ '' → ''
8
+ Yo Dawg, I heard you like includes. → Yo Dawg, I heard you like includes.
9
+
10
+ ## Override plugin include
11
+ Overrides plugin include → Overrides plugin include
@@ -0,0 +1 @@
1
+ This shouldn't be here.
@@ -0,0 +1 @@
1
+ Testing Include {{ include.some_var }}
@@ -0,0 +1 @@
1
+ Plugin include
@@ -0,0 +1 @@
1
+ {{ include.greeting }}, I heard you like includes.
@@ -0,0 +1 @@
1
+ include from plugin
@@ -0,0 +1,8 @@
1
+ require 'octopress-ink'
2
+
3
+ Octopress::Ink.add_plugin({
4
+ name: 'Test Plugin',
5
+ slug: 'test-plugin',
6
+ assets_path: File.expand_path(File.dirname(__FILE__)),
7
+ description: "Test some plugins y'all"
8
+ })
@@ -0,0 +1 @@
1
+ require './_ink_plugins/test-plugin/test.rb'
@@ -0,0 +1 @@
1
+ Overrides plugin include
@@ -0,0 +1,4 @@
1
+ ---
2
+ foo: page vars
3
+ ---
4
+ **{{page.foo}}**
@@ -0,0 +1,29 @@
1
+ ---
2
+ partial: foo.html
3
+ ---
4
+ {% assign some_bool = true %}
5
+
6
+ ## Testing a simple include
7
+ Testing Include → {% include foo.html %}
8
+
9
+ ## Include from var
10
+ Testing Include → {% include page.partial %}
11
+
12
+ ## Local var passing
13
+ Testing Include var_test → {% include foo.html some_var="var_test" %}
14
+
15
+ ## Filter testing
16
+ TESTING INCLUDE → {% include foo.html | upcase %}
17
+ '' → '{% include foo.html | upcase unless true %}'
18
+
19
+ ## Conditional Include
20
+ '' → '{% include foo.html unless true %}'
21
+ '' → '{% include foo.html unless some_bool %}'
22
+ '' → '{% include foo.html unless site.name == 'Your New Jekyll Site' %}'
23
+ Testing Include → {% include foo.html if true %}
24
+ Testing Include → {% include foo.html if site.name == 'Your New Jekyll Site' %}
25
+ Testing Include var_test → {% include foo.html some_var="var_test" if some_bool %}
26
+
27
+ ## Ternary include
28
+ Testing Include → {% include (false ? bar.html : foo.html ) %}
29
+ Testing Include → {% include (some_bool ? foo.html : theme:greet.html) %}
@@ -0,0 +1,13 @@
1
+ ---
2
+ ---
3
+ {% assign some_bool = true %}
4
+
5
+
6
+ ## Plugin Includes
7
+ include from plugin → {% include test-plugin:some-include.html %}
8
+ Yo Dawg, I heard you like includes. → {% include test-plugin:greet.html greeting="Yo Dawg" %}
9
+ '' → '{% include test-plugin:greet.html greeting="Yo Dawg" unless some_bool %}'
10
+ Yo Dawg, I heard you like includes. → {% include test-plugin:greet.html greeting="Yo Dawg" if some_bool %}
11
+
12
+ ## Override plugin include
13
+ Overrides plugin include → {% include test-plugin:bar.html %}
metadata ADDED
@@ -0,0 +1,189 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: octopress-include-tag
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Brandon Mathis
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-07-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: octopress-tag-helpers
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.6'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.6'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: clash
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: octopress-ink
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: octopress
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: A powerful include tag with conditions, filters and more
112
+ email:
113
+ - brandon@imathis.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".travis.yml"
120
+ - CHANGELOG.md
121
+ - Gemfile
122
+ - LICENSE.txt
123
+ - README.md
124
+ - Rakefile
125
+ - assets/docs/changelog.markdown
126
+ - assets/docs/index.markdown
127
+ - lib/octopress-include-tag.rb
128
+ - lib/octopress-include-tag/ink-plugin.rb
129
+ - lib/octopress-include-tag/version.rb
130
+ - octopress-include-tag.gemspec
131
+ - test/.clash.yml
132
+ - test/.gitignore
133
+ - test/Gemfile
134
+ - test/_config.yml
135
+ - test/_expected/includes.html
136
+ - test/_expected/ink-includes.html
137
+ - test/_includes/bar.html
138
+ - test/_includes/foo.html
139
+ - test/_ink_plugins/test-plugin/includes/bar.html
140
+ - test/_ink_plugins/test-plugin/includes/greet.html
141
+ - test/_ink_plugins/test-plugin/includes/some-include.html
142
+ - test/_ink_plugins/test-plugin/test.rb
143
+ - test/_plugins/loader.rb
144
+ - test/_plugins/test-plugin/includes/bar.html
145
+ - test/_test_render.md
146
+ - test/includes.html
147
+ - test/ink-includes.html
148
+ homepage: https://github.com/octopress/include-tag
149
+ licenses:
150
+ - MIT
151
+ metadata: {}
152
+ post_install_message:
153
+ rdoc_options: []
154
+ require_paths:
155
+ - lib
156
+ required_ruby_version: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ required_rubygems_version: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ requirements: []
167
+ rubyforge_project:
168
+ rubygems_version: 2.2.2
169
+ signing_key:
170
+ specification_version: 4
171
+ summary: A powerful include tag with conditions, filters and more
172
+ test_files:
173
+ - test/.clash.yml
174
+ - test/.gitignore
175
+ - test/Gemfile
176
+ - test/_config.yml
177
+ - test/_expected/includes.html
178
+ - test/_expected/ink-includes.html
179
+ - test/_includes/bar.html
180
+ - test/_includes/foo.html
181
+ - test/_ink_plugins/test-plugin/includes/bar.html
182
+ - test/_ink_plugins/test-plugin/includes/greet.html
183
+ - test/_ink_plugins/test-plugin/includes/some-include.html
184
+ - test/_ink_plugins/test-plugin/test.rb
185
+ - test/_plugins/loader.rb
186
+ - test/_plugins/test-plugin/includes/bar.html
187
+ - test/_test_render.md
188
+ - test/includes.html
189
+ - test/ink-includes.html