letter_bomb 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/app/controllers/letter_bomb/mailers_controller.rb +2 -0
- data/app/views/letter_bomb/mailers/index.html.erb +1 -1
- data/app/views/letter_bomb/mailers/show.html.erb +3 -1
- data/lib/letter_bomb/preview.rb +5 -4
- data/lib/letter_bomb/version.rb +1 -1
- data/spec/dummy/log/development.log +150 -0
- data/spec/dummy/log/test.log +442 -0
- data/spec/lib/letter_bomb/preview_spec.rb +16 -0
- metadata +2 -4
- data/spec/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9991dbcaffe0d0867991bb6042a614092d9f3c87
|
4
|
+
data.tar.gz: 6c98d12dd142a1d7e3d2957a3f76d4fcb223457e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c14a6965718ee08b188073aa169693b383638350bef15c49f0a5164548ce1b8ca69f9526d10aa15972291b2fa5fd24a4763b8823fa2cd725268a674ac4a7a00f
|
7
|
+
data.tar.gz: 42fd06f8d046c24bdde371cc807949282c37b2de382d7bf86ba7a3aaac34826a61d11d014e7a3d864685edf1b23a38dfba9f91fdad2784395b682ffe73395a0f
|
data/README.md
CHANGED
@@ -10,6 +10,8 @@ module LetterBomb
|
|
10
10
|
@action = params[:mailer_action]
|
11
11
|
@mail = klass.constantize.preview_action(@action)
|
12
12
|
|
13
|
+
params[:format] ||= @mail.multipart? ? "html" : "text"
|
14
|
+
|
13
15
|
respond_to do |format|
|
14
16
|
format.html
|
15
17
|
format.text { render formats: [:html], content_type: 'text/html' }
|
data/lib/letter_bomb/preview.rb
CHANGED
@@ -26,6 +26,11 @@ module LetterBomb
|
|
26
26
|
@@factory_girl = true
|
27
27
|
end
|
28
28
|
|
29
|
+
# TODO when we have refinements, refine String
|
30
|
+
def self.lchomp(target, removable)
|
31
|
+
target.to_s.reverse.chomp(removable.to_s.reverse).reverse
|
32
|
+
end
|
33
|
+
|
29
34
|
def initialize
|
30
35
|
if defined?(@@factory_girl) && !defined?(FactoryGirl)
|
31
36
|
require 'factory_girl'
|
@@ -33,9 +38,5 @@ module LetterBomb
|
|
33
38
|
end
|
34
39
|
end
|
35
40
|
|
36
|
-
def self.lchomp(base, arg)
|
37
|
-
base.to_s.reverse.chomp(arg.to_s.reverse).reverse
|
38
|
-
end
|
39
|
-
|
40
41
|
end
|
41
42
|
end
|
data/lib/letter_bomb/version.rb
CHANGED
@@ -10566,3 +10566,153 @@ ActionController::RoutingError (No route matches [GET] "/login"):
|
|
10566
10566
|
|
10567
10567
|
|
10568
10568
|
Rendered /Users/ags/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
|
10569
|
+
|
10570
|
+
|
10571
|
+
Started GET "/UserMailer::Preview/welcome.html" for 127.0.0.1 at 2013-05-01 22:30:32 +1000
|
10572
|
+
Processing by LetterBomb::MailersController#show as HTML
|
10573
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
10574
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10575
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 12:30:32 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:30:32 UTC +00:00]]
|
10576
|
+
Rendered user_mailer/welcome.html.erb (0.4ms)
|
10577
|
+
Rendered user_mailer/welcome.text.erb (0.2ms)
|
10578
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
10579
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (0.8ms)
|
10580
|
+
Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 1.0ms)
|
10581
|
+
|
10582
|
+
|
10583
|
+
Started GET "/UserMailer::Preview/welcome.html" for 127.0.0.1 at 2013-05-01 22:30:33 +1000
|
10584
|
+
Processing by LetterBomb::MailersController#show as HTML
|
10585
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
10586
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10587
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 01 May 2013 12:30:33 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:30:33 UTC +00:00]]
|
10588
|
+
Rendered user_mailer/welcome.html.erb (0.0ms)
|
10589
|
+
Rendered user_mailer/welcome.text.erb (0.0ms)
|
10590
|
+
[1m[35m (1.4ms)[0m rollback transaction
|
10591
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (0.8ms)
|
10592
|
+
Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 1.9ms)
|
10593
|
+
|
10594
|
+
|
10595
|
+
Started GET "/UserMailer::Preview/welcome.txt" for 127.0.0.1 at 2013-05-01 22:30:34 +1000
|
10596
|
+
Processing by LetterBomb::MailersController#show as TEXT
|
10597
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
10598
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10599
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 12:30:34 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:30:34 UTC +00:00]]
|
10600
|
+
Rendered user_mailer/welcome.html.erb (0.0ms)
|
10601
|
+
Rendered user_mailer/welcome.text.erb (0.0ms)
|
10602
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
10603
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (0.8ms)
|
10604
|
+
Completed 200 OK in 17ms (Views: 2.3ms | ActiveRecord: 2.0ms)
|
10605
|
+
|
10606
|
+
|
10607
|
+
Started GET "/UserMailer::Preview/welcome.html" for 127.0.0.1 at 2013-05-01 22:30:34 +1000
|
10608
|
+
Processing by LetterBomb::MailersController#show as HTML
|
10609
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
10610
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10611
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 01 May 2013 12:30:34 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:30:34 UTC +00:00]]
|
10612
|
+
Rendered user_mailer/welcome.html.erb (0.0ms)
|
10613
|
+
Rendered user_mailer/welcome.text.erb (0.0ms)
|
10614
|
+
[1m[35m (1.4ms)[0m rollback transaction
|
10615
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (0.8ms)
|
10616
|
+
Completed 200 OK in 17ms (Views: 2.3ms | ActiveRecord: 1.9ms)
|
10617
|
+
|
10618
|
+
|
10619
|
+
Started GET "/UserMailer::Preview/welcome.txt" for 127.0.0.1 at 2013-05-01 22:30:35 +1000
|
10620
|
+
Processing by LetterBomb::MailersController#show as TEXT
|
10621
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
10622
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10623
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 12:30:35 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:30:35 UTC +00:00]]
|
10624
|
+
Rendered user_mailer/welcome.html.erb (0.0ms)
|
10625
|
+
Rendered user_mailer/welcome.text.erb (0.0ms)
|
10626
|
+
[1m[36m (1.6ms)[0m [1mrollback transaction[0m
|
10627
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (0.8ms)
|
10628
|
+
Completed 200 OK in 17ms (Views: 2.3ms | ActiveRecord: 2.1ms)
|
10629
|
+
|
10630
|
+
|
10631
|
+
Started GET "/UserMailer::Preview/welcome.html" for 127.0.0.1 at 2013-05-01 22:30:35 +1000
|
10632
|
+
Processing by LetterBomb::MailersController#show as HTML
|
10633
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
10634
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10635
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 01 May 2013 12:30:35 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:30:35 UTC +00:00]]
|
10636
|
+
Rendered user_mailer/welcome.html.erb (0.0ms)
|
10637
|
+
Rendered user_mailer/welcome.text.erb (0.0ms)
|
10638
|
+
[1m[35m (1.7ms)[0m rollback transaction
|
10639
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (0.9ms)
|
10640
|
+
Completed 200 OK in 17ms (Views: 2.4ms | ActiveRecord: 2.2ms)
|
10641
|
+
|
10642
|
+
|
10643
|
+
Started GET "/UserMailer::Preview/welcome.txt" for 127.0.0.1 at 2013-05-01 22:30:36 +1000
|
10644
|
+
Processing by LetterBomb::MailersController#show as TEXT
|
10645
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
10646
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10647
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 12:30:36 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:30:36 UTC +00:00]]
|
10648
|
+
Rendered user_mailer/welcome.html.erb (0.0ms)
|
10649
|
+
Rendered user_mailer/welcome.text.erb (0.0ms)
|
10650
|
+
[1m[36m (1.6ms)[0m [1mrollback transaction[0m
|
10651
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (0.8ms)
|
10652
|
+
Completed 200 OK in 17ms (Views: 2.2ms | ActiveRecord: 2.0ms)
|
10653
|
+
|
10654
|
+
|
10655
|
+
Started GET "/UserMailer::Preview/welcome.html" for 127.0.0.1 at 2013-05-01 22:30:36 +1000
|
10656
|
+
Processing by LetterBomb::MailersController#show as HTML
|
10657
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
10658
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10659
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 01 May 2013 12:30:36 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:30:36 UTC +00:00]]
|
10660
|
+
Rendered user_mailer/welcome.html.erb (0.0ms)
|
10661
|
+
Rendered user_mailer/welcome.text.erb (0.0ms)
|
10662
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10663
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (0.8ms)
|
10664
|
+
Completed 200 OK in 15ms (Views: 2.2ms | ActiveRecord: 0.8ms)
|
10665
|
+
|
10666
|
+
|
10667
|
+
Started GET "/UserMailer::Preview/welcome.txt" for 127.0.0.1 at 2013-05-01 22:30:37 +1000
|
10668
|
+
Processing by LetterBomb::MailersController#show as TEXT
|
10669
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
10670
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10671
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 12:30:37 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:30:37 UTC +00:00]]
|
10672
|
+
Rendered user_mailer/welcome.html.erb (0.0ms)
|
10673
|
+
Rendered user_mailer/welcome.text.erb (0.0ms)
|
10674
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
10675
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (0.9ms)
|
10676
|
+
Completed 200 OK in 17ms (Views: 2.5ms | ActiveRecord: 2.0ms)
|
10677
|
+
|
10678
|
+
|
10679
|
+
Started GET "/UserMailer::Preview/welcome.html" for 127.0.0.1 at 2013-05-01 22:30:37 +1000
|
10680
|
+
Processing by LetterBomb::MailersController#show as HTML
|
10681
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
10682
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10683
|
+
[1m[36mSQL (24.2ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 01 May 2013 12:30:37 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:30:37 UTC +00:00]]
|
10684
|
+
Rendered user_mailer/welcome.html.erb (0.0ms)
|
10685
|
+
Rendered user_mailer/welcome.text.erb (0.0ms)
|
10686
|
+
[1m[35m (1.7ms)[0m rollback transaction
|
10687
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (0.9ms)
|
10688
|
+
Completed 200 OK in 41ms (Views: 2.6ms | ActiveRecord: 25.9ms)
|
10689
|
+
|
10690
|
+
|
10691
|
+
Started GET "/UserMailer::Preview/welcome.txt" for 127.0.0.1 at 2013-05-01 22:30:38 +1000
|
10692
|
+
Processing by LetterBomb::MailersController#show as TEXT
|
10693
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
10694
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10695
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 12:30:38 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:30:38 UTC +00:00]]
|
10696
|
+
Rendered user_mailer/welcome.html.erb (0.0ms)
|
10697
|
+
Rendered user_mailer/welcome.text.erb (0.0ms)
|
10698
|
+
[1m[36m (1.7ms)[0m [1mrollback transaction[0m
|
10699
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (0.9ms)
|
10700
|
+
Completed 200 OK in 18ms (Views: 2.5ms | ActiveRecord: 2.1ms)
|
10701
|
+
|
10702
|
+
|
10703
|
+
Started GET "/UserMailer::Preview/welcome.html" for 127.0.0.1 at 2013-05-01 22:30:38 +1000
|
10704
|
+
Processing by LetterBomb::MailersController#show as HTML
|
10705
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
10706
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10707
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 01 May 2013 12:30:38 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:30:38 UTC +00:00]]
|
10708
|
+
Rendered user_mailer/welcome.html.erb (0.1ms)
|
10709
|
+
Rendered user_mailer/welcome.text.erb (0.0ms)
|
10710
|
+
[1m[35m (1.6ms)[0m rollback transaction
|
10711
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (0.9ms)
|
10712
|
+
Completed 200 OK in 18ms (Views: 2.3ms | ActiveRecord: 2.0ms)
|
10713
|
+
|
10714
|
+
|
10715
|
+
Started GET "/" for 127.0.0.1 at 2013-05-02 01:54:34 +1000
|
10716
|
+
Processing by LetterBomb::MailersController#index as HTML
|
10717
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/index.html.erb within layouts/letter_bomb/application (1.4ms)
|
10718
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
data/spec/dummy/log/test.log
CHANGED
@@ -911,3 +911,445 @@ Started GET "/" for 127.0.0.1 at 2013-05-01 21:00:47 +1000
|
|
911
911
|
Processing by LetterBomb::MailersController#index as HTML
|
912
912
|
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
913
913
|
[1m[35m (0.0ms)[0m rollback transaction
|
914
|
+
Connecting to database specified by database.yml
|
915
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
916
|
+
Started GET "/" for 127.0.0.1 at 2013-05-01 22:09:44 +1000
|
917
|
+
Processing by LetterBomb::MailersController#index as HTML
|
918
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/index.html.erb within layouts/letter_bomb/application (1.8ms)
|
919
|
+
Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
|
920
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
921
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
922
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "users"
|
923
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
924
|
+
[1m[35mSQL (2.6ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 12:09:44 UTC +00:00], ["name", "bob"], ["updated_at", Wed, 01 May 2013 12:09:44 UTC +00:00]]
|
925
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
926
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "users"
|
927
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
928
|
+
[1m[35m (0.0ms)[0m begin transaction
|
929
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
930
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 12:09:44 UTC +00:00], ["name", "bob"], ["updated_at", Wed, 01 May 2013 12:09:44 UTC +00:00]]
|
931
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
932
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
933
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
934
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
935
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
936
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
937
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
938
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
939
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
940
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-01 22:09:44 +1000
|
941
|
+
Processing by LetterBomb::MailersController#show as HTML
|
942
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
943
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
944
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 01 May 2013 12:09:44 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:09:44 UTC +00:00]]
|
945
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
946
|
+
Completed 200 OK in 20ms (Views: 3.7ms | ActiveRecord: 0.5ms)
|
947
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
948
|
+
[1m[35m (0.0ms)[0m begin transaction
|
949
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-01 22:09:44 +1000
|
950
|
+
Processing by LetterBomb::MailersController#show as HTML
|
951
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
952
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
953
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 12:09:44 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:09:44 UTC +00:00]]
|
954
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
955
|
+
Completed 200 OK in 12ms (Views: 1.1ms | ActiveRecord: 0.4ms)
|
956
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
957
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
958
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-01 22:09:44 +1000
|
959
|
+
Processing by LetterBomb::MailersController#show as HTML
|
960
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
961
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
962
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 01 May 2013 12:09:44 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:09:44 UTC +00:00]]
|
963
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
964
|
+
Completed 200 OK in 63ms (Views: 1.2ms | ActiveRecord: 0.5ms)
|
965
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
966
|
+
[1m[35m (0.0ms)[0m begin transaction
|
967
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-01 22:09:44 +1000
|
968
|
+
Processing by LetterBomb::MailersController#show as HTML
|
969
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
970
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
971
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 12:09:44 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 12:09:44 UTC +00:00]]
|
972
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
973
|
+
Completed 200 OK in 11ms (Views: 1.1ms | ActiveRecord: 0.4ms)
|
974
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
975
|
+
Connecting to database specified by database.yml
|
976
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
977
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-02 01:25:09 +1000
|
978
|
+
Processing by LetterBomb::MailersController#show as HTML
|
979
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
980
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
981
|
+
[1m[36mSQL (3.9ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 01 May 2013 15:25:09 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 15:25:09 UTC +00:00]]
|
982
|
+
Rendered user_mailer/welcome.html.erb (0.9ms)
|
983
|
+
Rendered user_mailer/welcome.text.erb (0.3ms)
|
984
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
985
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (2.9ms)
|
986
|
+
Completed 200 OK in 37ms (Views: 5.7ms | ActiveRecord: 5.3ms)
|
987
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
988
|
+
[1m[35m (0.0ms)[0m begin transaction
|
989
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-02 01:25:09 +1000
|
990
|
+
Processing by LetterBomb::MailersController#show as HTML
|
991
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
992
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
993
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 15:25:09 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 15:25:09 UTC +00:00]]
|
994
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
995
|
+
Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.5ms)
|
996
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
997
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
998
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-02 01:25:09 +1000
|
999
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1000
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1001
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1002
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 01 May 2013 15:25:09 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 15:25:09 UTC +00:00]]
|
1003
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1004
|
+
Completed 200 OK in 11ms (Views: 1.1ms | ActiveRecord: 0.5ms)
|
1005
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1006
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1007
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-02 01:25:09 +1000
|
1008
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1009
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1010
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1011
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 15:25:09 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 15:25:09 UTC +00:00]]
|
1012
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1013
|
+
Completed 200 OK in 12ms (Views: 1.3ms | ActiveRecord: 0.4ms)
|
1014
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1015
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1016
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1017
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1018
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1019
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1020
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
1021
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1022
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 15:25:09 UTC +00:00], ["name", "bob"], ["updated_at", Wed, 01 May 2013 15:25:09 UTC +00:00]]
|
1023
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1024
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "users"
|
1025
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1026
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1027
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1028
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 15:25:09 UTC +00:00], ["name", "bob"], ["updated_at", Wed, 01 May 2013 15:25:09 UTC +00:00]]
|
1029
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1030
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1031
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1032
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1033
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1034
|
+
Started GET "/" for 127.0.0.1 at 2013-05-02 01:25:09 +1000
|
1035
|
+
Processing by LetterBomb::MailersController#index as HTML
|
1036
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
1037
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1038
|
+
Connecting to database specified by database.yml
|
1039
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1040
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1041
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1042
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "users"
|
1043
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1044
|
+
[1m[35mSQL (2.6ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 23:33:37 UTC +00:00], ["name", "bob"], ["updated_at", Wed, 01 May 2013 23:33:37 UTC +00:00]]
|
1045
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1046
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
1047
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1048
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1049
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1050
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 23:33:37 UTC +00:00], ["name", "bob"], ["updated_at", Wed, 01 May 2013 23:33:37 UTC +00:00]]
|
1051
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1052
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1053
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1054
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1055
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1056
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1057
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1058
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1059
|
+
Connecting to database specified by database.yml
|
1060
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1061
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "users"
|
1062
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1063
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 23:42:23 UTC +00:00], ["name", "bob"], ["updated_at", Wed, 01 May 2013 23:42:23 UTC +00:00]]
|
1064
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1065
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "users"
|
1066
|
+
[1m[36m (8.5ms)[0m [1mrollback transaction[0m
|
1067
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1068
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1069
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 23:42:23 UTC +00:00], ["name", "bob"], ["updated_at", Wed, 01 May 2013 23:42:23 UTC +00:00]]
|
1070
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1071
|
+
[1m[35m (1.6ms)[0m rollback transaction
|
1072
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1073
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1074
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1075
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1076
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1077
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1078
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1079
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1080
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1081
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1082
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1083
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1084
|
+
Connecting to database specified by database.yml
|
1085
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1086
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-02 09:44:41 +1000
|
1087
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1088
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1089
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1090
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 01 May 2013 23:44:41 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 23:44:41 UTC +00:00]]
|
1091
|
+
Rendered user_mailer/welcome.html.erb (0.9ms)
|
1092
|
+
Rendered user_mailer/welcome.text.erb (0.2ms)
|
1093
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1094
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (2.8ms)
|
1095
|
+
Completed 200 OK in 33ms (Views: 5.3ms | ActiveRecord: 3.0ms)
|
1096
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1097
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1098
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-02 09:44:41 +1000
|
1099
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1100
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1101
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1102
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 23:44:41 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 23:44:41 UTC +00:00]]
|
1103
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1104
|
+
Completed 200 OK in 12ms (Views: 1.0ms | ActiveRecord: 0.5ms)
|
1105
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1106
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1107
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-02 09:44:41 +1000
|
1108
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1109
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1110
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1111
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 01 May 2013 23:44:41 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 23:44:41 UTC +00:00]]
|
1112
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1113
|
+
Completed 200 OK in 11ms (Views: 1.1ms | ActiveRecord: 0.4ms)
|
1114
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1115
|
+
[1m[35m (0.3ms)[0m begin transaction
|
1116
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-02 09:44:41 +1000
|
1117
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1118
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1119
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1120
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 23:44:41 UTC +00:00], ["name", "john"], ["updated_at", Wed, 01 May 2013 23:44:41 UTC +00:00]]
|
1121
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1122
|
+
Completed 200 OK in 11ms (Views: 1.1ms | ActiveRecord: 0.4ms)
|
1123
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1125
|
+
Started GET "/" for 127.0.0.1 at 2013-05-02 09:44:41 +1000
|
1126
|
+
Processing by LetterBomb::MailersController#index as HTML
|
1127
|
+
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
1128
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1129
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1130
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1131
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1132
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1133
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1134
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1135
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1136
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1137
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1138
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1139
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1140
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1141
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1142
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
1143
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1144
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 23:44:41 UTC +00:00], ["name", "bob"], ["updated_at", Wed, 01 May 2013 23:44:41 UTC +00:00]]
|
1145
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1146
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "users"
|
1147
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1148
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1149
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1150
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 May 2013 23:44:41 UTC +00:00], ["name", "bob"], ["updated_at", Wed, 01 May 2013 23:44:41 UTC +00:00]]
|
1151
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1152
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1153
|
+
Connecting to database specified by database.yml
|
1154
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1155
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "users"
|
1156
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1157
|
+
[1m[35mSQL (2.7ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 30 May 2013 09:17:54 UTC +00:00], ["name", "bob"], ["updated_at", Thu, 30 May 2013 09:17:54 UTC +00:00]]
|
1158
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1159
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "users"
|
1160
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1161
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1162
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1163
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 30 May 2013 09:17:54 UTC +00:00], ["name", "bob"], ["updated_at", Thu, 30 May 2013 09:17:54 UTC +00:00]]
|
1164
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1165
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1166
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1167
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1168
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1169
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1171
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1173
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1175
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1176
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1177
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1178
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1179
|
+
Started GET "/" for 127.0.0.1 at 2013-05-30 19:17:54 +1000
|
1180
|
+
Processing by LetterBomb::MailersController#index as HTML
|
1181
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/index.html.erb within layouts/letter_bomb/application (2.2ms)
|
1182
|
+
Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)
|
1183
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1184
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1185
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-30 19:17:54 +1000
|
1186
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1187
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1188
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1189
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 30 May 2013 09:17:54 UTC +00:00], ["name", "john"], ["updated_at", Thu, 30 May 2013 09:17:54 UTC +00:00]]
|
1190
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1191
|
+
Completed 200 OK in 22ms (Views: 4.7ms | ActiveRecord: 0.4ms)
|
1192
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1193
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1194
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-30 19:17:54 +1000
|
1195
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1196
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1197
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1198
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 30 May 2013 09:17:54 UTC +00:00], ["name", "john"], ["updated_at", Thu, 30 May 2013 09:17:54 UTC +00:00]]
|
1199
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1200
|
+
Completed 200 OK in 12ms (Views: 1.1ms | ActiveRecord: 0.4ms)
|
1201
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1202
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1203
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-30 19:17:54 +1000
|
1204
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1205
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1206
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1207
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 30 May 2013 09:17:54 UTC +00:00], ["name", "john"], ["updated_at", Thu, 30 May 2013 09:17:54 UTC +00:00]]
|
1208
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1209
|
+
Completed 200 OK in 11ms (Views: 1.1ms | ActiveRecord: 0.4ms)
|
1210
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1211
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1212
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-30 19:17:54 +1000
|
1213
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1214
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1215
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1216
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 30 May 2013 09:17:54 UTC +00:00], ["name", "john"], ["updated_at", Thu, 30 May 2013 09:17:54 UTC +00:00]]
|
1217
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1218
|
+
Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 0.4ms)
|
1219
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1220
|
+
Connecting to database specified by database.yml
|
1221
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1222
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1223
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1224
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1225
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1226
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1227
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1228
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "users"
|
1229
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1230
|
+
[1m[35mSQL (2.5ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 30 May 2013 10:59:07 UTC +00:00], ["name", "bob"], ["updated_at", Thu, 30 May 2013 10:59:07 UTC +00:00]]
|
1231
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1232
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "users"
|
1233
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1234
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1235
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1236
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 30 May 2013 10:59:07 UTC +00:00], ["name", "bob"], ["updated_at", Thu, 30 May 2013 10:59:07 UTC +00:00]]
|
1237
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1238
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1239
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1240
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1241
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1242
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1243
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1244
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1245
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1246
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-30 20:59:07 +1000
|
1247
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1248
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1249
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1250
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 30 May 2013 10:59:07 UTC +00:00], ["name", "john"], ["updated_at", Thu, 30 May 2013 10:59:07 UTC +00:00]]
|
1251
|
+
Rendered user_mailer/welcome.html.erb (0.9ms)
|
1252
|
+
Rendered user_mailer/welcome.text.erb (0.3ms)
|
1253
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1254
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/show.html.erb within layouts/letter_bomb/application (3.5ms)
|
1255
|
+
Completed 200 OK in 28ms (Views: 5.8ms | ActiveRecord: 0.4ms)
|
1256
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1257
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1258
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-30 20:59:07 +1000
|
1259
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1260
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1261
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1262
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 30 May 2013 10:59:07 UTC +00:00], ["name", "john"], ["updated_at", Thu, 30 May 2013 10:59:07 UTC +00:00]]
|
1263
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1264
|
+
Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 0.5ms)
|
1265
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1266
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1267
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-30 20:59:07 +1000
|
1268
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1269
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1270
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1271
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 30 May 2013 10:59:07 UTC +00:00], ["name", "john"], ["updated_at", Thu, 30 May 2013 10:59:07 UTC +00:00]]
|
1272
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1273
|
+
Completed 200 OK in 11ms (Views: 1.1ms | ActiveRecord: 0.4ms)
|
1274
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1275
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1276
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-30 20:59:07 +1000
|
1277
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1278
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1279
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1280
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 30 May 2013 10:59:07 UTC +00:00], ["name", "john"], ["updated_at", Thu, 30 May 2013 10:59:07 UTC +00:00]]
|
1281
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1282
|
+
Completed 200 OK in 12ms (Views: 1.1ms | ActiveRecord: 0.4ms)
|
1283
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1284
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1285
|
+
Started GET "/" for 127.0.0.1 at 2013-05-30 20:59:07 +1000
|
1286
|
+
Processing by LetterBomb::MailersController#index as HTML
|
1287
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
1288
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1289
|
+
Connecting to database specified by database.yml
|
1290
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1291
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1292
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1293
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1294
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1295
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "users"
|
1296
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1297
|
+
[1m[35mSQL (2.5ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 30 May 2013 10:59:11 UTC +00:00], ["name", "bob"], ["updated_at", Thu, 30 May 2013 10:59:11 UTC +00:00]]
|
1298
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1299
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
1300
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
1301
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1302
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1303
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 30 May 2013 10:59:11 UTC +00:00], ["name", "bob"], ["updated_at", Thu, 30 May 2013 10:59:11 UTC +00:00]]
|
1304
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1305
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1306
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1307
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1308
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1309
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1310
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1311
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1312
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1313
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1315
|
+
Started GET "/" for 127.0.0.1 at 2013-05-30 20:59:11 +1000
|
1316
|
+
Processing by LetterBomb::MailersController#index as HTML
|
1317
|
+
Rendered /Users/ags/code/letter_bomb/app/views/letter_bomb/mailers/index.html.erb within layouts/letter_bomb/application (1.8ms)
|
1318
|
+
Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
1319
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1320
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1321
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-30 20:59:11 +1000
|
1322
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1323
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1324
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1325
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 30 May 2013 10:59:11 UTC +00:00], ["name", "john"], ["updated_at", Thu, 30 May 2013 10:59:11 UTC +00:00]]
|
1326
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1327
|
+
Completed 200 OK in 53ms (Views: 3.7ms | ActiveRecord: 0.5ms)
|
1328
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1329
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1330
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-30 20:59:11 +1000
|
1331
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1332
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1333
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1334
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 30 May 2013 10:59:11 UTC +00:00], ["name", "john"], ["updated_at", Thu, 30 May 2013 10:59:11 UTC +00:00]]
|
1335
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1336
|
+
Completed 200 OK in 14ms (Views: 1.2ms | ActiveRecord: 0.5ms)
|
1337
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1339
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-30 20:59:11 +1000
|
1340
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1341
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1342
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1343
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 30 May 2013 10:59:11 UTC +00:00], ["name", "john"], ["updated_at", Thu, 30 May 2013 10:59:11 UTC +00:00]]
|
1344
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1345
|
+
Completed 200 OK in 11ms (Views: 1.1ms | ActiveRecord: 0.4ms)
|
1346
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1347
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1348
|
+
Started GET "/UserMailer::Preview/welcome" for 127.0.0.1 at 2013-05-30 20:59:11 +1000
|
1349
|
+
Processing by LetterBomb::MailersController#show as HTML
|
1350
|
+
Parameters: {"mailer_class"=>"UserMailer::Preview", "mailer_action"=>"welcome"}
|
1351
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1352
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 30 May 2013 10:59:11 UTC +00:00], ["name", "john"], ["updated_at", Thu, 30 May 2013 10:59:11 UTC +00:00]]
|
1353
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1354
|
+
Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 0.5ms)
|
1355
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
@@ -36,4 +36,20 @@ describe LetterBomb::Preview do
|
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
|
+
describe "#lchomp" do
|
40
|
+
it "removes a given string from the start of a target string" do
|
41
|
+
LetterBomb::Preview.lchomp('abcd/edfg/abcd', 'abcd').should == '/edfg/abcd'
|
42
|
+
end
|
43
|
+
context "when the target string does not begin with the removable string" do
|
44
|
+
it "returns the target string" do
|
45
|
+
LetterBomb::Preview.lchomp('edfg/abcd', 'abcd').should == 'edfg/abcd'
|
46
|
+
end
|
47
|
+
end
|
48
|
+
context "when the target string does not contain the removable string" do
|
49
|
+
it "returns the target string" do
|
50
|
+
LetterBomb::Preview.lchomp('edfg', 'abcd').should == 'edfg'
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
39
55
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: letter_bomb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -129,7 +129,6 @@ files:
|
|
129
129
|
- spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
130
130
|
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
131
131
|
- spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
132
|
-
- spec/dummy/tmp/pids/server.pid
|
133
132
|
- spec/lib/letter_bomb/preview_spec.rb
|
134
133
|
- spec/requests/mailer_preview_listing_spec.rb
|
135
134
|
- spec/requests/mailer_preview_showing_spec.rb
|
@@ -202,7 +201,6 @@ test_files:
|
|
202
201
|
- spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
203
202
|
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
204
203
|
- spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
205
|
-
- spec/dummy/tmp/pids/server.pid
|
206
204
|
- spec/lib/letter_bomb/preview_spec.rb
|
207
205
|
- spec/requests/mailer_preview_listing_spec.rb
|
208
206
|
- spec/requests/mailer_preview_showing_spec.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
53551
|