transloadit 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/transloadit/response.rb +1 -1
- data/lib/transloadit/version.rb +1 -1
- data/test/unit/transloadit/test_response.rb +6 -0
- data/transloadit.gemspec +1 -1
- metadata +6 -6
data/CHANGELOG.md
CHANGED
data/lib/transloadit/response.rb
CHANGED
data/lib/transloadit/version.rb
CHANGED
@@ -26,6 +26,12 @@ describe Transloadit::Response do
|
|
26
26
|
@response[attribute].must_equal @response.body[attribute]
|
27
27
|
end
|
28
28
|
end
|
29
|
+
|
30
|
+
it 'must allow access to body attributes as symbols' do
|
31
|
+
[:ok, :message, :assembly_id, :assembly_url].each do |attribute|
|
32
|
+
@response[attribute].must_equal @response.body[attribute.to_s]
|
33
|
+
end
|
34
|
+
end
|
29
35
|
|
30
36
|
it 'must inspect as the body' do
|
31
37
|
@response.inspect.must_equal @response.body.inspect
|
data/transloadit.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |gem|
|
|
28
28
|
gem.add_development_dependency 'minitest' # needed for < 1.9.2
|
29
29
|
gem.add_development_dependency 'simplecov'
|
30
30
|
|
31
|
-
gem.add_development_dependency 'vcr'
|
31
|
+
gem.add_development_dependency 'vcr', '1.11.3'
|
32
32
|
gem.add_development_dependency 'webmock'
|
33
33
|
|
34
34
|
gem.add_development_dependency 'yard'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transloadit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2013-03-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-client
|
@@ -97,17 +97,17 @@ dependencies:
|
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
98
98
|
none: false
|
99
99
|
requirements:
|
100
|
-
- -
|
100
|
+
- - '='
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
102
|
+
version: 1.11.3
|
103
103
|
type: :development
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 1.11.3
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: webmock
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|