sibu 0.1.17 → 0.1.18

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: 10981cb214e2ab904bd23d643a9c86174dd1e1b5
4
- data.tar.gz: 0b93791e67459e9f6adae5bffaa3c40d242739be
3
+ metadata.gz: 8d599d650b7bb11ebb5748f2e95b93c49acd7c2f
4
+ data.tar.gz: c03def08f3bad211f16895c29dafa87c55410b80
5
5
  SHA512:
6
- metadata.gz: 5ffc08c26fcc86c0c148eb10baf897ab72020c2cfcafd99da5976bfbf356e1c5f24ac4e02ce10851fb9900d3d71497086f65730a537665296fc1ccc75f01c6e0
7
- data.tar.gz: 0b8b350b7fd7e7b8bb2c6f7c01b10e6705cd7d4bcf40994240762beaea1ab590d7fc42de0d30c4654d1e2dee3ed68cbd329559c8f92235515e15578f314cca6c
6
+ metadata.gz: b0837b720e063f73e254f0e7b9fc419498cc6df7a302775e94baf064331e244505bf8634b015eb37066005afbb934f1bea1e35fe15bc5f7582de38015b584a5a
7
+ data.tar.gz: 6349a3ac00b9f4439a15936f56a23edcd53c6cdba656f0f91b4f284f3622b2ef2ba0b8603c155ebe22f328c51e5b8324acbfd5a9f5ca8a047a84c7abf0359a4d
@@ -98,7 +98,7 @@ module Sibu
98
98
  if val.to_s.include?('http')
99
99
  href = val
100
100
  else
101
- href = @links.keys.include?(val) ? (action_name == 'show' ? link_path(val) : site_page_edit_content_path(@site.id, val)) : '#'
101
+ href = @links.keys.include?(val.to_s) ? (action_name == 'show' ? link_path(val) : site_page_edit_content_path(@site.id, val)) : '#'
102
102
  end
103
103
  if block_given?
104
104
  content_tag(:a, {href: href}.merge(html_opts), &block)
data/lib/sibu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sibu
2
- VERSION = '0.1.17'
2
+ VERSION = '0.1.18'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sibu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Baptiste Vilain