deface 1.6.1 → 1.6.2

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: daecd3a574f7304deed3ee3c1e7220370c726ac9d1aee680f820d54a4beedbd0
4
- data.tar.gz: e4eda2166b27a4886f747193f5316d56058f1eaab952002b458aaccacbf38d9f
3
+ metadata.gz: d70515c1f6f72cef4d6b7d34d936e5fac929ddda6a896cbd9c0c30dddff8c19e
4
+ data.tar.gz: e6950eb7f793b4111513744ddb48d7ad7a83a918a1f9b8850619b41c7864f515
5
5
  SHA512:
6
- metadata.gz: 661f454c8fdbe8c561871c230660c95aca15b89bb4d3c637d26ceb0c2083651e344fdbdc700f961a14acb89983210e31c11cc2778c5e0d04204bc308f12b6172
7
- data.tar.gz: 2fdb9410cc0c0cacd58e9721061898214687fd624d88b9e7a8cd38554fde9a60d07b253f57958713c7f8b377b7a955195e744c49df4578e4863b414ea124b6a1
6
+ metadata.gz: fd12b650a9104d57bc0b17c7a88324ff77008516e0fa789724f0622f59b26160050ac1eafa9dc42c73b51a93942ccb9c45902761e629f525fd32685a62afbdc9
7
+ data.tar.gz: 4924e7dfd0a97adf3acebe4f4f15c5d3146e64aea5f75b9d64c0ac5746f9320678988d23af84b196ef30a2e8f1e4f1e8e37d546a5bad676fb12c6fecfc63e596
data/.gitignore CHANGED
@@ -7,3 +7,4 @@ coverage/
7
7
  gemfiles/*.lock
8
8
  /.idea
9
9
  /sandbox
10
+ *.gem
data/deface.gemspec CHANGED
@@ -36,6 +36,7 @@ Gem::Specification.new do |spec|
36
36
 
37
37
  spec.add_development_dependency('appraisal')
38
38
  spec.add_development_dependency('erubis')
39
+ spec.add_development_dependency('gem-release')
39
40
  spec.add_development_dependency('rspec', '>= 3.1.0')
40
41
  spec.add_development_dependency('haml', ['>= 4.0', '< 6'])
41
42
  spec.add_development_dependency('slim', '~> 3.0')
@@ -41,7 +41,7 @@ module Deface::ActionViewExtensions
41
41
 
42
42
  if @compiled && !mod.instance_methods.include?(method_name.to_sym)
43
43
  @compiled = false
44
- @source = refresh(view).source
44
+ @source = refresh(view).source if respond_to?(:refresh)
45
45
  end
46
46
  buffer.nil? ? super(view, locals, buffer, &block) : super(view, locals, **buffer, &block)
47
47
  end
@@ -1,5 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deface
4
- VERSION = "1.6.1"
4
+ VERSION = '1.6.2'
5
+
6
+ def gem_version
7
+ Gem::Version.new(VERSION)
8
+ end
5
9
  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.1
4
+ version: 1.6.2
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-19 00:00:00.000000000 Z
11
+ date: 2021-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: gem-release
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rspec
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -326,7 +340,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
326
340
  - !ruby/object:Gem::Version
327
341
  version: '0'
328
342
  requirements: []
329
- rubygems_version: 3.1.4
343
+ rubygems_version: 3.2.3
330
344
  signing_key:
331
345
  specification_version: 4
332
346
  summary: Deface is a library that allows you to customize ERB, Haml and Slim views