mingle-storage 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/storage/s3_store.rb +3 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWRmZDRkOTIxYmZiMjNhOTk4YTYxMzc3NTZkZjMzMDRjYTgxNmUxZg==
4
+ MzRhNmJmNDBlMjY5MzVmOWUwNTVhMDRkNWQ3MzMxOTgxM2ViYmI2NA==
5
5
  data.tar.gz: !binary |-
6
- NGY2ZDZlYWJjMjUxYTRlYTQwODI1OWE0ODIzNGE0N2EzZjQ0YjdkYQ==
6
+ YWI5Yjc2NjkzYzJjZjU5Nzc1MzE0NzQ2YmZlNDliNGMzMDQwNTRiMA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OGQ0YzgzOTZjOGFmZGFlZDBlMTY2ZDA0ZmJiZWMyZjBhNWIxNDVlOTA5ZTcx
10
- ZTA3ZDY2YThmYzhiZGQxYzExZDgyN2Y2NDYyYjI5YjE0MjkwNDcyMzk0ZjQx
11
- ZDVmNTBlYmM0MDE2NzMzNmYxNTI5ZWFkMzI4NDk0MTU5YWEzMTE=
9
+ NGEwYzhjYmQ2MTFiMTc4YWMxNDUzMzdjNGExMjllMjhmMTE2OGEyZTFhN2Qz
10
+ NGY3NGEyYzcxNDNmYmIzMDZjZTI2N2YxZjM0NzhlNWEwOGM0OWU2NzY2ODdj
11
+ YzhjNTY1YjU0MGY4NTM0MTdhMzM5YmU2YzdhNjQ0NmI3ZjkyMTg=
12
12
  data.tar.gz: !binary |-
13
- MzFjMjJhNWNjYWFmNWE4MjYwZTBjMzRjYTE1MGIyN2EwY2I2NDk1MzZmZWYz
14
- YTE0ZmIwMGM3OTk5YjZkYzkyZGQ2YjZhYmFhZDIwNTgyMmYyM2EzNmIwOTcz
15
- N2JlNTYwYWYwYmE5NzhhOTUxZWNhNjE2N2M5NzI0NTI1MmJkZTE=
13
+ MTEyMGFhZDZjYmJiNGM2OTViYWM5OGZlZDExNjFjMThhN2Y3MDQxMzA3OTlh
14
+ NzVlMTcwYzcyYzVmNWQ3MGVmMGVkNzcxZjJkZjQwZWU0MjAxYThmNTE2Nzdl
15
+ MjUyNjExMmYzOGQzNzFhMDhlMDBjZjA5NTNkZmYwZTg4Y2FlNTI=
@@ -150,7 +150,9 @@ module Storage
150
150
  end
151
151
 
152
152
  def url_for(path)
153
- object(path).url_for(:read, :expires => @url_expires).to_s
153
+ object(path).url_for(:read,
154
+ :expires => @url_expires,
155
+ :response_content_type => derive_content_type(path)).to_s
154
156
  end
155
157
 
156
158
  #todo: this should be interface that retrive a lazy file object
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mingle-storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ThoughtWorks Studios