sharrando 0.1 → 0.2

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: 6e2fb8336acf96cadc54ce2645f830c739b751c7
4
- data.tar.gz: 784e314d843a171aa879872bf35df4a5eb9b0ae6
3
+ metadata.gz: 59bb4294248e749db93c9d411e5238a3b82e24e3
4
+ data.tar.gz: 74053bff63a5d71420a8626b8477172017797a04
5
5
  SHA512:
6
- metadata.gz: e2ec466bf5d7702cbccf13078fb6593ee47f38596b776971bc0289a11372101f29ed9b520cea59b277d2b00b5e862470aab88d6a3a69378b60484b25a8736396
7
- data.tar.gz: f5c846dfe0a6f7cb5480e98a0d31dc238a4148b3bd496f0c39b0980dd539ae83b65f8b9814b17871a5d6d879574bd2b4a8d9c9a6b09b8970c61cef5a3b627ed5
6
+ metadata.gz: 512d01b929a2b6967e7ee2017a9035374195156414a5b3fc57a8ad49c29e0ef07c4b1205322db597f58ffd742ae36e72111ac743b99c5581f9dc3ec47136392c
7
+ data.tar.gz: 33a8d5e1b191f0b4673b17ed21c06a7b911a7a0946cdd054c81ba6adbca4127a4d6432b9efc5afe84c884f79b9585d61034e9dcd201c2d9a0b1fc4d0253bf42f
@@ -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|
@@ -9,5 +9,5 @@
9
9
  #++
10
10
 
11
11
  module Sharrando
12
- VERSION = '0.1'
12
+ VERSION = '0.2'
13
13
  end
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.1'
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 for share things to social networks like Facebook, Twitter,
42
- Linkedin, Tumblr, etc.
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 for share things to the social networks.
76
+ summary: Get URLs to share things in social networks.
77
77
  test_files:
78
78
  - spec/sharrando_spec.rb