maily_herald 0.0.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +10 -4
  3. data/.rspec +5 -0
  4. data/Gemfile +1 -12
  5. data/Gemfile.lock +129 -82
  6. data/Guardfile +25 -0
  7. data/LICENSE +10 -0
  8. data/README.md +346 -0
  9. data/Rakefile +5 -0
  10. data/app/controllers/maily_herald/tokens_controller.rb +11 -0
  11. data/app/helpers/maily_herald/tokens_helper.rb +17 -0
  12. data/app/mailers/maily_herald/mailer.rb +91 -0
  13. data/app/models/maily_herald/dispatch.rb +76 -0
  14. data/app/models/maily_herald/list.rb +99 -0
  15. data/app/models/maily_herald/log.rb +67 -0
  16. data/app/models/maily_herald/mailing.rb +139 -7
  17. data/app/models/maily_herald/one_time_mailing.rb +26 -0
  18. data/app/models/maily_herald/periodical_mailing.rb +145 -0
  19. data/app/models/maily_herald/sequence.rb +169 -2
  20. data/app/models/maily_herald/sequence_mailing.rb +71 -0
  21. data/app/models/maily_herald/subscription.rb +67 -0
  22. data/bin/maily_herald +16 -0
  23. data/config/database.yml +5 -0
  24. data/config/locales/en.yml +6 -11
  25. data/config/routes.rb +10 -0
  26. data/config/spring.rb +1 -0
  27. data/db/migrate/20150205120443_create_maily_herald_tables.rb +53 -0
  28. data/db/migrate_legacy/20130711124555_create_maily_herald_tables.rb +67 -0
  29. data/db/migrate_legacy/20140612101023_create_lists.rb +33 -0
  30. data/lib/generators/maily_herald/install_generator.rb +3 -3
  31. data/lib/generators/templates/README +2 -0
  32. data/lib/generators/templates/maily_herald.rb +1 -0
  33. data/lib/maily_herald.rb +345 -23
  34. data/lib/maily_herald/autonaming.rb +34 -0
  35. data/lib/maily_herald/capistrano.rb +5 -0
  36. data/lib/maily_herald/capistrano/tasks.cap +67 -0
  37. data/lib/maily_herald/capistrano/tasks2.rb +20 -0
  38. data/lib/maily_herald/cli.rb +293 -0
  39. data/lib/maily_herald/condition_evaluator.rb +82 -0
  40. data/lib/maily_herald/config.rb +5 -0
  41. data/lib/maily_herald/context.rb +223 -77
  42. data/lib/maily_herald/engine.rb +17 -0
  43. data/lib/maily_herald/logging.rb +90 -0
  44. data/lib/maily_herald/manager.rb +53 -0
  45. data/lib/maily_herald/model_extensions.rb +15 -0
  46. data/lib/maily_herald/template_renderer.rb +16 -0
  47. data/lib/maily_herald/utils.rb +78 -5
  48. data/lib/maily_herald/version.rb +1 -1
  49. data/maily_herald.gemspec +17 -9
  50. data/spec/controllers/maily_herald/tokens_controller_spec.rb +81 -0
  51. data/spec/dummy/Guardfile +35 -0
  52. data/spec/dummy/app/mailers/test_mailer.rb +11 -0
  53. data/spec/dummy/app/models/product.rb +2 -0
  54. data/spec/dummy/app/models/user.rb +4 -0
  55. data/spec/dummy/app/views/test_mailer/sample_mail.text.erb +1 -0
  56. data/spec/dummy/bin/rails +10 -0
  57. data/spec/dummy/bin/rake +7 -0
  58. data/spec/dummy/bin/rspec +7 -0
  59. data/spec/dummy/bin/spring +18 -0
  60. data/spec/dummy/config/application.rb +1 -1
  61. data/spec/dummy/config/environments/development.rb +1 -0
  62. data/spec/dummy/config/environments/test.rb +1 -0
  63. data/spec/dummy/config/initializers/maily_herald.rb +103 -0
  64. data/spec/dummy/config/locales/maily_herald.en.yml +28 -0
  65. data/spec/dummy/db/migrate/20130723074347_create_users.rb +18 -0
  66. data/spec/dummy/db/schema.rb +82 -0
  67. data/spec/factories/products.rb +5 -0
  68. data/spec/factories/users.rb +11 -0
  69. data/spec/lib/context_spec.rb +41 -0
  70. data/spec/lib/maily_herald_spec.rb +32 -0
  71. data/spec/lib/utils_spec.rb +48 -0
  72. data/spec/mailers/maily_herald/mailer_spec.rb +38 -0
  73. data/spec/models/maily_herald/list_spec.rb +64 -0
  74. data/spec/models/maily_herald/log_spec.rb +36 -0
  75. data/spec/models/maily_herald/mailing_spec.rb +34 -0
  76. data/spec/models/maily_herald/one_time_mailing_spec.rb +112 -0
  77. data/spec/models/maily_herald/periodical_mailing_spec.rb +339 -0
  78. data/spec/models/maily_herald/sequence_mailing_spec.rb +18 -0
  79. data/spec/models/maily_herald/sequence_spec.rb +429 -0
  80. data/spec/models/maily_herald/subscription_spec.rb +32 -0
  81. data/spec/spec_helper.rb +31 -11
  82. metadata +199 -54
  83. data/MIT-LICENSE +0 -20
  84. data/README.rdoc +0 -3
  85. data/app/assets/images/maily_herald/.gitkeep +0 -0
  86. data/app/assets/javascripts/maily_herald/application.js +0 -15
  87. data/app/assets/stylesheets/maily_herald/application.css +0 -13
  88. data/app/helpers/maily_herald/application_helper.rb +0 -4
  89. data/app/helpers/maily_herald_helper.rb +0 -9
  90. data/app/models/maily_herald/mailing_record.rb +0 -6
  91. data/app/views/layouts/maily_herald/application.html.erb +0 -14
  92. data/db/migrate/20130711124555_create_maily_herald_tables.rb +0 -38
  93. data/lib/maily_herald/worker.rb +0 -15
@@ -1,28 +1,48 @@
1
+ require 'rubygems'
2
+
1
3
  # Configure Rails Envinronment
2
4
  ENV["RAILS_ENV"] = "test"
5
+
6
+ require 'simplecov'
7
+ SimpleCov.start do
8
+ add_filter '/config/'
9
+ add_filter '/spec/dummy'
10
+ add_group 'Controllers', 'app/controllers'
11
+ add_group 'Helpers', 'app/helpers'
12
+ add_group 'Mailers', 'app/mailers'
13
+ add_group 'Models', 'app/models'
14
+ add_group 'Libraries', 'lib'
15
+ add_group 'Specs', 'spec'
16
+ end
17
+
3
18
  require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
19
 
5
20
  require 'rspec/rails'
6
21
  require "factory_girl_rails"
7
22
  require "database_cleaner"
8
- require 'shoulda/matchers/integrations/rspec'
23
+ require 'sidekiq/testing'
24
+ require 'timecop'
9
25
 
10
26
  ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
11
27
 
28
+
12
29
  # Requires supporting ruby files with custom matchers and macros, etc,
13
30
  # in spec/support/ and its subdirectories.
14
31
  Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
15
32
 
33
+ keep_tables = %w[maily_herald_dispatches maily_herald_lists]
16
34
  RSpec.configure do |config|
17
35
  config.use_transactional_fixtures = false
18
- config.before(:suite) do
19
- DatabaseCleaner.strategy = :transaction
20
- DatabaseCleaner.clean_with(:truncation)
21
- end
22
- config.before(:each) do
23
- DatabaseCleaner.start
24
- end
25
- config.after(:each) do
26
- DatabaseCleaner.clean
27
- end
36
+ config.before(:suite) do
37
+ DatabaseCleaner.strategy = :truncation, {except: keep_tables}
38
+ DatabaseCleaner.clean_with(:truncation, {except: keep_tables})
39
+ end
40
+ config.before(:each) do
41
+ DatabaseCleaner.start
42
+ end
43
+ config.after(:each) do
44
+ DatabaseCleaner.clean
45
+ end
28
46
  end
47
+
48
+ #MailyHerald.logger.level = Logger::DEBUG
metadata CHANGED
@@ -1,68 +1,60 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maily_herald
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.8.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Łukasz Jachymczyk
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-13 00:00:00.000000000 Z
11
+ date: 2015-02-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - ! '>'
20
18
  - !ruby/object:Gem::Version
21
- version: 3.2.8
19
+ version: '3.2'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - ! '>'
28
25
  - !ruby/object:Gem::Version
29
- version: 3.2.8
26
+ version: '3.2'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: liquid
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
37
- version: 2.6.0
33
+ version: 2.6.1
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
45
- version: 2.6.0
40
+ version: 2.6.1
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: sidekiq
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
53
- version: 2.13.0
47
+ version: 2.17.8
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
61
- version: 2.13.0
54
+ version: 2.17.8
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: sqlite3
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ! '>='
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ! '>='
76
67
  - !ruby/object:Gem::Version
@@ -78,7 +69,6 @@ dependencies:
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rspec-rails
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - ! '>='
84
74
  - !ruby/object:Gem::Version
@@ -86,31 +76,27 @@ dependencies:
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - ! '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
- name: shoulda-matchers
84
+ name: factory_girl_rails
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ~>
87
+ - - ! '>='
100
88
  - !ruby/object:Gem::Version
101
- version: '1.0'
89
+ version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ~>
94
+ - - ! '>='
108
95
  - !ruby/object:Gem::Version
109
- version: '1.0'
96
+ version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
- name: factory_girl_rails
98
+ name: database_cleaner
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
101
  - - ! '>='
116
102
  - !ruby/object:Gem::Version
@@ -118,15 +104,27 @@ dependencies:
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
108
  - - ! '>='
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  - !ruby/object:Gem::Dependency
127
- name: database_cleaner
112
+ name: guard
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: guard-rspec
128
127
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
128
  requirements:
131
129
  - - ! '>='
132
130
  - !ruby/object:Gem::Version
@@ -134,48 +132,141 @@ dependencies:
134
132
  type: :development
135
133
  prerelease: false
136
134
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
135
  requirements:
139
136
  - - ! '>='
140
137
  - !ruby/object:Gem::Version
141
138
  version: '0'
142
- description:
139
+ - !ruby/object:Gem::Dependency
140
+ name: simplecov
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ! '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ! '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: timecop
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ! '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ! '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: spring-commands-rspec
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ! '>='
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: yard
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ! '>='
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ! '>='
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: redcarpet
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ! '>='
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ! '>='
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ description: Email marketing solution for Ruby on Rails applications
143
210
  email:
144
211
  - lukasz@sology.eu
145
- executables: []
212
+ executables:
213
+ - maily_herald
146
214
  extensions: []
147
215
  extra_rdoc_files: []
148
216
  files:
149
217
  - .gitignore
218
+ - .rspec
150
219
  - Gemfile
151
220
  - Gemfile.lock
152
- - MIT-LICENSE
153
- - README.rdoc
221
+ - Guardfile
222
+ - LICENSE
223
+ - README.md
154
224
  - Rakefile
155
- - app/assets/images/maily_herald/.gitkeep
156
- - app/assets/javascripts/maily_herald/application.js
157
- - app/assets/stylesheets/maily_herald/application.css
158
225
  - app/controllers/maily_herald/application_controller.rb
159
- - app/helpers/maily_herald/application_helper.rb
160
- - app/helpers/maily_herald_helper.rb
226
+ - app/controllers/maily_herald/tokens_controller.rb
227
+ - app/helpers/maily_herald/tokens_helper.rb
228
+ - app/mailers/maily_herald/mailer.rb
229
+ - app/models/maily_herald/dispatch.rb
230
+ - app/models/maily_herald/list.rb
231
+ - app/models/maily_herald/log.rb
161
232
  - app/models/maily_herald/mailing.rb
162
- - app/models/maily_herald/mailing_record.rb
233
+ - app/models/maily_herald/one_time_mailing.rb
234
+ - app/models/maily_herald/periodical_mailing.rb
163
235
  - app/models/maily_herald/sequence.rb
164
- - app/views/layouts/maily_herald/application.html.erb
236
+ - app/models/maily_herald/sequence_mailing.rb
237
+ - app/models/maily_herald/subscription.rb
238
+ - bin/maily_herald
239
+ - config/database.yml
165
240
  - config/locales/en.yml
166
241
  - config/routes.rb
167
- - db/migrate/20130711124555_create_maily_herald_tables.rb
242
+ - config/spring.rb
243
+ - db/migrate/20150205120443_create_maily_herald_tables.rb
244
+ - db/migrate_legacy/20130711124555_create_maily_herald_tables.rb
245
+ - db/migrate_legacy/20140612101023_create_lists.rb
168
246
  - lib/generators/maily_herald/install_generator.rb
247
+ - lib/generators/templates/README
169
248
  - lib/generators/templates/maily_herald.rb
170
249
  - lib/maily_herald.rb
250
+ - lib/maily_herald/autonaming.rb
251
+ - lib/maily_herald/capistrano.rb
252
+ - lib/maily_herald/capistrano/tasks.cap
253
+ - lib/maily_herald/capistrano/tasks2.rb
254
+ - lib/maily_herald/cli.rb
255
+ - lib/maily_herald/condition_evaluator.rb
256
+ - lib/maily_herald/config.rb
171
257
  - lib/maily_herald/context.rb
172
258
  - lib/maily_herald/engine.rb
259
+ - lib/maily_herald/logging.rb
260
+ - lib/maily_herald/manager.rb
261
+ - lib/maily_herald/model_extensions.rb
262
+ - lib/maily_herald/template_renderer.rb
173
263
  - lib/maily_herald/utils.rb
174
264
  - lib/maily_herald/version.rb
175
- - lib/maily_herald/worker.rb
176
265
  - lib/tasks/maily_herald_tasks.rake
177
266
  - maily_herald.gemspec
178
267
  - script/rails
268
+ - spec/controllers/maily_herald/tokens_controller_spec.rb
269
+ - spec/dummy/Guardfile
179
270
  - spec/dummy/README.rdoc
180
271
  - spec/dummy/Rakefile
181
272
  - spec/dummy/app/assets/javascripts/application.js
@@ -183,8 +274,16 @@ files:
183
274
  - spec/dummy/app/controllers/application_controller.rb
184
275
  - spec/dummy/app/helpers/application_helper.rb
185
276
  - spec/dummy/app/mailers/.gitkeep
277
+ - spec/dummy/app/mailers/test_mailer.rb
186
278
  - spec/dummy/app/models/.gitkeep
279
+ - spec/dummy/app/models/product.rb
280
+ - spec/dummy/app/models/user.rb
187
281
  - spec/dummy/app/views/layouts/application.html.erb
282
+ - spec/dummy/app/views/test_mailer/sample_mail.text.erb
283
+ - spec/dummy/bin/rails
284
+ - spec/dummy/bin/rake
285
+ - spec/dummy/bin/rspec
286
+ - spec/dummy/bin/spring
188
287
  - spec/dummy/config.ru
189
288
  - spec/dummy/config/application.rb
190
289
  - spec/dummy/config/boot.rb
@@ -195,12 +294,16 @@ files:
195
294
  - spec/dummy/config/environments/test.rb
196
295
  - spec/dummy/config/initializers/backtrace_silencers.rb
197
296
  - spec/dummy/config/initializers/inflections.rb
297
+ - spec/dummy/config/initializers/maily_herald.rb
198
298
  - spec/dummy/config/initializers/mime_types.rb
199
299
  - spec/dummy/config/initializers/secret_token.rb
200
300
  - spec/dummy/config/initializers/session_store.rb
201
301
  - spec/dummy/config/initializers/wrap_parameters.rb
202
302
  - spec/dummy/config/locales/en.yml
303
+ - spec/dummy/config/locales/maily_herald.en.yml
203
304
  - spec/dummy/config/routes.rb
305
+ - spec/dummy/db/migrate/20130723074347_create_users.rb
306
+ - spec/dummy/db/schema.rb
204
307
  - spec/dummy/lib/assets/.gitkeep
205
308
  - spec/dummy/log/.gitkeep
206
309
  - spec/dummy/public/404.html
@@ -208,32 +311,48 @@ files:
208
311
  - spec/dummy/public/500.html
209
312
  - spec/dummy/public/favicon.ico
210
313
  - spec/dummy/script/rails
314
+ - spec/factories/products.rb
315
+ - spec/factories/users.rb
316
+ - spec/lib/context_spec.rb
317
+ - spec/lib/maily_herald_spec.rb
318
+ - spec/lib/utils_spec.rb
319
+ - spec/mailers/maily_herald/mailer_spec.rb
320
+ - spec/models/maily_herald/list_spec.rb
321
+ - spec/models/maily_herald/log_spec.rb
322
+ - spec/models/maily_herald/mailing_spec.rb
323
+ - spec/models/maily_herald/one_time_mailing_spec.rb
324
+ - spec/models/maily_herald/periodical_mailing_spec.rb
325
+ - spec/models/maily_herald/sequence_mailing_spec.rb
326
+ - spec/models/maily_herald/sequence_spec.rb
327
+ - spec/models/maily_herald/subscription_spec.rb
211
328
  - spec/spec_helper.rb
212
329
  homepage: https://github.com/Sology/maily_herald
213
- licenses: []
330
+ licenses:
331
+ - LGPL-3.0
332
+ metadata: {}
214
333
  post_install_message:
215
334
  rdoc_options: []
216
335
  require_paths:
217
336
  - lib
218
337
  required_ruby_version: !ruby/object:Gem::Requirement
219
- none: false
220
338
  requirements:
221
339
  - - ! '>='
222
340
  - !ruby/object:Gem::Version
223
341
  version: '0'
224
342
  required_rubygems_version: !ruby/object:Gem::Requirement
225
- none: false
226
343
  requirements:
227
344
  - - ! '>='
228
345
  - !ruby/object:Gem::Version
229
346
  version: '0'
230
347
  requirements: []
231
348
  rubyforge_project:
232
- rubygems_version: 1.8.24
349
+ rubygems_version: 2.1.11
233
350
  signing_key:
234
- specification_version: 3
235
- summary: Mailing framework for Ruby on Rails applications
351
+ specification_version: 4
352
+ summary: Email marketing solution for Ruby on Rails applications
236
353
  test_files:
354
+ - spec/controllers/maily_herald/tokens_controller_spec.rb
355
+ - spec/dummy/Guardfile
237
356
  - spec/dummy/README.rdoc
238
357
  - spec/dummy/Rakefile
239
358
  - spec/dummy/app/assets/javascripts/application.js
@@ -241,8 +360,16 @@ test_files:
241
360
  - spec/dummy/app/controllers/application_controller.rb
242
361
  - spec/dummy/app/helpers/application_helper.rb
243
362
  - spec/dummy/app/mailers/.gitkeep
363
+ - spec/dummy/app/mailers/test_mailer.rb
244
364
  - spec/dummy/app/models/.gitkeep
365
+ - spec/dummy/app/models/product.rb
366
+ - spec/dummy/app/models/user.rb
245
367
  - spec/dummy/app/views/layouts/application.html.erb
368
+ - spec/dummy/app/views/test_mailer/sample_mail.text.erb
369
+ - spec/dummy/bin/rails
370
+ - spec/dummy/bin/rake
371
+ - spec/dummy/bin/rspec
372
+ - spec/dummy/bin/spring
246
373
  - spec/dummy/config.ru
247
374
  - spec/dummy/config/application.rb
248
375
  - spec/dummy/config/boot.rb
@@ -253,12 +380,16 @@ test_files:
253
380
  - spec/dummy/config/environments/test.rb
254
381
  - spec/dummy/config/initializers/backtrace_silencers.rb
255
382
  - spec/dummy/config/initializers/inflections.rb
383
+ - spec/dummy/config/initializers/maily_herald.rb
256
384
  - spec/dummy/config/initializers/mime_types.rb
257
385
  - spec/dummy/config/initializers/secret_token.rb
258
386
  - spec/dummy/config/initializers/session_store.rb
259
387
  - spec/dummy/config/initializers/wrap_parameters.rb
260
388
  - spec/dummy/config/locales/en.yml
389
+ - spec/dummy/config/locales/maily_herald.en.yml
261
390
  - spec/dummy/config/routes.rb
391
+ - spec/dummy/db/migrate/20130723074347_create_users.rb
392
+ - spec/dummy/db/schema.rb
262
393
  - spec/dummy/lib/assets/.gitkeep
263
394
  - spec/dummy/log/.gitkeep
264
395
  - spec/dummy/public/404.html
@@ -266,4 +397,18 @@ test_files:
266
397
  - spec/dummy/public/500.html
267
398
  - spec/dummy/public/favicon.ico
268
399
  - spec/dummy/script/rails
269
- - spec/spec_helper.rb
400
+ - spec/factories/products.rb
401
+ - spec/factories/users.rb
402
+ - spec/lib/context_spec.rb
403
+ - spec/lib/maily_herald_spec.rb
404
+ - spec/lib/utils_spec.rb
405
+ - spec/mailers/maily_herald/mailer_spec.rb
406
+ - spec/models/maily_herald/list_spec.rb
407
+ - spec/models/maily_herald/log_spec.rb
408
+ - spec/models/maily_herald/mailing_spec.rb
409
+ - spec/models/maily_herald/one_time_mailing_spec.rb
410
+ - spec/models/maily_herald/periodical_mailing_spec.rb
411
+ - spec/models/maily_herald/sequence_mailing_spec.rb
412
+ - spec/models/maily_herald/sequence_spec.rb
413
+ - spec/models/maily_herald/subscription_spec.rb
414
+ has_rdoc: