alephant-publisher-queue 2.4.2 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/alephant-publisher-queue.gemspec +1 -1
- data/lib/alephant/publisher/queue.rb +1 -1
- data/lib/alephant/publisher/queue/publisher.rb +3 -3
- data/lib/alephant/publisher/queue/revalidate_writer.rb +1 -1
- data/lib/alephant/publisher/queue/sqs_helper/archiver.rb +6 -6
- data/lib/alephant/publisher/queue/version.rb +1 -1
- data/lib/alephant/publisher/queue/writer.rb +5 -5
- data/spec/alephant/publisher/queue/revalidate_writer_spec.rb +3 -3
- data/spec/alephant/publisher/queue/sqs_helper/archiver_spec.rb +4 -4
- data/spec/alephant/publisher/queue/writer_spec.rb +4 -4
- metadata +100 -100
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf29d6e5e6cd44bc99c3d654a013e57afb4191a2
|
4
|
+
data.tar.gz: 019f8916b0859fb3e1eca573c08edff35ee8cd04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11bcdfdb4998721749b617dcfb86196cf3d780666ee11f2d93f230270a0192653d71fd9e187a1bb99e9684b09c0d9926120e11466ec642a85b0d35fef208c757
|
7
|
+
data.tar.gz: 37aa6ffdd3f8e356897d6f23184347c136ffd632211b75f35d1e8037d756582351df6e498bf4bbd72cddd6a4c287a462a73fee831f9a8750a5f405e03c784497
|
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_runtime_dependency "dalli-elasticache"
|
37
37
|
spec.add_runtime_dependency "alephant-support"
|
38
38
|
spec.add_runtime_dependency "alephant-sequencer", "~> 3"
|
39
|
-
spec.add_runtime_dependency "alephant-
|
39
|
+
spec.add_runtime_dependency "alephant-storage"
|
40
40
|
spec.add_runtime_dependency "alephant-logger", "~> 3.1"
|
41
41
|
spec.add_runtime_dependency "alephant-lookup", "~> 2"
|
42
42
|
spec.add_runtime_dependency "alephant-renderer"
|
@@ -8,7 +8,7 @@ require "alephant/publisher/queue/sqs_helper/archiver"
|
|
8
8
|
require "alephant/publisher/queue/processor"
|
9
9
|
require "alephant/publisher/queue/revalidate_processor"
|
10
10
|
require "alephant/logger"
|
11
|
-
require "alephant/
|
11
|
+
require "alephant/storage"
|
12
12
|
require "json"
|
13
13
|
|
14
14
|
module Alephant
|
@@ -28,7 +28,7 @@ module Alephant
|
|
28
28
|
private
|
29
29
|
|
30
30
|
def archiver
|
31
|
-
Alephant::Publisher::Queue::SQSHelper::Archiver.new(
|
31
|
+
Alephant::Publisher::Queue::SQSHelper::Archiver.new(archive_storage, archiver_opts)
|
32
32
|
end
|
33
33
|
|
34
34
|
def archiver_opts
|
@@ -46,8 +46,8 @@ module Alephant
|
|
46
46
|
options.key?(key) && key != :log_validator
|
47
47
|
end
|
48
48
|
|
49
|
-
def
|
50
|
-
Alephant::
|
49
|
+
def archive_storage
|
50
|
+
Alephant::Storage.new(
|
51
51
|
opts.writer[:s3_bucket_id],
|
52
52
|
opts.writer[:s3_object_path]
|
53
53
|
)
|
@@ -9,10 +9,10 @@ module Alephant
|
|
9
9
|
class Archiver
|
10
10
|
include Alephant::Logger
|
11
11
|
|
12
|
-
attr_reader :
|
12
|
+
attr_reader :storage, :async, :log_message_body, :log_validator
|
13
13
|
|
14
|
-
def initialize(
|
15
|
-
@
|
14
|
+
def initialize(storage, opts)
|
15
|
+
@storage = storage
|
16
16
|
@async = opts[:async_store]
|
17
17
|
@log_message_body = opts[:log_archive_message]
|
18
18
|
@log_validator = opts[:log_validator] || -> _ { true }
|
@@ -51,14 +51,14 @@ module Alephant
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def store_item(message)
|
54
|
-
|
55
|
-
|
54
|
+
storage.put(
|
55
|
+
storage_key(message.id),
|
56
56
|
message.body,
|
57
57
|
meta_for(message)
|
58
58
|
)
|
59
59
|
end
|
60
60
|
|
61
|
-
def
|
61
|
+
def storage_key(id)
|
62
62
|
"archive/#{date_key}/#{id}"
|
63
63
|
end
|
64
64
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require "crimp"
|
2
2
|
|
3
|
-
require "alephant/
|
3
|
+
require "alephant/storage"
|
4
4
|
require "alephant/lookup"
|
5
5
|
require "alephant/logger"
|
6
6
|
require "alephant/sequencer"
|
@@ -13,7 +13,7 @@ module Alephant
|
|
13
13
|
class Writer
|
14
14
|
include Alephant::Logger
|
15
15
|
|
16
|
-
attr_reader :config, :message, :
|
16
|
+
attr_reader :config, :message, :storage, :parser
|
17
17
|
|
18
18
|
def initialize(config, message)
|
19
19
|
@config = config
|
@@ -24,8 +24,8 @@ module Alephant
|
|
24
24
|
@renderer ||= Alephant::Renderer.create(config, data)
|
25
25
|
end
|
26
26
|
|
27
|
-
def
|
28
|
-
@
|
27
|
+
def storage
|
28
|
+
@storage ||= Alephant::Storage.new(
|
29
29
|
config[:s3_bucket_id],
|
30
30
|
config[:s3_object_path]
|
31
31
|
)
|
@@ -93,7 +93,7 @@ module Alephant
|
|
93
93
|
storage_opts: storage_opts
|
94
94
|
)
|
95
95
|
|
96
|
-
|
96
|
+
storage.put(location, render, view.content_type, storage_opts).tap do
|
97
97
|
logger.info(
|
98
98
|
"event" => "MessageStored",
|
99
99
|
"location" => location,
|
@@ -25,7 +25,7 @@ RSpec.describe Alephant::Publisher::Queue::RevalidateWriter do
|
|
25
25
|
end
|
26
26
|
|
27
27
|
describe '#run!' do
|
28
|
-
let(:storage_double) { instance_double(Alephant::
|
28
|
+
let(:storage_double) { instance_double(Alephant::Storage, put: nil) }
|
29
29
|
let(:lookup_double) { instance_double(Alephant::Lookup::LookupHelper, write: nil) }
|
30
30
|
let(:renderer_double) do
|
31
31
|
instance_double(Alephant::Renderer::Renderer, views: { hello_world_view: hello_world_view })
|
@@ -39,7 +39,7 @@ RSpec.describe Alephant::Publisher::Queue::RevalidateWriter do
|
|
39
39
|
|
40
40
|
before do
|
41
41
|
allow(Alephant::Renderer).to receive(:create).and_return(renderer_double)
|
42
|
-
allow(Alephant::
|
42
|
+
allow(Alephant::Storage).to receive(:new).and_return(storage_double)
|
43
43
|
allow(Alephant::Lookup).to receive(:create).and_return(lookup_double)
|
44
44
|
end
|
45
45
|
|
@@ -84,7 +84,7 @@ RSpec.describe Alephant::Publisher::Queue::RevalidateWriter do
|
|
84
84
|
|
85
85
|
describe '#storage' do
|
86
86
|
it 'builds an Alephant::Cache object' do
|
87
|
-
expect(subject.storage).to be_a(Alephant::
|
87
|
+
expect(subject.storage).to be_a(Alephant::Storage)
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
3
|
describe Alephant::Publisher::Queue::SQSHelper::Archiver do
|
4
|
-
let(:
|
4
|
+
let(:storage) { instance_double(Alephant::Storage, :put => nil) }
|
5
5
|
let(:queue) { instance_double(AWS::SQS::Queue, :url => nil) }
|
6
6
|
let(:msg_body) { { :Message => JSON.generate(msg_uri) } }
|
7
7
|
let(:msg_uri) { { :uri => "/content/asset/newsbeat" } }
|
@@ -22,18 +22,18 @@ describe Alephant::Publisher::Queue::SQSHelper::Archiver do
|
|
22
22
|
}
|
23
23
|
end
|
24
24
|
|
25
|
-
let(:subject) { described_class.new(
|
25
|
+
let (:subject) { described_class.new(storage, opts) }
|
26
26
|
|
27
27
|
describe "#see" do
|
28
28
|
let(:time_now) { DateTime.parse("Feb 24 1981") }
|
29
29
|
|
30
|
-
context "calls
|
30
|
+
context "calls storage put with the correct params" do
|
31
31
|
before(:each) do
|
32
32
|
allow(DateTime).to receive(:now).and_return(time_now)
|
33
33
|
end
|
34
34
|
|
35
35
|
specify do
|
36
|
-
expect(
|
36
|
+
expect(storage).to receive(:put).with(
|
37
37
|
"archive/#{time_now.strftime('%d-%m-%Y_%H')}/id",
|
38
38
|
message.body,
|
39
39
|
:id => message.id,
|
@@ -17,7 +17,7 @@ describe Alephant::Publisher::Queue::Writer do
|
|
17
17
|
before(:each) do
|
18
18
|
AWS.stub!
|
19
19
|
|
20
|
-
allow_any_instance_of(Alephant::
|
20
|
+
allow_any_instance_of(Alephant::Storage).to receive(:initialize)
|
21
21
|
.with(
|
22
22
|
opts[:s3_bucket_id],
|
23
23
|
opts[:s3_object_path]
|
@@ -71,7 +71,7 @@ describe Alephant::Publisher::Queue::Writer do
|
|
71
71
|
end
|
72
72
|
|
73
73
|
it "should write the correct lookup location" do
|
74
|
-
allow_any_instance_of(Alephant::
|
74
|
+
allow_any_instance_of(Alephant::Storage).to receive(:put)
|
75
75
|
|
76
76
|
allow_any_instance_of(Alephant::Lookup::LookupHelper).to receive(:write)
|
77
77
|
.with(
|
@@ -82,10 +82,10 @@ describe Alephant::Publisher::Queue::Writer do
|
|
82
82
|
)
|
83
83
|
end
|
84
84
|
|
85
|
-
it "should put the correct location, content to
|
85
|
+
it "should put the correct location, content to storage" do
|
86
86
|
allow_any_instance_of(Alephant::Lookup::LookupHelper).to receive(:write)
|
87
87
|
|
88
|
-
allow_any_instance_of(Alephant::
|
88
|
+
allow_any_instance_of(Alephant::Storage).to receive(:put)
|
89
89
|
.with(expected_location, "content", "foo/bar", :msg_id=>"id")
|
90
90
|
end
|
91
91
|
|
metadata
CHANGED
@@ -1,321 +1,321 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alephant-publisher-queue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BBC News
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
14
15
|
requirement: !ruby/object:Gem::Requirement
|
15
16
|
requirements:
|
16
|
-
- - ~>
|
17
|
+
- - "~>"
|
17
18
|
- !ruby/object:Gem::Version
|
18
19
|
version: '1.5'
|
19
|
-
name: bundler
|
20
|
-
prerelease: false
|
21
20
|
type: :development
|
21
|
+
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
28
29
|
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
|
-
- -
|
31
|
+
- - ">="
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: '0'
|
33
|
-
name: rspec
|
34
|
-
prerelease: false
|
35
34
|
type: :development
|
35
|
+
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec-nc
|
42
43
|
requirement: !ruby/object:Gem::Requirement
|
43
44
|
requirements:
|
44
|
-
- -
|
45
|
+
- - ">="
|
45
46
|
- !ruby/object:Gem::Version
|
46
47
|
version: '0'
|
47
|
-
name: rspec-nc
|
48
|
-
prerelease: false
|
49
48
|
type: :development
|
49
|
+
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
+
name: guard
|
56
57
|
requirement: !ruby/object:Gem::Requirement
|
57
58
|
requirements:
|
58
|
-
- -
|
59
|
+
- - ">="
|
59
60
|
- !ruby/object:Gem::Version
|
60
61
|
version: '0'
|
61
|
-
name: guard
|
62
|
-
prerelease: false
|
63
62
|
type: :development
|
63
|
+
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
+
name: guard-rspec
|
70
71
|
requirement: !ruby/object:Gem::Requirement
|
71
72
|
requirements:
|
72
|
-
- -
|
73
|
+
- - ">="
|
73
74
|
- !ruby/object:Gem::Version
|
74
75
|
version: '0'
|
75
|
-
name: guard-rspec
|
76
|
-
prerelease: false
|
77
76
|
type: :development
|
77
|
+
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
+
name: listen
|
84
85
|
requirement: !ruby/object:Gem::Requirement
|
85
86
|
requirements:
|
86
|
-
- - ~>
|
87
|
+
- - "~>"
|
87
88
|
- !ruby/object:Gem::Version
|
88
89
|
version: 3.0.8
|
89
|
-
name: listen
|
90
|
-
prerelease: false
|
91
90
|
type: :development
|
91
|
+
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 3.0.8
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
+
name: pry
|
98
99
|
requirement: !ruby/object:Gem::Requirement
|
99
100
|
requirements:
|
100
|
-
- -
|
101
|
+
- - ">="
|
101
102
|
- !ruby/object:Gem::Version
|
102
103
|
version: '0'
|
103
|
-
name: pry
|
104
|
-
prerelease: false
|
105
104
|
type: :development
|
105
|
+
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
+
name: pry-remote
|
112
113
|
requirement: !ruby/object:Gem::Requirement
|
113
114
|
requirements:
|
114
|
-
- -
|
115
|
+
- - ">="
|
115
116
|
- !ruby/object:Gem::Version
|
116
117
|
version: '0'
|
117
|
-
name: pry-remote
|
118
|
-
prerelease: false
|
119
118
|
type: :development
|
119
|
+
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry-nav
|
126
127
|
requirement: !ruby/object:Gem::Requirement
|
127
128
|
requirements:
|
128
|
-
- -
|
129
|
+
- - ">="
|
129
130
|
- !ruby/object:Gem::Version
|
130
131
|
version: '0'
|
131
|
-
name: pry-nav
|
132
|
-
prerelease: false
|
133
132
|
type: :development
|
133
|
+
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
+
name: rake-rspec
|
140
141
|
requirement: !ruby/object:Gem::Requirement
|
141
142
|
requirements:
|
142
|
-
- -
|
143
|
+
- - ">="
|
143
144
|
- !ruby/object:Gem::Version
|
144
145
|
version: '0'
|
145
|
-
name: rake-rspec
|
146
|
-
prerelease: false
|
147
146
|
type: :development
|
147
|
+
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- -
|
150
|
+
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
+
name: simplecov
|
154
155
|
requirement: !ruby/object:Gem::Requirement
|
155
156
|
requirements:
|
156
|
-
- -
|
157
|
+
- - ">="
|
157
158
|
- !ruby/object:Gem::Version
|
158
159
|
version: '0'
|
159
|
-
name: simplecov
|
160
|
-
prerelease: false
|
161
160
|
type: :development
|
161
|
+
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- -
|
164
|
+
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
+
name: rake
|
168
169
|
requirement: !ruby/object:Gem::Requirement
|
169
170
|
requirements:
|
170
|
-
- -
|
171
|
+
- - ">="
|
171
172
|
- !ruby/object:Gem::Version
|
172
173
|
version: '0'
|
173
|
-
name: rake
|
174
|
-
prerelease: false
|
175
174
|
type: :runtime
|
175
|
+
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- -
|
178
|
+
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
|
+
name: aws-sdk
|
182
183
|
requirement: !ruby/object:Gem::Requirement
|
183
184
|
requirements:
|
184
|
-
- - ~>
|
185
|
+
- - "~>"
|
185
186
|
- !ruby/object:Gem::Version
|
186
187
|
version: '1.0'
|
187
|
-
name: aws-sdk
|
188
|
-
prerelease: false
|
189
188
|
type: :runtime
|
189
|
+
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- - ~>
|
192
|
+
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '1.0'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
|
+
name: crimp
|
196
197
|
requirement: !ruby/object:Gem::Requirement
|
197
198
|
requirements:
|
198
|
-
- -
|
199
|
+
- - ">="
|
199
200
|
- !ruby/object:Gem::Version
|
200
201
|
version: '0'
|
201
|
-
name: crimp
|
202
|
-
prerelease: false
|
203
202
|
type: :runtime
|
203
|
+
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
|
-
- -
|
206
|
+
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
|
+
name: faraday
|
210
211
|
requirement: !ruby/object:Gem::Requirement
|
211
212
|
requirements:
|
212
|
-
- -
|
213
|
+
- - ">="
|
213
214
|
- !ruby/object:Gem::Version
|
214
215
|
version: '0'
|
215
|
-
name: faraday
|
216
|
-
prerelease: false
|
217
216
|
type: :runtime
|
217
|
+
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
|
-
- -
|
220
|
+
- - ">="
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: '0'
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
|
+
name: dalli-elasticache
|
224
225
|
requirement: !ruby/object:Gem::Requirement
|
225
226
|
requirements:
|
226
|
-
- -
|
227
|
+
- - ">="
|
227
228
|
- !ruby/object:Gem::Version
|
228
229
|
version: '0'
|
229
|
-
name: dalli-elasticache
|
230
|
-
prerelease: false
|
231
230
|
type: :runtime
|
231
|
+
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
|
-
- -
|
234
|
+
- - ">="
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '0'
|
237
237
|
- !ruby/object:Gem::Dependency
|
238
|
+
name: alephant-support
|
238
239
|
requirement: !ruby/object:Gem::Requirement
|
239
240
|
requirements:
|
240
|
-
- -
|
241
|
+
- - ">="
|
241
242
|
- !ruby/object:Gem::Version
|
242
243
|
version: '0'
|
243
|
-
name: alephant-support
|
244
|
-
prerelease: false
|
245
244
|
type: :runtime
|
245
|
+
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
|
-
- -
|
248
|
+
- - ">="
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: '0'
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
|
+
name: alephant-sequencer
|
252
253
|
requirement: !ruby/object:Gem::Requirement
|
253
254
|
requirements:
|
254
|
-
- - ~>
|
255
|
+
- - "~>"
|
255
256
|
- !ruby/object:Gem::Version
|
256
257
|
version: '3'
|
257
|
-
name: alephant-sequencer
|
258
|
-
prerelease: false
|
259
258
|
type: :runtime
|
259
|
+
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
|
-
- - ~>
|
262
|
+
- - "~>"
|
263
263
|
- !ruby/object:Gem::Version
|
264
264
|
version: '3'
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
|
+
name: alephant-storage
|
266
267
|
requirement: !ruby/object:Gem::Requirement
|
267
268
|
requirements:
|
268
|
-
- -
|
269
|
+
- - ">="
|
269
270
|
- !ruby/object:Gem::Version
|
270
271
|
version: '0'
|
271
|
-
name: alephant-cache
|
272
|
-
prerelease: false
|
273
272
|
type: :runtime
|
273
|
+
prerelease: false
|
274
274
|
version_requirements: !ruby/object:Gem::Requirement
|
275
275
|
requirements:
|
276
|
-
- -
|
276
|
+
- - ">="
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: '0'
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
|
+
name: alephant-logger
|
280
281
|
requirement: !ruby/object:Gem::Requirement
|
281
282
|
requirements:
|
282
|
-
- - ~>
|
283
|
+
- - "~>"
|
283
284
|
- !ruby/object:Gem::Version
|
284
285
|
version: '3.1'
|
285
|
-
name: alephant-logger
|
286
|
-
prerelease: false
|
287
286
|
type: :runtime
|
287
|
+
prerelease: false
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
|
-
- - ~>
|
290
|
+
- - "~>"
|
291
291
|
- !ruby/object:Gem::Version
|
292
292
|
version: '3.1'
|
293
293
|
- !ruby/object:Gem::Dependency
|
294
|
+
name: alephant-lookup
|
294
295
|
requirement: !ruby/object:Gem::Requirement
|
295
296
|
requirements:
|
296
|
-
- - ~>
|
297
|
+
- - "~>"
|
297
298
|
- !ruby/object:Gem::Version
|
298
299
|
version: '2'
|
299
|
-
name: alephant-lookup
|
300
|
-
prerelease: false
|
301
300
|
type: :runtime
|
301
|
+
prerelease: false
|
302
302
|
version_requirements: !ruby/object:Gem::Requirement
|
303
303
|
requirements:
|
304
|
-
- - ~>
|
304
|
+
- - "~>"
|
305
305
|
- !ruby/object:Gem::Version
|
306
306
|
version: '2'
|
307
307
|
- !ruby/object:Gem::Dependency
|
308
|
+
name: alephant-renderer
|
308
309
|
requirement: !ruby/object:Gem::Requirement
|
309
310
|
requirements:
|
310
|
-
- -
|
311
|
+
- - ">="
|
311
312
|
- !ruby/object:Gem::Version
|
312
313
|
version: '0'
|
313
|
-
name: alephant-renderer
|
314
|
-
prerelease: false
|
315
314
|
type: :runtime
|
315
|
+
prerelease: false
|
316
316
|
version_requirements: !ruby/object:Gem::Requirement
|
317
317
|
requirements:
|
318
|
-
- -
|
318
|
+
- - ">="
|
319
319
|
- !ruby/object:Gem::Version
|
320
320
|
version: '0'
|
321
321
|
description: Static publishing to S3 based on SQS messages
|
@@ -325,9 +325,9 @@ executables: []
|
|
325
325
|
extensions: []
|
326
326
|
extra_rdoc_files: []
|
327
327
|
files:
|
328
|
-
- .gitignore
|
329
|
-
- .ruby-version
|
330
|
-
- .travis.yml
|
328
|
+
- ".gitignore"
|
329
|
+
- ".ruby-version"
|
330
|
+
- ".travis.yml"
|
331
331
|
- Gemfile
|
332
332
|
- Guardfile
|
333
333
|
- LICENSE.txt
|
@@ -357,24 +357,24 @@ homepage: https://github.com/BBC-News/alephant-publisher-queue
|
|
357
357
|
licenses:
|
358
358
|
- MIT
|
359
359
|
metadata: {}
|
360
|
-
post_install_message:
|
360
|
+
post_install_message:
|
361
361
|
rdoc_options: []
|
362
362
|
require_paths:
|
363
363
|
- lib
|
364
364
|
required_ruby_version: !ruby/object:Gem::Requirement
|
365
365
|
requirements:
|
366
|
-
- -
|
366
|
+
- - ">="
|
367
367
|
- !ruby/object:Gem::Version
|
368
368
|
version: '0'
|
369
369
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
370
370
|
requirements:
|
371
|
-
- -
|
371
|
+
- - ">="
|
372
372
|
- !ruby/object:Gem::Version
|
373
373
|
version: '0'
|
374
374
|
requirements: []
|
375
|
-
rubyforge_project:
|
376
|
-
rubygems_version: 2.
|
377
|
-
signing_key:
|
375
|
+
rubyforge_project:
|
376
|
+
rubygems_version: 2.6.12
|
377
|
+
signing_key:
|
378
378
|
specification_version: 4
|
379
379
|
summary: Static publishing to S3 based on SQS messages
|
380
380
|
test_files:
|