octopress-render-tag 1.0.4 → 1.0.5

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: 138c74edd295838b466f5ec52c71b34f2dca3cca
4
- data.tar.gz: 2726a4033cb915c80cc4b70029d69e15e61ff4bc
3
+ metadata.gz: 539fdbbce7d742530f4527ea56e83d272c6a6a70
4
+ data.tar.gz: fc1e28edc69bc187034360140cc56cfb6f11befb
5
5
  SHA512:
6
- metadata.gz: 673a6dd405bdc40d641b799d8e032c0a08283194ae8cffcfa515864962c31ddac815b11b174674e2d09ecc376e20e0ef61b013d184991c1805533d1c6c81692f
7
- data.tar.gz: 08661aa639bd1db9a28dc13dc1b0f55b26994c028d856a989d806b1fdfcf9641fd8e15fc6c1a7a5d6ed4f7df7631c84c3c6b43e1af88da37e3c789dac16c44c0
6
+ metadata.gz: 2b794024673a8277a446b31fbf257569c9661d7ff94974d8e798f6d9441b0478ed010a639be23f9e6c8458746d908ecea3f47435a9b56f8993871afe577bce7b
7
+ data.tar.gz: 83739823b0d0d02106acc3abd0aeda46ea411a5217b4b542b8f809e8d4fe717e0223bce689d1511a82f8ff243e3fe8ebba9768f0691638dc672ba33f152378ea
@@ -1,9 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.0.5 - 2015-01-03
4
+
5
+ - Removed duplicate docs.
6
+ - Removed tests from gem files.
7
+
3
8
  ### 1.0.4 - 2015-01-03
4
9
 
5
- - Added support for Octopress Docs
6
- - Fix to Partial rendering
10
+ - Added support for Octopress Docs.
11
+ - Fix to Partial rendering.
7
12
 
8
13
  ### 1.0.3 - 2014-07-27
9
14
 
@@ -1,7 +1,7 @@
1
1
  module Octopress
2
2
  module Tags
3
3
  module RenderTag
4
- VERSION = "1.0.4"
4
+ VERSION = "1.0.5"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-render-tag
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
@@ -101,30 +101,12 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
- - ".clash.yml"
105
- - ".gitignore"
106
- - ".travis.yml"
107
104
  - CHANGELOG.md
108
- - Gemfile
109
105
  - LICENSE.txt
110
106
  - README.md
111
- - Rakefile
112
- - assets/docs/changelog.markdown
113
- - assets/docs/index.markdown
114
107
  - lib/octopress-render-tag.rb
115
108
  - lib/octopress-render-tag/hooks.rb
116
109
  - lib/octopress-render-tag/version.rb
117
- - octopress-render-tag.gemspec
118
- - test/.gitignore
119
- - test/Gemfile
120
- - test/_config.yml
121
- - test/_expected/index.html
122
- - test/_expected/license.html
123
- - test/_test_render.md
124
- - test/index.html
125
- - test/test_render/_f.html
126
- - test/test_render/_var.html
127
- - test/test_render/license.html
128
110
  homepage: https://github.com/octopress/render-tag
129
111
  licenses:
130
112
  - MIT
@@ -149,14 +131,4 @@ rubygems_version: 2.2.2
149
131
  signing_key:
150
132
  specification_version: 4
151
133
  summary: Render files inline on any Jekyll page or post
152
- test_files:
153
- - test/.gitignore
154
- - test/Gemfile
155
- - test/_config.yml
156
- - test/_expected/index.html
157
- - test/_expected/license.html
158
- - test/_test_render.md
159
- - test/index.html
160
- - test/test_render/_f.html
161
- - test/test_render/_var.html
162
- - test/test_render/license.html
134
+ test_files: []
data/.clash.yml DELETED
@@ -1,2 +0,0 @@
1
- build: true
2
- compare: "_expected, _site"
data/.gitignore DELETED
@@ -1,22 +0,0 @@
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
@@ -1,5 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.0.0
4
- - 1.9.3
5
- script: bundle exec clash test
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in octopress_render_tag.gemspec
4
- gemspec
data/Rakefile DELETED
@@ -1,9 +0,0 @@
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
-
@@ -1,13 +0,0 @@
1
- ---
2
- title: "Changelog"
3
- permalink: /changelog/
4
- ---
5
-
6
- ### 1.0.1 - 2014-06-29
7
-
8
- - Added docs for Octopress Ink
9
-
10
- ### 1.0.0 - 2014-06-29
11
-
12
- - Initial release
13
-
@@ -1,87 +0,0 @@
1
- ---
2
- title: "Octopress Render Tag"
3
- ---
4
-
5
- Use the render tag to embed files directly from the file system. This tag also supports conditional rendering, in-line filters.
6
-
7
- [![Build Status](https://travis-ci.org/octopress/render-tag.svg)](https://travis-ci.org/octopress/render-tag)
8
- [![Gem Version](http://img.shields.io/gem/v/octopress-render-tag.svg)](https://rubygems.org/gems/octopress-render-tag)
9
- [![License](http://img.shields.io/:license-mit-blue.svg)](http://octopress.mit-license.org)
10
-
11
- ## Installation
12
-
13
- Add this line to your application's Gemfile:
14
-
15
- gem 'octopress-render-tag'
16
-
17
- And then execute:
18
-
19
- $ bundle
20
-
21
- Or install it yourself as:
22
-
23
- $ gem install octopress-render-tag
24
-
25
- Next add it to your gems list in Jekyll's `_config.yml`
26
-
27
- gems:
28
- - octopress-render-tag
29
-
30
- ## Usage
31
-
32
- ### How file paths work
33
-
34
- By default paths passed to the render tag are relative to the site source directory.
35
-
36
- {% render _file.html %} // relative to site source
37
-
38
- Relative paths like these are relative to the current file.
39
-
40
- // some_page/test.html
41
-
42
- {% render ./_file.html %} // renders some_page/_file.html
43
- {% render ../other_page/_file.html %} // renders other_page/_file.html
44
-
45
- You can even render files relative to system paths, however, remember that these renders will only work if
46
- the site is rendered on your system. If these files move, your site will fail to build.
47
-
48
- {% render /_file.html %} // relative to system root
49
- {% render ~/_file.html %} // relative to system user
50
-
51
- ### Render tag features
52
-
53
- Render partials stored as a variable.
54
-
55
- // If a page has the YAML front-matter
56
- // theme: _post_themes/blue.css
57
-
58
- <style>{% render page.theme %}</style>
59
-
60
- Render partials conditionally, using `if`, `unless` and ternary logic.
61
-
62
- {% render ./post-footer.html if post.footer %}
63
- {% render ./page-footer.html unless page.footer == false %}
64
- {% render (post ? ./post-footer.html : ./page-footer.html) %}
65
-
66
- Filter partials.
67
-
68
- {% render ./foo.html %} //=> Yo, what's up
69
- {% render ./foo.html | upcase %} //=> YO, WHAT'S UP
70
-
71
- Automatic template processing.
72
-
73
- // in some_page.html
74
- {% render _test.md %} // outputs markdown rendered to HTML
75
-
76
- Avoid template processing.
77
-
78
- // in some_page.html
79
- {% render raw _test.md %} // Markdown is not processed
80
-
81
- ## Contributing
82
-
83
- 1. Fork it ( https://github.com/octopress/render-tag/fork )
84
- 2. Create your feature branch (`git checkout -b my-new-feature`)
85
- 3. Commit your changes (`git commit -am 'Add some feature'`)
86
- 4. Push to the branch (`git push origin my-new-feature`)
87
- 5. Create a new Pull Request
@@ -1,28 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'octopress-render-tag/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "octopress-render-tag"
8
- spec.version = Octopress::Tags::RenderTag::VERSION
9
- spec.authors = ["Brandon Mathis"]
10
- spec.email = ["brandon@imathis.com"]
11
- spec.summary = %q{Render files inline on any Jekyll page or post}
12
- spec.description = %q{Render files inline on any Jekyll page or post}
13
- spec.homepage = "https://github.com/octopress/render-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 "clash"
25
- spec.add_development_dependency "bundler", "~> 1.6"
26
- spec.add_development_dependency "rake"
27
- spec.add_development_dependency "octopress-ink"
28
- end
@@ -1 +0,0 @@
1
- _site
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: '../'
4
- gem "octopress-tag-helpers", path: "../../tag-helpers"
@@ -1,18 +0,0 @@
1
- # Site settings
2
- title: Your awesome title
3
- email: your-email@domain.com
4
- description: "Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description."
5
- baseurl: ""
6
- url: "http://yourdomain.com"
7
- twitter_username: jekyllrb
8
- github_username: jekyll
9
-
10
- exclude:
11
- - Gemfile*
12
- - expected/
13
-
14
- render_test: kittens
15
- # Build settings
16
- markdown: kramdown
17
- gems:
18
- - octopress-render-tag
@@ -1,34 +0,0 @@
1
-
2
-
3
-
4
-
5
-
6
-
7
- ## Simple render
8
- Testing Render → Testing Render
9
- Testing Render whatever → Testing Render whatever
10
-
11
- ## File name stored in variable
12
- Testing Render → Testing Render
13
-
14
- ## Post conditional render
15
- '' → ''
16
- Testing Render → Testing Render
17
-
18
- ## Test Variables
19
- kittens → kittens
20
-
21
- ## Test Filters
22
- KITTENS → KITTENS
23
- MITTENS → MITTENS
24
-
25
- ## Ternary include
26
- kittens → kittens
27
- Testing Render → Testing Render
28
-
29
- ## Render markdown with local vars
30
- <p><strong>page vars</strong></p> → <p><strong>page vars</strong></p>
31
-
32
- ## Render raw
33
- Testing Render {{ include.var }} → Testing Render {{ include.var }}
34
-
@@ -1,22 +0,0 @@
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.
@@ -1,4 +0,0 @@
1
- ---
2
- foo: page vars
3
- ---
4
- **{{page.foo}}**
@@ -1,35 +0,0 @@
1
- ---
2
- ---
3
- {% assign file = 'test_render/_f.html' %}
4
- {% assign file2 = 'test_render/_var.html' %}
5
- {% assign relative = './_test_render.md' %}
6
- {% assign some_bool = true %}
7
- {% assign test_var = 'variable' %}
8
-
9
- ## Simple render
10
- Testing Render → {% render test_render/_f.html %}
11
- Testing Render whatever → {% render test_render/_f.html var="whatever" %}
12
-
13
- ## File name stored in variable
14
- Testing Render → {% render file %}
15
-
16
- ## Post conditional render
17
- '' → '{% render file unless true %}'
18
- Testing Render → {% render file if some_bool %}
19
-
20
- ## Test Variables
21
- kittens → {% render test_render/_var.html %}
22
-
23
- ## Test Filters
24
- KITTENS → {% render test_render/_var.html | upcase %}
25
- MITTENS → {% render test_render/_var.html | replace:"k","m" | upcase %}
26
-
27
- ## Ternary include
28
- kittens → {% render (false ? file : file2) %}
29
- Testing Render → {% render (some_bool ? file : file2) %}
30
-
31
- ## Render markdown with local vars
32
- <p><strong>page vars</strong></p> → {% render relative %}
33
-
34
- ## Render raw
35
- {% raw %}Testing Render {{ include.var }}{% endraw %} → {% render raw file %}
@@ -1 +0,0 @@
1
- Testing Render {{ include.var }}
@@ -1 +0,0 @@
1
- {% assign bar = site.render_test %}{{ bar }}
@@ -1,4 +0,0 @@
1
- ---
2
- permalink: license.html
3
- ---
4
- {% render ../../LICENSE.txt %}