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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b53dbc1e3360fcc3106bb39f5fb0982f8b7f92d3
4
- data.tar.gz: 1911e4958a6545999181821fc3f70e3dbf1e212c
3
+ metadata.gz: 84f55af186351a60dab9f38fa626e08ddab1e95e
4
+ data.tar.gz: f1f74c1e517c659c248f2890f891052868870b52
5
5
  SHA512:
6
- metadata.gz: 6374b509874ea4ec03d63d383de4ca34393ce22a1e67236105705aa453a4ef9f11210d4f4c1c455bd2147cc904b642d3f9bc5ccdc36e82d9eb1fc2c08b013523
7
- data.tar.gz: 8007c1381a449eb81424b48a1f491e85e601ce102e9207cd5e84280aa2c3eadef1590b07cd365ddfc68b299ed1b1180e1638bc8afd26dde23a16dd31f31d083c
6
+ metadata.gz: 67b1bd822742e185c257a8dc0452e8112ad5bf252163ea2bc7d177a8db1309a2509f66ee879c65a7d8e0943c3bfa73519f0581c7962180bb6837fe80ffeb9f6b
7
+ data.tar.gz: e12b0b0c8ade48614892d08d13f11f9ab616e34bbef158f9701aa521a3f536235e8e94eedacd055a38e13ec62eb74744efab2a77ef1c50a31a18ef246887097e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- social-url (1.0.0)
4
+ social-url (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
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
 
@@ -0,0 +1,4 @@
1
+ module SocialUrl
2
+ class UnsupportedNetworkError < StandardError
3
+ end
4
+ end
@@ -1,3 +1,3 @@
1
1
  module SocialUrl
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
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.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