social-share-button 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5fb846549368b3f0e2ded2a8c3f5ffc75c2030e3
|
|
4
|
+
data.tar.gz: 53a136baa92a86900e2fe8d317bd88dec3d25d3e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5eaa3c5614c0e7ea9b3962cc4749ce0fa0e3028480e20a0d86ced4961951282d7305ffecd97e5115615243d6d05454216614e9b5f7ad1113e179e2f09690af9e
|
|
7
|
+
data.tar.gz: dee528f687864be12ab5ff8b7f53d4aba3b3c466b8182662c083fc3f78adb4dc9e1b487da3b764a826b8f0eeb2927f564a958fa1a02c08a8a846449f03bd4da1
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -67,7 +67,7 @@ You need add require css,js file in your app assets files:
|
|
|
67
67
|
|
|
68
68
|
```
|
|
69
69
|
#= require social-share-button
|
|
70
|
-
#= require
|
|
70
|
+
#= require social-share-button/wechat # if you need use WeChat
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
`app/assets/stylesheets/application.scss`
|
|
@@ -50,7 +50,8 @@ window.SocialShareButton =
|
|
|
50
50
|
when "wechat"
|
|
51
51
|
throw new Error("You should require social-share-button/wechat to your application.js") unless window.SocialShareWeChatButton
|
|
52
52
|
window.SocialShareWeChatButton.qrcode
|
|
53
|
-
|
|
53
|
+
url: url
|
|
54
|
+
header: title
|
|
54
55
|
footer: $(el).data('wechat-footer')
|
|
55
56
|
|
|
56
57
|
when "tumblr"
|
|
@@ -82,7 +83,7 @@ window.SocialShareButton =
|
|
|
82
83
|
"/#{path}?#{params}"
|
|
83
84
|
|
|
84
85
|
SocialShareButton.openUrl("http://www.tumblr.com/share#{tumblr_params()}")
|
|
85
|
-
|
|
86
|
+
|
|
86
87
|
when "reddit"
|
|
87
88
|
SocialShareButton.openUrl("http://www.reddit.com/submit?url=#{url}&newwindow=1", 555, 400)
|
|
88
89
|
when "hacker_news"
|
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.1
|
|
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-10-
|
|
11
|
+
date: 2016-10-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|