opener-daemons 2.3.6 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opener/daemons/uploader.rb +3 -2
- data/lib/opener/daemons/version.rb +1 -1
- data/lib/opener/daemons/worker.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89d1233e17af0392f47e94b1e16ee794ba28209b
|
4
|
+
data.tar.gz: d2b14b2c909e84581d72401faa728f0d8265bd0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13c76deaeb2bb450570300a59dbed9071623af9d6d2929144f51188c7f27ce8b34048d5606631bf73b73ff0906e45d220b02e4cc06d5772aa2eae509e8c25860
|
7
|
+
data.tar.gz: 55a6634e0d47651c3f78bf648c13bcef02ad6565cfc02500cb78e7577d587c758f61e41d390e2acd3613e3967db1a11d9ba45047fd0f495e2b1284ab102a86a5
|
@@ -15,10 +15,11 @@ module Opener
|
|
15
15
|
#
|
16
16
|
def upload(identifier, document, metadata = {})
|
17
17
|
object = create(
|
18
|
-
"#{identifier}.xml",
|
18
|
+
"#{SecureRandom.hex}/#{identifier}.xml",
|
19
19
|
document,
|
20
20
|
:metadata => metadata,
|
21
|
-
:content_type => 'application/xml'
|
21
|
+
:content_type => 'application/xml',
|
22
|
+
:acl => :public_read
|
22
23
|
)
|
23
24
|
|
24
25
|
return object
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-daemons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wilco van Duinkerken
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-07-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
231
231
|
version: '0'
|
232
232
|
requirements: []
|
233
233
|
rubyforge_project:
|
234
|
-
rubygems_version: 2.
|
234
|
+
rubygems_version: 2.4.5
|
235
235
|
signing_key:
|
236
236
|
specification_version: 4
|
237
237
|
summary: Toolkit for turning OpeNER components into daemons
|