cyborg 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cyborg/helpers/asset_helpers.rb +4 -2
- data/lib/cyborg/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fab1d30be9ab99ceb8984d7546422d875464dc9
|
4
|
+
data.tar.gz: 1231848ccee2b3475c70d50cc96fb1b34aba60ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34211c67e257f97026f6f880c5e56e195f4b8e33915bf15e74b89e2cd0b207f5034dd68f355e39410b8f66c4dcea6a546fc5690827b29343da980d88d65440c7
|
7
|
+
data.tar.gz: 576cb45453ee2659b15d2a6247e716521c1ec9bcf1af4a46fb5af9feb2409d9e8a8496e7cff6007e4e9325b626480153427519e0137147162622d658549bc836
|
@@ -47,11 +47,13 @@ module Cyborg
|
|
47
47
|
%Q{<link rel="mask-icon" mask href="#{cyborg_asset_url(path)}" color="#{color}">}.html_safe
|
48
48
|
end
|
49
49
|
|
50
|
-
def favicon_tag(
|
50
|
+
def favicon_tag(*args)
|
51
|
+
options = args.last.is_a?(Hash) ? args.pop : {}
|
52
|
+
source = args.first || 'favicon.ico'
|
51
53
|
tag('link', {
|
52
54
|
:rel => 'shortcut icon',
|
53
55
|
:type => 'image/x-icon',
|
54
|
-
:href =>
|
56
|
+
:href => "/images/assets/#{Cyborg.plugin.name}/#{source}"
|
55
57
|
}.merge!(options.symbolize_keys))
|
56
58
|
end
|
57
59
|
end
|
data/lib/cyborg/version.rb
CHANGED