mail_spy 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ module MailSpy
4
+ class SendgridControllerTest < ActionController::TestCase
5
+ # test "the truth" do
6
+ # assert true
7
+ # end
8
+ end
9
+ end
@@ -4,6 +4,7 @@ module MailSpy
4
4
  class TrackingControllerTest < ActionController::TestCase
5
5
 
6
6
  def setup
7
+ MailSpy::Email.delete_all
7
8
  create_emails(:campaign => "tests", :stream => "a-stream", :component => "a-helper_test")
8
9
  @email = MailSpy::Email.first
9
10
  end
@@ -66,7 +67,7 @@ module MailSpy
66
67
  email = @email.reload
67
68
  assert(email.actions.length == 1, "The email should only have on action at this point")
68
69
  assert(email.actions.first.action_type == params[:action_type],"Action type should be conversion")
69
- assert(email.actions.first.count == params[:count], "the action count should be 1")
70
+ assert(email.actions.first.count == params[:count], "the action count should be 3")
70
71
 
71
72
  end
72
73
 
@@ -0,0 +1,6 @@
1
+ require 'test_helper'
2
+
3
+ module MailSpy
4
+ class SendgridHelperTest < ActionView::TestCase
5
+ end
6
+ end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mail_spy
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Timothy Cardenas
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-01-31 00:00:00 Z
13
+ date: 2012-02-01 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -188,13 +188,18 @@ extra_rdoc_files: []
188
188
 
189
189
  files:
190
190
  - app/assets/javascripts/mail_spy/application.js
191
+ - app/assets/javascripts/mail_spy/sendgrid.js
191
192
  - app/assets/javascripts/mail_spy/tracking.js
192
193
  - app/assets/stylesheets/mail_spy/application.css
194
+ - app/assets/stylesheets/mail_spy/global.css.scss
195
+ - app/assets/stylesheets/mail_spy/sendgrid.css
193
196
  - app/assets/stylesheets/mail_spy/tracking.css
194
197
  - app/controllers/mail_spy/application_controller.rb
198
+ - app/controllers/mail_spy/sendgrid_controller.rb
195
199
  - app/controllers/mail_spy/tracking_controller.rb
196
200
  - app/helpers/mail_spy/application_helper.rb
197
201
  - app/helpers/mail_spy/email_helper.rb
202
+ - app/helpers/mail_spy/sendgrid_helper.rb
198
203
  - app/mailers/mail_spy/core_mailer.rb
199
204
  - app/models/mail_spy/action.rb
200
205
  - app/models/mail_spy/campaign_report.rb
@@ -202,11 +207,13 @@ files:
202
207
  - app/models/mail_spy/email.rb
203
208
  - app/models/mail_spy/stream_report.rb
204
209
  - app/views/layouts/mail_spy/application.html.erb
210
+ - app/views/mail_spy/reports/campaigns.html.erb
205
211
  - config/routes.rb
206
212
  - lib/generators/mail_spy/initializer_generator.rb
207
213
  - lib/generators/mail_spy/templates/mail_spy.rb
208
214
  - lib/mail_spy/engine.rb
209
215
  - lib/mail_spy/manager.rb
216
+ - lib/mail_spy/sendgrid/smtp_api_header.rb
210
217
  - lib/mail_spy/version.rb
211
218
  - lib/mail_spy.rb
212
219
  - lib/tasks/mail_spy_tasks.rake
@@ -257,12 +264,14 @@ files:
257
264
  - test/fixtures/mail_spy/emails.yml
258
265
  - test/fixtures/mail_spy/stream_reports.yml
259
266
  - test/functional/mail_spy/core_mailer_test.rb
267
+ - test/functional/mail_spy/sendgrid_controller_test.rb
260
268
  - test/functional/mail_spy/tracking_controller_test.rb
261
269
  - test/integration/navigation_test.rb
262
270
  - test/mail_spy_test.rb
263
271
  - test/test_email_credentials.yml
264
272
  - test/test_email_credentials.yml.sample
265
273
  - test/test_helper.rb
274
+ - test/unit/helpers/mail_spy/sendgrid_helper_test.rb
266
275
  - test/unit/helpers/mail_spy/tracking_helper_test.rb
267
276
  - test/unit/mail_spy/action_test.rb
268
277
  - test/unit/mail_spy/campaign_report_test.rb
@@ -342,12 +351,14 @@ test_files:
342
351
  - test/fixtures/mail_spy/emails.yml
343
352
  - test/fixtures/mail_spy/stream_reports.yml
344
353
  - test/functional/mail_spy/core_mailer_test.rb
354
+ - test/functional/mail_spy/sendgrid_controller_test.rb
345
355
  - test/functional/mail_spy/tracking_controller_test.rb
346
356
  - test/integration/navigation_test.rb
347
357
  - test/mail_spy_test.rb
348
358
  - test/test_email_credentials.yml
349
359
  - test/test_email_credentials.yml.sample
350
360
  - test/test_helper.rb
361
+ - test/unit/helpers/mail_spy/sendgrid_helper_test.rb
351
362
  - test/unit/helpers/mail_spy/tracking_helper_test.rb
352
363
  - test/unit/mail_spy/action_test.rb
353
364
  - test/unit/mail_spy/campaign_report_test.rb