social_share_privacy 0.2.7 → 0.2.8

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: 96157e535b047d98ff13d56e6a03c47d38bdef42
4
- data.tar.gz: 4c94fc270bc4a674befe84dad355c5b0d8aab810
3
+ metadata.gz: de999d2a35880625837bd4aad132f49f002a7e56
4
+ data.tar.gz: 1a21cf993f19279460904671ff90601107045463
5
5
  SHA512:
6
- metadata.gz: 20aba0c25455223b38c7216ee01301795283c0c283ae5ff4564e0504a15dc20ec6f352640b13708dbb208f29c90f63f98e579781bab526ea801deaf78cddd298
7
- data.tar.gz: 83b7df4613a1a7924bb77d4ea674b9f9f9e27ad46461946f429c9d685af73a04acb353921a2371c898078eeb3863c3ab691ef670eb57a38caeb48bdb088936e3
6
+ metadata.gz: 4966e729039c0abb836a49e1b8747052c424466d40154a4c48d608c86c61e9347313cfebee62bc8a47eb6e64fae4c4ab957c38b257fdfa3b496e8efe732096fd
7
+ data.tar.gz: 65cf5857d3628ee865d32eaad82deefa3afe8efb23e82e434074d559d93fb7ee8c6ac95d1e8396b82669f7adc7e0ae4315097b67fe5a91a94b1c07c81884bd21
@@ -1,3 +1,3 @@
1
1
  module SocialSharePrivacy
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
@@ -94,7 +94,7 @@ module SocialSharePrivacy
94
94
  @txt_off = Proc.new { I18n.t("#{loc_s}.txt_off") }
95
95
  @txt_on = Proc.new { I18n.t("#{loc_s}.txt_on") }
96
96
  @display_name = Proc.new { I18n.t("#{loc_s}.display_name") }
97
- @dummy_button = Proc.new { asset_path('social_share_privacy/dummy_' + self.class.name.downcase + '.png')}
97
+ @dummy_button = Proc.new { helper.asset_path('social_share_privacy/dummy_' + self.class.name.downcase + '.png')}
98
98
  end
99
99
 
100
100
  def enabled= value
@@ -119,7 +119,7 @@ module SocialSharePrivacy
119
119
 
120
120
  def eval request
121
121
  result = super request
122
- result.dummy_button = ActionView::Helpers::AssetTagHelper.image_path('social_share_privacy/dummy_facebook_de.png') if result.language == 'de'
122
+ result.dummy_button = helper.asset_path('social_share_privacy/dummy_facebook_de.png') if result.language == 'de'
123
123
  result
124
124
  end
125
125
 
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.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joakim Reinert