dropio 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/dropio.gemspec +1 -1
- data/lib/dropio.rb +1 -1
- data/lib/dropio/asset.rb +2 -1
- data/spec/dropio/asset_spec.rb +2 -1
- metadata +1 -1
data/dropio.gemspec
CHANGED
data/lib/dropio.rb
CHANGED
data/lib/dropio/asset.rb
CHANGED
@@ -2,7 +2,8 @@ class Dropio::Asset < Dropio::Resource
|
|
2
2
|
|
3
3
|
attr_accessor :drop, :name, :type, :title, :description, :filesize, :created_at,
|
4
4
|
:thumbnail, :status, :converted, :hidden_url, :pages, :fax_status,
|
5
|
-
:duration, :artist, :track_title, :height, :width, :contents, :url
|
5
|
+
:duration, :artist, :track_title, :height, :width, :contents, :url,
|
6
|
+
:original_filename, :converted_filename
|
6
7
|
|
7
8
|
# Finds a particular Asset by drop and asset name.
|
8
9
|
def self.find(drop, name)
|
data/spec/dropio/asset_spec.rb
CHANGED
@@ -20,7 +20,8 @@ describe Dropio::Asset do
|
|
20
20
|
it "should have the attributes of an Asset" do
|
21
21
|
@asset.should respond_to(:drop, :name, :type, :title, :description, :filesize, :created_at,
|
22
22
|
:thumbnail, :status, :converted, :hidden_url, :pages, :fax_status,
|
23
|
-
:duration, :artist, :track_title, :height, :width, :contents, :url
|
23
|
+
:duration, :artist, :track_title, :height, :width, :contents, :url,
|
24
|
+
:original_filename, :converted_filename)
|
24
25
|
end
|
25
26
|
|
26
27
|
it "should have comments" do
|