mingle-storage 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/storage/s3_store.rb +4 -0
- metadata +47 -50
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: c157b3c97ce274758df7edbc1842ff097ff455f7
|
|
4
|
+
data.tar.gz: 9abcb0f434eec7377fb95b8b1e33fc0e91cb5036
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 4a0e3179bfe1f1084f46966cc2fa28ba1b238833e1b8673185f2f2cace1337b2aab3942232a9ee54f6f05877b667d9566d0be2f4e522f2863f8673a5e6d1288c
|
|
7
|
+
data.tar.gz: 9fcd0b0eebee49ddfd987da70d52be8660f33c50a9dd234d84fe8ed58fb2c417fff1fbe14d5bd95a4d2dbac5d5e39e6a1ca9d341f1b827245b12618ff82b6a1c
|
data/lib/storage/s3_store.rb
CHANGED
|
@@ -156,6 +156,10 @@ module Storage
|
|
|
156
156
|
:response_content_type => derive_content_type(path)).to_s
|
|
157
157
|
end
|
|
158
158
|
|
|
159
|
+
def public_url(path, opts={})
|
|
160
|
+
object(path).public_url(opts)
|
|
161
|
+
end
|
|
162
|
+
|
|
159
163
|
#todo: this should be interface that retrive a lazy file object
|
|
160
164
|
def absolute_path(*relative_paths)
|
|
161
165
|
File.join("s3:#{bucket_name}://", *relative_paths)
|
metadata
CHANGED
|
@@ -1,64 +1,61 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mingle-storage
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
version: 0.0.9
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.10
|
|
6
5
|
platform: ruby
|
|
7
|
-
authors:
|
|
8
|
-
- ThoughtWorks Studios
|
|
9
|
-
autorequire:
|
|
6
|
+
authors:
|
|
7
|
+
- ThoughtWorks Studios
|
|
8
|
+
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
version: '0'
|
|
27
|
-
none: false
|
|
28
|
-
prerelease: false
|
|
29
|
-
type: :runtime
|
|
11
|
+
|
|
12
|
+
date: 2014-05-21 00:00:00 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: aws-sdk
|
|
16
|
+
prerelease: false
|
|
17
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
18
|
+
requirements:
|
|
19
|
+
- &id002
|
|
20
|
+
- ">="
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: "0"
|
|
23
|
+
type: :runtime
|
|
24
|
+
version_requirements: *id001
|
|
30
25
|
description: Mingle storage API to support filesystem and AWS S3 backed storage
|
|
31
26
|
email: mingle-dev@thoughtworks.com
|
|
32
27
|
executables: []
|
|
28
|
+
|
|
33
29
|
extensions: []
|
|
30
|
+
|
|
34
31
|
extra_rdoc_files: []
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- lib/storage
|
|
38
|
-
- lib/storage/
|
|
32
|
+
|
|
33
|
+
files:
|
|
34
|
+
- lib/storage.rb
|
|
35
|
+
- lib/storage/filesystem_store.rb
|
|
36
|
+
- lib/storage/s3_store.rb
|
|
39
37
|
homepage: http://www.thoughtworks.com/products
|
|
40
|
-
licenses:
|
|
41
|
-
- MIT
|
|
42
|
-
|
|
38
|
+
licenses:
|
|
39
|
+
- MIT
|
|
40
|
+
metadata: {}
|
|
41
|
+
|
|
42
|
+
post_install_message:
|
|
43
43
|
rdoc_options: []
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
requirements:
|
|
54
|
-
- - '>='
|
|
55
|
-
- !ruby/object:Gem::Version
|
|
56
|
-
version: '0'
|
|
57
|
-
none: false
|
|
44
|
+
|
|
45
|
+
require_paths:
|
|
46
|
+
- lib
|
|
47
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
48
|
+
requirements:
|
|
49
|
+
- *id002
|
|
50
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- *id002
|
|
58
53
|
requirements: []
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
54
|
+
|
|
55
|
+
rubyforge_project:
|
|
56
|
+
rubygems_version: 2.1.9
|
|
57
|
+
signing_key:
|
|
58
|
+
specification_version: 4
|
|
63
59
|
summary: Mingle storage API to support filesystem and AWS S3 backed storage
|
|
64
60
|
test_files: []
|
|
61
|
+
|