serbea 0.6.0 → 0.6.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: edd4caa76947988e564a917a9457014cfe194d53ec8b0edf1aae5479ea8b9cf4
4
- data.tar.gz: e93987c1eb193535cf47fc7dc57b412407d5ad6a832bc8ffd5966bc7bbc5c322
3
+ metadata.gz: 843083ae2fadbebd662b112d2a5c1710e3724f34857b1c6a2a54245e7abc52b9
4
+ data.tar.gz: 104fdeb290cfd5a94cfa26beed5aa31c55771c8cd23f7501e42af6ec27803de9
5
5
  SHA512:
6
- metadata.gz: e59b9abc02d1f2a272bef3adf5239fb385bde5924ad4c3a2bb2f8efe6ec11caab6cf2a4b2901fc9ea59821e119b8ea7fb9dc700a4e22773b535633284da89afe
7
- data.tar.gz: 1bddcc5a82fa3cd62ceead72600ec621e6fcad08d2e3a6c58041cca972505917c19f89b2861514599feef93f9449c0eec78b7fbb69de97135fd2aefebcc4bab8
6
+ metadata.gz: 8cfc623c9246ca644fdd64b5cfe306a66918ae250c066b7500d34e53b9ef2b2b61504cc1707831b40eb44fd3a27ab24dd3556bc9a5cb943ae4725a5269c4670a
7
+ data.tar.gz: 9fc958b5e73f32d6094d9ef811934deb7a0994b74159a7ed3b86ac73137064a2dd727015d7211051dc51901c9c9e444eaa1ea4afbee64fe9e1b526bd43d62da5
@@ -1,4 +1,5 @@
1
1
  require "serbea/rouge_lexer"
2
+ require "bridgetown-core"
2
3
 
3
4
  module Bridgetown
4
5
  class SerbeaView < RubyTemplateView
@@ -57,6 +58,8 @@ module Bridgetown
57
58
  if convertible.data[:template_engine] == "serbea" ||
58
59
  (convertible.data[:template_engine].nil? &&
59
60
  @config[:template_engine] == "serbea")
61
+ # make sure Liquid doesn't find {% %} and decide to process Serbea code!
62
+ convertible.data["render_with_liquid"] = false
60
63
  return true
61
64
  end
62
65
  end
@@ -1,3 +1,3 @@
1
1
  module Serbea
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serbea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bridgetown Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-27 00:00:00.000000000 Z
11
+ date: 2020-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erubi