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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 23ec46e74b6b488da291b6527f9f5cafd0fb6414
4
- data.tar.gz: 129eaae81207ec96343cf4465951784e1349a4aa
3
+ metadata.gz: 138c74edd295838b466f5ec52c71b34f2dca3cca
4
+ data.tar.gz: 2726a4033cb915c80cc4b70029d69e15e61ff4bc
5
5
  SHA512:
6
- metadata.gz: 64d0030f1d7993775908f935b77d9deade5ea1e5ccafb1fa62ed855dbdf122b63b061d5cc3006e8ef5479965b677104dc33b5630cadc71fd0b14291573a4b53c
7
- data.tar.gz: 2300fe9149a460a2ddb0eb34e4187f563afb991c777824012a9d9c58ece8953d10a4b7f9566033a3a10b4fa48b373676018b1d716de7e436f8b8dcbefd7d95d4
6
+ metadata.gz: 673a6dd405bdc40d641b799d8e032c0a08283194ae8cffcfa515864962c31ddac815b11b174674e2d09ecc376e20e0ef61b013d184991c1805533d1c6c81692f
7
+ data.tar.gz: 08661aa639bd1db9a28dc13dc1b0f55b26994c028d856a989d806b1fdfcf9641fd8e15fc6c1a7a5d6ed4f7df7631c84c3c6b43e1af88da37e3c789dac16c44c0
File without changes
data/.travis.yml CHANGED
@@ -2,4 +2,4 @@ language: ruby
2
2
  rvm:
3
3
  - 2.0.0
4
4
  - 1.9.3
5
- script: cd test && bundle exec clash
5
+ script: bundle exec clash test
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.0.4 - 2015-01-03
4
+
5
+ - Added support for Octopress Docs
6
+ - Fix to Partial rendering
7
+
3
8
  ### 1.0.3 - 2014-07-27
4
9
 
5
10
  - No longer requires Jekyll page hooks.
@@ -1,7 +1,7 @@
1
1
  module Octopress
2
2
  module Tags
3
3
  module RenderTag
4
- VERSION = "1.0.3"
4
+ VERSION = "1.0.4"
5
5
  end
6
6
  end
7
7
  end
@@ -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 = Octopress::Partial.new(context.registers[:site], @path, content)
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
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'octopress-render-tag', path: '../'
4
- gem 'clash'
3
+ gemspec path: '../'
4
+ gem "octopress-tag-helpers", path: "../../tag-helpers"
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.3
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: 2014-07-28 00:00:00.000000000 Z
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
-