sharrando 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sharrando/social.rb +1 -1
- data/lib/sharrando/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59bb4294248e749db93c9d411e5238a3b82e24e3
|
4
|
+
data.tar.gz: 74053bff63a5d71420a8626b8477172017797a04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 512d01b929a2b6967e7ee2017a9035374195156414a5b3fc57a8ad49c29e0ef07c4b1205322db597f58ffd742ae36e72111ac743b99c5581f9dc3ec47136392c
|
7
|
+
data.tar.gz: 33a8d5e1b191f0b4673b17ed21c06a7b911a7a0946cdd054c81ba6adbca4127a4d6432b9efc5afe84c884f79b9585d61034e9dcd201c2d9a0b1fc4d0253bf42f
|
data/lib/sharrando/social.rb
CHANGED
@@ -30,7 +30,7 @@ module Sharrando
|
|
30
30
|
"https://plus.google.com/share?url=#{url}&t=#{text}"
|
31
31
|
end
|
32
32
|
|
33
|
-
def tumblr(data_type: data_type, contents: contents
|
33
|
+
def tumblr(data_type: data_type, contents: contents)
|
34
34
|
raise ArgumentError, "Data type must be <link>, <text>, <photo> or <quote>" unless %i(link text photo quote).include? data_type
|
35
35
|
|
36
36
|
"http://www.tumblr.com/share/#{data_type}?".tap do |url|
|
data/lib/sharrando/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sharrando
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Giovanni Capuano
|
@@ -38,8 +38,8 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
description: Get URLs
|
42
|
-
|
41
|
+
description: Get URLs to share things in social networks like Facebook, Twitter, Linkedin,
|
42
|
+
Tumblr, etc.
|
43
43
|
email: webmaster@giovannicapuano.net
|
44
44
|
executables: []
|
45
45
|
extensions: []
|
@@ -73,6 +73,6 @@ rubyforge_project:
|
|
73
73
|
rubygems_version: 2.2.2
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
|
-
summary: Get URLs
|
76
|
+
summary: Get URLs to share things in social networks.
|
77
77
|
test_files:
|
78
78
|
- spec/sharrando_spec.rb
|