hamloft 0.2.6 → 0.2.7

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: c9bf5e180750e607a3982f21df5dc85092979749
4
- data.tar.gz: 711be685f55a1f6ef41d8d1d50467e374be935b9
3
+ metadata.gz: 113c06e824ad187b4ff9ff2fa781d18bac54f295
4
+ data.tar.gz: 017326d8fb0800435c70542c8994241634c607f4
5
5
  SHA512:
6
- metadata.gz: 31bbae68f34edc56f96476837d162c0024a32ed5c330d219dcc4dde261589f375c6667ee1186b0da2b5716555f4d9b056f3e515dfa4ef3cc364e81b668b293eb
7
- data.tar.gz: a49ad1ee4d5510abe3c5457b775935ea083569a744f1a66a10f3505549d0b92e97ee63e2ef4c1675c213097a803d03ff2ce07968effe4b6170a5d3b28a30d940
6
+ metadata.gz: f379f89815e31ec317928f7a2dfec30809206fba71caac6f30ed5bdf8bdc2c9b95ebca5e7e622de103526a97994465beb6fa6e5e06e33f02f2d542449a897bdf
7
+ data.tar.gz: 063e1da499ad39faf8f8840483ab2651816942fcdfdd6102885efef39b6052d26ac2c4c7161a95c48043410e547c26962553f2b99aa09420ef3318943b85a842
@@ -41,10 +41,7 @@ module Hamloft
41
41
  end
42
42
  end
43
43
 
44
- def link(href, referrer = 'Baker', &block)
45
- if referrer && !referrer.empty? && !href.include?('referrer=')
46
- href = "#{href}#{href.include?('?') ? '&' : '?'}referrer=#{referrer}"
47
- end
44
+ def link(href, &block)
48
45
  haml_tag :a, href: href do
49
46
  yield if block
50
47
  end
@@ -1,3 +1,3 @@
1
1
  module Hamloft
2
- VERSION = '0.2.6'.freeze
2
+ VERSION = '0.2.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hamloft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Strebitzer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-07 00:00:00.000000000 Z
11
+ date: 2018-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml