social-share-button 0.3.2 → 0.3.4

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: 2429224487cb009c6fbfbe08f43d019c4f343e1b
4
- data.tar.gz: 0d3c7eedd06a2be0717230c11b376498643c2f01
3
+ metadata.gz: e4a73ecd78f570701cb8c5b1d7cab0cedbfb480b
4
+ data.tar.gz: ccfa65d6a18b7ba6253680bcee743bbc4711ac51
5
5
  SHA512:
6
- metadata.gz: f8bd57dd2423263d99ad3e9d2e86e49c85f62b211643dc23f370068b80a2bf6764c6129d0af432de1982006161fa66a3e18b12caed9ab9c2efa3d5aa01ab44c6
7
- data.tar.gz: fe66be9dee91b4612a55a7389ff3bec7affddecb5abc8f6e957502cf2292ea60728d6af76e2414dba15d3c8c949f7f89ff5fa900f995139195685b8f7b16283c
6
+ metadata.gz: 2b2f7c0206b50b41fb1e947ff0a5788a1c056f761a06329c86a6a1915e48f563360cb881a8b3cfb859619224e02031c471eb4df751807259e8e63012212cc447
7
+ data.tar.gz: 0b59e6fa9e9db70fa7a038f821b0c05ce499ed5cd64ab121dc42bd45cf97a649f756521450ea6d56d5a9bac91f61eb5aeba7460b5839654f54fc635cd37d532c
@@ -42,7 +42,7 @@ window.SocialShareButton =
42
42
  when "pinterest"
43
43
  SocialShareButton.openUrl("http://www.pinterest.com/pin/create/button/?url=#{url}&media=#{img}&description=#{title}")
44
44
  when "linkedin"
45
- SocialShareButton.openUrl("https://www.linkedin.com/shareArticle?url=#{url}&title=#{title}")
45
+ SocialShareButton.openUrl("https://www.linkedin.com/shareArticle?mini=true&url=#{url}&title=#{title}&summary=#{desc}")
46
46
  when "vkontakte"
47
47
  SocialShareButton.openUrl("http://vk.com/share.php?url=#{url}&title=#{title}&image=#{img}")
48
48
  when "weixin"
@@ -0,0 +1,17 @@
1
+ fr:
2
+ social_share_button:
3
+ share_to: Partager sur %{name}
4
+ weibo: Sina Weibo
5
+ twitter: Twitter
6
+ facebook: Facebook
7
+ douban: Douban
8
+ qq: Qzone
9
+ delicious: Delicious
10
+ google_plus: Google+
11
+ google_bookmark: Google Bookmark
12
+ tumblr: Tumblr
13
+ pinterest: Pinterest
14
+ email: Email
15
+ linkedin: Linkedin
16
+ weichat: Weichat
17
+ vkontakte: Vkontakte
@@ -1,3 +1,3 @@
1
1
  module SocialShareButton
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social-share-button
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-04 00:00:00.000000000 Z
11
+ date: 2016-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -81,6 +81,7 @@ files:
81
81
  - lib/generators/social_share_button/install_generator.rb
82
82
  - lib/generators/social_share_button/templates/config/initializers/social_share_button.rb
83
83
  - lib/generators/social_share_button/templates/config/locales/social_share_button.en.yml
84
+ - lib/generators/social_share_button/templates/config/locales/social_share_button.fr.yml
84
85
  - lib/generators/social_share_button/templates/config/locales/social_share_button.zh-CN.yml
85
86
  - lib/generators/social_share_button/templates/config/locales/social_share_button.zh-TW.yml
86
87
  - lib/social-share-button.rb