tessa 0.6.3 → 0.7.0

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: 81a737de9f5f638d442b9536d5990da25b373282
4
- data.tar.gz: 39352eaf9ab05581ac07a750862451783173f601
3
+ metadata.gz: 0b10fb71b4a6667e71ce7be6c39e6a497a5f6399
4
+ data.tar.gz: 340818b12c567e206a9a13b3cf3da455b5a927d8
5
5
  SHA512:
6
- metadata.gz: ef2c34b9455fa8783718d4ff7f73baf96847ef3961d19ad42bcd7bd75531afe26045ef5d1ce716ead76ca38a0d9cabf401017880e1a28cf9c97c38c317030e99
7
- data.tar.gz: 3088847ec6ef594bdf066aae09d0a35cba4b54a67bf8eadbfecdb00e9b4dd751daae2620bc994b19a1d486108fab07dcc032d9e98afa53a5002a9e7ffa82d68e
6
+ metadata.gz: 07fa141947b98f509ed36f32df7b8d17cb2bf7b416661f1bad7a5da5069b5a32e959ae23ea1b06723bb5d96b951390cded79a49765b483c56011c3ec89654274
7
+ data.tar.gz: c51f1e24de102066b4d6565fd29ed9f505fc452f50be596987f4f5ef1c6e07d7ef90f259eb34b03f8c3b03851d0d9df32e954db6473eaa2be3ea413e4ac2495d
data/Gemfile CHANGED
@@ -7,7 +7,3 @@ group :development do
7
7
  gem 'pry'
8
8
  gem 'dotenv'
9
9
  end
10
-
11
- group :test do
12
- gem "codeclimate-test-reporter", require: nil
13
- end
@@ -9,6 +9,7 @@ module Tessa
9
9
  attribute :meta, Hash[Symbol => String]
10
10
  attribute :public_url, String
11
11
  attribute :private_url, String
12
+ attribute :private_download_url, String
12
13
  attribute :delete_url, String
13
14
 
14
15
  def complete!(connection: Tessa.config.connection)
@@ -1,3 +1,3 @@
1
1
  module Tessa
2
- VERSION = "0.6.3"
2
+ VERSION = "0.7.0"
3
3
  end
@@ -1,6 +1,3 @@
1
- require "codeclimate-test-reporter"
2
- CodeClimate::TestReporter.start
3
-
4
1
  require 'tessa'
5
2
 
6
3
  Dir[File.expand_path("../support/*.rb", __FILE__)].each do |file|
@@ -10,6 +10,7 @@ RSpec.describe Tessa::Asset do
10
10
  meta: { name: "foo" },
11
11
  public_url: "http://example.com/public",
12
12
  private_url: "http://example.com/private",
13
+ private_download_url: "http://example.com/private?download",
13
14
  delete_url: "http://example.com/delete",
14
15
  }
15
16
  }
@@ -40,6 +41,10 @@ RSpec.describe Tessa::Asset do
40
41
  expect(asset.private_url).to eq(args[:private_url])
41
42
  end
42
43
 
44
+ it "sets private_download_url to attribute" do
45
+ expect(asset.private_download_url).to eq(args[:private_download_url])
46
+ end
47
+
43
48
  it "sets delete_url to attribute" do
44
49
  expect(asset.delete_url).to eq(args[:delete_url])
45
50
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tessa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Powell
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-02-20 00:00:00.000000000 Z
12
+ date: 2017-02-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday