opener-daemons 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd8438eda64ac92daf141e6b552912a1632f3221
4
- data.tar.gz: 216dc5b60fa17d02cc87078d297f4801c835fd49
3
+ metadata.gz: 03b7be7e62ee26df448d1eab7ef16b439fc68200
4
+ data.tar.gz: ecee4827ada3b9b70d5411628b2eebf48a955e2e
5
5
  SHA512:
6
- metadata.gz: 1c7f9574f03c5a4cdc3d787b61f94b02250de32b0719a66b4ce66e75084d13f8d881d24013a98d8b3efb58ff32fd37190ca948b59f792ae7810d57008106f6bf
7
- data.tar.gz: 3adeb607c13d0fdd06c59ca9d6819a570cb680ee9b50740ccd323af5cdf3a10d015325aa68ecfda8013e125ee5056e93cf2c654d51d9f14623c4452ac40a43b7
6
+ metadata.gz: fcf4c032d995b86df844c3fed445c56292e4a7139f74c153aa968f018a0dcfc1a240b500c74f516b10f16fc538de4cb6f15bc7326154d0055ac2a7d474dbc5e3
7
+ data.tar.gz: c4f90bac71ab8ca51dbc92eaac7c107c226f005754932dfa96006faa520072bbee58a58a7474f5d5b1dbb0e57594f517648e7f9dffe5a6d3526ef3f4b636af31
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  module Daemons
3
- VERSION = '2.0.1'
3
+ VERSION = '2.0.2'
4
4
  end # Daemons
5
5
  end # Opener
@@ -14,6 +14,7 @@ Gem::Specification.new do |spec|
14
14
 
15
15
  spec.files = Dir.glob([
16
16
  'lib/**/*',
17
+ 'schema/**/*',
17
18
  'LICENSE.txt',
18
19
  '*.gemspec',
19
20
  'README.md'
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "title": "opener-daemons",
4
+ "description": "Schema for SQS input messages",
5
+ "type": "object",
6
+ "properties": {
7
+ "input_url": {
8
+ "description": "URL to the KAF document to process",
9
+ "type": "string"
10
+ },
11
+
12
+ "identifier": {
13
+ "description": "A unique identifier to associate with the document",
14
+ "type": "string"
15
+ },
16
+
17
+ "callbacks": {
18
+ "description": "An Array of URLs to submit the result to",
19
+ "type": "array",
20
+ "minItems": 1
21
+ },
22
+
23
+ "metadata": {
24
+ "description": "Extra metadata to pass along to each output URL",
25
+ "type": "object",
26
+ "additionalProperties": true
27
+ }
28
+ },
29
+ "required": ["input_url", "callbacks"]
30
+ }
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.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wilco van Duinkerken
@@ -195,6 +195,7 @@ files:
195
195
  - lib/opener/daemons/version.rb
196
196
  - lib/opener/daemons/worker.rb
197
197
  - opener-daemons.gemspec
198
+ - schema/sqs_input.json
198
199
  homepage: http://opener-project.github.io
199
200
  licenses:
200
201
  - Apache 2.0