octopress-tag-helpers 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 553a164ab99dcdd8908e62a87aff0950aa099333
4
- data.tar.gz: 3471d514d914a148cb0dbb0b2888a1cafa771218
3
+ metadata.gz: 277f7c4e52e523ee794dceef42519d445105c47e
4
+ data.tar.gz: 9a3320eb010c84bf46fa47fc8c77daeccaaede8f
5
5
  SHA512:
6
- metadata.gz: a36ce70cea5900625d2b8d8166ab820ec82d21bdf53184d722bb38792929d74c2dbd5a7295a6587589dfe92664405fc59a7d1a17d6216947391a546704e891a7
7
- data.tar.gz: 83dba58db24dabd47b5839edfa56fd135f4a6788a4b14e98104d8e5bb5f703501a71c6d18616ab3c258f80d92792e49ee67edb32b4b316578310bbd55e243779
6
+ metadata.gz: 4ae2f92eb5b3b899007c30c543a2d44cc7c31aea1c5ceaf7bc13cb8b76734728b3a748a1ef663862ab7995896cb0843efc61a346c7ef7a497e2b6346462ded72
7
+ data.tar.gz: 87f55c086b8d1ae33de67254fb1ecfd4f91518a3c5b594a9ab62c6d06a197c272a73372f6ebcaa37582d3ede15c7cf0957736ddc67bd30ff5bb7abbfe4153868
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.9 - 2018-06-28
4
+ - Fix: Fix buggy interaction with Jekyll's `where_exp` filter by rendering var and filter in context.
5
+
3
6
  ## 1.0.8 - 2015-05-21
4
7
  - Fix: Previous regex was a bit too relaxed. It matched `||` when it should only match a single `|`.
5
8
 
@@ -41,7 +41,7 @@ module Octopress
41
41
  var = vars.first
42
42
 
43
43
  if filters
44
- Liquid::Variable.new(var << filters).render(context)
44
+ Liquid::Template.parse("{{ " +var << filters + " }}").render(context)
45
45
  else
46
46
  context[var]
47
47
  end
@@ -1,5 +1,5 @@
1
1
  module Octopress
2
2
  module TagHelpers
3
- VERSION = "1.0.8"
3
+ VERSION = "1.0.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopress-tag-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
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-05-21 00:00:00.000000000 Z
11
+ date: 2018-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.4.6
110
+ rubygems_version: 2.6.11
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: Making it easier to build smart Jekyll/Octopress Liquid tags.