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.
- data/Changelogs.md +9 -0
- data/Gemfile +2 -1
- data/README.md +1 -0
- data/lib/assets/images/sprites/social-share-button.png +0 -0
- data/lib/assets/images/sprites/social-share-button/{google.png → google_bookmark.png} +0 -0
- data/lib/assets/images/sprites/social-share-button/google_plus.png +0 -0
- data/lib/assets/javascripts/social-share-button.coffee +2 -0
- data/lib/assets/stylesheets/social-share-button.scss +2 -2
- data/lib/generators/social_share_button/templates/config/initializers/social_share_button.rb +1 -1
- data/lib/generators/social_share_button/templates/config/locales/social_share_button.en.yml +1 -0
- data/lib/generators/social_share_button/templates/config/locales/social_share_button.zh-CN.yml +1 -0
- data/lib/generators/social_share_button/templates/config/locales/social_share_button.zh-TW.yml +1 -0
- data/lib/social_share_button/version.rb +1 -1
- data/psd/icon_templet.psd +0 -0
- metadata +9 -5
- data/lib/assets/images/.DS_Store +0 -0
data/Changelogs.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
Binary file
|
File without changes
|
Binary file
|
@@ -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/
|
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-
|
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 }
|
data/psd/icon_templet.psd
CHANGED
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.
|
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-
|
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/
|
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:
|
data/lib/assets/images/.DS_Store
DELETED
Binary file
|