govuk_notify_rails 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +25 -0
  3. data/lib/govuk_notify_rails/delivery.rb +35 -0
  4. data/lib/govuk_notify_rails/mail_ext.rb +6 -0
  5. data/lib/govuk_notify_rails/mailer.rb +32 -0
  6. data/lib/govuk_notify_rails/version.rb +3 -0
  7. data/lib/govuk_notify_rails.rb +7 -0
  8. data/spec/dummy/README.rdoc +28 -0
  9. data/spec/dummy/Rakefile +6 -0
  10. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  11. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  12. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  13. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  14. data/spec/dummy/app/mailers/notify_mailer.rb +10 -0
  15. data/spec/dummy/app/views/layouts/application.html.erb +13 -0
  16. data/spec/dummy/bin/bundle +3 -0
  17. data/spec/dummy/bin/rails +4 -0
  18. data/spec/dummy/bin/rake +4 -0
  19. data/spec/dummy/bin/setup +29 -0
  20. data/spec/dummy/config/application.rb +27 -0
  21. data/spec/dummy/config/boot.rb +5 -0
  22. data/spec/dummy/config/environment.rb +5 -0
  23. data/spec/dummy/config/environments/development.rb +38 -0
  24. data/spec/dummy/config/environments/production.rb +76 -0
  25. data/spec/dummy/config/environments/test.rb +42 -0
  26. data/spec/dummy/config/initializers/assets.rb +11 -0
  27. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  28. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  29. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  30. data/spec/dummy/config/initializers/govuk_notify_rails.rb +3 -0
  31. data/spec/dummy/config/initializers/inflections.rb +16 -0
  32. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  33. data/spec/dummy/config/initializers/session_store.rb +3 -0
  34. data/spec/dummy/config/initializers/wrap_parameters.rb +9 -0
  35. data/spec/dummy/config/locales/en.yml +23 -0
  36. data/spec/dummy/config/routes.rb +56 -0
  37. data/spec/dummy/config/secrets.yml +22 -0
  38. data/spec/dummy/config.ru +4 -0
  39. data/spec/dummy/log/development.log +380 -0
  40. data/spec/dummy/log/test.log +6 -0
  41. data/spec/dummy/public/404.html +67 -0
  42. data/spec/dummy/public/422.html +67 -0
  43. data/spec/dummy/public/500.html +66 -0
  44. data/spec/dummy/public/favicon.ico +0 -0
  45. data/spec/govuk_notify_delivery/delivery_spec.rb +40 -0
  46. data/spec/mailers/notify_mailer_spec.rb +30 -0
  47. data/spec/spec_helper.rb +5 -0
  48. metadata +187 -0
metadata ADDED
@@ -0,0 +1,187 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: govuk_notify_rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Jesus Laiz
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-08-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 4.1.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 4.1.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.7'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.7'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ description:
70
+ email:
71
+ - zheileman@users.noreply.github.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - Rakefile
77
+ - lib/govuk_notify_rails.rb
78
+ - lib/govuk_notify_rails/delivery.rb
79
+ - lib/govuk_notify_rails/mail_ext.rb
80
+ - lib/govuk_notify_rails/mailer.rb
81
+ - lib/govuk_notify_rails/version.rb
82
+ - spec/dummy/README.rdoc
83
+ - spec/dummy/Rakefile
84
+ - spec/dummy/app/assets/javascripts/application.js
85
+ - spec/dummy/app/assets/stylesheets/application.css
86
+ - spec/dummy/app/controllers/application_controller.rb
87
+ - spec/dummy/app/helpers/application_helper.rb
88
+ - spec/dummy/app/mailers/notify_mailer.rb
89
+ - spec/dummy/app/views/layouts/application.html.erb
90
+ - spec/dummy/bin/bundle
91
+ - spec/dummy/bin/rails
92
+ - spec/dummy/bin/rake
93
+ - spec/dummy/bin/setup
94
+ - spec/dummy/config.ru
95
+ - spec/dummy/config/application.rb
96
+ - spec/dummy/config/boot.rb
97
+ - spec/dummy/config/environment.rb
98
+ - spec/dummy/config/environments/development.rb
99
+ - spec/dummy/config/environments/production.rb
100
+ - spec/dummy/config/environments/test.rb
101
+ - spec/dummy/config/initializers/assets.rb
102
+ - spec/dummy/config/initializers/backtrace_silencers.rb
103
+ - spec/dummy/config/initializers/cookies_serializer.rb
104
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
105
+ - spec/dummy/config/initializers/govuk_notify_rails.rb
106
+ - spec/dummy/config/initializers/inflections.rb
107
+ - spec/dummy/config/initializers/mime_types.rb
108
+ - spec/dummy/config/initializers/session_store.rb
109
+ - spec/dummy/config/initializers/wrap_parameters.rb
110
+ - spec/dummy/config/locales/en.yml
111
+ - spec/dummy/config/routes.rb
112
+ - spec/dummy/config/secrets.yml
113
+ - spec/dummy/log/development.log
114
+ - spec/dummy/log/test.log
115
+ - spec/dummy/public/404.html
116
+ - spec/dummy/public/422.html
117
+ - spec/dummy/public/500.html
118
+ - spec/dummy/public/favicon.ico
119
+ - spec/govuk_notify_delivery/delivery_spec.rb
120
+ - spec/mailers/notify_mailer_spec.rb
121
+ - spec/spec_helper.rb
122
+ homepage: https://github.com/ministryofjustice/govuk_notify_rails
123
+ licenses:
124
+ - MIT
125
+ metadata: {}
126
+ post_install_message:
127
+ rdoc_options: []
128
+ require_paths:
129
+ - lib
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ required_rubygems_version: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ requirements: []
141
+ rubyforge_project:
142
+ rubygems_version: 2.5.1
143
+ signing_key:
144
+ specification_version: 4
145
+ summary: Custom ActionMailer delivery method for sending emails via GOV.UK Notify
146
+ API
147
+ test_files:
148
+ - spec/dummy/app/assets/javascripts/application.js
149
+ - spec/dummy/app/assets/stylesheets/application.css
150
+ - spec/dummy/app/controllers/application_controller.rb
151
+ - spec/dummy/app/helpers/application_helper.rb
152
+ - spec/dummy/app/mailers/notify_mailer.rb
153
+ - spec/dummy/app/views/layouts/application.html.erb
154
+ - spec/dummy/bin/bundle
155
+ - spec/dummy/bin/rails
156
+ - spec/dummy/bin/rake
157
+ - spec/dummy/bin/setup
158
+ - spec/dummy/config/application.rb
159
+ - spec/dummy/config/boot.rb
160
+ - spec/dummy/config/environment.rb
161
+ - spec/dummy/config/environments/development.rb
162
+ - spec/dummy/config/environments/production.rb
163
+ - spec/dummy/config/environments/test.rb
164
+ - spec/dummy/config/initializers/assets.rb
165
+ - spec/dummy/config/initializers/backtrace_silencers.rb
166
+ - spec/dummy/config/initializers/cookies_serializer.rb
167
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
168
+ - spec/dummy/config/initializers/govuk_notify_rails.rb
169
+ - spec/dummy/config/initializers/inflections.rb
170
+ - spec/dummy/config/initializers/mime_types.rb
171
+ - spec/dummy/config/initializers/session_store.rb
172
+ - spec/dummy/config/initializers/wrap_parameters.rb
173
+ - spec/dummy/config/locales/en.yml
174
+ - spec/dummy/config/routes.rb
175
+ - spec/dummy/config/secrets.yml
176
+ - spec/dummy/config.ru
177
+ - spec/dummy/log/development.log
178
+ - spec/dummy/log/test.log
179
+ - spec/dummy/public/404.html
180
+ - spec/dummy/public/422.html
181
+ - spec/dummy/public/500.html
182
+ - spec/dummy/public/favicon.ico
183
+ - spec/dummy/Rakefile
184
+ - spec/dummy/README.rdoc
185
+ - spec/govuk_notify_delivery/delivery_spec.rb
186
+ - spec/mailers/notify_mailer_spec.rb
187
+ - spec/spec_helper.rb