quintype-liquid 0.1.5 → 0.1.6

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: f9dc51862140d4bdffaf91ce3851e588b000eab3
4
- data.tar.gz: 87592a5280a1fbebb546999710c8f6b9a25b6980
3
+ metadata.gz: 39204e989d46058679f2caf14485eaf16c6ec767
4
+ data.tar.gz: ade6aaef543eb77b58380e3580ef99fb180b10c1
5
5
  SHA512:
6
- metadata.gz: 7dbeccf50c78d2b7af979696e755904d0f7eb49fe672eff1898f8e18ffcfa3a71f7e9685c655c2d29c76a67ae09eb70e5dfa84af3717a584e390b7fcfe8e6552
7
- data.tar.gz: 6e12889b0da66f4ea18bb2ea61821f657dde095c4fd774208debeed5001af1235dee37c3b100f52e85be867d6c7edf2b5f3812aa00d485c284b4f90ef45b4caf
6
+ metadata.gz: d0e164a7de419bb48809198e2e2389d45fbd3407461451be34147844ff35ffe1d3b4dde65a8c1869518c9677eb5d289825731b2097d4e1daa5acc1d7dc14fa63
7
+ data.tar.gz: 17cfc5f16b18f1020ca790e25a591e681cc99f6aaa55fe7b4511f1c3ce2345a8b5b24aecaf4aee6278d02485045a1bfa696f3d770d3f8d2a1c32e17ff8fe8a69
@@ -17,8 +17,7 @@ module Quintype::Liquid
17
17
  assigns.merge!(local_assigns.stringify_keys)
18
18
 
19
19
  liquid = LiquidTemplateCachingModule::CACHED_TEMPLATES[template]
20
- render_method = (::Rails.env.development? || ::Rails.env.test?) ? :render! : :render
21
- liquid.send(render_method, assigns, filters: filters, registers: { view: @view, controller: @controller, helper: @helper }).html_safe
20
+ liquid.send(:render!, assigns, filters: filters, registers: { view: @view, controller: @controller, helper: @helper }).html_safe
22
21
  end
23
22
  end
24
23
  end
@@ -1,5 +1,5 @@
1
1
  module Quintype
2
2
  module Liquid
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quintype-liquid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tejas Dinkar