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.
- checksums.yaml +15 -0
- data/.gitignore +10 -4
- data/.rspec +5 -0
- data/Gemfile +1 -12
- data/Gemfile.lock +129 -82
- data/Guardfile +25 -0
- data/LICENSE +10 -0
- data/README.md +346 -0
- data/Rakefile +5 -0
- data/app/controllers/maily_herald/tokens_controller.rb +11 -0
- data/app/helpers/maily_herald/tokens_helper.rb +17 -0
- data/app/mailers/maily_herald/mailer.rb +91 -0
- data/app/models/maily_herald/dispatch.rb +76 -0
- data/app/models/maily_herald/list.rb +99 -0
- data/app/models/maily_herald/log.rb +67 -0
- data/app/models/maily_herald/mailing.rb +139 -7
- data/app/models/maily_herald/one_time_mailing.rb +26 -0
- data/app/models/maily_herald/periodical_mailing.rb +145 -0
- data/app/models/maily_herald/sequence.rb +169 -2
- data/app/models/maily_herald/sequence_mailing.rb +71 -0
- data/app/models/maily_herald/subscription.rb +67 -0
- data/bin/maily_herald +16 -0
- data/config/database.yml +5 -0
- data/config/locales/en.yml +6 -11
- data/config/routes.rb +10 -0
- data/config/spring.rb +1 -0
- data/db/migrate/20150205120443_create_maily_herald_tables.rb +53 -0
- data/db/migrate_legacy/20130711124555_create_maily_herald_tables.rb +67 -0
- data/db/migrate_legacy/20140612101023_create_lists.rb +33 -0
- data/lib/generators/maily_herald/install_generator.rb +3 -3
- data/lib/generators/templates/README +2 -0
- data/lib/generators/templates/maily_herald.rb +1 -0
- data/lib/maily_herald.rb +345 -23
- data/lib/maily_herald/autonaming.rb +34 -0
- data/lib/maily_herald/capistrano.rb +5 -0
- data/lib/maily_herald/capistrano/tasks.cap +67 -0
- data/lib/maily_herald/capistrano/tasks2.rb +20 -0
- data/lib/maily_herald/cli.rb +293 -0
- data/lib/maily_herald/condition_evaluator.rb +82 -0
- data/lib/maily_herald/config.rb +5 -0
- data/lib/maily_herald/context.rb +223 -77
- data/lib/maily_herald/engine.rb +17 -0
- data/lib/maily_herald/logging.rb +90 -0
- data/lib/maily_herald/manager.rb +53 -0
- data/lib/maily_herald/model_extensions.rb +15 -0
- data/lib/maily_herald/template_renderer.rb +16 -0
- data/lib/maily_herald/utils.rb +78 -5
- data/lib/maily_herald/version.rb +1 -1
- data/maily_herald.gemspec +17 -9
- data/spec/controllers/maily_herald/tokens_controller_spec.rb +81 -0
- data/spec/dummy/Guardfile +35 -0
- data/spec/dummy/app/mailers/test_mailer.rb +11 -0
- data/spec/dummy/app/models/product.rb +2 -0
- data/spec/dummy/app/models/user.rb +4 -0
- data/spec/dummy/app/views/test_mailer/sample_mail.text.erb +1 -0
- data/spec/dummy/bin/rails +10 -0
- data/spec/dummy/bin/rake +7 -0
- data/spec/dummy/bin/rspec +7 -0
- data/spec/dummy/bin/spring +18 -0
- data/spec/dummy/config/application.rb +1 -1
- data/spec/dummy/config/environments/development.rb +1 -0
- data/spec/dummy/config/environments/test.rb +1 -0
- data/spec/dummy/config/initializers/maily_herald.rb +103 -0
- data/spec/dummy/config/locales/maily_herald.en.yml +28 -0
- data/spec/dummy/db/migrate/20130723074347_create_users.rb +18 -0
- data/spec/dummy/db/schema.rb +82 -0
- data/spec/factories/products.rb +5 -0
- data/spec/factories/users.rb +11 -0
- data/spec/lib/context_spec.rb +41 -0
- data/spec/lib/maily_herald_spec.rb +32 -0
- data/spec/lib/utils_spec.rb +48 -0
- data/spec/mailers/maily_herald/mailer_spec.rb +38 -0
- data/spec/models/maily_herald/list_spec.rb +64 -0
- data/spec/models/maily_herald/log_spec.rb +36 -0
- data/spec/models/maily_herald/mailing_spec.rb +34 -0
- data/spec/models/maily_herald/one_time_mailing_spec.rb +112 -0
- data/spec/models/maily_herald/periodical_mailing_spec.rb +339 -0
- data/spec/models/maily_herald/sequence_mailing_spec.rb +18 -0
- data/spec/models/maily_herald/sequence_spec.rb +429 -0
- data/spec/models/maily_herald/subscription_spec.rb +32 -0
- data/spec/spec_helper.rb +31 -11
- metadata +199 -54
- data/MIT-LICENSE +0 -20
- data/README.rdoc +0 -3
- data/app/assets/images/maily_herald/.gitkeep +0 -0
- data/app/assets/javascripts/maily_herald/application.js +0 -15
- data/app/assets/stylesheets/maily_herald/application.css +0 -13
- data/app/helpers/maily_herald/application_helper.rb +0 -4
- data/app/helpers/maily_herald_helper.rb +0 -9
- data/app/models/maily_herald/mailing_record.rb +0 -6
- data/app/views/layouts/maily_herald/application.html.erb +0 -14
- data/db/migrate/20130711124555_create_maily_herald_tables.rb +0 -38
- data/lib/maily_herald/worker.rb +0 -15
data/spec/spec_helper.rb
CHANGED
@@ -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 '
|
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
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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
|
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:
|
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
|
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
|
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.
|
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.
|
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.
|
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.
|
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:
|
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: '
|
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: '
|
96
|
+
version: '0'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
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:
|
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
|
-
|
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
|
-
-
|
153
|
-
-
|
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/
|
160
|
-
- app/helpers/
|
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/
|
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/
|
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
|
-
-
|
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.
|
349
|
+
rubygems_version: 2.1.11
|
233
350
|
signing_key:
|
234
|
-
specification_version:
|
235
|
-
summary:
|
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/
|
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:
|