blobsterix 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.txt +2 -0
- data/lib/blobsterix/version.rb +1 -1
- data/lib/blobsterix.rb +4 -3
- data/spec/lib/blobsterix_spec.rb +17 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61c63e268a35487d1180f80f6f9865fd0c0cb0e2
|
4
|
+
data.tar.gz: 648c1525917b0577eb25bcfe5dbc1b7e24df3366
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 023f0e53440327eaa1fc5cbc63136b9684d09ff7d799dc32dd456b3e96f9f0de34309ce92c13f9b392b51d1f31a1138e640ba9aae984c62d806d40fff85b0c50
|
7
|
+
data.tar.gz: d2fd9b85f3d99303f8cdb40961d061c40916234a04f611cacd6ccc95abd0b8c3e9b46a8191f5221ee5165fe4fad0e8714e72cfe53030f31870fd78b092721968
|
data/CHANGELOG.txt
CHANGED
data/lib/blobsterix/version.rb
CHANGED
data/lib/blobsterix.rb
CHANGED
@@ -130,20 +130,21 @@ module Blobsterix
|
|
130
130
|
end
|
131
131
|
|
132
132
|
def self.use_x_send_file
|
133
|
-
|
133
|
+
!!@use_x_send_file
|
134
134
|
end
|
135
135
|
|
136
136
|
def self.use_x_send_file=(obj)
|
137
137
|
@use_x_send_file=obj
|
138
138
|
end
|
139
|
-
|
139
|
+
|
140
140
|
def self.allow_chunked_stream
|
141
|
-
|
141
|
+
!!@allow_chunked_stream
|
142
142
|
end
|
143
143
|
|
144
144
|
def self.allow_chunked_stream=(obj)
|
145
145
|
@allow_chunked_stream=obj
|
146
146
|
end
|
147
|
+
self.allow_chunked_stream=true #for backwards compatibility
|
147
148
|
|
148
149
|
def self.decrypt_trafo=(obj)
|
149
150
|
@decrypt_trafo=obj
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
|
4
|
+
describe Blobsterix do
|
5
|
+
it "should allow_chunked_stream for backward comp. by default" do
|
6
|
+
Blobsterix.allow_chunked_stream.should == true
|
7
|
+
end
|
8
|
+
|
9
|
+
it "should set allow_chunked_stream" do
|
10
|
+
Blobsterix.allow_chunked_stream=false
|
11
|
+
Blobsterix.allow_chunked_stream.should == false
|
12
|
+
#set it back as this is global!
|
13
|
+
Blobsterix.allow_chunked_stream=true
|
14
|
+
Blobsterix.allow_chunked_stream.should == true
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blobsterix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Sudmann
|
@@ -251,6 +251,7 @@ files:
|
|
251
251
|
- scripts/download.rb
|
252
252
|
- scripts/test
|
253
253
|
- spec/lib/blob/blob_api_spec.rb
|
254
|
+
- spec/lib/blobsterix_spec.rb
|
254
255
|
- spec/lib/helper/blob_access_spec.rb
|
255
256
|
- spec/lib/s3/s3_api_spec.rb
|
256
257
|
- spec/lib/service_spec.rb
|
@@ -296,6 +297,7 @@ specification_version: 4
|
|
296
297
|
summary: Blobsterix is a transcoding, caching, storage server.
|
297
298
|
test_files:
|
298
299
|
- spec/lib/blob/blob_api_spec.rb
|
300
|
+
- spec/lib/blobsterix_spec.rb
|
299
301
|
- spec/lib/helper/blob_access_spec.rb
|
300
302
|
- spec/lib/s3/s3_api_spec.rb
|
301
303
|
- spec/lib/service_spec.rb
|