shopify_app_whitelist 1.1.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -2
- data/lib/shopify_app_whitelist/railite.rb +2 -2
- data/lib/shopify_app_whitelist/version.rb +1 -1
- data/test/controllers/sessions_controller_test.rb +4 -20
- data/test/dummy/log/test.log +843 -0
- metadata +10 -18
- data/test/dummy/config/initializers/shopify_session_repository.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 437b4a447b1e7a006a078b84ef2aeadc1a0824ff
|
4
|
+
data.tar.gz: faa39629eedc697675481d134f30069a60cac2cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc18ac2893e4872b0f8bf2ab579ba2dcf19e69efb73ede10f6b82be3fd23e33a2423879913bfdcca9abd69d7b02f4740280d310aa7299ae8dd15d7ef284c7791
|
7
|
+
data.tar.gz: c23bbf7bd59cf347bbbbcced3992f51400d89d69bf1f3e13c0e8b6e49b1e2b5b03f646579334c59bd7d87fc0ab31b0279aee5fb80eec53a8efff79199e7ce73a
|
data/README.md
CHANGED
@@ -6,7 +6,9 @@ This Gem extends [shopify_app](https://github.com/Shopify/shopify_app) to add a
|
|
6
6
|
|
7
7
|
## Compatibility
|
8
8
|
|
9
|
-
|
9
|
+
**v2.0 up** - Rails 5 and Shopify App 8 are supported.
|
10
|
+
|
11
|
+
**v1.0 up** - Rails 4 and Rails 5, Shopify App <7.1 are supported. Appraisal Gem is used to test against both versions of Rails.
|
10
12
|
|
11
13
|
## Installation
|
12
14
|
|
@@ -37,6 +39,10 @@ This Gem is tested. See `test/` or run `bundle rake test` after installing devel
|
|
37
39
|
|
38
40
|
## How It Works
|
39
41
|
|
40
|
-
This Gem adds two configuration options to `ShopifyApp::Configuration` automatically. Using a Railite, it also automatically injects a controller concern into `
|
42
|
+
This Gem adds two configuration options to `ShopifyApp::Configuration` automatically. Using a Railite, it also automatically injects a controller concern into `ActionController::Base`.
|
41
43
|
|
42
44
|
The concern will check if the current controller is `shopify_app/sessions_controller` and that the action is one of `new`, `create`, or `callback`. If it is, it will check the shop's Shopify domain against the whitelist to see if the shop is allowed to access these methods.
|
45
|
+
|
46
|
+
## License
|
47
|
+
|
48
|
+
This project is released under the MIT license.
|
@@ -2,8 +2,8 @@ module ShopifyAppWhitelist
|
|
2
2
|
# Railite implementation for the Gem
|
3
3
|
class Railtie < Rails::Railtie
|
4
4
|
config.after_initialize do
|
5
|
-
# Include our concern into the
|
6
|
-
|
5
|
+
# Include our concern into the ActionController::Base
|
6
|
+
ActionController::Base.class_eval do
|
7
7
|
include ShopifyAppWhitelist::ProtectionConcern
|
8
8
|
end
|
9
9
|
end
|
@@ -8,44 +8,28 @@ module ShopifyAppWhitelist
|
|
8
8
|
end
|
9
9
|
|
10
10
|
test 'not allowed shop should redirect to configured location' do
|
11
|
-
|
12
|
-
post :create, params: { shop: 'not-allowed.myshopify.com' }
|
13
|
-
else
|
14
|
-
post :create, { shop: 'not-allowed.myshopify.com' }
|
15
|
-
end
|
11
|
+
post :create, params: { shop: 'not-allowed.myshopify.com' }
|
16
12
|
|
17
13
|
assert_response :redirect
|
18
14
|
assert response.location.include?(ShopifyApp.configuration.whitelist_redirect)
|
19
15
|
end
|
20
16
|
|
21
17
|
test 'allowed shop should be granted access' do
|
22
|
-
|
23
|
-
post :create, params: { shop: 'allowed.myshopify.com' }
|
24
|
-
else
|
25
|
-
post :create, { shop: 'allowed.myshopify.com' }
|
26
|
-
end
|
18
|
+
post :create, params: { shop: 'allowed.myshopify.com' }
|
27
19
|
|
28
20
|
assert_response :success
|
29
21
|
assert response.body.include?('auth/')
|
30
22
|
end
|
31
23
|
|
32
24
|
test 'everyone should be granted login page' do
|
33
|
-
|
34
|
-
get :new, params: { shop: nil }
|
35
|
-
else
|
36
|
-
get :new, { shop: nil }
|
37
|
-
end
|
25
|
+
get :new, params: { shop: nil }
|
38
26
|
|
39
27
|
assert_response :success
|
40
28
|
end
|
41
29
|
|
42
30
|
test 'protection works for each action' do
|
43
31
|
[[:post, :create], [:get, :new], [:get, :callback]].each do |method, action|
|
44
|
-
|
45
|
-
send(method, action, params: { shop: 'not-allowed.myshopify.com' })
|
46
|
-
else
|
47
|
-
send(method, action, { shop: 'not-allowed.myshopify.com' })
|
48
|
-
end
|
32
|
+
send(method, action, params: { shop: 'not-allowed.myshopify.com' })
|
49
33
|
|
50
34
|
assert_response :redirect
|
51
35
|
assert response.location.include?(ShopifyApp.configuration.whitelist_redirect)
|
data/test/dummy/log/test.log
CHANGED
@@ -577,3 +577,846 @@ Processing by ShopifyApp::SessionsController#create as HTML
|
|
577
577
|
Rendered inline template (1.2ms)
|
578
578
|
Completed 200 OK in 27ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
579
579
|
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
580
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
581
|
+
---------------------------------------------------------------------------------------
|
582
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
583
|
+
---------------------------------------------------------------------------------------
|
584
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
585
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
586
|
+
Rendered inline template (18.0ms)
|
587
|
+
Completed 200 OK in 92ms (Views: 77.0ms | ActiveRecord: 0.0ms)
|
588
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
589
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
590
|
+
---------------------------------------------------------------------------------------
|
591
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
592
|
+
---------------------------------------------------------------------------------------
|
593
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
594
|
+
Parameters: {"shop"=>nil}
|
595
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-7.2.8/app/views/shopify_app/sessions/new.html.erb (0.8ms)
|
596
|
+
Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
|
597
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
598
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
599
|
+
---------------------------------------------------------------------------------------------------------
|
600
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
601
|
+
---------------------------------------------------------------------------------------------------------
|
602
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
603
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
604
|
+
Redirected to http://test.host/404.html
|
605
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
606
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
607
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
608
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
609
|
+
----------------------------------------------------------------------------------
|
610
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
611
|
+
----------------------------------------------------------------------------------
|
612
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
613
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
614
|
+
Redirected to http://test.host/404.html
|
615
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
616
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
617
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
618
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
619
|
+
Redirected to http://test.host/404.html
|
620
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
621
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
622
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
623
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
624
|
+
Redirected to http://test.host/404.html
|
625
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
626
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
627
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
628
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
629
|
+
-----------------------------------------------------------------------
|
630
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
631
|
+
-----------------------------------------------------------------------
|
632
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
633
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
634
|
+
--------------------------------------------------------------------
|
635
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
636
|
+
--------------------------------------------------------------------
|
637
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
638
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
639
|
+
----------------------------------------
|
640
|
+
ShopifyAppWhitelistTest: test_is_working
|
641
|
+
----------------------------------------
|
642
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
643
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
644
|
+
---------------------------------------------------------------------------------------
|
645
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
646
|
+
---------------------------------------------------------------------------------------
|
647
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
648
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
649
|
+
Rendering inline template
|
650
|
+
Rendered inline template (3.1ms)
|
651
|
+
Completed 200 OK in 25ms (Views: 12.0ms | ActiveRecord: 0.0ms)
|
652
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
653
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
654
|
+
---------------------------------------------------------------------------------------
|
655
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
656
|
+
---------------------------------------------------------------------------------------
|
657
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
658
|
+
Parameters: {"shop"=>""}
|
659
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
660
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (0.6ms)
|
661
|
+
Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
662
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
663
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
664
|
+
---------------------------------------------------------------------------------------------------------
|
665
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
666
|
+
---------------------------------------------------------------------------------------------------------
|
667
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
668
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
669
|
+
Rendering inline template
|
670
|
+
Rendered inline template (0.6ms)
|
671
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
672
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
673
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
674
|
+
----------------------------------------------------------------------------------
|
675
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
676
|
+
----------------------------------------------------------------------------------
|
677
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
678
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
679
|
+
Rendering inline template
|
680
|
+
Rendered inline template (0.4ms)
|
681
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
682
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
683
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
684
|
+
--------------------------------------------------------------------
|
685
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
686
|
+
--------------------------------------------------------------------
|
687
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
688
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
689
|
+
----------------------------------------
|
690
|
+
ShopifyAppWhitelistTest: test_is_working
|
691
|
+
----------------------------------------
|
692
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
693
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
694
|
+
-----------------------------------------------------------------------
|
695
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
696
|
+
-----------------------------------------------------------------------
|
697
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
698
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
699
|
+
--------------------------------------------------------------------
|
700
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
701
|
+
--------------------------------------------------------------------
|
702
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
703
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
704
|
+
-----------------------------------------------------------------------
|
705
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
706
|
+
-----------------------------------------------------------------------
|
707
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
708
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
709
|
+
----------------------------------------
|
710
|
+
ShopifyAppWhitelistTest: test_is_working
|
711
|
+
----------------------------------------
|
712
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
713
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
714
|
+
----------------------------------------------------------------------------------
|
715
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
716
|
+
----------------------------------------------------------------------------------
|
717
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
718
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
719
|
+
Rendering inline template
|
720
|
+
Rendered inline template (6.5ms)
|
721
|
+
Completed 200 OK in 44ms (Views: 26.6ms | ActiveRecord: 0.0ms)
|
722
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
723
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
724
|
+
---------------------------------------------------------------------------------------------------------
|
725
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
726
|
+
---------------------------------------------------------------------------------------------------------
|
727
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
728
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
729
|
+
Rendering inline template
|
730
|
+
Rendered inline template (0.7ms)
|
731
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
732
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
733
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
734
|
+
---------------------------------------------------------------------------------------
|
735
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
736
|
+
---------------------------------------------------------------------------------------
|
737
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
738
|
+
Parameters: {"shop"=>""}
|
739
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
740
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (1.5ms)
|
741
|
+
Completed 200 OK in 27ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
742
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
743
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
744
|
+
---------------------------------------------------------------------------------------
|
745
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
746
|
+
---------------------------------------------------------------------------------------
|
747
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
748
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
749
|
+
Rendering inline template
|
750
|
+
Rendered inline template (0.5ms)
|
751
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
752
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
753
|
+
[1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
|
754
|
+
---------------------------------------------------------------------------------------
|
755
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
756
|
+
---------------------------------------------------------------------------------------
|
757
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
758
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
759
|
+
Rendering inline template
|
760
|
+
Rendered inline template (4.0ms)
|
761
|
+
Completed 200 OK in 32ms (Views: 16.1ms | ActiveRecord: 0.0ms)
|
762
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
763
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
764
|
+
----------------------------------------------------------------------------------
|
765
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
766
|
+
----------------------------------------------------------------------------------
|
767
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
768
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
769
|
+
Rendering inline template
|
770
|
+
Rendered inline template (0.4ms)
|
771
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
772
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
773
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
774
|
+
---------------------------------------------------------------------------------------------------------
|
775
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
776
|
+
---------------------------------------------------------------------------------------------------------
|
777
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
778
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
779
|
+
Rendering inline template
|
780
|
+
Rendered inline template (0.4ms)
|
781
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
782
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
783
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
784
|
+
---------------------------------------------------------------------------------------
|
785
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
786
|
+
---------------------------------------------------------------------------------------
|
787
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
788
|
+
Parameters: {"shop"=>""}
|
789
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
790
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (1.8ms)
|
791
|
+
Completed 200 OK in 16ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
792
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
793
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
794
|
+
--------------------------------------------------------------------
|
795
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
796
|
+
--------------------------------------------------------------------
|
797
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
798
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
799
|
+
-----------------------------------------------------------------------
|
800
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
801
|
+
-----------------------------------------------------------------------
|
802
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
803
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
804
|
+
----------------------------------------
|
805
|
+
ShopifyAppWhitelistTest: test_is_working
|
806
|
+
----------------------------------------
|
807
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
808
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
809
|
+
--------------------------------------------------------------------
|
810
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
811
|
+
--------------------------------------------------------------------
|
812
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
813
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
814
|
+
-----------------------------------------------------------------------
|
815
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
816
|
+
-----------------------------------------------------------------------
|
817
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
818
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
819
|
+
----------------------------------------
|
820
|
+
ShopifyAppWhitelistTest: test_is_working
|
821
|
+
----------------------------------------
|
822
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
823
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
824
|
+
---------------------------------------------------------------------------------------
|
825
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
826
|
+
---------------------------------------------------------------------------------------
|
827
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
828
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
829
|
+
Rendering inline template
|
830
|
+
Rendered inline template (6.9ms)
|
831
|
+
Completed 200 OK in 45ms (Views: 19.8ms | ActiveRecord: 0.0ms)
|
832
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
833
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
834
|
+
----------------------------------------------------------------------------------
|
835
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
836
|
+
----------------------------------------------------------------------------------
|
837
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
838
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
839
|
+
Rendering inline template
|
840
|
+
Rendered inline template (0.4ms)
|
841
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
842
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
843
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
844
|
+
---------------------------------------------------------------------------------------------------------
|
845
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
846
|
+
---------------------------------------------------------------------------------------------------------
|
847
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
848
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
849
|
+
Rendering inline template
|
850
|
+
Rendered inline template (0.6ms)
|
851
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
852
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
853
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
854
|
+
---------------------------------------------------------------------------------------
|
855
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
856
|
+
---------------------------------------------------------------------------------------
|
857
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
858
|
+
Parameters: {"shop"=>""}
|
859
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
860
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (1.3ms)
|
861
|
+
Completed 200 OK in 27ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
862
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
863
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
864
|
+
---------------------------------------------------------------------------------------------------------
|
865
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
866
|
+
---------------------------------------------------------------------------------------------------------
|
867
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
868
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
869
|
+
Rendering inline template
|
870
|
+
Rendered inline template (2.9ms)
|
871
|
+
Completed 200 OK in 25ms (Views: 12.5ms | ActiveRecord: 0.0ms)
|
872
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
873
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
874
|
+
---------------------------------------------------------------------------------------
|
875
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
876
|
+
---------------------------------------------------------------------------------------
|
877
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
878
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
879
|
+
Rendering inline template
|
880
|
+
Rendered inline template (1.8ms)
|
881
|
+
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
|
882
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
883
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
884
|
+
---------------------------------------------------------------------------------------
|
885
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
886
|
+
---------------------------------------------------------------------------------------
|
887
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
888
|
+
Parameters: {"shop"=>""}
|
889
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
890
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (0.8ms)
|
891
|
+
Completed 200 OK in 30ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
892
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
893
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
894
|
+
----------------------------------------------------------------------------------
|
895
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
896
|
+
----------------------------------------------------------------------------------
|
897
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
898
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
899
|
+
Rendering inline template
|
900
|
+
Rendered inline template (0.4ms)
|
901
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
902
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
903
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
904
|
+
--------------------------------------------------------------------
|
905
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
906
|
+
--------------------------------------------------------------------
|
907
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
908
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
909
|
+
-----------------------------------------------------------------------
|
910
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
911
|
+
-----------------------------------------------------------------------
|
912
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
913
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
914
|
+
----------------------------------------
|
915
|
+
ShopifyAppWhitelistTest: test_is_working
|
916
|
+
----------------------------------------
|
917
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
918
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
919
|
+
----------------------------------------
|
920
|
+
ShopifyAppWhitelistTest: test_is_working
|
921
|
+
----------------------------------------
|
922
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
923
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
924
|
+
-----------------------------------------------------------------------
|
925
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
926
|
+
-----------------------------------------------------------------------
|
927
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
928
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
929
|
+
--------------------------------------------------------------------
|
930
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
931
|
+
--------------------------------------------------------------------
|
932
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
933
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
934
|
+
---------------------------------------------------------------------------------------
|
935
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
936
|
+
---------------------------------------------------------------------------------------
|
937
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
938
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
939
|
+
Rendering inline template
|
940
|
+
Rendered inline template (3.2ms)
|
941
|
+
Completed 200 OK in 31ms (Views: 14.2ms | ActiveRecord: 0.0ms)
|
942
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
943
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
944
|
+
---------------------------------------------------------------------------------------------------------
|
945
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
946
|
+
---------------------------------------------------------------------------------------------------------
|
947
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
948
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
949
|
+
Rendering inline template
|
950
|
+
Rendered inline template (0.4ms)
|
951
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
952
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
953
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
954
|
+
---------------------------------------------------------------------------------------
|
955
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
956
|
+
---------------------------------------------------------------------------------------
|
957
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
958
|
+
Parameters: {"shop"=>""}
|
959
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
960
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (1.2ms)
|
961
|
+
Completed 200 OK in 12ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
962
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
963
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
964
|
+
----------------------------------------------------------------------------------
|
965
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
966
|
+
----------------------------------------------------------------------------------
|
967
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
968
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
969
|
+
Rendering inline template
|
970
|
+
Rendered inline template (0.4ms)
|
971
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
972
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
973
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
974
|
+
---------------------------------------------------------------------------------------
|
975
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
976
|
+
---------------------------------------------------------------------------------------
|
977
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
978
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
979
|
+
Rendering inline template
|
980
|
+
Rendered inline template (2.8ms)
|
981
|
+
Completed 200 OK in 25ms (Views: 12.5ms | ActiveRecord: 0.0ms)
|
982
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
983
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
984
|
+
---------------------------------------------------------------------------------------------------------
|
985
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
986
|
+
---------------------------------------------------------------------------------------------------------
|
987
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
988
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
989
|
+
Rendering inline template
|
990
|
+
Rendered inline template (0.4ms)
|
991
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
992
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
993
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
994
|
+
----------------------------------------------------------------------------------
|
995
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
996
|
+
----------------------------------------------------------------------------------
|
997
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
998
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
999
|
+
Rendering inline template
|
1000
|
+
Rendered inline template (0.4ms)
|
1001
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1002
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
1003
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1004
|
+
---------------------------------------------------------------------------------------
|
1005
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
1006
|
+
---------------------------------------------------------------------------------------
|
1007
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1008
|
+
Parameters: {"shop"=>""}
|
1009
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
1010
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
|
1011
|
+
Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
1012
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1013
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1014
|
+
--------------------------------------------------------------------
|
1015
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1016
|
+
--------------------------------------------------------------------
|
1017
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1018
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1019
|
+
-----------------------------------------------------------------------
|
1020
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1021
|
+
-----------------------------------------------------------------------
|
1022
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1023
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1024
|
+
----------------------------------------
|
1025
|
+
ShopifyAppWhitelistTest: test_is_working
|
1026
|
+
----------------------------------------
|
1027
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1028
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1029
|
+
-----------------------------------------------------------------------
|
1030
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1031
|
+
-----------------------------------------------------------------------
|
1032
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1033
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1034
|
+
----------------------------------------
|
1035
|
+
ShopifyAppWhitelistTest: test_is_working
|
1036
|
+
----------------------------------------
|
1037
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1038
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1039
|
+
--------------------------------------------------------------------
|
1040
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1041
|
+
--------------------------------------------------------------------
|
1042
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1043
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1044
|
+
---------------------------------------------------------------------------------------
|
1045
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
1046
|
+
---------------------------------------------------------------------------------------
|
1047
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1048
|
+
Parameters: {"shop"=>""}
|
1049
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
1050
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (3.6ms)
|
1051
|
+
Completed 200 OK in 25ms (Views: 14.8ms | ActiveRecord: 0.0ms)
|
1052
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1053
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1054
|
+
---------------------------------------------------------------------------------------
|
1055
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
1056
|
+
---------------------------------------------------------------------------------------
|
1057
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1058
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
1059
|
+
Rendering inline template
|
1060
|
+
Rendered inline template (0.6ms)
|
1061
|
+
Completed 200 OK in 14ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
1062
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1063
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1064
|
+
---------------------------------------------------------------------------------------------------------
|
1065
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
1066
|
+
---------------------------------------------------------------------------------------------------------
|
1067
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1068
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1069
|
+
Rendering inline template
|
1070
|
+
Rendered inline template (0.4ms)
|
1071
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1072
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1073
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1074
|
+
----------------------------------------------------------------------------------
|
1075
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
1076
|
+
----------------------------------------------------------------------------------
|
1077
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1078
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1079
|
+
Rendering inline template
|
1080
|
+
Rendered inline template (0.4ms)
|
1081
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1082
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1083
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1084
|
+
---------------------------------------------------------------------------------------
|
1085
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
1086
|
+
---------------------------------------------------------------------------------------
|
1087
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1088
|
+
Parameters: {"shop"=>""}
|
1089
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
1090
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (4.5ms)
|
1091
|
+
Completed 200 OK in 26ms (Views: 15.6ms | ActiveRecord: 0.0ms)
|
1092
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1093
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1094
|
+
---------------------------------------------------------------------------------------
|
1095
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
1096
|
+
---------------------------------------------------------------------------------------
|
1097
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1098
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
1099
|
+
Rendering inline template
|
1100
|
+
Rendered inline template (0.4ms)
|
1101
|
+
Completed 200 OK in 18ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
1102
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1103
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1104
|
+
----------------------------------------------------------------------------------
|
1105
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
1106
|
+
----------------------------------------------------------------------------------
|
1107
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1108
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1109
|
+
Rendering inline template
|
1110
|
+
Rendered inline template (0.4ms)
|
1111
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1112
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1113
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1114
|
+
---------------------------------------------------------------------------------------------------------
|
1115
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
1116
|
+
---------------------------------------------------------------------------------------------------------
|
1117
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1118
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1119
|
+
Rendering inline template
|
1120
|
+
Rendered inline template (0.4ms)
|
1121
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1122
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
1123
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1124
|
+
--------------------------------------------------------------------
|
1125
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1126
|
+
--------------------------------------------------------------------
|
1127
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1128
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1129
|
+
-----------------------------------------------------------------------
|
1130
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1131
|
+
-----------------------------------------------------------------------
|
1132
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1133
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1134
|
+
----------------------------------------
|
1135
|
+
ShopifyAppWhitelistTest: test_is_working
|
1136
|
+
----------------------------------------
|
1137
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1138
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1139
|
+
-----------------------------------------------------------------------
|
1140
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1141
|
+
-----------------------------------------------------------------------
|
1142
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1143
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1144
|
+
--------------------------------------------------------------------
|
1145
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1146
|
+
--------------------------------------------------------------------
|
1147
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1148
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1149
|
+
----------------------------------------
|
1150
|
+
ShopifyAppWhitelistTest: test_is_working
|
1151
|
+
----------------------------------------
|
1152
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1153
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1154
|
+
----------------------------------------------------------------------------------
|
1155
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
1156
|
+
----------------------------------------------------------------------------------
|
1157
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1158
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1159
|
+
Rendering inline template
|
1160
|
+
Rendered inline template (2.8ms)
|
1161
|
+
Completed 200 OK in 25ms (Views: 11.9ms | ActiveRecord: 0.0ms)
|
1162
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1163
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1164
|
+
---------------------------------------------------------------------------------------
|
1165
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
1166
|
+
---------------------------------------------------------------------------------------
|
1167
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1168
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
1169
|
+
Rendering inline template
|
1170
|
+
Rendered inline template (0.4ms)
|
1171
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1172
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1173
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1174
|
+
---------------------------------------------------------------------------------------------------------
|
1175
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
1176
|
+
---------------------------------------------------------------------------------------------------------
|
1177
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1178
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1179
|
+
Rendering inline template
|
1180
|
+
Rendered inline template (0.4ms)
|
1181
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1182
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1183
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1184
|
+
---------------------------------------------------------------------------------------
|
1185
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
1186
|
+
---------------------------------------------------------------------------------------
|
1187
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1188
|
+
Parameters: {"shop"=>""}
|
1189
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
1190
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (0.7ms)
|
1191
|
+
Completed 200 OK in 10ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
1192
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1193
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1194
|
+
---------------------------------------------------------------------------------------
|
1195
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
1196
|
+
---------------------------------------------------------------------------------------
|
1197
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1198
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
1199
|
+
Rendering inline template
|
1200
|
+
Rendered inline template (2.8ms)
|
1201
|
+
Completed 200 OK in 45ms (Views: 28.9ms | ActiveRecord: 0.0ms)
|
1202
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1203
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1204
|
+
---------------------------------------------------------------------------------------------------------
|
1205
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
1206
|
+
---------------------------------------------------------------------------------------------------------
|
1207
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1208
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1209
|
+
Rendering inline template
|
1210
|
+
Rendered inline template (0.3ms)
|
1211
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
1212
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1213
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1214
|
+
---------------------------------------------------------------------------------------
|
1215
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
1216
|
+
---------------------------------------------------------------------------------------
|
1217
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1218
|
+
Parameters: {"shop"=>""}
|
1219
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
1220
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (1.0ms)
|
1221
|
+
Completed 200 OK in 11ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
1222
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1223
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1224
|
+
----------------------------------------------------------------------------------
|
1225
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
1226
|
+
----------------------------------------------------------------------------------
|
1227
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1228
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1229
|
+
Rendering inline template
|
1230
|
+
Rendered inline template (0.7ms)
|
1231
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
1232
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1233
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1234
|
+
-----------------------------------------------------------------------
|
1235
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1236
|
+
-----------------------------------------------------------------------
|
1237
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1238
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1239
|
+
----------------------------------------
|
1240
|
+
ShopifyAppWhitelistTest: test_is_working
|
1241
|
+
----------------------------------------
|
1242
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1243
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1244
|
+
--------------------------------------------------------------------
|
1245
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1246
|
+
--------------------------------------------------------------------
|
1247
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1248
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1249
|
+
---------------------------------------------------------------------------------------
|
1250
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
1251
|
+
---------------------------------------------------------------------------------------
|
1252
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1253
|
+
Parameters: {"shop"=>""}
|
1254
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
1255
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (5.3ms)
|
1256
|
+
Completed 200 OK in 37ms (Views: 19.5ms | ActiveRecord: 0.0ms)
|
1257
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1258
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1259
|
+
---------------------------------------------------------------------------------------------------------
|
1260
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
1261
|
+
---------------------------------------------------------------------------------------------------------
|
1262
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1263
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1264
|
+
Rendering inline template
|
1265
|
+
Rendered inline template (0.6ms)
|
1266
|
+
Completed 200 OK in 20ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
1267
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
1268
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1269
|
+
----------------------------------------------------------------------------------
|
1270
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
1271
|
+
----------------------------------------------------------------------------------
|
1272
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1273
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1274
|
+
Rendering inline template
|
1275
|
+
Rendered inline template (0.6ms)
|
1276
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
1277
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1278
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1279
|
+
---------------------------------------------------------------------------------------
|
1280
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
1281
|
+
---------------------------------------------------------------------------------------
|
1282
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1283
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
1284
|
+
Rendering inline template
|
1285
|
+
Rendered inline template (0.4ms)
|
1286
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1287
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1288
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1289
|
+
--------------------------------------------------------------------
|
1290
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1291
|
+
--------------------------------------------------------------------
|
1292
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1293
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1294
|
+
----------------------------------------
|
1295
|
+
ShopifyAppWhitelistTest: test_is_working
|
1296
|
+
----------------------------------------
|
1297
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1298
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1299
|
+
-----------------------------------------------------------------------
|
1300
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1301
|
+
-----------------------------------------------------------------------
|
1302
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1303
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1304
|
+
---------------------------------------------------------------------------------------------------------
|
1305
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
1306
|
+
---------------------------------------------------------------------------------------------------------
|
1307
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1308
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1309
|
+
Rendering inline template
|
1310
|
+
Rendered inline template (3.1ms)
|
1311
|
+
Completed 200 OK in 26ms (Views: 13.8ms | ActiveRecord: 0.0ms)
|
1312
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1313
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
1314
|
+
----------------------------------------------------------------------------------
|
1315
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
1316
|
+
----------------------------------------------------------------------------------
|
1317
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1318
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1319
|
+
Rendering inline template
|
1320
|
+
Rendered inline template (0.7ms)
|
1321
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
1322
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1323
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1324
|
+
---------------------------------------------------------------------------------------
|
1325
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
1326
|
+
---------------------------------------------------------------------------------------
|
1327
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1328
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
1329
|
+
Rendering inline template
|
1330
|
+
Rendered inline template (0.4ms)
|
1331
|
+
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
1332
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
1333
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1334
|
+
---------------------------------------------------------------------------------------
|
1335
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
1336
|
+
---------------------------------------------------------------------------------------
|
1337
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1338
|
+
Parameters: {"shop"=>""}
|
1339
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
1340
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (4.9ms)
|
1341
|
+
Completed 200 OK in 16ms (Views: 6.5ms | ActiveRecord: 0.0ms)
|
1342
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1343
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1344
|
+
--------------------------------------------------------------------
|
1345
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1346
|
+
--------------------------------------------------------------------
|
1347
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1348
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1349
|
+
----------------------------------------
|
1350
|
+
ShopifyAppWhitelistTest: test_is_working
|
1351
|
+
----------------------------------------
|
1352
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1353
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1354
|
+
-----------------------------------------------------------------------
|
1355
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1356
|
+
-----------------------------------------------------------------------
|
1357
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1358
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1359
|
+
--------------------------------------------------------------------
|
1360
|
+
ShopifyAppWhitelistTest: test_adds_concern_to_application_controller
|
1361
|
+
--------------------------------------------------------------------
|
1362
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1363
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1364
|
+
-----------------------------------------------------------------------
|
1365
|
+
ShopifyAppWhitelistTest: test_adds_configuration_options_to_shopify_app
|
1366
|
+
-----------------------------------------------------------------------
|
1367
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1368
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1369
|
+
----------------------------------------
|
1370
|
+
ShopifyAppWhitelistTest: test_is_working
|
1371
|
+
----------------------------------------
|
1372
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
1373
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1374
|
+
---------------------------------------------------------------------------------------
|
1375
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_allowed_shop_should_be_granted_access
|
1376
|
+
---------------------------------------------------------------------------------------
|
1377
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1378
|
+
Parameters: {"shop"=>"allowed.myshopify.com"}
|
1379
|
+
Rendering inline template
|
1380
|
+
Rendered inline template (3.1ms)
|
1381
|
+
Completed 200 OK in 34ms (Views: 16.7ms | ActiveRecord: 0.0ms)
|
1382
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1383
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1384
|
+
---------------------------------------------------------------------------------------------------------
|
1385
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_not_allowed_shop_should_redirect_to_configured_location
|
1386
|
+
---------------------------------------------------------------------------------------------------------
|
1387
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1388
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1389
|
+
Redirected to http://test.host/404.html
|
1390
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1391
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1392
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
1393
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1394
|
+
----------------------------------------------------------------------------------
|
1395
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_protection_works_for_each_action
|
1396
|
+
----------------------------------------------------------------------------------
|
1397
|
+
Processing by ShopifyApp::SessionsController#create as HTML
|
1398
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1399
|
+
Redirected to http://test.host/404.html
|
1400
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1401
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1402
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1403
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1404
|
+
Redirected to http://test.host/404.html
|
1405
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1406
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1407
|
+
Processing by ShopifyApp::SessionsController#callback as HTML
|
1408
|
+
Parameters: {"shop"=>"not-allowed.myshopify.com"}
|
1409
|
+
Redirected to http://test.host/404.html
|
1410
|
+
Filter chain halted as :whitelist_check rendered or redirected
|
1411
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1412
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1413
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1414
|
+
---------------------------------------------------------------------------------------
|
1415
|
+
ShopifyAppWhitelist::SessionsControllerTest: test_everyone_should_be_granted_login_page
|
1416
|
+
---------------------------------------------------------------------------------------
|
1417
|
+
Processing by ShopifyApp::SessionsController#new as HTML
|
1418
|
+
Parameters: {"shop"=>""}
|
1419
|
+
Rendering /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb
|
1420
|
+
Rendered /mnt/c/Users/Tyler/Development/Github/shopify_app_whitelist/vendor/bundle/ruby/2.3.0/gems/shopify_app-8.1.0/app/views/shopify_app/sessions/new.html.erb (1.0ms)
|
1421
|
+
Completed 200 OK in 16ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
1422
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
metadata
CHANGED
@@ -1,49 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shopify_app_whitelist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyler King
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-18 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:
|
19
|
+
version: '5.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:
|
26
|
+
version: '5.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: shopify_app
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
-
- - ">="
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 7.0.1
|
33
|
+
version: '8.0'
|
37
34
|
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
40
37
|
requirements:
|
41
38
|
- - "~>"
|
42
39
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
44
|
-
- - ">="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 7.0.1
|
40
|
+
version: '8.0'
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: appraisal
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,7 +139,7 @@ dependencies:
|
|
145
139
|
description: Adds a feature to whitelist certain shops to access your shopify_app
|
146
140
|
installation
|
147
141
|
email:
|
148
|
-
- tyler.n.king@
|
142
|
+
- tyler.n.king@outlook.com
|
149
143
|
executables: []
|
150
144
|
extensions: []
|
151
145
|
extra_rdoc_files: []
|
@@ -170,7 +164,6 @@ files:
|
|
170
164
|
- test/dummy/config/environments/test.rb
|
171
165
|
- test/dummy/config/initializers/omniauth.rb
|
172
166
|
- test/dummy/config/initializers/shopify_app.rb
|
173
|
-
- test/dummy/config/initializers/shopify_session_repository.rb
|
174
167
|
- test/dummy/config/routes.rb
|
175
168
|
- test/dummy/config/secrets.yml
|
176
169
|
- test/dummy/db/test.sqlite3
|
@@ -197,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
190
|
version: '0'
|
198
191
|
requirements: []
|
199
192
|
rubyforge_project:
|
200
|
-
rubygems_version: 2.
|
193
|
+
rubygems_version: 2.6.12
|
201
194
|
signing_key:
|
202
195
|
specification_version: 4
|
203
196
|
summary: Adds whitelisting ability to shopify_app
|
@@ -212,7 +205,6 @@ test_files:
|
|
212
205
|
- test/dummy/config/environments/test.rb
|
213
206
|
- test/dummy/config/initializers/omniauth.rb
|
214
207
|
- test/dummy/config/initializers/shopify_app.rb
|
215
|
-
- test/dummy/config/initializers/shopify_session_repository.rb
|
216
208
|
- test/dummy/config/routes.rb
|
217
209
|
- test/dummy/config/secrets.yml
|
218
210
|
- test/dummy/config.ru
|
@@ -1 +0,0 @@
|
|
1
|
-
ShopifyApp::SessionRepository.storage = InMemorySessionStore
|