social-share-button 0.8.2 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/app/assets/javascripts/social-share-button.coffee +1 -1
- data/app/assets/stylesheets/social-share-button.scss +11 -7
- data/{lib/generators/social_share_button/templates/config → config}/locales/social_share_button.en.yml +0 -0
- data/{lib/generators/social_share_button/templates/config → config}/locales/social_share_button.fr.yml +0 -0
- data/{lib/generators/social_share_button/templates/config → config}/locales/social_share_button.zh-CN.yml +1 -1
- data/{lib/generators/social_share_button/templates/config → config}/locales/social_share_button.zh-TW.yml +1 -1
- data/lib/social_share_button/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c34e86a9d83c7bc1ae7bd73b8746cc1511f5845
|
4
|
+
data.tar.gz: a708e7bc62ad41609a6031a11cf9e329de250598
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b846bd3be6a5159036487c9f63190856b093341e1f75f34804fa28bb37e3de70949ad3a2498715e5d6f53fef3cd5aeace0314a29e8a5d87e20230555507b77b
|
7
|
+
data.tar.gz: 2a33db06934bdc3b0961f43af23194ffeed468cab9743953d5ff2cfad44f35b8a34c1490cc1af478fb5a0687c07bad2b390428f6a63dc268dcc831226a208a56
|
data/CHANGELOG.md
CHANGED
@@ -56,7 +56,7 @@ window.SocialShareButton =
|
|
56
56
|
throw new Error("You should require social-share-button/wechat to your application.js") unless window.SocialShareWeChatButton
|
57
57
|
window.SocialShareWeChatButton.qrcode
|
58
58
|
url: url
|
59
|
-
header: title
|
59
|
+
header: $(el).attr('title')
|
60
60
|
footer: $(el).data('wechat-footer')
|
61
61
|
|
62
62
|
when "tumblr"
|
@@ -20,26 +20,30 @@ $size: 18px;
|
|
20
20
|
}
|
21
21
|
|
22
22
|
.ss-wechat-dialog {
|
23
|
-
width:
|
24
|
-
height: 300px;
|
23
|
+
width: 300px;
|
25
24
|
position: fixed;
|
26
25
|
background: #fff;
|
27
|
-
padding:
|
28
|
-
border:
|
26
|
+
padding: 15px;
|
27
|
+
border-radius: 3px;
|
28
|
+
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
|
29
29
|
z-index: 11001;
|
30
|
-
font-size:
|
30
|
+
font-size: 14px;
|
31
31
|
line-height: 1.2em;
|
32
32
|
|
33
|
+
.wechat-popup-header {
|
34
|
+
font-weight: bold;
|
35
|
+
}
|
36
|
+
|
33
37
|
.wechat-dialog-qr {
|
34
38
|
text-align: center;
|
35
|
-
margin:
|
39
|
+
margin: 25px 0px;
|
36
40
|
}
|
37
41
|
|
38
42
|
.wechat-popup-close {
|
39
43
|
width: 16px;
|
40
44
|
height: 16px;
|
41
45
|
position: absolute;
|
42
|
-
right:
|
46
|
+
right: 10px;
|
43
47
|
top: 10px;
|
44
48
|
color: #999;
|
45
49
|
text-decoration: none;
|
File without changes
|
File without changes
|
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.
|
4
|
+
version: 0.8.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-11-
|
11
|
+
date: 2016-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -83,12 +83,12 @@ files:
|
|
83
83
|
- app/assets/javascripts/social-share-button.coffee
|
84
84
|
- app/assets/javascripts/social-share-button/wechat.coffee
|
85
85
|
- app/assets/stylesheets/social-share-button.scss
|
86
|
+
- config/locales/social_share_button.en.yml
|
87
|
+
- config/locales/social_share_button.fr.yml
|
88
|
+
- config/locales/social_share_button.zh-CN.yml
|
89
|
+
- config/locales/social_share_button.zh-TW.yml
|
86
90
|
- lib/generators/social_share_button/install_generator.rb
|
87
91
|
- lib/generators/social_share_button/templates/config/initializers/social_share_button.rb
|
88
|
-
- lib/generators/social_share_button/templates/config/locales/social_share_button.en.yml
|
89
|
-
- lib/generators/social_share_button/templates/config/locales/social_share_button.fr.yml
|
90
|
-
- lib/generators/social_share_button/templates/config/locales/social_share_button.zh-CN.yml
|
91
|
-
- lib/generators/social_share_button/templates/config/locales/social_share_button.zh-TW.yml
|
92
92
|
- lib/social-share-button.rb
|
93
93
|
- lib/social_share_button/config.rb
|
94
94
|
- lib/social_share_button/engine.rb
|