uploadcare-ruby 1.0.2 → 1.0.3

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: af26486fc47d098d6568263844e15b5d6f6a4fca
4
- data.tar.gz: fc9b11f7d79f0ee2b95f3e88e2f7588972f1df2b
3
+ metadata.gz: c63edfa62d8759b56f821bb38f6957b5d42ae75f
4
+ data.tar.gz: ae19b88823e5fb73772d21d959f98492908533c7
5
5
  SHA512:
6
- metadata.gz: 9fb9293930f8af75f06ee7c3cce438c01dc8115634a0b2634a79ef796c1c9c2816642a6d06f61c1b8f3e99e98ab5bd5a5d981480a922e162f485b14a1b942f89
7
- data.tar.gz: ce565ece9f629a809d5142380b7704ece6b0175f9257a894e92ee0ed59141ef4d602f2e2299be12dec12257b26afe890d44281b3601070e890a99a1aaeb6f383
6
+ metadata.gz: 749b43b1fe88668e030593d5af86baf81c05070e55e7822ec8b50824d7f89da8df0248e9afff5ecf3c92cabae099044e99d8830b57501208374db5708f5a53cc
7
+ data.tar.gz: 871f99159127223f82939e94657f6a6e7710a95e0ae018f472d09e7ffff7052a3cf7eb75bee89d9faa2de7d5074a8f93c86f925b8604efcd6a18294ffa3175fb
data/.gitignore CHANGED
@@ -1,3 +1,5 @@
1
1
  Gemfile.lock
2
2
  .ruby-gemset
3
- .ruby-version
3
+ .ruby-version
4
+
5
+ *.gem
data/Gemfile CHANGED
@@ -1,5 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in uploadcare-ruby.gemspec
4
- gem 'uploadcare-ruby', path: "/Users/romanonthego/Code/uploadcare/uploadcare-ruby/"
5
4
  gemspec
@@ -14,6 +14,10 @@ module Uploadcare
14
14
  set_data(data) if data
15
15
  end
16
16
 
17
+ def cdn_url
18
+ @api.options[:static_url_base] + "/#{uuid}/"
19
+ end
20
+
17
21
 
18
22
  # Loading logic
19
23
  def is_loaded?
@@ -1,3 +1,3 @@
1
1
  module Uploadcare
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uploadcare-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - '@rastyagaev (Vadim Rastyagaev)'
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-04-01 00:00:00.000000000 Z
13
+ date: 2014-04-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday