action_control 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: 8c589bc119365c05165bad55d5318de1e8765805
4
- data.tar.gz: 3fd73176a397cafee1a883db779506877d652564
3
+ metadata.gz: 68b40a9dbfb819c3eafb2c73526966b776204054
4
+ data.tar.gz: 7c036743a45484a4a014753d81149e4b63b5ac56
5
5
  SHA512:
6
- metadata.gz: 02621619e60135eaeaeff8f2dbd05c126c4bce890a73658c4e99ac463a12fde75e42b6390c39f59bb64e9cdea6f513ad6744acae11439d6bbffc1d86dabb773c
7
- data.tar.gz: b9c5c2719ba6dffa33b4ca6700d98618c59898246fa7c8210b6deb0b3ffc5ac340dc0aff92659f63f20dd29f81109e4b2ab9232a7f465a311991fbcdc6f6bbdb
6
+ metadata.gz: 04c8c27bc3725b0b7402fc02d59021d71fe7fbb2b4c7acd575eb119aa15db2c5ac062aa0749e9134120cd3c2b3232202c6bfc971c92c0d27dc4d692b47954515
7
+ data.tar.gz: 0bd8dadee05df25cf141f41e379965da204e33de7c816be784739b9894f6d16e33073fb17acc31e0db467e1a610f7fb8e4f9c458573701aed65559a5bb9506b9
@@ -1,3 +1,3 @@
1
1
  module ActionControl
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -5,8 +5,15 @@ require 'action_control/action_controller/base'
5
5
  module ActionControl
6
6
  # Authorizes the user.
7
7
  def authorize!
8
+ # Return if the controller
9
+ # is a Devise controller.
10
+ return if defined?(::DeviseController) && is_a?(::DeviseController)
11
+
12
+ # Raise an error if the #authorize? action isn't defined.
13
+ #
14
+ # This ensures that you actually do authorization in your controller.
8
15
  raise ActionControl::AuthorizationNotPerformedError unless defined?(authorized?)
9
16
 
10
- raise ActionControl::NotAuthorizedError unless send(:authorized?) == true
17
+ raise ActionControl::NotAuthorizedError unless authorized? == true
11
18
  end
12
19
  end
@@ -1,16 +1,12 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class ActionControlTest < ActiveSupport::TestCase
4
- def reinstatiate
4
+ setup do
5
5
  @authorizable = Class.new do
6
6
  include ActionControl
7
7
  end
8
8
  end
9
9
 
10
- setup do
11
- reinstatiate
12
- end
13
-
14
10
  test 'should raise `AuthorizationNotPerformedError` if #authorized? is not defined' do
15
11
  assert_raise ActionControl::AuthorizationNotPerformedError do
16
12
  @authorizable.new.authorize!
@@ -40,4 +36,12 @@ class ActionControlTest < ActiveSupport::TestCase
40
36
  @authorizable.new.authorize!
41
37
  end
42
38
  end
39
+
40
+ test 'should return if class is a Devise controller' do
41
+ ::DeviseController = @authorizable
42
+
43
+ assert_nothing_raised do
44
+ ::DeviseController.new.authorize!
45
+ end
46
+ end
43
47
  end
@@ -543,3 +543,651 @@ Started GET "/other" for ::1 at 2016-01-01 17:27:37 +0100
543
543
  Processing by WelcomeController#other as HTML
544
544
  Rendered html template (0.0ms)
545
545
  Completed 200 OK in 0ms (Views: 0.3ms)
546
+
547
+
548
+ Started GET "/" for ::1 at 2016-01-05 21:39:59 +0100
549
+ Processing by WelcomeController#index as HTML
550
+ Rendered welcome/index.html.erb within layouts/application (0.8ms)
551
+ Completed 200 OK in 175ms (Views: 174.4ms)
552
+
553
+
554
+ Started GET "/" for ::1 at 2016-01-05 21:47:23 +0100
555
+ Processing by WelcomeController#index as HTML
556
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
557
+ Completed 200 OK in 8ms (Views: 7.6ms)
558
+
559
+
560
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:47:23 +0100
561
+
562
+
563
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:47:23 +0100
564
+
565
+
566
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:47:23 +0100
567
+
568
+
569
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:47:23 +0100
570
+
571
+
572
+ Started GET "/" for ::1 at 2016-01-05 21:47:25 +0100
573
+ Processing by WelcomeController#index as HTML
574
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
575
+ Completed 200 OK in 8ms (Views: 7.7ms)
576
+
577
+
578
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:47:25 +0100
579
+
580
+
581
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:47:25 +0100
582
+
583
+
584
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:47:25 +0100
585
+
586
+
587
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:47:25 +0100
588
+
589
+
590
+ Started GET "/" for ::1 at 2016-01-05 21:47:34 +0100
591
+ Processing by WelcomeController#index as HTML
592
+ Rendered welcome/index.html.erb within layouts/application (0.7ms)
593
+ Completed 200 OK in 154ms (Views: 154.1ms)
594
+
595
+
596
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:47:34 +0100
597
+
598
+
599
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:47:34 +0100
600
+
601
+
602
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:47:34 +0100
603
+
604
+
605
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:47:34 +0100
606
+
607
+
608
+ Started GET "/" for ::1 at 2016-01-05 21:48:22 +0100
609
+ Processing by WelcomeController#index as HTML
610
+ Rendered welcome/index.html.erb within layouts/application (0.5ms)
611
+ Completed 200 OK in 9ms (Views: 9.0ms)
612
+
613
+
614
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:48:22 +0100
615
+
616
+
617
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:48:22 +0100
618
+
619
+
620
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:48:22 +0100
621
+
622
+
623
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:48:22 +0100
624
+
625
+
626
+ Started GET "/" for ::1 at 2016-01-05 21:48:35 +0100
627
+ Processing by WelcomeController#index as HTML
628
+ Rendered welcome/index.html.erb within layouts/application (0.3ms)
629
+ Completed 200 OK in 7ms (Views: 6.9ms)
630
+
631
+
632
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:48:35 +0100
633
+
634
+
635
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:48:35 +0100
636
+
637
+
638
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:48:35 +0100
639
+
640
+
641
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:48:35 +0100
642
+
643
+
644
+ Started GET "/" for ::1 at 2016-01-05 21:48:36 +0100
645
+ Processing by WelcomeController#index as HTML
646
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
647
+ Completed 200 OK in 7ms (Views: 7.1ms)
648
+
649
+
650
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:48:36 +0100
651
+
652
+
653
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:48:36 +0100
654
+
655
+
656
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:48:36 +0100
657
+
658
+
659
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:48:36 +0100
660
+
661
+
662
+ Started GET "/" for ::1 at 2016-01-05 21:48:36 +0100
663
+ Processing by WelcomeController#index as HTML
664
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
665
+ Completed 200 OK in 7ms (Views: 6.5ms)
666
+
667
+
668
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:48:37 +0100
669
+
670
+
671
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:48:37 +0100
672
+
673
+
674
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:48:37 +0100
675
+
676
+
677
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:48:37 +0100
678
+
679
+
680
+ Started GET "/" for ::1 at 2016-01-05 21:50:50 +0100
681
+ Processing by WelcomeController#index as HTML
682
+ Rendered welcome/index.html.erb within layouts/application (0.3ms)
683
+ Completed 200 OK in 7ms (Views: 6.9ms)
684
+
685
+
686
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:50:50 +0100
687
+
688
+
689
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:50:50 +0100
690
+
691
+
692
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:50:50 +0100
693
+
694
+
695
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:50:50 +0100
696
+
697
+
698
+ Started GET "/" for ::1 at 2016-01-05 21:50:54 +0100
699
+ Processing by WelcomeController#index as HTML
700
+ Rendered welcome/index.html.erb within layouts/application (0.3ms)
701
+ Completed 200 OK in 7ms (Views: 7.4ms)
702
+
703
+
704
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:50:54 +0100
705
+
706
+
707
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:50:54 +0100
708
+
709
+
710
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:50:54 +0100
711
+
712
+
713
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:50:54 +0100
714
+
715
+
716
+ Started GET "/" for ::1 at 2016-01-05 21:51:10 +0100
717
+ Processing by WelcomeController#index as HTML
718
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
719
+ Completed 200 OK in 7ms (Views: 6.9ms)
720
+
721
+
722
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:51:10 +0100
723
+
724
+
725
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:51:10 +0100
726
+
727
+
728
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:51:10 +0100
729
+
730
+
731
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:51:10 +0100
732
+
733
+
734
+ Started GET "/" for ::1 at 2016-01-05 21:51:18 +0100
735
+ Processing by WelcomeController#index as HTML
736
+ Rendered welcome/index.html.erb within layouts/application (0.9ms)
737
+ Completed 200 OK in 159ms (Views: 158.6ms)
738
+
739
+
740
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:51:18 +0100
741
+
742
+
743
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:51:18 +0100
744
+
745
+
746
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:51:18 +0100
747
+
748
+
749
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:51:18 +0100
750
+
751
+
752
+ Started GET "/" for ::1 at 2016-01-05 21:52:17 +0100
753
+ Processing by WelcomeController#index as HTML
754
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
755
+ Completed 200 OK in 6ms (Views: 6.4ms)
756
+
757
+
758
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:52:17 +0100
759
+
760
+
761
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:52:17 +0100
762
+
763
+
764
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:52:17 +0100
765
+
766
+
767
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:52:17 +0100
768
+
769
+
770
+ Started GET "/" for ::1 at 2016-01-05 21:52:24 +0100
771
+ Processing by WelcomeController#index as HTML
772
+ Rendered welcome/index.html.erb within layouts/application (0.8ms)
773
+ Completed 200 OK in 168ms (Views: 167.9ms)
774
+
775
+
776
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:52:25 +0100
777
+
778
+
779
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:52:25 +0100
780
+
781
+
782
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:52:25 +0100
783
+
784
+
785
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:52:25 +0100
786
+
787
+
788
+ Started GET "/" for ::1 at 2016-01-05 21:52:25 +0100
789
+ Processing by WelcomeController#index as HTML
790
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
791
+ Completed 200 OK in 7ms (Views: 7.0ms)
792
+
793
+
794
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:52:26 +0100
795
+
796
+
797
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:52:26 +0100
798
+
799
+
800
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:52:26 +0100
801
+
802
+
803
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:52:26 +0100
804
+
805
+
806
+ Started GET "/" for ::1 at 2016-01-05 21:54:11 +0100
807
+ Processing by WelcomeController#index as HTML
808
+ Rendered welcome/index.html.erb within layouts/application (0.4ms)
809
+ Completed 200 OK in 7ms (Views: 7.2ms)
810
+
811
+
812
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:54:11 +0100
813
+
814
+
815
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:54:11 +0100
816
+
817
+
818
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:54:11 +0100
819
+
820
+
821
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:54:11 +0100
822
+
823
+
824
+ Started GET "/" for ::1 at 2016-01-05 21:54:12 +0100
825
+ Processing by WelcomeController#index as HTML
826
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
827
+ Completed 200 OK in 7ms (Views: 7.3ms)
828
+
829
+
830
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:54:12 +0100
831
+
832
+
833
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:54:12 +0100
834
+
835
+
836
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:54:12 +0100
837
+
838
+
839
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:54:12 +0100
840
+
841
+
842
+ Started GET "/" for ::1 at 2016-01-05 21:54:24 +0100
843
+ Processing by WelcomeController#index as HTML
844
+ Rendered welcome/index.html.erb within layouts/application (1.1ms)
845
+ Completed 200 OK in 163ms (Views: 162.6ms)
846
+
847
+
848
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:54:25 +0100
849
+
850
+
851
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:54:25 +0100
852
+
853
+
854
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:54:25 +0100
855
+
856
+
857
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:54:25 +0100
858
+
859
+
860
+ Started GET "/" for ::1 at 2016-01-05 21:54:54 +0100
861
+ Processing by WelcomeController#index as HTML
862
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
863
+ Completed 200 OK in 7ms (Views: 7.0ms)
864
+
865
+
866
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:54:54 +0100
867
+
868
+
869
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:54:54 +0100
870
+
871
+
872
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:54:54 +0100
873
+
874
+
875
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:54:54 +0100
876
+
877
+
878
+ Started GET "/" for ::1 at 2016-01-05 21:55:09 +0100
879
+ Processing by WelcomeController#index as HTML
880
+ Rendered welcome/index.html.erb within layouts/application (0.8ms)
881
+ Completed 200 OK in 162ms (Views: 161.8ms)
882
+
883
+
884
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:55:09 +0100
885
+
886
+
887
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:55:09 +0100
888
+
889
+
890
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:55:09 +0100
891
+
892
+
893
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:55:09 +0100
894
+
895
+
896
+ Started GET "/" for ::1 at 2016-01-05 21:55:19 +0100
897
+ Processing by WelcomeController#index as HTML
898
+ Rendered welcome/index.html.erb within layouts/application (0.3ms)
899
+ Completed 200 OK in 7ms (Views: 7.3ms)
900
+
901
+
902
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:55:19 +0100
903
+
904
+
905
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:55:19 +0100
906
+
907
+
908
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:55:19 +0100
909
+
910
+
911
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:55:19 +0100
912
+
913
+
914
+ Started GET "/" for ::1 at 2016-01-05 21:55:54 +0100
915
+ Processing by WelcomeController#index as HTML
916
+ Rendered welcome/index.html.erb within layouts/application (0.4ms)
917
+ Completed 200 OK in 7ms (Views: 7.1ms)
918
+
919
+
920
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:55:54 +0100
921
+
922
+
923
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:55:54 +0100
924
+
925
+
926
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:55:54 +0100
927
+
928
+
929
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:55:54 +0100
930
+
931
+
932
+ Started GET "/" for ::1 at 2016-01-05 21:56:03 +0100
933
+ Processing by WelcomeController#index as HTML
934
+ Rendered welcome/index.html.erb within layouts/application (0.4ms)
935
+ Completed 200 OK in 7ms (Views: 6.8ms)
936
+
937
+
938
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:56:03 +0100
939
+
940
+
941
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:56:03 +0100
942
+
943
+
944
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:56:03 +0100
945
+
946
+
947
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:56:03 +0100
948
+
949
+
950
+ Started GET "/" for ::1 at 2016-01-05 21:56:39 +0100
951
+ Processing by WelcomeController#index as HTML
952
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
953
+ Completed 200 OK in 7ms (Views: 7.3ms)
954
+
955
+
956
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:56:39 +0100
957
+
958
+
959
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:56:39 +0100
960
+
961
+
962
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:56:39 +0100
963
+
964
+
965
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:56:39 +0100
966
+
967
+
968
+ Started GET "/" for ::1 at 2016-01-05 21:56:45 +0100
969
+ Processing by WelcomeController#index as HTML
970
+ Rendered welcome/index.html.erb within layouts/application (0.9ms)
971
+ Completed 200 OK in 159ms (Views: 158.6ms)
972
+
973
+
974
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:56:45 +0100
975
+
976
+
977
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:56:45 +0100
978
+
979
+
980
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:56:45 +0100
981
+
982
+
983
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:56:45 +0100
984
+
985
+
986
+ Started GET "/" for ::1 at 2016-01-05 21:56:50 +0100
987
+ Processing by WelcomeController#index as HTML
988
+ Rendered welcome/index.html.erb within layouts/application (0.4ms)
989
+ Completed 200 OK in 8ms (Views: 7.4ms)
990
+
991
+
992
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:56:50 +0100
993
+
994
+
995
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:56:50 +0100
996
+
997
+
998
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:56:50 +0100
999
+
1000
+
1001
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:56:50 +0100
1002
+
1003
+
1004
+ Started GET "/" for ::1 at 2016-01-05 21:56:58 +0100
1005
+ Processing by WelcomeController#index as HTML
1006
+ Rendered welcome/index.html.erb within layouts/application (0.3ms)
1007
+ Completed 200 OK in 7ms (Views: 6.8ms)
1008
+
1009
+
1010
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:56:58 +0100
1011
+
1012
+
1013
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:56:58 +0100
1014
+
1015
+
1016
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:56:58 +0100
1017
+
1018
+
1019
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:56:58 +0100
1020
+
1021
+
1022
+ Started GET "/" for ::1 at 2016-01-05 21:57:51 +0100
1023
+ Processing by WelcomeController#index as HTML
1024
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
1025
+ Completed 200 OK in 7ms (Views: 6.8ms)
1026
+
1027
+
1028
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:57:51 +0100
1029
+
1030
+
1031
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:57:51 +0100
1032
+
1033
+
1034
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:57:51 +0100
1035
+
1036
+
1037
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:57:51 +0100
1038
+
1039
+
1040
+ Started GET "/" for ::1 at 2016-01-05 21:57:57 +0100
1041
+ Processing by WelcomeController#index as HTML
1042
+ Rendered welcome/index.html.erb within layouts/application (0.9ms)
1043
+ Completed 200 OK in 154ms (Views: 153.4ms)
1044
+
1045
+
1046
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:57:57 +0100
1047
+
1048
+
1049
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:57:57 +0100
1050
+
1051
+
1052
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:57:57 +0100
1053
+
1054
+
1055
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:57:57 +0100
1056
+
1057
+
1058
+ Started GET "/" for ::1 at 2016-01-05 21:58:03 +0100
1059
+ Processing by WelcomeController#index as HTML
1060
+ Rendered welcome/index.html.erb within layouts/application (0.4ms)
1061
+ Completed 200 OK in 7ms (Views: 7.3ms)
1062
+
1063
+
1064
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 21:58:03 +0100
1065
+
1066
+
1067
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 21:58:03 +0100
1068
+
1069
+
1070
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 21:58:03 +0100
1071
+
1072
+
1073
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 21:58:03 +0100
1074
+
1075
+
1076
+ Started GET "/" for ::1 at 2016-01-05 22:01:15 +0100
1077
+ Processing by WelcomeController#index as HTML
1078
+ Rendered welcome/index.html.erb within layouts/application (0.5ms)
1079
+ Completed 200 OK in 8ms (Views: 8.1ms)
1080
+
1081
+
1082
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 22:01:15 +0100
1083
+
1084
+
1085
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 22:01:15 +0100
1086
+
1087
+
1088
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 22:01:15 +0100
1089
+
1090
+
1091
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 22:01:15 +0100
1092
+
1093
+
1094
+ Started GET "/other" for ::1 at 2016-01-05 22:01:17 +0100
1095
+ Processing by WelcomeController#other as HTML
1096
+ Rendered html template (0.0ms)
1097
+ Completed 200 OK in 2ms (Views: 1.8ms)
1098
+
1099
+
1100
+ Started GET "/" for ::1 at 2016-01-05 22:01:31 +0100
1101
+ Processing by WelcomeController#index as HTML
1102
+ Rendered welcome/index.html.erb within layouts/application (0.4ms)
1103
+ Completed 200 OK in 8ms (Views: 7.8ms)
1104
+
1105
+
1106
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 22:01:31 +0100
1107
+
1108
+
1109
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 22:01:31 +0100
1110
+
1111
+
1112
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 22:01:31 +0100
1113
+
1114
+
1115
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 22:01:31 +0100
1116
+
1117
+
1118
+ Started GET "/" for ::1 at 2016-01-05 22:01:41 +0100
1119
+ Processing by WelcomeController#index as HTML
1120
+ Rendered welcome/index.html.erb within layouts/application (0.5ms)
1121
+ Completed 200 OK in 8ms (Views: 7.5ms)
1122
+
1123
+
1124
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 22:01:41 +0100
1125
+
1126
+
1127
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 22:01:41 +0100
1128
+
1129
+
1130
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 22:01:41 +0100
1131
+
1132
+
1133
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 22:01:41 +0100
1134
+
1135
+
1136
+ Started GET "/" for ::1 at 2016-01-05 22:01:51 +0100
1137
+ Processing by WelcomeController#index as HTML
1138
+ Rendered welcome/index.html.erb within layouts/application (0.4ms)
1139
+ Completed 200 OK in 8ms (Views: 7.6ms)
1140
+
1141
+
1142
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 22:01:51 +0100
1143
+
1144
+
1145
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 22:01:51 +0100
1146
+
1147
+
1148
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 22:01:51 +0100
1149
+
1150
+
1151
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 22:01:51 +0100
1152
+
1153
+
1154
+ Started GET "/" for ::1 at 2016-01-05 22:02:12 +0100
1155
+ Processing by WelcomeController#index as HTML
1156
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
1157
+ Completed 200 OK in 8ms (Views: 7.4ms)
1158
+
1159
+
1160
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 22:02:12 +0100
1161
+
1162
+
1163
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 22:02:12 +0100
1164
+
1165
+
1166
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 22:02:12 +0100
1167
+
1168
+
1169
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 22:02:12 +0100
1170
+
1171
+
1172
+ Started GET "/" for ::1 at 2016-01-05 22:02:20 +0100
1173
+ Processing by WelcomeController#index as HTML
1174
+ Rendered html template (0.0ms)
1175
+ Completed 200 OK in 1ms (Views: 1.0ms)
1176
+
1177
+
1178
+ Started GET "/" for ::1 at 2016-01-05 22:02:26 +0100
1179
+ Processing by WelcomeController#index as HTML
1180
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
1181
+ Completed 200 OK in 8ms (Views: 7.5ms)
1182
+
1183
+
1184
+ Started GET "/assets/welcome.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-01-05 22:02:26 +0100
1185
+
1186
+
1187
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-01-05 22:02:26 +0100
1188
+
1189
+
1190
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-01-05 22:02:26 +0100
1191
+
1192
+
1193
+ Started GET "/assets/welcome.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-01-05 22:02:26 +0100
@@ -75,3 +75,183 @@ WelcomeControllerTest: test_should_get_index
75
75
  Processing by WelcomeController#index as HTML
76
76
  Rendered welcome/index.html.erb within layouts/application (0.9ms)
77
77
  Completed 200 OK in 151ms (Views: 150.5ms)
78
+ --------------------------------------------
79
+ WelcomeControllerTest: test_should_get_index
80
+ --------------------------------------------
81
+ Processing by WelcomeController#index as HTML
82
+ Rendered welcome/index.html.erb within layouts/application (1.9ms)
83
+ Completed 200 OK in 182ms (Views: 181.4ms)
84
+ ----------------------------------------------------------------------------------------------------
85
+ ActionControlTest: test_should_raise_`AuthorizationNotPerformedError`_if_#authorized?_is_not_defined
86
+ ----------------------------------------------------------------------------------------------------
87
+ ------------------------------------------------------------------------------------------
88
+ ActionControlTest: test_should_raise_`NotAuthorizedError`_if_#authorized?_not_returns_true
89
+ ------------------------------------------------------------------------------------------
90
+ ------------------------------------------------------------------------------
91
+ ActionControlTest: test_should_raise_no_exception_if_#authorized?_returns_true
92
+ ------------------------------------------------------------------------------
93
+ --------------------------------------------
94
+ WelcomeControllerTest: test_should_get_index
95
+ --------------------------------------------
96
+ Processing by WelcomeController#index as HTML
97
+ Rendered welcome/index.html.erb within layouts/application (1.7ms)
98
+ Completed 200 OK in 161ms (Views: 161.3ms)
99
+ ----------------------------------------------------------------------------------------------------
100
+ ActionControlTest: test_should_raise_`AuthorizationNotPerformedError`_if_#authorized?_is_not_defined
101
+ ----------------------------------------------------------------------------------------------------
102
+ ------------------------------------------------------------------------------------------
103
+ ActionControlTest: test_should_raise_`NotAuthorizedError`_if_#authorized?_not_returns_true
104
+ ------------------------------------------------------------------------------------------
105
+ ------------------------------------------------------------------------------
106
+ ActionControlTest: test_should_raise_no_exception_if_#authorized?_returns_true
107
+ ------------------------------------------------------------------------------
108
+ --------------------------------------------
109
+ WelcomeControllerTest: test_should_get_index
110
+ --------------------------------------------
111
+ Processing by WelcomeController#index as HTML
112
+ Rendered welcome/index.html.erb within layouts/application (0.8ms)
113
+ Completed 200 OK in 162ms (Views: 162.3ms)
114
+ ------------------------------------------------------------------------------
115
+ ActionControlTest: test_should_raise_no_exception_if_#authorized?_returns_true
116
+ ------------------------------------------------------------------------------
117
+ ------------------------------------------------------------------------------------------
118
+ ActionControlTest: test_should_raise_`NotAuthorizedError`_if_#authorized?_not_returns_true
119
+ ------------------------------------------------------------------------------------------
120
+ ----------------------------------------------------------------------------------------------------
121
+ ActionControlTest: test_should_raise_`AuthorizationNotPerformedError`_if_#authorized?_is_not_defined
122
+ ----------------------------------------------------------------------------------------------------
123
+ ------------------------------------------------------------------------------------------
124
+ ActionControlTest: test_should_raise_`NotAuthorizedError`_if_#authorized?_not_returns_true
125
+ ------------------------------------------------------------------------------------------
126
+ ----------------------------------------------------------------------------------------------------
127
+ ActionControlTest: test_should_raise_`AuthorizationNotPerformedError`_if_#authorized?_is_not_defined
128
+ ----------------------------------------------------------------------------------------------------
129
+ ------------------------------------------------------------------------------
130
+ ActionControlTest: test_should_raise_no_exception_if_#authorized?_returns_true
131
+ ------------------------------------------------------------------------------
132
+ --------------------------------------------
133
+ WelcomeControllerTest: test_should_get_index
134
+ --------------------------------------------
135
+ Processing by WelcomeController#index as HTML
136
+ Rendered welcome/index.html.erb within layouts/application (0.7ms)
137
+ Completed 200 OK in 142ms (Views: 141.5ms)
138
+ ----------------------------------------------------------------------------------------
139
+ ViewHelpersTest: test_should_return_true_for_index_action_if_allowed_to_call_this_action
140
+ ----------------------------------------------------------------------------------------
141
+ ----------------------------------------------------------------------------------------
142
+ ViewHelpersTest: test_should_return_true_for_index_action_if_allowed_to_call_this_action
143
+ ----------------------------------------------------------------------------------------
144
+ ----------------------------------------------------------------------------------------
145
+ ViewHelpersTest: test_should_return_true_for_index_action_if_allowed_to_call_this_action
146
+ ----------------------------------------------------------------------------------------
147
+ ----------------------------------------------------------------------------------------
148
+ ViewHelpersTest: test_should_return_true_for_index_action_if_allowed_to_call_this_action
149
+ ----------------------------------------------------------------------------------------
150
+ ----------------------------------------------------------------------------------------
151
+ ViewHelpersTest: test_should_return_true_for_index_action_if_allowed_to_call_this_action
152
+ ----------------------------------------------------------------------------------------
153
+ ----------------------------------------------------------------------------------------
154
+ ViewHelpersTest: test_should_return_true_for_index_action_if_allowed_to_call_this_action
155
+ ----------------------------------------------------------------------------------------
156
+ ---------------------------------------------
157
+ ViewHelpersTest: test_should_return_true_for_
158
+ ---------------------------------------------
159
+ ----------------------------------------------------------------------------------------
160
+ ViewHelpersTest: test_should_return_true_for_index_action_if_allowed_to_call_this_action
161
+ ----------------------------------------------------------------------------------------
162
+ ----------------------------------------------------------------------------------------
163
+ ViewHelpersTest: test_should_return_true_for_show_action_if_allowed_to_call_read_actions
164
+ ----------------------------------------------------------------------------------------
165
+ ----------------------------------------------------------------------------------------
166
+ ViewHelpersTest: test_should_return_true_for_index_action_if_allowed_to_call_this_action
167
+ ----------------------------------------------------------------------------------------
168
+ ----------------------------------------------------------------------------------------
169
+ ViewHelpersTest: test_should_return_true_for_show_action_if_allowed_to_call_read_actions
170
+ ----------------------------------------------------------------------------------------
171
+ --------------------------------------------------------------------------------------------
172
+ ViewHelpersTest: test_should_return_false_for_edit_action_if_disallowed_to_call_edit_actions
173
+ --------------------------------------------------------------------------------------------
174
+ ----------------------------------------------------------------------------------------------------
175
+ ActionControlTest: test_should_raise_`AuthorizationNotPerformedError`_if_#authorized?_is_not_defined
176
+ ----------------------------------------------------------------------------------------------------
177
+ ------------------------------------------------------------------------------------------
178
+ ActionControlTest: test_should_raise_`NotAuthorizedError`_if_#authorized?_not_returns_true
179
+ ------------------------------------------------------------------------------------------
180
+ ------------------------------------------------------------------------------
181
+ ActionControlTest: test_should_raise_no_exception_if_#authorized?_returns_true
182
+ ------------------------------------------------------------------------------
183
+ ----------------------------------------------------------------------------------------
184
+ ViewHelpersTest: test_should_return_true_for_show_action_if_allowed_to_call_read_actions
185
+ ----------------------------------------------------------------------------------------
186
+ --------------------------------------------------------------------------------------------
187
+ ViewHelpersTest: test_should_return_false_for_edit_action_if_disallowed_to_call_edit_actions
188
+ --------------------------------------------------------------------------------------------
189
+ ----------------------------------------------------------------------------------------
190
+ ViewHelpersTest: test_should_return_true_for_index_action_if_allowed_to_call_this_action
191
+ ----------------------------------------------------------------------------------------
192
+ --------------------------------------------
193
+ WelcomeControllerTest: test_should_get_index
194
+ --------------------------------------------
195
+ Processing by WelcomeController#index as HTML
196
+ Rendered welcome/index.html.erb within layouts/application (0.8ms)
197
+ Completed 200 OK in 143ms (Views: 142.9ms)
198
+ ----------------------------------------------------------------------------------------------------
199
+ ActionControlTest: test_should_raise_`AuthorizationNotPerformedError`_if_#authorized?_is_not_defined
200
+ ----------------------------------------------------------------------------------------------------
201
+ ------------------------------------------------------------------------------
202
+ ActionControlTest: test_should_raise_no_exception_if_#authorized?_returns_true
203
+ ------------------------------------------------------------------------------
204
+ ------------------------------------------------------------------------------------------
205
+ ActionControlTest: test_should_raise_`NotAuthorizedError`_if_#authorized?_not_returns_true
206
+ ------------------------------------------------------------------------------------------
207
+ --------------------------------------------------------------------------------------------
208
+ ViewHelpersTest: test_should_return_false_for_edit_action_if_disallowed_to_call_edit_actions
209
+ --------------------------------------------------------------------------------------------
210
+ ----------------------------------------------------------------------------------------
211
+ ViewHelpersTest: test_should_return_true_for_show_action_if_allowed_to_call_read_actions
212
+ ----------------------------------------------------------------------------------------
213
+ ----------------------------------------------------------------------------------------
214
+ ViewHelpersTest: test_should_return_true_for_index_action_if_allowed_to_call_this_action
215
+ ----------------------------------------------------------------------------------------
216
+ ----------------------------------------------------------------------------------------------------
217
+ ActionControlTest: test_should_raise_`AuthorizationNotPerformedError`_if_#authorized?_is_not_defined
218
+ ----------------------------------------------------------------------------------------------------
219
+ ------------------------------------------------------------------------------------------
220
+ ActionControlTest: test_should_raise_`NotAuthorizedError`_if_#authorized?_not_returns_true
221
+ ------------------------------------------------------------------------------------------
222
+ ------------------------------------------------------------------------------
223
+ ActionControlTest: test_should_raise_no_exception_if_#authorized?_returns_true
224
+ ------------------------------------------------------------------------------
225
+ --------------------------------------------
226
+ WelcomeControllerTest: test_should_get_index
227
+ --------------------------------------------
228
+ Processing by WelcomeController#index as HTML
229
+ Rendered welcome/index.html.erb within layouts/application (0.8ms)
230
+ Completed 200 OK in 146ms (Views: 146.2ms)
231
+ ----------------------------------------------------------------------------------------------------
232
+ ActionControlTest: test_should_raise_`AuthorizationNotPerformedError`_if_#authorized?_is_not_defined
233
+ ----------------------------------------------------------------------------------------------------
234
+ ------------------------------------------------------------------------------
235
+ ActionControlTest: test_should_raise_no_exception_if_#authorized?_returns_true
236
+ ------------------------------------------------------------------------------
237
+ ------------------------------------------------------------------------------------------
238
+ ActionControlTest: test_should_raise_`NotAuthorizedError`_if_#authorized?_not_returns_true
239
+ ------------------------------------------------------------------------------------------
240
+ --------------------------------------------
241
+ WelcomeControllerTest: test_should_get_index
242
+ --------------------------------------------
243
+ Processing by WelcomeController#index as HTML
244
+ Rendered welcome/index.html.erb within layouts/application (1.0ms)
245
+ Completed 200 OK in 140ms (Views: 140.1ms)
246
+ ----------------------------------------------------------------------------------------------------
247
+ ActionControlTest: test_should_raise_`AuthorizationNotPerformedError`_if_#authorized?_is_not_defined
248
+ ----------------------------------------------------------------------------------------------------
249
+ ------------------------------------------------------------------------------
250
+ ActionControlTest: test_should_raise_no_exception_if_#authorized?_returns_true
251
+ ------------------------------------------------------------------------------
252
+ ---------------------------------------------------------------------
253
+ ActionControlTest: test_should_return_if_class_is_a_Devise_controller
254
+ ---------------------------------------------------------------------
255
+ ------------------------------------------------------------------------------------------
256
+ ActionControlTest: test_should_raise_`NotAuthorizedError`_if_#authorized?_not_returns_true
257
+ ------------------------------------------------------------------------------------------
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_control
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
  - Tobias Feistmantl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-01 00:00:00.000000000 Z
11
+ date: 2016-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.5
19
+ version: 4.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 4.2.5
26
+ version: 4.0.0
27
27
  description: Authorize your users directly in your controllers.
28
28
  email:
29
29
  - tobias@feistmantl.net
@@ -112,7 +112,6 @@ files:
112
112
  - test/dummy/tmp/cache/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
113
113
  - test/dummy/tmp/cache/sprockets/v3.0/pNLwute95D3t-czgrFvKNRpZACiCXca-o3A806hAIBU.cache
114
114
  - test/dummy/tmp/cache/sprockets/v3.0/szxi6adMfobVBR3v1xjK3BuVOBK7TW6EONLC0uBTtIs.cache
115
- - test/dummy/tmp/pids/server.pid
116
115
  - test/test_helper.rb
117
116
  homepage: https://github.com/tobiasfeistmantl/actioncontrol
118
117
  licenses:
@@ -134,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
133
  version: '0'
135
134
  requirements: []
136
135
  rubyforge_project:
137
- rubygems_version: 2.4.8
136
+ rubygems_version: 2.5.1
138
137
  signing_key:
139
138
  specification_version: 4
140
139
  summary: An access control system for your app.
@@ -212,6 +211,4 @@ test_files:
212
211
  - test/dummy/tmp/cache/sprockets/v3.0/XrVJilAWIg8PWr-zSv8YW0Y-V-myv-Iht2JKCan_ym0.cache
213
212
  - test/dummy/tmp/cache/sprockets/v3.0/YfxKw2MPxJHBrxMEABBUhvLuuEDSKGrN06FK5Sh3uB4.cache
214
213
  - test/dummy/tmp/cache/sprockets/v3.0/YzLwjdol-fillzMShjbe2GgKGueXAc1nHbFTKSBo7-Q.cache
215
- - test/dummy/tmp/pids/server.pid
216
214
  - test/test_helper.rb
217
- has_rdoc:
@@ -1 +0,0 @@
1
- 67112