social_share_privacy 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/social_share_privacy.rb +3 -1
- data/lib/social_share_privacy/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: 144aa2ca473321cd92f4f6ca767ed127e314c353
|
4
|
+
data.tar.gz: 17ad910c083fa8e8f44bd31eab179298a635271d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e260fde2d75d8ae9bc88080d6d9933064fc3578fb583a52d3e699085f3b309df2911ce2b9bb1c8da7609ce7241002bf6c5a0dd56413ee53cd60e053eb9730bbf
|
7
|
+
data.tar.gz: cd88737dd3430e549461f35af55d52887cafb4d3ac2e694dc162ef1341c01a99e37c53e83e68cb654328cb9054ca7d6789dc2dd5d447bed871fac612a7fea3ad
|
data/lib/social_share_privacy.rb
CHANGED
@@ -21,6 +21,8 @@ module SocialSharePrivacy
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
|
+
extend ActionView::Helpers::AssetTagHelper
|
25
|
+
|
24
26
|
%w{ models controllers helpers }.each do |dir|
|
25
27
|
path = File.join(File.dirname(__FILE__), 'app', dir)
|
26
28
|
$LOAD_PATH << path
|
@@ -92,7 +94,7 @@ module SocialSharePrivacy
|
|
92
94
|
@txt_off = Proc.new { I18n.t("#{loc_s}.txt_off") }
|
93
95
|
@txt_on = Proc.new { I18n.t("#{loc_s}.txt_on") }
|
94
96
|
@display_name = Proc.new { I18n.t("#{loc_s}.display_name") }
|
95
|
-
@dummy_button = Proc.new {
|
97
|
+
@dummy_button = Proc.new { path_to_image('social_share_privacy/dummy_' + self.class.name.downcase + '.png')}
|
96
98
|
end
|
97
99
|
|
98
100
|
def enabled= value
|