tacokit 0.2.0 → 0.2.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: 14ef84fc424d2cad14b4ea5ff37a270d9e3b5399
4
- data.tar.gz: 130dd7e3aa458418bfb83f945026edb91f272286
3
+ metadata.gz: b75eee59cb13c98fd302c0312c10ad5f2a8cf221
4
+ data.tar.gz: 804f984972f9e6178aa00c562d4a3f1ba10e89ba
5
5
  SHA512:
6
- metadata.gz: 6fcc934c4029cabdcbb49827c3598b66daa1774b6e10346f8f5cb3be8371baf56c5fe685757f5e81e71003674eee75551452c05eefd790dc39a8731105460243
7
- data.tar.gz: 2b974070b2c21ef16b3cd0535a9142da22e657a0e459aa08b753fe8881d14ad37c29719919725ed57273822fd2a570a15779cabd89e87511bb02fd502068962e
6
+ metadata.gz: 541a773ea4ed06aadab7d714323b956ed980cdef9002ad0c2099ab6d9aa33fb01277ce3d1656587a25ba6059f972bee5969e6af2fabdda154bd049d8edd0b615
7
+ data.tar.gz: 35cc4c12739a20f87c596e5e3fb218f03d94f94e388d5813c6d26a09de02234c663d6bc51206d8e3d5ec683e574986948c8ce2171c8614d1b340c81d4acb1f3d
data/Gemfile CHANGED
@@ -2,6 +2,7 @@ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
+ gem "addressable"
5
6
  gem "awesome_print", require: "ap"
6
7
  gem "coveralls", require: false
7
8
  gem "dotenv"
@@ -1,3 +1,5 @@
1
+ require "uri"
2
+
1
3
  module Tacokit
2
4
  class Client
3
5
  # Methods for the Cards API
@@ -178,7 +180,7 @@ module Tacokit
178
180
  def attach_file(card_id, url, mime_type = nil, options = {})
179
181
  options = mime_type if mime_type.is_a?(Hash)
180
182
 
181
- uri = Addressable::URI.parse(url)
183
+ uri = URI.parse(url)
182
184
 
183
185
  if uri.scheme =~ %r{https?}
184
186
  options.update url: uri.to_s, mime_type: mime_type
@@ -1,3 +1,4 @@
1
+ require "set"
1
2
  require "forwardable"
2
3
 
3
4
  module Tacokit
@@ -1,3 +1,3 @@
1
1
  module Tacokit
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tacokit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Kaffenberger