social-url 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +3 -8
- data/lib/social_url/errors.rb +4 -0
- data/lib/social_url/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84f55af186351a60dab9f38fa626e08ddab1e95e
|
4
|
+
data.tar.gz: f1f74c1e517c659c248f2890f891052868870b52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67b1bd822742e185c257a8dc0452e8112ad5bf252163ea2bc7d177a8db1309a2509f66ee879c65a7d8e0943c3bfa73519f0581c7962180bb6837fe80ffeb9f6b
|
7
|
+
data.tar.gz: e12b0b0c8ade48614892d08d13f11f9ab616e34bbef158f9701aa521a3f536235e8e94eedacd055a38e13ec62eb74744efab2a77ef1c50a31a18ef246887097e
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
# social-url
|
2
2
|
|
3
3
|
A simple gem to generate social media sharing links.
|
4
|
-
Supports multiple platforms with a plugin architecture.
|
5
4
|
|
6
5
|
[![Gem Version](https://badge.fury.io/rb/social-url.svg)](http://badge.fury.io/rb/social-url) [![Code Climate](https://codeclimate.com/github/richardvenneman/social-url/badges/gpa.svg)](https://codeclimate.com/github/richardvenneman/social-url) [![Dependency Status](https://gemnasium.com/richardvenneman/social-url.svg)](https://gemnasium.com/richardvenneman/social-url) [![Test Coverage](https://codeclimate.com/github/richardvenneman/social-url/badges/coverage.svg)](https://codeclimate.com/github/richardvenneman/social-url/coverage) [![Build Status](http://img.shields.io/travis/richardvenneman/social-url.svg)](https://travis-ci.org/richardvenneman/social-url)
|
7
6
|
|
7
|
+
Supported networks: Google+, Facebook, Pinterest, Twitter.
|
8
|
+
|
8
9
|
## Introduction
|
9
10
|
|
10
11
|
This gem was created to help quickly set up sharing links for web pages. This should help you create simple and fast sharing links to social media networks as opposed to performance-heavy third-party sharing widgets.
|
@@ -49,19 +50,13 @@ message.facebook_url #=> 'https://www.facebook.com/sharer/sharer.php?u=http%3A%2
|
|
49
50
|
...
|
50
51
|
```
|
51
52
|
|
52
|
-
### Available networks
|
53
|
-
|
54
|
-
- Google+
|
55
|
-
- Facebook
|
56
|
-
- Pinterest
|
57
|
-
- Twitter
|
58
|
-
|
59
53
|
## TODO
|
60
54
|
|
61
55
|
This gem is a work-in-progress. Planned features:
|
62
56
|
|
63
57
|
- Raise on missing required network parameters
|
64
58
|
- Ruby on Rails ActionView helpers
|
59
|
+
- Add missing networks
|
65
60
|
|
66
61
|
## Contributing
|
67
62
|
|
data/lib/social_url/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social-url
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Venneman
|
@@ -97,6 +97,7 @@ files:
|
|
97
97
|
- README.md
|
98
98
|
- Rakefile
|
99
99
|
- lib/social_url.rb
|
100
|
+
- lib/social_url/errors.rb
|
100
101
|
- lib/social_url/facebook.rb
|
101
102
|
- lib/social_url/google.rb
|
102
103
|
- lib/social_url/message.rb
|