maestrano-rails 0.15.1 → 0.15.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cde08218991f5cb608797238ed4253655dd37ace
|
4
|
+
data.tar.gz: e372903f9e9d572a0d5a2aaf84b9ad93bed90a9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4397f57f80df1e7f6114311ff88558d95b2abc025637f878e548d4b749c2e0430dd7f1c8dd36af31f2ce226aa7000e99d61d30470220f60b92ae5ff0a096fa1d
|
7
|
+
data.tar.gz: e2d459993bcefdf9899dc52113b1bd32901681364dd337034000a00479cde72ef1958502f797c777dba52ae8c3e56f450d9ade071640ccc96c7a5e13bd0586ba
|
@@ -22,7 +22,8 @@ class Maestrano::Rails::SamlBaseController < ApplicationController
|
|
22
22
|
if Rails.env.development?
|
23
23
|
raise
|
24
24
|
else
|
25
|
-
logger.error e
|
25
|
+
logger.error "Cannot validate SAML response: #{e.message}"
|
26
|
+
logger.debug "Trace: #{e.backtrace}"
|
26
27
|
redirect_to "#{Maestrano::SSO.unauthorized_url}?err=internal"
|
27
28
|
end
|
28
29
|
end
|
data/maestrano-rails.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: maestrano-rails 0.15.
|
5
|
+
# stub: maestrano-rails 0.15.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "maestrano-rails"
|
9
|
-
s.version = "0.15.
|
9
|
+
s.version = "0.15.2"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Arnaud Lachaume"]
|
14
|
-
s.date = "2016-
|
14
|
+
s.date = "2016-04-05"
|
15
15
|
s.description = "Maestrano is the next generation marketplace for SME applications. See https://maestrano.com for details."
|
16
16
|
s.email = ["arnaud.lachaume@maestrano.com"]
|
17
17
|
s.extra_rdoc_files = [
|
@@ -14810,3 +14810,506 @@ UserGeneratorTest: test_: UserGenerator should call the mongoid migration genera
|
|
14810
14810
|
[1m[35m (0.0ms)[0m commit transaction
|
14811
14811
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14812
14812
|
[1m[35m (0.1ms)[0m rollback transaction
|
14813
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
14814
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
14815
|
+
-------------------------------------------------------------------------------------------
|
14816
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
14817
|
+
-------------------------------------------------------------------------------------------
|
14818
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14819
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14820
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14821
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14822
|
+
---------------------------------------------------------------------------------------
|
14823
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
14824
|
+
---------------------------------------------------------------------------------------
|
14825
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14826
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14827
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14828
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14829
|
+
---------------------------------------------------------------------------------------
|
14830
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
14831
|
+
---------------------------------------------------------------------------------------
|
14832
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14833
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14834
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14835
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14836
|
+
-----------------------------------------------------------------------------------
|
14837
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
14838
|
+
-----------------------------------------------------------------------------------
|
14839
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14840
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14841
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14842
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14843
|
+
---------------------------------------------------------------------------------------------------------------------------
|
14844
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
14845
|
+
---------------------------------------------------------------------------------------------------------------------------
|
14846
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14847
|
+
[1m[35m (0.1ms)[0m commit transaction
|
14848
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14849
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14850
|
+
---------------------------------------------------------------------------------------------------------------------------
|
14851
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
14852
|
+
---------------------------------------------------------------------------------------------------------------------------
|
14853
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14854
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14855
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14856
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14857
|
+
----------------------------------------------------------------------------------------------
|
14858
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
14859
|
+
----------------------------------------------------------------------------------------------
|
14860
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14861
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14862
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14863
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
14864
|
+
----------------------------------------------------------------------------------------------
|
14865
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
14866
|
+
----------------------------------------------------------------------------------------------
|
14867
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14868
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14869
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14870
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
14871
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
14872
|
+
Cannot validate SAML response: Bla
|
14873
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.2.1/gems/mocha-1.1.0/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/mocha-1.1.0/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/mocha-1.1.0/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/mocha-1.1.0/lib/mocha/mock.rb:296:in `method_missing'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:35:in `process_saml_response'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:18:in `saml_response_transaction'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:291:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:497:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.5.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.5.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.5.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.5.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/actionview-4.2.5.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.5.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.5.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.5.1/lib/action_controller/test_case.rb:520:in `post'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:117:in `block (3 levels) in <class:SamlBaseControllerTest>'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `instance_exec'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest/test.rb:205:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest/test.rb:256:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest/test.rb:104:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:331:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest/test.rb:276:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest/test.rb:103:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:778:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:305:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:293:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:292:in `each'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:292:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:331:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:318:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:291:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:152:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:152:in `map'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:152:in `__run'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:129:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.1/gems/minitest-5.8.4/lib/minitest.rb:56:in `block in autorun'"]
|
14874
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
14875
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
14876
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14877
|
+
--------------------------------------------------------------------------------------------------------------------
|
14878
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
14879
|
+
--------------------------------------------------------------------------------------------------------------------
|
14880
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14881
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14882
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14883
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
14884
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
14885
|
+
Redirected to http://test.host/
|
14886
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
14887
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14888
|
+
---------------------------------------------------------------------------------
|
14889
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
14890
|
+
---------------------------------------------------------------------------------
|
14891
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14892
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14893
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14894
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
14895
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
14896
|
+
Redirected to http://test.host/
|
14897
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
14898
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14899
|
+
--------------------------------------------------------------------------------------
|
14900
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
14901
|
+
--------------------------------------------------------------------------------------
|
14902
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14903
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14904
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14905
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
14906
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
14907
|
+
Redirected to http://test.host/
|
14908
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
14909
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14910
|
+
-------------------------------------------------------------------------------
|
14911
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
14912
|
+
-------------------------------------------------------------------------------
|
14913
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14914
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14915
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14916
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
14917
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
14918
|
+
Redirected to http://test.host/
|
14919
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
14920
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14921
|
+
-------------------------------------------------------------------------------------
|
14922
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
14923
|
+
-------------------------------------------------------------------------------------
|
14924
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14925
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14926
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14927
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
14928
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
14929
|
+
Redirected to http://test.host/
|
14930
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
14931
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14932
|
+
------------------------------------------------------------------------------------------
|
14933
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
14934
|
+
------------------------------------------------------------------------------------------
|
14935
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14936
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14937
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
14938
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
14939
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
14940
|
+
Redirected to http://test.host/
|
14941
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
14942
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14943
|
+
---------------------------------------------------------------------------------------------------------------------------
|
14944
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
14945
|
+
---------------------------------------------------------------------------------------------------------------------------
|
14946
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14947
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14949
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
14950
|
+
Parameters: {"a_param"=>"value"}
|
14951
|
+
Redirected to http://idpprovider.com?r=request
|
14952
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
14953
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14954
|
+
-----------------------------------------------------------------------------------------------------------------------
|
14955
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
14956
|
+
-----------------------------------------------------------------------------------------------------------------------
|
14957
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14958
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14959
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14960
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
14961
|
+
Parameters: {"a_param"=>"value"}
|
14962
|
+
Redirected to http://idpprovider.com?r=request
|
14963
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
14964
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14965
|
+
-----------------------------------------------------------------
|
14966
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
14967
|
+
-----------------------------------------------------------------
|
14968
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14969
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14970
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14971
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
14972
|
+
Parameters: {"id"=>"cld-1"}
|
14973
|
+
Rendered text template (0.0ms)
|
14974
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
14975
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14976
|
+
-----------------------------------------------------------------
|
14977
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
14978
|
+
-----------------------------------------------------------------
|
14979
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14980
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14981
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14982
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
14983
|
+
Parameters: {"id"=>"cld-1"}
|
14984
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
14985
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
14986
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14987
|
+
------------------------------
|
14988
|
+
MaestranoRailsTest: test_truth
|
14989
|
+
------------------------------
|
14990
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14991
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14992
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14993
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
14994
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
14995
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
14996
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
14997
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14998
|
+
[1m[35m (0.0ms)[0m commit transaction
|
14999
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15000
|
+
[1m[35mMnoCrew Load (0.1ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = ? AND "mno_crews"."uid" = ? AND "mno_crews"."tenant" = ? ORDER BY "mno_crews"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"]]
|
15001
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15002
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2016-04-05 16:28:22.612175"], ["updated_at", "2016-04-05 16:28:22.612175"]]
|
15003
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15004
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15005
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
15006
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
15007
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
15008
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15009
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15010
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15011
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15012
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2016-04-05 16:28:22.614338"], ["updated_at", "2016-04-05 16:28:22.614338"]]
|
15013
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15014
|
+
[1m[36mMnoCrew Load (0.0ms)[0m [1mSELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = ? AND "mno_crews"."uid" = ? AND "mno_crews"."tenant" = ? ORDER BY "mno_crews"."id" ASC LIMIT 1[0m [["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"]]
|
15015
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15016
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2016-04-05 16:28:22.616148"], ["updated_at", "2016-04-05 16:28:22.616148"]]
|
15017
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15018
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15019
|
+
------------------------------------------------------------------------------------------------------------------------------
|
15020
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
15021
|
+
------------------------------------------------------------------------------------------------------------------------------
|
15022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15023
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
15024
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15025
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15026
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2016-04-05 16:28:22.617873"], ["updated_at", "2016-04-05 16:28:22.617873"]]
|
15027
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15028
|
+
[1m[35mMnoCrew Load (0.0ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = ? AND "mno_crews"."uid" = ? AND "mno_crews"."tenant" = ? ORDER BY "mno_crews"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"]]
|
15029
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15030
|
+
----------------------------------------------------------------------------------------------------
|
15031
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
15032
|
+
----------------------------------------------------------------------------------------------------
|
15033
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15034
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
15035
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15036
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
15037
|
+
-------------------------------------------------------------------------------------------------------------
|
15038
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
15039
|
+
-------------------------------------------------------------------------------------------------------------
|
15040
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15041
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
15042
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15043
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
15044
|
+
-----------------------------------------------------------------------------------------------
|
15045
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
15046
|
+
-----------------------------------------------------------------------------------------------
|
15047
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15048
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
15049
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15050
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
15051
|
+
------------------------------------------------------------------------------------------------------------------------
|
15052
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
15053
|
+
------------------------------------------------------------------------------------------------------------------------
|
15054
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15055
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
15056
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15057
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
15058
|
+
----------------------------------------------------------------------------------------------------------
|
15059
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
15060
|
+
----------------------------------------------------------------------------------------------------------
|
15061
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15062
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
15063
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15064
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
15065
|
+
----------------------------------------------------------------------------------------------------
|
15066
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
15067
|
+
----------------------------------------------------------------------------------------------------
|
15068
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15069
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
15070
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15071
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
15072
|
+
-------------------------------------------------------------------
|
15073
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
15074
|
+
-------------------------------------------------------------------
|
15075
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15076
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
15077
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15078
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
15079
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
15080
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
15081
|
+
-------------------------------------------------------------------
|
15082
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
15083
|
+
-------------------------------------------------------------------
|
15084
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15085
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
15086
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15087
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
15088
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
15089
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
15090
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
15091
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
15092
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
15093
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
15094
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15095
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
15096
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15097
|
+
[1m[36mMnoMonster Load (0.1ms)[0m [1mSELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = ? AND "mno_monsters"."uid" = ? AND "mno_monsters"."tenant" = ? ORDER BY "mno_monsters"."id" ASC LIMIT 1[0m [["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"]]
|
15098
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15099
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["first_name", "Mon"], ["last_name", "Ster"], ["email", "monster@monst.com"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2016-04-05 16:28:22.650646"], ["updated_at", "2016-04-05 16:28:22.650646"]]
|
15100
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15101
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15102
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
15103
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
15104
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
15105
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15106
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
15107
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15108
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15109
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2016-04-05 16:28:22.652632"], ["updated_at", "2016-04-05 16:28:22.652632"]]
|
15110
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15111
|
+
[1m[35mMnoMonster Load (0.0ms)[0m SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = ? AND "mno_monsters"."uid" = ? AND "mno_monsters"."tenant" = ? ORDER BY "mno_monsters"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"]]
|
15112
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15113
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_monsters" ("provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2016-04-05 16:28:22.653959"], ["updated_at", "2016-04-05 16:28:22.653959"]]
|
15114
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15115
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15116
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
15117
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
15118
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
15119
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15120
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15121
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15122
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15123
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2016-04-05 16:28:22.655437"], ["updated_at", "2016-04-05 16:28:22.655437"]]
|
15124
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15125
|
+
[1m[36mMnoMonster Load (0.0ms)[0m [1mSELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = ? AND "mno_monsters"."uid" = ? AND "mno_monsters"."tenant" = ? ORDER BY "mno_monsters"."id" ASC LIMIT 1[0m [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"]]
|
15126
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15127
|
+
---------------------------------------------------------------------------------------------------
|
15128
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
15129
|
+
---------------------------------------------------------------------------------------------------
|
15130
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15131
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15133
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15134
|
+
------------------------------------------------------------------------------------------------------------
|
15135
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
15136
|
+
------------------------------------------------------------------------------------------------------------
|
15137
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15138
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15139
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15140
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15141
|
+
----------------------------------------------------------------------------------------------
|
15142
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
15143
|
+
----------------------------------------------------------------------------------------------
|
15144
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15145
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15146
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15147
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15148
|
+
-----------------------------------------------------------------------------------------------------------------------
|
15149
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
15150
|
+
-----------------------------------------------------------------------------------------------------------------------
|
15151
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15152
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15153
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15154
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15155
|
+
------------------------------------------------------------------------------------------
|
15156
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
15157
|
+
------------------------------------------------------------------------------------------
|
15158
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15159
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15160
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15161
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15162
|
+
--------------------------------------------------------------------------------------
|
15163
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
15164
|
+
--------------------------------------------------------------------------------------
|
15165
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15166
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15167
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15168
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15169
|
+
--------------------------------------------------------------------------------------
|
15170
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
15171
|
+
--------------------------------------------------------------------------------------
|
15172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15173
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15175
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15176
|
+
----------------------------------------------------------------------------------
|
15177
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
15178
|
+
----------------------------------------------------------------------------------
|
15179
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15180
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15181
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15182
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15183
|
+
--------------------------------------------------------------------------------------------------------------------------
|
15184
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
15185
|
+
--------------------------------------------------------------------------------------------------------------------------
|
15186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15187
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15188
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15189
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15190
|
+
--------------------------------------------------------------------------------------------------------------------------
|
15191
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
15192
|
+
--------------------------------------------------------------------------------------------------------------------------
|
15193
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15194
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15195
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15196
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15197
|
+
---------------------------------------------------------------------------------------------
|
15198
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
15199
|
+
---------------------------------------------------------------------------------------------
|
15200
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15201
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15202
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15203
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15204
|
+
---------------------------------------------------------------------------------------
|
15205
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
15206
|
+
---------------------------------------------------------------------------------------
|
15207
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15208
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15209
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15210
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15211
|
+
----------------------------------------------------------------------------------
|
15212
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
15213
|
+
----------------------------------------------------------------------------------
|
15214
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15215
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15216
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15217
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15218
|
+
----------------------------------------------------------------------------------------------------------
|
15219
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
15220
|
+
----------------------------------------------------------------------------------------------------------
|
15221
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15222
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15223
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15224
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15225
|
+
-----------------------------------------------------------------------------------------------------
|
15226
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
15227
|
+
-----------------------------------------------------------------------------------------------------
|
15228
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15229
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15230
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15231
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15232
|
+
------------------------------------------------------------------------------------------------
|
15233
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
15234
|
+
------------------------------------------------------------------------------------------------
|
15235
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15236
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15237
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15238
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15239
|
+
---------------------------------------------------------------------------------------------------------------------
|
15240
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
15241
|
+
---------------------------------------------------------------------------------------------------------------------
|
15242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15243
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15244
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15245
|
+
Processing by PagesController#home as HTML
|
15246
|
+
Rendered pages/home.html.erb within layouts/application (0.3ms)
|
15247
|
+
Completed 200 OK in 95ms (Views: 95.1ms | ActiveRecord: 0.0ms)
|
15248
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15249
|
+
--------------------------------------------------------------------------------------------------------------------
|
15250
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
15251
|
+
--------------------------------------------------------------------------------------------------------------------
|
15252
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15253
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15254
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15255
|
+
Processing by PagesController#home as HTML
|
15256
|
+
Redirected to http://localhost:3000/maestrano/auth/saml/init/default
|
15257
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
15258
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
15259
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15260
|
+
-----------------------------------------------------------------------------------------------------------
|
15261
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
15262
|
+
-----------------------------------------------------------------------------------------------------------
|
15263
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15264
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15265
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15266
|
+
Processing by PagesController#home as HTML
|
15267
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
15268
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
15269
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15270
|
+
------------------------------------------------------------------------------
|
15271
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
15272
|
+
------------------------------------------------------------------------------
|
15273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15274
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15275
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15276
|
+
Processing by PagesController#home as HTML
|
15277
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
15278
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
15279
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15280
|
+
--------------------------------------------------------------------------------------------------------
|
15281
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
15282
|
+
--------------------------------------------------------------------------------------------------------
|
15283
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15284
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15285
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15286
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15287
|
+
--------------------------------------------------------------------------------------------------
|
15288
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
15289
|
+
--------------------------------------------------------------------------------------------------
|
15290
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15291
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15292
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15293
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15294
|
+
---------------------------------------------------------------------
|
15295
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
15296
|
+
---------------------------------------------------------------------
|
15297
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15298
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15299
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15300
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
15301
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
15302
|
+
Rendered text template (0.0ms)
|
15303
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
15304
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15305
|
+
---------------------------------------------------------------------
|
15306
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
15307
|
+
---------------------------------------------------------------------
|
15308
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15309
|
+
[1m[35m (0.0ms)[0m commit transaction
|
15310
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15311
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
15312
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
15313
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
15314
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
15315
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maestrano-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnaud Lachaume
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|