social-share-button 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,12 @@
1
+ == 0.0.8
2
+
3
+ * Add Google Bookmark;
4
+ * Improve Google+ icon.
5
+
6
+ == 0.0.7
7
+
8
+ * Douban, TQQ add image support.
9
+
1
10
  == 0.0.6
2
11
 
3
12
  * Transparent icon fix
data/Gemfile CHANGED
@@ -3,4 +3,5 @@ source "http://rubygems.org"
3
3
  # Specify your gem's dependencies in social-share.gemspec
4
4
  gemspec
5
5
 
6
- gem "sprite-factory", "1.4.1"
6
+ gem "sprite-factory", "1.4.1"
7
+ gem "chunky_png"
data/README.md CHANGED
@@ -14,6 +14,7 @@ This is a gem to helper you quick create a share feature in you Rails apps.
14
14
  * Renren
15
15
  * Hi Baidu
16
16
  * Kaixin001
17
+ * Google Bookmark
17
18
 
18
19
  ## Screenshot
19
20
 
@@ -29,4 +29,6 @@ window.SocialShareButton =
29
29
  SocialShareButton.openUrl("http://widget.renren.com/dialog/share?resourceUrl=#{url}&title=#{title}&description=")
30
30
  when "google_plus"
31
31
  SocialShareButton.openUrl("https://plus.google.com/share?url=#{url}&t=#{title}")
32
+ when "google_bookmark"
33
+ SocialShareButton.openUrl("https://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=#{url}&title=#{title}")
32
34
  false
@@ -8,7 +8,7 @@
8
8
  lib/assets/images/sprites/social-share-button/email.png (16x16)
9
9
  lib/assets/images/sprites/social-share-button/facebook.png (16x16)
10
10
  lib/assets/images/sprites/social-share-button/flickr.png (16x16)
11
- lib/assets/images/sprites/social-share-button/google.png (16x16)
11
+ lib/assets/images/sprites/social-share-button/google_bookmark.png (16x16)
12
12
  lib/assets/images/sprites/social-share-button/google_plus.png (16x16)
13
13
  lib/assets/images/sprites/social-share-button/kaixin001.png (16x16)
14
14
  lib/assets/images/sprites/social-share-button/qq.png (16x16)
@@ -32,7 +32,7 @@
32
32
  .social-share-button-email { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button.png')) -16px -16px no-repeat }
33
33
  .social-share-button-facebook { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button.png')) -32px 0px no-repeat }
34
34
  .social-share-button-flickr { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button.png')) -32px -16px no-repeat }
35
- .social-share-button-google { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button.png')) 0px -32px no-repeat }
35
+ .social-share-button-google_bookmark { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button.png')) 0px -32px no-repeat }
36
36
  .social-share-button-google_plus { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button.png')) -16px -32px no-repeat }
37
37
  .social-share-button-kaixin001 { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button.png')) -32px -32px no-repeat }
38
38
  .social-share-button-qq { display:inline-block; width: 16px; height: 16px; background: url(image-path('sprites/social-share-button.png')) -48px 0px no-repeat }
@@ -1,3 +1,3 @@
1
1
  SocialShareButton.configure do |config|
2
- config.allow_sites = %w(twitter facebook google_plus weibo douban tqq renren qq kaixin001 baidu)
2
+ config.allow_sites = %w(twitter facebook google_plus weibo douban tqq renren qq kaixin001 baidu google_bookmark)
3
3
  end
@@ -12,3 +12,4 @@ en:
12
12
  kaixin001: Kaixin001.com
13
13
  renren: Renren.com
14
14
  google_plus: Google+
15
+ google_bookmark: Google Bookmark
@@ -12,3 +12,4 @@
12
12
  kaixin001: 开心网
13
13
  renren: 人人网
14
14
  google_plus: Google+
15
+ google_bookmark: Google 收藏
@@ -12,3 +12,4 @@
12
12
  kaixin001: 開心網
13
13
  renren: 人人網
14
14
  google_plus: Google+
15
+ google_bookmark: Google 收藏
@@ -1,3 +1,3 @@
1
1
  module SocialShareButton
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social-share-button
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-07 00:00:00.000000000 Z
12
+ date: 2012-08-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -41,7 +41,6 @@ files:
41
41
  - Gemfile
42
42
  - README.md
43
43
  - Rakefile
44
- - lib/assets/images/.DS_Store
45
44
  - lib/assets/images/sprites/.DS_Store
46
45
  - lib/assets/images/sprites/social-share-button.png
47
46
  - lib/assets/images/sprites/social-share-button/.DS_Store
@@ -51,7 +50,7 @@ files:
51
50
  - lib/assets/images/sprites/social-share-button/email.png
52
51
  - lib/assets/images/sprites/social-share-button/facebook.png
53
52
  - lib/assets/images/sprites/social-share-button/flickr.png
54
- - lib/assets/images/sprites/social-share-button/google.png
53
+ - lib/assets/images/sprites/social-share-button/google_bookmark.png
55
54
  - lib/assets/images/sprites/social-share-button/google_plus.png
56
55
  - lib/assets/images/sprites/social-share-button/kaixin001.png
57
56
  - lib/assets/images/sprites/social-share-button/qq.png
@@ -87,12 +86,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
86
  - - ! '>='
88
87
  - !ruby/object:Gem::Version
89
88
  version: '0'
89
+ segments:
90
+ - 0
91
+ hash: -1453195967359969640
90
92
  required_rubygems_version: !ruby/object:Gem::Requirement
91
93
  none: false
92
94
  requirements:
93
95
  - - ! '>='
94
96
  - !ruby/object:Gem::Version
95
97
  version: '0'
98
+ segments:
99
+ - 0
100
+ hash: -1453195967359969640
96
101
  requirements: []
97
102
  rubyforge_project:
98
103
  rubygems_version: 1.8.24
@@ -101,4 +106,3 @@ specification_version: 3
101
106
  summary: Helper for add social share feature in your Rails app. Twitter, Facebook,
102
107
  Weibo, Douban, QQ ...
103
108
  test_files: []
104
- has_rdoc:
Binary file