irreverent 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49de80c2ae2b21b9143b1d00330c892185d1b741
4
- data.tar.gz: 107b77edbd4d9bbef14bc1b823c4bd461dacbda5
3
+ metadata.gz: 4aa83104ca79ef9bc7617877e95638bcab89725f
4
+ data.tar.gz: 64b74746704a10246b9a0dc4ad57494cf015b34c
5
5
  SHA512:
6
- metadata.gz: a672a87473f961c3908e78c86e6f3d0c5f5e33b105f18dc687a636c5922f4345e003a8254d04688a0b280c64270b4df501eebd132a24fe7f3d532c1811b20fa2
7
- data.tar.gz: 5fe0989414b17863b296ab35a6ea16da90f8a725fc02409b9758ec9ef5fc03038561dd865954846dca60e66ddf91567ec42dd40c6ae557966a3de1fcfba9b451
6
+ metadata.gz: c105cdcb6ecfda6fcae9d986932170653282b38c17cdf3b5f05d0f9ed1b0ef6adcafdc7dd3b29fe58c38d04ac68b3206536b8cc85d2c0bc0cdd0f9fae9c80652
7
+ data.tar.gz: 22f918fe330792f622c60048bc74fb3f132e482d516afa7624674f6e95c835774d67a1e159ad21a61b2108befae0a4f702890d4a0e8dff129e05725f7ddfa8a8
data/Rakefile CHANGED
@@ -14,9 +14,6 @@ RDoc::Task.new(:rdoc) do |rdoc|
14
14
  rdoc.rdoc_files.include('lib/**/*.rb')
15
15
  end
16
16
 
17
-
18
-
19
-
20
17
  Bundler::GemHelper.install_tasks
21
18
 
22
19
  require 'rake/testtask'
@@ -28,5 +25,12 @@ Rake::TestTask.new(:test) do |t|
28
25
  t.verbose = false
29
26
  end
30
27
 
31
-
32
28
  task default: :test
29
+
30
+ task :console do
31
+ require 'irb'
32
+ require 'irb/completion'
33
+ require 'irreverent'
34
+ ARGV.clear
35
+ IRB.start
36
+ end
@@ -1,5 +1,7 @@
1
1
  <% module_namespacing do -%>
2
2
  class <%= controller_class_name %>Controller < ApplicationController
3
+ respond_to :html, :json
4
+
3
5
  before_action :set_<%= singular_table_name %>, only: [:show, :edit, :update, :destroy]
4
6
 
5
7
  # GET <%= route_url %>
@@ -1,3 +1,3 @@
1
1
  module Irreverent
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
@@ -414,3 +414,298 @@ Processing by UsersController#update as HTML
414
414
  Redirected to http://test.host/users/1
415
415
  Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
416
416
   (0.2ms) rollback transaction
417
+  (0.3ms) begin transaction
418
+ -------------------------------------------------------------
419
+ FlashTest: test_sets_alert_messages_from_the_controller_scope
420
+ -------------------------------------------------------------
421
+  (0.1ms) SAVEPOINT active_record_1
422
+ SQL (6.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:35:16 UTC +00:00], ["name", "Chuck Norris"], ["updated_at", Sat, 08 Feb 2014 14:35:16 UTC +00:00]]
423
+  (0.1ms) RELEASE SAVEPOINT active_record_1
424
+ Processing by UsersController#destroy as HTML
425
+ Parameters: {"id"=>"1"}
426
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
427
+  (0.0ms) SAVEPOINT active_record_1
428
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
429
+ Redirected to http://test.host/users/1
430
+ Completed 302 Found in 12ms (ActiveRecord: 0.2ms)
431
+  (0.1ms) rollback transaction
432
+  (0.0ms) begin transaction
433
+ ----------------------------------------------------------
434
+ FlashTest: test_sets_notice_message_on_successful_creation
435
+ ----------------------------------------------------------
436
+ Processing by UsersController#create as HTML
437
+ Parameters: {"user"=>{"name"=>"John Doe"}}
438
+  (0.1ms) SAVEPOINT active_record_1
439
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:35:16 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 14:35:16 UTC +00:00]]
440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
441
+ Redirected to http://test.host/users/1
442
+ Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
443
+  (0.1ms) rollback transaction
444
+  (0.0ms) begin transaction
445
+ ---------------------------------------------------------
446
+ FlashTest: test_sets_notice_message_on_successful_destroy
447
+ ---------------------------------------------------------
448
+  (0.0ms) SAVEPOINT active_record_1
449
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:35:16 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 14:35:16 UTC +00:00]]
450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
451
+ Processing by UsersController#destroy as HTML
452
+ Parameters: {"id"=>"1"}
453
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
454
+  (0.0ms) SAVEPOINT active_record_1
455
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
457
+ Redirected to http://test.host/users
458
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
459
+  (0.1ms) rollback transaction
460
+  (0.1ms) begin transaction
461
+ --------------------------------------------------------
462
+ FlashTest: test_sets_notice_message_on_successful_update
463
+ --------------------------------------------------------
464
+  (0.1ms) SAVEPOINT active_record_1
465
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:35:16 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 14:35:16 UTC +00:00]]
466
+  (0.0ms) RELEASE SAVEPOINT active_record_1
467
+ Processing by UsersController#update as HTML
468
+ Parameters: {"user"=>{"name"=>"Another John Doe"}, "id"=>"1"}
469
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
470
+  (0.0ms) SAVEPOINT active_record_1
471
+ SQL (0.3ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["name", "Another John Doe"], ["updated_at", Sat, 08 Feb 2014 14:35:16 UTC +00:00]]
472
+  (0.0ms) RELEASE SAVEPOINT active_record_1
473
+ Redirected to http://test.host/users/1
474
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
475
+  (0.1ms) rollback transaction
476
+  (0.3ms) begin transaction
477
+ -------------------------------------------------------------
478
+ FlashTest: test_sets_alert_messages_from_the_controller_scope
479
+ -------------------------------------------------------------
480
+  (0.1ms) SAVEPOINT active_record_1
481
+ SQL (2.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:35:36 UTC +00:00], ["name", "Chuck Norris"], ["updated_at", Sat, 08 Feb 2014 14:35:36 UTC +00:00]]
482
+  (0.1ms) RELEASE SAVEPOINT active_record_1
483
+ Processing by UsersController#destroy as HTML
484
+ Parameters: {"id"=>"1"}
485
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
486
+  (0.1ms) SAVEPOINT active_record_1
487
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
488
+ Redirected to http://test.host/users/1
489
+ Completed 302 Found in 12ms (ActiveRecord: 0.3ms)
490
+  (0.1ms) rollback transaction
491
+  (0.1ms) begin transaction
492
+ ----------------------------------------------------------
493
+ FlashTest: test_sets_notice_message_on_successful_creation
494
+ ----------------------------------------------------------
495
+ Processing by UsersController#create as HTML
496
+ Parameters: {"user"=>{"name"=>"John Doe"}}
497
+  (0.1ms) SAVEPOINT active_record_1
498
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:35:36 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 14:35:36 UTC +00:00]]
499
+  (0.0ms) RELEASE SAVEPOINT active_record_1
500
+ Redirected to http://test.host/users/1
501
+ Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
502
+  (0.1ms) rollback transaction
503
+  (0.0ms) begin transaction
504
+ ---------------------------------------------------------
505
+ FlashTest: test_sets_notice_message_on_successful_destroy
506
+ ---------------------------------------------------------
507
+  (0.0ms) SAVEPOINT active_record_1
508
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:35:36 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 14:35:36 UTC +00:00]]
509
+  (0.0ms) RELEASE SAVEPOINT active_record_1
510
+ Processing by UsersController#destroy as HTML
511
+ Parameters: {"id"=>"1"}
512
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
513
+  (0.0ms) SAVEPOINT active_record_1
514
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
515
+  (0.0ms) RELEASE SAVEPOINT active_record_1
516
+ Redirected to http://test.host/users
517
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
518
+  (0.1ms) rollback transaction
519
+  (0.0ms) begin transaction
520
+ --------------------------------------------------------
521
+ FlashTest: test_sets_notice_message_on_successful_update
522
+ --------------------------------------------------------
523
+  (0.0ms) SAVEPOINT active_record_1
524
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:35:36 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 14:35:36 UTC +00:00]]
525
+  (0.0ms) RELEASE SAVEPOINT active_record_1
526
+ Processing by UsersController#update as HTML
527
+ Parameters: {"user"=>{"name"=>"Another John Doe"}, "id"=>"1"}
528
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
529
+  (0.0ms) SAVEPOINT active_record_1
530
+ SQL (0.3ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["name", "Another John Doe"], ["updated_at", Sat, 08 Feb 2014 14:35:36 UTC +00:00]]
531
+  (0.1ms) RELEASE SAVEPOINT active_record_1
532
+ Redirected to http://test.host/users/1
533
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
534
+  (0.1ms) rollback transaction
535
+  (0.3ms) begin transaction
536
+ -------------------------------------------------------------
537
+ FlashTest: test_sets_alert_messages_from_the_controller_scope
538
+ -------------------------------------------------------------
539
+  (0.1ms) SAVEPOINT active_record_1
540
+ SQL (2.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:36:05 UTC +00:00], ["name", "Chuck Norris"], ["updated_at", Sat, 08 Feb 2014 14:36:05 UTC +00:00]]
541
+  (0.1ms) RELEASE SAVEPOINT active_record_1
542
+ Processing by UsersController#destroy as HTML
543
+ Parameters: {"id"=>"1"}
544
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
545
+  (0.0ms) SAVEPOINT active_record_1
546
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
547
+ Redirected to http://test.host/users/1
548
+ Completed 302 Found in 12ms (ActiveRecord: 0.2ms)
549
+  (0.2ms) rollback transaction
550
+  (0.1ms) begin transaction
551
+ ----------------------------------------------------------
552
+ FlashTest: test_sets_notice_message_on_successful_creation
553
+ ----------------------------------------------------------
554
+ Processing by UsersController#create as HTML
555
+ Parameters: {"user"=>{"name"=>"John Doe"}}
556
+  (0.1ms) SAVEPOINT active_record_1
557
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:36:05 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 14:36:05 UTC +00:00]]
558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
559
+ Redirected to http://test.host/users/1
560
+ Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
561
+  (0.1ms) rollback transaction
562
+  (0.0ms) begin transaction
563
+ ---------------------------------------------------------
564
+ FlashTest: test_sets_notice_message_on_successful_destroy
565
+ ---------------------------------------------------------
566
+  (0.0ms) SAVEPOINT active_record_1
567
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:36:05 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 14:36:05 UTC +00:00]]
568
+  (0.1ms) RELEASE SAVEPOINT active_record_1
569
+ Processing by UsersController#destroy as HTML
570
+ Parameters: {"id"=>"1"}
571
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
572
+  (0.0ms) SAVEPOINT active_record_1
573
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
575
+ Redirected to http://test.host/users
576
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
577
+  (0.1ms) rollback transaction
578
+  (0.0ms) begin transaction
579
+ --------------------------------------------------------
580
+ FlashTest: test_sets_notice_message_on_successful_update
581
+ --------------------------------------------------------
582
+  (0.0ms) SAVEPOINT active_record_1
583
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:36:05 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 14:36:05 UTC +00:00]]
584
+  (0.0ms) RELEASE SAVEPOINT active_record_1
585
+ Processing by UsersController#update as HTML
586
+ Parameters: {"user"=>{"name"=>"Another John Doe"}, "id"=>"1"}
587
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
588
+  (0.0ms) SAVEPOINT active_record_1
589
+ SQL (0.3ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["name", "Another John Doe"], ["updated_at", Sat, 08 Feb 2014 14:36:05 UTC +00:00]]
590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
591
+ Redirected to http://test.host/users/1
592
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
593
+  (0.1ms) rollback transaction
594
+  (0.3ms) begin transaction
595
+ -------------------------------------------------------------
596
+ FlashTest: test_sets_alert_messages_from_the_controller_scope
597
+ -------------------------------------------------------------
598
+  (0.1ms) SAVEPOINT active_record_1
599
+ SQL (2.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:36:26 UTC +00:00], ["name", "Chuck Norris"], ["updated_at", Sat, 08 Feb 2014 14:36:26 UTC +00:00]]
600
+  (0.1ms) RELEASE SAVEPOINT active_record_1
601
+ Processing by UsersController#destroy as HTML
602
+ Parameters: {"id"=>"1"}
603
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
604
+  (0.0ms) SAVEPOINT active_record_1
605
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
606
+ Redirected to http://test.host/users/1
607
+ Completed 302 Found in 12ms (ActiveRecord: 0.2ms)
608
+  (0.1ms) rollback transaction
609
+  (0.1ms) begin transaction
610
+ ----------------------------------------------------------
611
+ FlashTest: test_sets_notice_message_on_successful_creation
612
+ ----------------------------------------------------------
613
+ Processing by UsersController#create as HTML
614
+ Parameters: {"user"=>{"name"=>"John Doe"}}
615
+  (0.1ms) SAVEPOINT active_record_1
616
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:36:26 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 14:36:26 UTC +00:00]]
617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
618
+ Redirected to http://test.host/users/1
619
+ Completed 302 Found in 10ms (ActiveRecord: 0.3ms)
620
+  (0.1ms) rollback transaction
621
+  (0.1ms) begin transaction
622
+ ---------------------------------------------------------
623
+ FlashTest: test_sets_notice_message_on_successful_destroy
624
+ ---------------------------------------------------------
625
+  (0.0ms) SAVEPOINT active_record_1
626
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:36:26 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 14:36:26 UTC +00:00]]
627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
628
+ Processing by UsersController#destroy as HTML
629
+ Parameters: {"id"=>"1"}
630
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
631
+  (0.0ms) SAVEPOINT active_record_1
632
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
633
+  (0.0ms) RELEASE SAVEPOINT active_record_1
634
+ Redirected to http://test.host/users
635
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
636
+  (0.1ms) rollback transaction
637
+  (0.1ms) begin transaction
638
+ --------------------------------------------------------
639
+ FlashTest: test_sets_notice_message_on_successful_update
640
+ --------------------------------------------------------
641
+  (0.1ms) SAVEPOINT active_record_1
642
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 14:36:26 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 14:36:26 UTC +00:00]]
643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
644
+ Processing by UsersController#update as HTML
645
+ Parameters: {"user"=>{"name"=>"Another John Doe"}, "id"=>"1"}
646
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
647
+  (0.1ms) SAVEPOINT active_record_1
648
+ SQL (0.2ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["name", "Another John Doe"], ["updated_at", Sat, 08 Feb 2014 14:36:26 UTC +00:00]]
649
+  (0.1ms) RELEASE SAVEPOINT active_record_1
650
+ Redirected to http://test.host/users/1
651
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
652
+  (0.1ms) rollback transaction
653
+  (0.4ms) begin transaction
654
+ -------------------------------------------------------------
655
+ FlashTest: test_sets_alert_messages_from_the_controller_scope
656
+ -------------------------------------------------------------
657
+  (0.0ms) SAVEPOINT active_record_1
658
+ SQL (2.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 15:19:57 UTC +00:00], ["name", "Chuck Norris"], ["updated_at", Sat, 08 Feb 2014 15:19:57 UTC +00:00]]
659
+  (0.1ms) RELEASE SAVEPOINT active_record_1
660
+ Processing by UsersController#destroy as HTML
661
+ Parameters: {"id"=>"1"}
662
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
663
+  (0.0ms) SAVEPOINT active_record_1
664
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
665
+ Redirected to http://test.host/users/1
666
+ Completed 302 Found in 12ms (ActiveRecord: 0.2ms)
667
+  (0.1ms) rollback transaction
668
+  (0.1ms) begin transaction
669
+ ----------------------------------------------------------
670
+ FlashTest: test_sets_notice_message_on_successful_creation
671
+ ----------------------------------------------------------
672
+ Processing by UsersController#create as HTML
673
+ Parameters: {"user"=>{"name"=>"John Doe"}}
674
+  (0.1ms) SAVEPOINT active_record_1
675
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 15:19:57 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 15:19:57 UTC +00:00]]
676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
677
+ Redirected to http://test.host/users/1
678
+ Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
679
+  (0.1ms) rollback transaction
680
+  (0.0ms) begin transaction
681
+ ---------------------------------------------------------
682
+ FlashTest: test_sets_notice_message_on_successful_destroy
683
+ ---------------------------------------------------------
684
+  (0.0ms) SAVEPOINT active_record_1
685
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 15:19:57 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 15:19:57 UTC +00:00]]
686
+  (0.1ms) RELEASE SAVEPOINT active_record_1
687
+ Processing by UsersController#destroy as HTML
688
+ Parameters: {"id"=>"1"}
689
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
690
+  (0.0ms) SAVEPOINT active_record_1
691
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
693
+ Redirected to http://test.host/users
694
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
695
+  (0.1ms) rollback transaction
696
+  (0.0ms) begin transaction
697
+ --------------------------------------------------------
698
+ FlashTest: test_sets_notice_message_on_successful_update
699
+ --------------------------------------------------------
700
+  (0.0ms) SAVEPOINT active_record_1
701
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 08 Feb 2014 15:19:57 UTC +00:00], ["name", "John Doe"], ["updated_at", Sat, 08 Feb 2014 15:19:57 UTC +00:00]]
702
+  (0.0ms) RELEASE SAVEPOINT active_record_1
703
+ Processing by UsersController#update as HTML
704
+ Parameters: {"user"=>{"name"=>"Another John Doe"}, "id"=>"1"}
705
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
706
+  (0.1ms) SAVEPOINT active_record_1
707
+ SQL (0.4ms) UPDATE "users" SET "name" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["name", "Another John Doe"], ["updated_at", Sat, 08 Feb 2014 15:19:57 UTC +00:00]]
708
+  (0.1ms) RELEASE SAVEPOINT active_record_1
709
+ Redirected to http://test.host/users/1
710
+ Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
711
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irreverent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Catena
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-07 00:00:00.000000000 Z
11
+ date: 2014-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -46,7 +46,6 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - MIT-LICENSE
49
- - README.rdoc
50
49
  - Rakefile
51
50
  - lib/generators/irreverent/install/install_generator.rb
52
51
  - lib/generators/irreverent/install/templates/controller.rb
@@ -1,5 +0,0 @@
1
- = Irreverent
2
-
3
- Rails responder customization (Inspired by Jose Valim's Crafting Rails 4 Apps Book)
4
-
5
- Released under the MIT LICENSE