Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Google+ #192

Merged
merged 1 commit into from
Jul 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ This is a gem to helper you quick create a share feature in you Rails apps.
* Facebook
* Twitter
* Douban
* Google+
* Weibo
* QZone
* Google Bookmark
Expand Down
10 changes: 0 additions & 10 deletions app/assets/images/social-share-button/google_plus.svg

This file was deleted.

2 changes: 0 additions & 2 deletions app/assets/javascripts/social-share-button.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ window.SocialShareButton =
SocialShareButton.openUrl("http://www.facebook.com/sharer/sharer.php?u=#{url}", 555, 400)
when "qq"
SocialShareButton.openUrl("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=#{url}&title=#{title}&pics=#{img}&summary=#{desc}&site=#{appkey}")
when "google_plus"
SocialShareButton.openUrl("https://plus.google.com/share?url=#{url}")
when "google_bookmark"
SocialShareButton.openUrl("https://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=#{url}&title=#{title}")
when "delicious"
Expand Down
4 changes: 0 additions & 4 deletions app/assets/stylesheets/social-share-button.css.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
background-image: url(<%= asset_path('social-share-button/google_bookmark.svg') %>);
}

.social-share-button .ssb-google_plus {
background-image: url(<%= asset_path('social-share-button/google_plus.svg') %>);
}

.social-share-button .ssb-weibo {
background-image: url(<%= asset_path('social-share-button/weibo.svg') %>);
}
Expand Down
1 change: 0 additions & 1 deletion config/locales/social_share_button.de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ de:
douban: Douban
qq: Qzone
delicious: Delicious
google_plus: Google+
google_bookmark: Google Bookmark
tumblr: Tumblr
pinterest: Pinterest
Expand Down
1 change: 0 additions & 1 deletion config/locales/social_share_button.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ en:
douban: Douban
qq: Qzone
delicious: Delicious
google_plus: Google+
google_bookmark: Google Bookmark
tumblr: Tumblr
pinterest: Pinterest
Expand Down
1 change: 0 additions & 1 deletion config/locales/social_share_button.es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ es:
douban: Douban
qq: Qzone
delicious: Delicious
google_plus: Google+
google_bookmark: Google Bookmark
tumblr: Tumblr
pinterest: Pinterest
Expand Down
1 change: 0 additions & 1 deletion config/locales/social_share_button.fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ fr:
douban: Douban
qq: Qzone
delicious: Delicious
google_plus: Google+
google_bookmark: Google Bookmark
tumblr: Tumblr
pinterest: Pinterest
Expand Down
1 change: 0 additions & 1 deletion config/locales/social_share_button.ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ja:
douban: Douban
qq: Qzone
delicious: Delicious
google_plus: Google+
google_bookmark: Google Bookmark
tumblr: Tumblr
pinterest: Pinterest
Expand Down
1 change: 0 additions & 1 deletion config/locales/social_share_button.pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
douban: Douban
qq: Qzone
delicious: Delicious
google_plus: Google+
google_bookmark: Google Bookmark
tumblr: Tumblr
pinterest: Pinterest
Expand Down
1 change: 0 additions & 1 deletion config/locales/social_share_button.ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ru:
douban: Douban
qq: Qzone
delicious: Delicious
google_plus: Google+
google_bookmark: Google Bookmark
tumblr: Tumblr
pinterest: Pinterest
Expand Down
1 change: 0 additions & 1 deletion config/locales/social_share_button.uk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ uk:
douban: Douban
qq: Qzone
delicious: Delicious
google_plus: Google+
google_bookmark: Google Bookmark
tumblr: Tumblr
pinterest: Pinterest
Expand Down
1 change: 0 additions & 1 deletion config/locales/social_share_button.zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
douban: 豆瓣
qq: QQ 空间
delicious: Delicious
google_plus: Google+
google_bookmark: Google 收藏
tumblr: Tumblr
pinterest: Pinterest
Expand Down
1 change: 0 additions & 1 deletion config/locales/social_share_button.zh-TW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
douban: 豆瓣
qq: QQ 空間
delicious: Delicious
google_plus: Google+
google_bookmark: Google 收藏
tumblr: Tumblr
pinterest: Pinterest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SocialShareButton.configure do |config|
config.allow_sites = %w(twitter facebook google_plus weibo qq douban google_bookmark
config.allow_sites = %w(twitter facebook weibo qq douban google_bookmark
delicious tumblr pinterest email linkedin wechat vkontakte
xing reddit hacker_news telegram odnoklassniki whatsapp_app whatsapp_web)
end
1 change: 0 additions & 1 deletion lib/social_share_button/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class Config
# * site support:
# - twitter
# - facebook
# - google_plus
# - weibo
# - qq
# - douban
Expand Down