social-share-button 0.8.7 → 0.8.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: ec1524f5b92d43f4c5e66becd0b7cdcadb38dac9
4
- data.tar.gz: 28abb92401da201245e4a8460f1d6483dae8eeab
3
+ metadata.gz: 7107dd6ba8841e4f8df7d31a66907ef6061264f7
4
+ data.tar.gz: 63db623af48bf7907cb892025d1426d000d52a5e
5
5
  SHA512:
6
- metadata.gz: 5500d08df88df022fc6aa98af08a82de17d0a389e0b18ed61184f64fb020e8be19f4c16fdda0634fa48eac1f969d07023b2aaa0c89979b0664ea8abc10248e55
7
- data.tar.gz: 8ed78eb0328c34950e792b504b4416a3b1fe30392f80d98f39a4d13dc102371337d326ac3c9b61360cb59600c8c8ac79eeb879c6834caeec88c78d56f3bab54a
6
+ metadata.gz: fec17cbcecbeebb007c3b947a1cfe16de2d79a4d14c72028d8f1e39dc667fc03ef64c5065470b2e3a5148e8661fd62301dbb1f4a739fabc1029c32189b15cb1f
7
+ data.tar.gz: 3a3748d638757ef7230de8268c473dcda3ee86ff8ed075dc5b6538997c528164159629c83719a297c08ecd2404b569f54954a37eba09c8f459a4d28873ad15f8
@@ -1,138 +1,175 @@
1
- == 0.8.7
1
+ 0.8.8
2
+ -----
3
+
4
+ * Remove sass-rails dependency. (#115)
5
+
6
+ 0.8.7
7
+ -----
2
8
 
3
9
  * Fix Facebook share title & description (#61)
4
10
 
5
- == 0.8.6
11
+ 0.8.6
12
+ -----
6
13
 
7
14
  * Allow hashtags param for Twitter (#110)
8
15
  * Fix Facebook Share (#108)
9
16
 
10
- == 0.8.5
17
+ 0.8.5
18
+ -----
11
19
 
12
20
  * Fix Wechat URL has escaped bug.
13
21
 
14
- == 0.8.4
22
+ 0.8.4
23
+ -----
15
24
 
16
25
  * Fix share to wechat title.
17
26
  * Fix default I18n files as Rails Engine way, now you do not need copy them in to you config/locales (You can delete them).
18
27
 
19
- == 0.8.2
28
+ 0.8.2
29
+ -----
20
30
 
21
31
  * Add google analytics code to track share button click events. (#106)
22
32
 
23
- == 0.8.1
33
+ 0.8.1
34
+ -----
24
35
 
25
36
  * Fix wechat typo. (#103)
26
37
 
27
- == 0.8.0
38
+ 0.8.0
39
+ -----
28
40
 
29
41
  * Add support for Hacker News (#99)
30
42
 
31
- == 0.7.0
43
+ 0.7.0
44
+ -----
32
45
 
33
46
  * Add support for Reddit (#98)
34
47
  * Use ActiveSupport.on_load looks to inject behavior into ActionView::Base (#82)
35
48
 
36
- == 0.6.0
49
+ 0.6.0
50
+ -----
37
51
 
38
52
  * Add support for xing social network (#95)
39
53
 
40
- == 0.5.0
54
+ 0.5.0
55
+ -----
41
56
 
42
57
  * Fix QRCode WeChat typo error.
43
58
 
44
- == 0.4.0
59
+ 0.4.0
60
+ -----
45
61
 
46
62
  * QRCode for WeChat share.
47
63
 
48
- == 0.3.4
64
+ 0.3.4
65
+ -----
49
66
 
50
67
  * Add linkedin summary parameter (#89)
51
68
 
52
- == 0.3.1
69
+ 0.3.1
70
+ -----
53
71
 
54
72
  * New SVG icon, new style.
55
73
  * Removed `tqq renren kaixin001 baidu plurk` support.
56
74
  * Share with popup window.
57
75
  * Add Weixin (WeChat).
58
76
 
59
- == 0.2.1
77
+ 0.2.1
78
+ -----
60
79
 
61
80
  * Allow for override of allowed sites in helper.
62
81
 
63
- == 0.2.0
82
+ 0.2.0
83
+ -----
64
84
 
65
85
  * Added social share with LinkedIn feature.
66
86
 
67
- == 0.1.10
87
+ 0.1.10
88
+ -----
68
89
 
69
90
  * Add `email` share
70
91
 
71
- == 0.1.9
92
+ 0.1.9
93
+ -----
72
94
 
73
95
  * Add `data-via` to allow `{ via: "MyTwitter" }`
74
96
  * Add the special title for the corresponding social network by `{ 'data-twitter-title' => 'TheTitleForTwitter'}`
75
97
 
76
- == 0.1.8
98
+ 0.1.8
99
+ -----
77
100
 
78
101
  * Allow you custom appKey.
79
102
 
80
- == 0.1.7
103
+ 0.1.7
104
+ -----
81
105
 
82
106
  * Add desc support;
83
107
 
84
- == 0.1.5
108
+ 0.1.5
109
+ -----
85
110
 
86
111
  * Add Tumblr;
87
112
 
88
- == 0.1.4
113
+ 0.1.4
114
+ -----
89
115
 
90
116
  * Add Plurk support;
91
117
  * Fix Renren share link;
92
118
 
93
- == 0.1.3
119
+ 0.1.3
120
+ -----
94
121
 
95
122
  * Support Rails 4;
96
123
 
97
- == 0.1.2
124
+ 0.1.2
125
+ -----
98
126
 
99
127
  * Add tumblr.
100
128
 
101
- == 0.1.1
129
+ 0.1.1
130
+ -----
102
131
 
103
132
  * Add delicious.
104
133
  * Use new version of Weibo, Douban share URL to speed up page open.
105
134
 
106
- == 0.1.0
135
+ 0.1.0
136
+ -----
107
137
 
108
138
  * Retina support.
109
139
 
110
- == 0.0.9
140
+ 0.0.9
141
+ -----
111
142
 
112
143
  * Allow to give :url option to custom url.
113
144
 
114
- == 0.0.8
145
+ 0.0.8
146
+ -----
115
147
 
116
148
  * Add Google Bookmark;
117
149
  * Improve Google+ icon.
118
150
 
119
- == 0.0.7
151
+ 0.0.7
152
+ -----
120
153
 
121
154
  * Douban, TQQ add image support.
122
155
 
123
- == 0.0.6
156
+ 0.0.6
157
+ -----
124
158
 
125
159
  * Transparent icon fix
126
160
 
127
- == 0.0.5
161
+ 0.0.5
162
+ -----
128
163
 
129
164
  * Transparent icon
130
165
  * More site added (Renren,TQQ, Google+, Baidu, Kaixin001)
131
166
 
132
- == 0.0.4
167
+ 0.0.4
168
+ -----
133
169
 
134
170
  * Add image support for Weibo share.
135
171
 
136
- == 0.0.3
172
+ 0.0.3
173
+ -----
137
174
 
138
175
  * Facebook, Twitter, Weibo, Douban, QQZone 分享功能;
@@ -0,0 +1,114 @@
1
+ .social-share-button .ssb-icon {
2
+ background-position: center center;
3
+ background-repeat: no-repeat;
4
+ background-size: 18px 18px;
5
+ display: inline-block;
6
+ height: 18px;
7
+ width: 18px;
8
+ }
9
+
10
+ .social-share-button .ssb-twitter {
11
+ background-image: url(<%= asset_path('social-share-button/twitter.svg') %>);
12
+ }
13
+
14
+ .social-share-button .ssb-facebook {
15
+ background-image: url(<%= asset_path('social-share-button/facebook.svg') %>);
16
+ }
17
+
18
+ .social-share-button .ssb-google_bookmark {
19
+ background-image: url(<%= asset_path('social-share-button/google_bookmark.svg') %>);
20
+ }
21
+
22
+ .social-share-button .ssb-google_plus {
23
+ background-image: url(<%= asset_path('social-share-button/google_plus.svg') %>);
24
+ }
25
+
26
+ .social-share-button .ssb-weibo {
27
+ background-image: url(<%= asset_path('social-share-button/weibo.svg') %>);
28
+ }
29
+
30
+ .social-share-button .ssb-qq {
31
+ background-image: url(<%= asset_path('social-share-button/qq.svg') %>);
32
+ }
33
+
34
+ .social-share-button .ssb-delicious {
35
+ background-image: url(<%= asset_path('social-share-button/delicious.svg') %>);
36
+ }
37
+
38
+ .social-share-button .ssb-linkedin {
39
+ background-image: url(<%= asset_path('social-share-button/linkedin.svg') %>);
40
+ }
41
+
42
+ .social-share-button .ssb-tumblr {
43
+ background-image: url(<%= asset_path('social-share-button/tumblr.svg') %>);
44
+ }
45
+
46
+ .social-share-button .ssb-pinterest {
47
+ background-image: url(<%= asset_path('social-share-button/pinterest.svg') %>);
48
+ }
49
+
50
+ .social-share-button .ssb-douban {
51
+ background-image: url(<%= asset_path('social-share-button/douban.svg') %>);
52
+ }
53
+
54
+ .social-share-button .ssb-wechat {
55
+ background-image: url(<%= asset_path('social-share-button/wechat.svg') %>);
56
+ }
57
+
58
+ .social-share-button .ssb-vkontakte {
59
+ background-image: url(<%= asset_path('social-share-button/vkontakte.svg') %>);
60
+ }
61
+
62
+ .social-share-button .ssb-xing {
63
+ background-image: url(<%= asset_path('social-share-button/xing.svg') %>);
64
+ }
65
+
66
+ .social-share-button .ssb-email {
67
+ background-image: url(<%= asset_path('social-share-button/email.svg') %>);
68
+ }
69
+
70
+ .social-share-button .ssb-reddit {
71
+ background-image: url(<%= asset_path('social-share-button/reddit.svg') %>);
72
+ }
73
+
74
+ .social-share-button .ssb-hacker_news {
75
+ background-image: url(<%= asset_path('social-share-button/hacker_news.svg') %>);
76
+ }
77
+
78
+ .ss-wechat-dialog {
79
+ width: 300px;
80
+ position: fixed;
81
+ background: #fff;
82
+ padding: 15px;
83
+ border-radius: 3px;
84
+ box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
85
+ z-index: 11001;
86
+ font-size: 14px;
87
+ line-height: 1.2em;
88
+ }
89
+
90
+ .ss-wechat-dialog .wechat-popup-header {
91
+ font-weight: bold;
92
+ }
93
+
94
+ .ss-wechat-dialog .wechat-dialog-qr {
95
+ text-align: center;
96
+ margin: 25px 0;
97
+ }
98
+
99
+ .ss-wechat-dialog .wechat-popup-close {
100
+ width: 16px;
101
+ height: 16px;
102
+ position: absolute;
103
+ right: 10px;
104
+ top: 10px;
105
+ color: #999;
106
+ text-decoration: none;
107
+ font-size: 16px;
108
+ }
109
+
110
+ .ss-wechat-dialog .wechat-popup-footer {
111
+ text-align: left;
112
+ line-height: 22px;
113
+ color: #666;
114
+ }
@@ -1,3 +1,3 @@
1
1
  module SocialShareButton
2
- VERSION = '0.8.7'
2
+ VERSION = '0.8.8'
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.8.7
4
+ version: 0.8.8
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-12-15 00:00:00.000000000 Z
11
+ date: 2016-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: sass-rails
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  description: Helper for add social share feature in your Rails app. Twitter, Facebook,
56
42
  Weibo, Douban, QQ, Tumblr ...
57
43
  email:
@@ -82,7 +68,7 @@ files:
82
68
  - app/assets/javascripts/jquery.qrcode.min.js
83
69
  - app/assets/javascripts/social-share-button.coffee
84
70
  - app/assets/javascripts/social-share-button/wechat.coffee
85
- - app/assets/stylesheets/social-share-button.scss
71
+ - app/assets/stylesheets/social-share-button.css.erb
86
72
  - config/locales/social_share_button.en.yml
87
73
  - config/locales/social_share_button.fr.yml
88
74
  - config/locales/social_share_button.zh-CN.yml
@@ -1,58 +0,0 @@
1
- $size: 18px;
2
-
3
- .social-share-button {
4
- .ssb-icon {
5
- background-position: center center;
6
- background-repeat: no-repeat;
7
- background-size: $size $size;
8
- display: inline-block;
9
- height: $size;
10
- width: $size;
11
- }
12
-
13
- @each $site in twitter, facebook, google_bookmark, google_plus, weibo, qq,
14
- delicious, linkedin, tumblr, pinterest, douban, wechat, vkontakte,
15
- xing, email, reddit, hacker_news {
16
- .ssb-#{$site} {
17
- background-image: image-url('social-share-button/#{$site}.svg');
18
- }
19
- }
20
- }
21
-
22
- .ss-wechat-dialog {
23
- width: 300px;
24
- position: fixed;
25
- background: #fff;
26
- padding: 15px;
27
- border-radius: 3px;
28
- box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
29
- z-index: 11001;
30
- font-size: 14px;
31
- line-height: 1.2em;
32
-
33
- .wechat-popup-header {
34
- font-weight: bold;
35
- }
36
-
37
- .wechat-dialog-qr {
38
- text-align: center;
39
- margin: 25px 0px;
40
- }
41
-
42
- .wechat-popup-close {
43
- width: 16px;
44
- height: 16px;
45
- position: absolute;
46
- right: 10px;
47
- top: 10px;
48
- color: #999;
49
- text-decoration: none;
50
- font-size: 16px;
51
- }
52
-
53
- .wechat-popup-footer {
54
- text-align: left;
55
- line-height: 22px;
56
- color: #666;
57
- }
58
- }