wiselinks 0.5.0 → 0.5.1

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
@@ -7,7 +7,9 @@ module Wiselinks
7
7
 
8
8
  protected
9
9
 
10
- def render_with_wiselinks(options = {}, *args, &block)
10
+ def render_with_wiselinks(*args)
11
+ options = _normalize_render(*args)
12
+
11
13
  if self.request.wiselinks?
12
14
  self.headers['Cache-Control'] = 'no-cache, no-store, max-age=0, must-revalidate'
13
15
  self.headers['Pragma'] = 'no-cache'
@@ -29,7 +31,7 @@ module Wiselinks
29
31
  end
30
32
  end
31
33
 
32
- self.render_without_wiselinks(options, args, &block)
34
+ self.render_without_wiselinks(options)
33
35
  end
34
36
  end
35
37
  end
data/wiselinks.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "wiselinks"
8
- s.version = "0.5.0"
8
+ s.version = "0.5.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Igor Alexandrov", "Alexey Solilin", "Julia Egorova"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wiselinks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -187,7 +187,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
187
187
  version: '0'
188
188
  segments:
189
189
  - 0
190
- hash: -4377294623170466604
190
+ hash: -421497926167596456
191
191
  required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  none: false
193
193
  requirements: