jekyll-include-with-frontmatter 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 9a5b71118abd595b24591241083380854e1164f3f9f1cf6a0ee74be0c0c3c607
4
- data.tar.gz: 4fb8b41eb56c7a7884025093309ed023bea65d0cecdd576f6726cdd8c5e1f292
3
+ metadata.gz: 73306046e8c40c901ec6bcb26a6564d5ee79f0fde3fcc30b4fd040b121d24ba3
4
+ data.tar.gz: 1e86ceeee64184e540db49d5652c822d6b579d0e0730f931c19ba5969cf5eba6
5
5
  SHA512:
6
- metadata.gz: c8529f69054697ce5e515b1233392f625520d2b9b30d6b2e53e1ee8ad328e3b349718ac638c0ba3b30e78e50613de09c4a52a5d140ba3444e1173b04ef4cbb9d
7
- data.tar.gz: 52fba309410905f1cc734d82dab071e471ba5b56eed5397ebea8b3f2fa94bce7d6c244f41b43fe672d2600ebf730eeae5b8370b5d5da6cff3554ff108a033633
6
+ metadata.gz: 4eca050709601b13fa5db0bde516fa1447c0958644467c78d68ee26c84e6d72be13801a184d4364141f0303d5a947afe5249c8e678487ece1998192704e1509a
7
+ data.tar.gz: 979e65d355e1b67eb8ed1cacc7c6303d0ac2511beb815b091ea3c1ccd23dcbc33e9f3b1088b6a4f822515d3eaf66f071e9cb120dd8fa6e78deb53bf8961309df
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jekyll-include-with-frontmatter (0.1.0)
4
+ jekyll-include-with-frontmatter (0.1.1)
5
5
  jekyll
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- addressable (2.5.2)
10
+ addressable (2.6.0)
11
11
  public_suffix (>= 2.0.2, < 4.0)
12
12
  colorator (1.1.0)
13
13
  concurrent-ruby (1.1.4)
@@ -15,7 +15,7 @@ GEM
15
15
  eventmachine (>= 0.12.9)
16
16
  http_parser.rb (~> 0.6.0)
17
17
  eventmachine (1.2.7)
18
- ffi (1.9.25)
18
+ ffi (1.10.0)
19
19
  forwardable-extended (2.6.0)
20
20
  http_parser.rb (0.6.0)
21
21
  i18n (0.9.5)
@@ -55,7 +55,7 @@ GEM
55
55
  rouge (3.3.0)
56
56
  ruby_dep (1.5.0)
57
57
  safe_yaml (1.0.4)
58
- sass (3.7.2)
58
+ sass (3.7.3)
59
59
  sass-listen (~> 4.0.0)
60
60
  sass-listen (4.0.0)
61
61
  rb-fsevent (~> 0.9, >= 0.9.4)
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  lib = File.expand_path(File.join(__dir__,"lib"))
4
- puts "LIB IS #{lib}"
5
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
5
  require 'jekyll-include-with-frontmatter/version'
7
6
 
@@ -22,7 +22,7 @@ class JekyllIncludeWithFrontmatter < Jekyll::Tags::IncludeTag
22
22
 
23
23
  context.stack do
24
24
  parsed_params = @params ? parse_params(context) : nil
25
-
25
+ include_params ||= {}
26
26
  context['include'] = parsed_params ? include_params.merge(parsed_params) : include_params
27
27
  begin
28
28
  partial.render!(context)
@@ -3,5 +3,5 @@
3
3
  require 'jekyll'
4
4
  require 'jekyll/tags/include'
5
5
  class JekyllIncludeWithFrontmatter < Jekyll::Tags::IncludeTag
6
- VERSION = '0.1.0'
6
+ VERSION = '0.1.1'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-include-with-frontmatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirk Haines
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-04 00:00:00.000000000 Z
11
+ date: 2019-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -105,7 +105,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  requirements: []
108
- rubygems_version: 3.0.1
108
+ rubyforge_project:
109
+ rubygems_version: 2.7.8
109
110
  signing_key:
110
111
  specification_version: 4
111
112
  summary: Jekyll include tags that will handle files with frontmatter.