govuk_notify_rails 2.1.2 → 2.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bee5bf91a1c68af6ccf1952817eca1e2b5bbef952c24dad320aa133edaddf62
4
- data.tar.gz: fd15514c7fd2ba953d1513d75fe642e336233d434befcfbaaf1721cbf45195ee
3
+ metadata.gz: abdf654cc620b9c9aa426a4c4ba430b1b184ca520beefa3fba2ce757b3386bb4
4
+ data.tar.gz: 5f5d4218fa5f5666223cde48afc80f270d7147cf3eba98cafe0937cc271cc551
5
5
  SHA512:
6
- metadata.gz: e2d8cc69c884f15e1c786ef6ef4c780df1cd0f43d118b75f64987c8854b2af4440547975cf26320118b77041ed9b100914bef48929ef52f660e5991796e1e60d
7
- data.tar.gz: 599acbc8839e5322526bca9f0232d64b6f5decfed34c62f7a65bcc11ef1a2aaa0df46c4dc320bc0727ddbaff2565100e3c14ceac233268c5cf94265723343b4e
6
+ metadata.gz: 8633e7d482581a0bd074dbe0fd829c07d1ad69bf9076a6bd4653543128601a5839fc2fd1388dea84331b017dba0d2167bc896903a1135fdde13a0a4b6daa138f
7
+ data.tar.gz: 8837528eacad8ec681f1526ff7d9ce24f5097a42b39e503d1e8a9a1a4530eaf3e5c61ae6cd03d4754ff0eb73200f138f1a23d45eb3d2a0d8265aaea23a5c4b6b
@@ -7,10 +7,20 @@ module GovukNotifyRails
7
7
  end
8
8
 
9
9
  def deliver!(message)
10
- response = notify_client.send_email(
11
- payload_for(message)
12
- )
13
- message.govuk_notify_response = response
10
+ payload = payload_for(message)
11
+
12
+ responses = message.to.map do |to|
13
+ notify_client.send_email(
14
+ payload.merge(email_address: to)
15
+ )
16
+ end
17
+
18
+ message.govuk_notify_responses = responses
19
+
20
+ # For backwards compatibility
21
+ message.govuk_notify_response = responses.first
22
+
23
+ responses
14
24
  end
15
25
 
16
26
  private
@@ -21,7 +31,6 @@ module GovukNotifyRails
21
31
 
22
32
  def payload_for(message)
23
33
  {
24
- email_address: message.to.first,
25
34
  template_id: message.govuk_notify_template,
26
35
  reference: message.govuk_notify_reference,
27
36
  personalisation: message.govuk_notify_personalisation,
@@ -4,6 +4,7 @@ module Mail
4
4
  attr_accessor :govuk_notify_reference
5
5
  attr_accessor :govuk_notify_personalisation
6
6
  attr_accessor :govuk_notify_response
7
+ attr_accessor :govuk_notify_responses
7
8
  attr_accessor :govuk_notify_email_reply_to
8
9
  end
9
10
  end
@@ -1,3 +1,3 @@
1
1
  module GovukNotifyRails
2
- VERSION = '2.1.2'.freeze
2
+ VERSION = '2.2.0'.freeze
3
3
  end
@@ -181,3 +181,207 @@ NotifyMailer#test_email: processed outbound mail in 0.5ms
181
181
  NotifyMailer#test_email: processed outbound mail in 0.4ms
182
182
  NotifyMailer#test_email: processed outbound mail in 0.4ms
183
183
  NotifyMailer#test_email: processed outbound mail in 0.4ms
184
+ NotifyMailer#test_email: processed outbound mail in 4.8ms
185
+ NotifyMailer#test_email: processed outbound mail in 0.5ms
186
+ NotifyMailer#test_email: processed outbound mail in 0.5ms
187
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
188
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
189
+ NotifyMailer#test_email: processed outbound mail in 0.5ms
190
+ NotifyMailer#test_email: processed outbound mail in 3.5ms
191
+ NotifyMailer#test_email: processed outbound mail in 0.5ms
192
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
193
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
194
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
195
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
196
+ NotifyMailer#test_email: processed outbound mail in 3.6ms
197
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
198
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
199
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
200
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
201
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
202
+ NotifyMailer#test_email: processed outbound mail in 9.9ms
203
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
204
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
205
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
206
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
207
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
208
+ NotifyMailer#test_email: processed outbound mail in 9.1ms
209
+ NotifyMailer#test_email: processed outbound mail in 1.8ms
210
+ NotifyMailer#test_email: processed outbound mail in 1.5ms
211
+ NotifyMailer#test_email: processed outbound mail in 1.4ms
212
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
213
+ NotifyMailer#test_email: processed outbound mail in 1.3ms
214
+ NotifyMailer#test_email: processed outbound mail in 3.5ms
215
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
216
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
217
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
218
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
219
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
220
+ NotifyMailer#test_email: processed outbound mail in 3.8ms
221
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
222
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
223
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
224
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
225
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
226
+ NotifyMailer#test_email: processed outbound mail in 3.6ms
227
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
228
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
229
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
230
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
231
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
232
+ NotifyMailer#test_email: processed outbound mail in 3.6ms
233
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
234
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
235
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
236
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
237
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
238
+ NotifyMailer#test_email: processed outbound mail in 10.9ms
239
+ NotifyMailer#test_email: processed outbound mail in 1.8ms
240
+ NotifyMailer#test_email: processed outbound mail in 0.5ms
241
+ NotifyMailer#test_email: processed outbound mail in 0.9ms
242
+ NotifyMailer#test_email: processed outbound mail in 1.0ms
243
+ NotifyMailer#test_email: processed outbound mail in 1.2ms
244
+ NotifyMailer#test_email: processed outbound mail in 3.5ms
245
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
246
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
247
+ NotifyMailer#test_email: processed outbound mail in 0.5ms
248
+ NotifyMailer#test_email: processed outbound mail in 0.6ms
249
+ NotifyMailer#test_email: processed outbound mail in 0.5ms
250
+ NotifyMailer#test_email: processed outbound mail in 3.5ms
251
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
252
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
253
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
254
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
255
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
256
+ NotifyMailer#test_email: processed outbound mail in 3.9ms
257
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
258
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
259
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
260
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
261
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
262
+ NotifyMailer#test_email: processed outbound mail in 3.7ms
263
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
264
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
265
+ NotifyMailer#test_email: processed outbound mail in 0.9ms
266
+ NotifyMailer#test_email: processed outbound mail in 0.7ms
267
+ NotifyMailer#test_email: processed outbound mail in 0.8ms
268
+ NotifyMailer#test_email: processed outbound mail in 3.5ms
269
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
270
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
271
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
272
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
273
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
274
+ NotifyMailer#test_email: processed outbound mail in 9.4ms
275
+ NotifyMailer#test_email: processed outbound mail in 1.6ms
276
+ NotifyMailer#test_email: processed outbound mail in 1.3ms
277
+ NotifyMailer#test_email: processed outbound mail in 1.2ms
278
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
279
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
280
+ NotifyMailer#test_email: processed outbound mail in 3.5ms
281
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
282
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
283
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
284
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
285
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
286
+ NotifyMailer#test_email: processed outbound mail in 3.6ms
287
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
288
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
289
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
290
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
291
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
292
+ NotifyMailer#test_email: processed outbound mail in 3.9ms
293
+ NotifyMailer#test_email: processed outbound mail in 0.6ms
294
+ NotifyMailer#test_email: processed outbound mail in 0.5ms
295
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
296
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
297
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
298
+ NotifyMailer#test_email: processed outbound mail in 3.4ms
299
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
300
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
301
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
302
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
303
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
304
+ NotifyMailer#test_email: processed outbound mail in 3.3ms
305
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
306
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
307
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
308
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
309
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
310
+ NotifyMailer#test_email: processed outbound mail in 3.7ms
311
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
312
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
313
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
314
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
315
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
316
+ NotifyMailer#test_email: processed outbound mail in 10.0ms
317
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
318
+ NotifyMailer#test_email: processed outbound mail in 1.2ms
319
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
320
+ NotifyMailer#test_email: processed outbound mail in 1.1ms
321
+ NotifyMailer#test_email: processed outbound mail in 1.1ms
322
+ NotifyMailer#test_email: processed outbound mail in 8.3ms
323
+ NotifyMailer#test_email: processed outbound mail in 1.3ms
324
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
325
+ NotifyMailer#test_email: processed outbound mail in 1.2ms
326
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
327
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
328
+ NotifyMailer#test_email: processed outbound mail in 5.5ms
329
+ NotifyMailer#test_email: processed outbound mail in 0.5ms
330
+ NotifyMailer#test_email: processed outbound mail in 0.5ms
331
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
332
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
333
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
334
+ NotifyMailer#test_email: processed outbound mail in 3.2ms
335
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
336
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
337
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
338
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
339
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
340
+ NotifyMailer#test_email: processed outbound mail in 3.4ms
341
+ NotifyMailer#test_email: processed outbound mail in 8.4ms
342
+ NotifyMailer#test_email: processed outbound mail in 0.5ms
343
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
344
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
345
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
346
+ NotifyMailer#test_email: processed outbound mail in 3.5ms
347
+ NotifyMailer#test_email: processed outbound mail in 0.5ms
348
+ NotifyMailer#test_email: processed outbound mail in 0.6ms
349
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
350
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
351
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
352
+ NotifyMailer#test_email: processed outbound mail in 4.1ms
353
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
354
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
355
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
356
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
357
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
358
+ NotifyMailer#test_email: processed outbound mail in 3.3ms
359
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
360
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
361
+ NotifyMailer#test_email: processed outbound mail in 1.1ms
362
+ NotifyMailer#test_email: processed outbound mail in 0.9ms
363
+ NotifyMailer#test_email: processed outbound mail in 0.7ms
364
+ NotifyMailer#test_email: processed outbound mail in 3.5ms
365
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
366
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
367
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
368
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
369
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
370
+ NotifyMailer#test_email: processed outbound mail in 3.6ms
371
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
372
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
373
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
374
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
375
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
376
+ NotifyMailer#test_email: processed outbound mail in 3.6ms
377
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
378
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
379
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
380
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
381
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
382
+ NotifyMailer#test_email: processed outbound mail in 24.5ms
383
+ NotifyMailer#test_email: processed outbound mail in 0.5ms
384
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
385
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
386
+ NotifyMailer#test_email: processed outbound mail in 0.4ms
387
+ NotifyMailer#test_email: processed outbound mail in 0.3ms
@@ -7,13 +7,14 @@ describe GovukNotifyRails::Delivery do
7
7
  let(:notify_client) { double('NotifyClient') }
8
8
  let(:reply_to) { "email_reply_to_reference" }
9
9
 
10
+ let(:to) { ['email@example.com'] }
10
11
  let(:personalisation) { { name: 'John' } }
11
12
  let(:reference) { 'my_reference' }
12
13
 
13
14
  let(:message) do
14
15
  instance_double(
15
16
  Mail::Message,
16
- to: ['email@example.com'],
17
+ to: to,
17
18
  govuk_notify_template: 'template-123',
18
19
  govuk_notify_reference: reference,
19
20
  govuk_notify_personalisation: personalisation,
@@ -26,6 +27,7 @@ describe GovukNotifyRails::Delivery do
26
27
  before(:each) do
27
28
  allow(notify_client).to receive(:new).with(api_key).and_return(notify_client)
28
29
  allow(subject).to receive(:notify_client).and_return(notify_client)
30
+ allow(message).to receive(:govuk_notify_responses=)
29
31
  allow(message).to receive(:govuk_notify_response=)
30
32
  end
31
33
 
@@ -39,6 +41,7 @@ describe GovukNotifyRails::Delivery do
39
41
  email_reply_to_id: reply_to
40
42
  }
41
43
  )
44
+
42
45
  subject.deliver!(message)
43
46
  end
44
47
 
@@ -48,7 +51,12 @@ describe GovukNotifyRails::Delivery do
48
51
  end
49
52
 
50
53
  it 'returns the client response' do
51
- expect(subject.deliver!(message)).to eq('response')
54
+ expect(subject.deliver!(message)).to eq(['response'])
55
+ end
56
+
57
+ it 'assigns the client responses for later inspection' do
58
+ subject.deliver!(message)
59
+ expect(message).to have_received(:govuk_notify_responses=).with(['response'])
52
60
  end
53
61
 
54
62
  it 'assigns the client response for later inspection' do
@@ -57,6 +65,37 @@ describe GovukNotifyRails::Delivery do
57
65
  end
58
66
  end
59
67
 
68
+ context 'multiple to addresses' do
69
+ let(:to) { ['email1@example.com', 'email2@example.com'] }
70
+
71
+ it 'supports messages without personalisation' do
72
+ expect(notify_client).to receive(:send_email).with(
73
+ a_hash_including(email_address: 'email1@example.com')
74
+ )
75
+
76
+ expect(notify_client).to receive(:send_email).with(
77
+ a_hash_including(email_address: 'email2@example.com')
78
+ )
79
+
80
+ subject.deliver!(message)
81
+ end
82
+
83
+ context 'client response' do
84
+ before do
85
+ allow(notify_client).to receive(:send_email).and_return('response1', 'response2')
86
+ subject.deliver!(message)
87
+ end
88
+
89
+ it 'assigns the client responses for later inspection' do
90
+ expect(message).to have_received(:govuk_notify_responses=).with(['response1', 'response2'])
91
+ end
92
+
93
+ it 'assigns the first client response for later inspection' do
94
+ expect(message).to have_received(:govuk_notify_response=).with('response1')
95
+ end
96
+ end
97
+ end
98
+
60
99
  context 'no personalisation set' do
61
100
  let(:personalisation) { nil }
62
101
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_notify_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesus Laiz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-22 00:00:00.000000000 Z
11
+ date: 2021-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.7'
47
+ version: '2.2'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.7'
54
+ version: '2.2'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -181,64 +181,64 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
- rubygems_version: 3.0.6
184
+ rubygems_version: 3.0.3
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: Custom ActionMailer delivery method for sending emails via GOV.UK Notify
188
188
  API
189
189
  test_files:
190
- - spec/dummy/app/assets/config/manifest.js
191
- - spec/dummy/app/assets/javascripts/application.js
192
- - spec/dummy/app/assets/javascripts/cable.js
193
- - spec/dummy/app/assets/stylesheets/application.css
194
- - spec/dummy/app/controllers/application_controller.rb
195
- - spec/dummy/app/helpers/application_helper.rb
196
- - spec/dummy/app/jobs/application_job.rb
197
- - spec/dummy/app/mailers/application_mailer.rb
190
+ - spec/spec_helper.rb
198
191
  - spec/dummy/app/mailers/notify_mailer.rb
192
+ - spec/dummy/app/mailers/application_mailer.rb
199
193
  - spec/dummy/app/models/application_record.rb
194
+ - spec/dummy/app/jobs/application_job.rb
195
+ - spec/dummy/app/controllers/application_controller.rb
200
196
  - spec/dummy/app/views/layouts/application.html.erb
201
197
  - spec/dummy/app/views/layouts/mailer.html.erb
202
198
  - spec/dummy/app/views/layouts/mailer.text.erb
203
- - spec/dummy/bin/bundle
204
- - spec/dummy/bin/rails
199
+ - spec/dummy/app/assets/config/manifest.js
200
+ - spec/dummy/app/assets/javascripts/cable.js
201
+ - spec/dummy/app/assets/javascripts/application.js
202
+ - spec/dummy/app/assets/stylesheets/application.css
203
+ - spec/dummy/app/helpers/application_helper.rb
204
+ - spec/dummy/bin/update
205
205
  - spec/dummy/bin/rake
206
206
  - spec/dummy/bin/setup
207
+ - spec/dummy/bin/bundle
207
208
  - spec/dummy/bin/spring
208
- - spec/dummy/bin/update
209
- - spec/dummy/config/application.rb
210
- - spec/dummy/config/boot.rb
211
- - spec/dummy/config/environment.rb
212
- - spec/dummy/config/environments/development.rb
209
+ - spec/dummy/bin/rails
210
+ - spec/dummy/config/secrets.yml
211
+ - spec/dummy/config/routes.rb
212
+ - spec/dummy/config/locales/en.yml
213
213
  - spec/dummy/config/environments/production.rb
214
+ - spec/dummy/config/environments/development.rb
214
215
  - spec/dummy/config/environments/test.rb
216
+ - spec/dummy/config/spring.rb
217
+ - spec/dummy/config/environment.rb
218
+ - spec/dummy/config/application.rb
219
+ - spec/dummy/config/puma.rb
220
+ - spec/dummy/config/boot.rb
215
221
  - spec/dummy/config/initializers/application_controller_renderer.rb
216
- - spec/dummy/config/initializers/assets.rb
217
222
  - spec/dummy/config/initializers/backtrace_silencers.rb
218
- - spec/dummy/config/initializers/cookies_serializer.rb
219
- - spec/dummy/config/initializers/filter_parameter_logging.rb
220
- - spec/dummy/config/initializers/govuk_notify_rails.rb
221
- - spec/dummy/config/initializers/inflections.rb
222
223
  - spec/dummy/config/initializers/mime_types.rb
223
- - spec/dummy/config/initializers/new_framework_defaults.rb
224
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
224
225
  - spec/dummy/config/initializers/session_store.rb
225
226
  - spec/dummy/config/initializers/wrap_parameters.rb
226
- - spec/dummy/config/locales/en.yml
227
- - spec/dummy/config/puma.rb
228
- - spec/dummy/config/routes.rb
229
- - spec/dummy/config/secrets.yml
230
- - spec/dummy/config/spring.rb
227
+ - spec/dummy/config/initializers/new_framework_defaults.rb
228
+ - spec/dummy/config/initializers/assets.rb
229
+ - spec/dummy/config/initializers/cookies_serializer.rb
230
+ - spec/dummy/config/initializers/govuk_notify_rails.rb
231
+ - spec/dummy/config/initializers/inflections.rb
231
232
  - spec/dummy/config.ru
232
- - spec/dummy/log/development.log
233
- - spec/dummy/public/404.html
233
+ - spec/dummy/README.md
234
+ - spec/dummy/Rakefile
235
+ - spec/dummy/public/favicon.ico
234
236
  - spec/dummy/public/422.html
237
+ - spec/dummy/public/apple-touch-icon.png
235
238
  - spec/dummy/public/500.html
239
+ - spec/dummy/public/404.html
236
240
  - spec/dummy/public/apple-touch-icon-precomposed.png
237
- - spec/dummy/public/apple-touch-icon.png
238
- - spec/dummy/public/favicon.ico
239
241
  - spec/dummy/public/robots.txt
240
- - spec/dummy/Rakefile
241
- - spec/dummy/README.md
242
+ - spec/dummy/log/development.log
242
243
  - spec/govuk_notify_delivery/delivery_spec.rb
243
244
  - spec/mailers/notify_mailer_spec.rb
244
- - spec/spec_helper.rb