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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e8c83461f203c504cb61978b1a7c504d8eec8b54
4
- data.tar.gz: 054635938a8122236d227dc66c12b79591f22cee
3
+ metadata.gz: 144aa2ca473321cd92f4f6ca767ed127e314c353
4
+ data.tar.gz: 17ad910c083fa8e8f44bd31eab179298a635271d
5
5
  SHA512:
6
- metadata.gz: 85f87fce82be14c32cb74b29d432da569bcf4411264d0b240326915ceb92d8632ed1ddb8d66dbdc8cc3668633966fcca14d49fb331da659bd3ced2fad58cc039
7
- data.tar.gz: 497b91819e0e9a78f54f622a3af4c35a41d2917b781b4f8942afd3546e71792581d18f6c4a3cb497b87f3b3e4aff8519584b77481e2300fc98ea75aac650a18f
6
+ metadata.gz: e260fde2d75d8ae9bc88080d6d9933064fc3578fb583a52d3e699085f3b309df2911ce2b9bb1c8da7609ce7241002bf6c5a0dd56413ee53cd60e053eb9730bbf
7
+ data.tar.gz: cd88737dd3430e549461f35af55d52887cafb4d3ac2e694dc162ef1341c01a99e37c53e83e68cb654328cb9054ca7d6789dc2dd5d447bed871fac612a7fea3ad
@@ -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 { ActionView::Helpers::AssetTagHelper.path_to_image('social_share_privacy/dummy_' + self.class.name.downcase + '.png')}
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
@@ -1,3 +1,3 @@
1
1
  module SocialSharePrivacy
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_share_privacy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joakim Reinert