deface 1.6.0 → 1.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: e130d9b889669220392d0fa6fe04ba7cd39604bf8b12edff68308b89d6f3f5f6
4
- data.tar.gz: 997c7d4cc5d95a5a5168e70c9da588a9c56b7b67a404b0e4ffaf0410a06426b6
3
+ metadata.gz: daecd3a574f7304deed3ee3c1e7220370c726ac9d1aee680f820d54a4beedbd0
4
+ data.tar.gz: e4eda2166b27a4886f747193f5316d56058f1eaab952002b458aaccacbf38d9f
5
5
  SHA512:
6
- metadata.gz: 800d393fb3a99206dd0b7922e094458b806e114ab244c8229d37a392affa0faec9455caa85fdba554ece13c95c70064fc663a1644c41cb1b48d693aa35293a56
7
- data.tar.gz: 713aaca8fa816ba00f9d66ac8b39596b4818099aff3aa533aa2301d56f1ccd6a15b650477b5621ca669a45b6c949b8f1699fbad4b1a7f339bc7e9ae32f460a8d
6
+ metadata.gz: 661f454c8fdbe8c561871c230660c95aca15b89bb4d3c637d26ceb0c2083651e344fdbdc700f961a14acb89983210e31c11cc2778c5e0d04204bc308f12b6172
7
+ data.tar.gz: 2fdb9410cc0c0cacd58e9721061898214687fd624d88b9e7a8cd38554fde9a60d07b253f57958713c7f8b377b7a955195e744c49df4578e4863b414ea124b6a1
@@ -43,7 +43,7 @@ module Deface::ActionViewExtensions
43
43
  @compiled = false
44
44
  @source = refresh(view).source
45
45
  end
46
- super(view, locals, buffer, &block)
46
+ buffer.nil? ? super(view, locals, buffer, &block) : super(view, locals, **buffer, &block)
47
47
  end
48
48
 
49
49
  # inject deface hash into compiled view method name
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deface
4
- VERSION = "1.6.0"
4
+ VERSION = "1.6.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deface
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian D Quinn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-16 00:00:00.000000000 Z
11
+ date: 2021-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -326,7 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
326
326
  - !ruby/object:Gem::Version
327
327
  version: '0'
328
328
  requirements: []
329
- rubygems_version: 3.2.3
329
+ rubygems_version: 3.1.4
330
330
  signing_key:
331
331
  specification_version: 4
332
332
  summary: Deface is a library that allows you to customize ERB, Haml and Slim views