nulogy_sso 0.5.0 → 1.0.0

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
  SHA256:
3
- metadata.gz: c4d1f9f535ed99d1575c31fded6cc2712f9bc22f4e19809236ec478a57715792
4
- data.tar.gz: 779c7dcb20b58215370b4bae528862c12ce8e528d5f1da9830fafb5f27699c3c
3
+ metadata.gz: 6cdaf701ea9f2d60f83b4997b098083962e749961bcf5333f7233b0d50c7020e
4
+ data.tar.gz: 85da856cc70b327a5510484e59f4a8c61b243dd7083ef52b76a6c46f2e27ecb9
5
5
  SHA512:
6
- metadata.gz: 8b8b7bb65b92718bb6a699e085a00161a1e7895c76b1f339fb0bf4e7962d5708bde3657b24ee5073c8afe1a6adf3dac5eb90eb7f32aedce209c88c7fde3d8af1
7
- data.tar.gz: 0676e085475f7915b3f7fff3e6197d27d87856c0aa4853f7fc5c5417dea8e6b7655c88ceccb878a263e4eae64ee59d32d96254be5c1d27467b2e018f1db09670
6
+ metadata.gz: b4e3869377c7f1e3f628de5afb6d15ab365daa7b1bc0da8152efe165a809af0ec360abde1c44dbc9c68bef4c5002f27557809fb0e22634d677e19f6e5ab6a452
7
+ data.tar.gz: 4b0b29196feb44b86d1b6a67e86c06660d4f9ae27563397a0633bb6e4bf5f47ce93050e2c75a98981fade342266c71b894cab789dd5febff678c2a53338d6a6b
data/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  [![Gem](https://img.shields.io/gem/v/nulogy_sso?label=nulogy_sso)](https://rubygems.org/gems/nulogy_sso "View this project in Rubygems")
4
4
 
5
- **This repo is still under heavy initial development and is not ready to be used by any other product besides CPI. This status will be changed very shortly.**
6
-
7
5
  ## Installation
8
6
 
9
7
  This gem is a Rails Engine. It follows best practices [documented here](https://guides.rubyonrails.org/engines.html).
@@ -1,3 +1,3 @@
1
1
  module NulogySSO
2
- VERSION = "0.5.0"
2
+ VERSION = "1.0.0"
3
3
  end
@@ -4930,3 +4930,126 @@ Processing by NulogySSO::AuthenticationController#login as HTML
4930
4930
  Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%3A%2F%2F192.168.0.12%3A50791%2Fhello_world&response_type=code&scope=openid+email
4931
4931
  Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 286)
4932
4932
   (0.5ms) rollback transaction
4933
+  (3.5ms) SELECT sqlite_version(*)
4934
+  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
4935
+  (0.1ms) SELECT sqlite_version(*)
4936
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4937
+  (0.2ms) begin transaction
4938
+  (0.2ms) SAVEPOINT active_record_1
4939
+ User Create (1.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2019-09-24 19:18:01.245419"], ["updated_at", "2019-09-24 19:18:01.245419"]]
4940
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4941
+ Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:03 -0400
4942
+ Processing by ApplicationController#hello_world as HTML
4943
+ Redirected to http://192.168.0.12:53797/nulogy_sso/login
4944
+ Filter chain halted as :authenticate_sso_user rendered or redirected
4945
+ Completed 302 Found in 33ms (ActiveRecord: 0.0ms | Allocations: 688)
4946
+ Started GET "/nulogy_sso/login" for 192.168.0.12 at 2019-09-24 15:18:03 -0400
4947
+ Processing by NulogySSO::AuthenticationController#login as HTML
4948
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%3A%2F%2F192.168.0.12%3A53797%2Fhello_world&response_type=code&scope=openid+email
4949
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 322)
4950
+ Started GET "/nulogy_sso/code?code=FAKE_CODE&origin=http%3A%2F%2F192.168.0.12%3A53797%2Fhello_world" for 192.168.0.12 at 2019-09-24 15:18:04 -0400
4951
+ Processing by NulogySSO::AuthenticationController#code as HTML
4952
+ Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://192.168.0.12:53797/hello_world"}
4953
+ Rendering text template
4954
+ Rendered text template (Duration: 0.1ms | Allocations: 3)
4955
+ Completed 200 OK in 86ms (Views: 23.1ms | ActiveRecord: 0.0ms | Allocations: 4454)
4956
+  (0.4ms) rollback transaction
4957
+  (0.1ms) begin transaction
4958
+  (0.2ms) SAVEPOINT active_record_1
4959
+ User Create (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2019-09-24 19:18:05.721717"], ["updated_at", "2019-09-24 19:18:05.721717"]]
4960
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4961
+ Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:05 -0400
4962
+ Processing by ApplicationController#hello_world as HTML
4963
+ Redirected to http://192.168.0.12:53797/nulogy_sso/login
4964
+ Filter chain halted as :authenticate_sso_user rendered or redirected
4965
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 249)
4966
+ Started GET "/nulogy_sso/login" for 192.168.0.12 at 2019-09-24 15:18:05 -0400
4967
+ Processing by NulogySSO::AuthenticationController#login as HTML
4968
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%3A%2F%2F192.168.0.12%3A53797%2Fhello_world&response_type=code&scope=openid+email
4969
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 282)
4970
+ Started GET "/nulogy_sso/code?code=FAKE_CODE&origin=http%3A%2F%2F192.168.0.12%3A53797%2Fhello_world" for 192.168.0.12 at 2019-09-24 15:18:05 -0400
4971
+ Processing by NulogySSO::AuthenticationController#code as HTML
4972
+ Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://192.168.0.12:53797/hello_world"}
4973
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
4974
+ Redirected to http://192.168.0.12:53797/hello_world
4975
+ Completed 302 Found in 81ms (ActiveRecord: 0.2ms | Allocations: 4402)
4976
+ Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:05 -0400
4977
+ Processing by ApplicationController#hello_world as HTML
4978
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
4979
+ Rendering text template
4980
+ Rendered text template (Duration: 0.0ms | Allocations: 1)
4981
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms | Allocations: 851)
4982
+  (0.6ms) rollback transaction
4983
+  (0.3ms) begin transaction
4984
+ Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:06 -0400
4985
+ Processing by ApplicationController#hello_world as HTML
4986
+ Redirected to http://192.168.0.12:53797/nulogy_sso/login
4987
+ Filter chain halted as :authenticate_sso_user rendered or redirected
4988
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 249)
4989
+ Started GET "/nulogy_sso/login" for 192.168.0.12 at 2019-09-24 15:18:06 -0400
4990
+ Processing by NulogySSO::AuthenticationController#login as HTML
4991
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%3A%2F%2F192.168.0.12%3A53797%2Fhello_world&response_type=code&scope=openid+email
4992
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 278)
4993
+ Started GET "/nulogy_sso/code?code=FAKE_CODE&origin=http%3A%2F%2F192.168.0.12%3A53797%2Fhello_world" for 192.168.0.12 at 2019-09-24 15:18:06 -0400
4994
+ Processing by NulogySSO::AuthenticationController#code as HTML
4995
+ Parameters: {"code"=>"FAKE_CODE", "origin"=>"http://192.168.0.12:53797/hello_world"}
4996
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
4997
+ Rendering text template
4998
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
4999
+ Completed 200 OK in 37ms (Views: 1.0ms | ActiveRecord: 0.4ms | Allocations: 2518)
5000
+  (0.1ms) rollback transaction
5001
+  (0.2ms) begin transaction
5002
+  (0.4ms) SAVEPOINT active_record_1
5003
+ User Create (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2019-09-24 19:18:07.274871"], ["updated_at", "2019-09-24 19:18:07.274871"]]
5004
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5005
+ Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:07 -0400
5006
+ Processing by ApplicationController#hello_world as HTML
5007
+ Redirected to http://192.168.0.12:53797/nulogy_sso/login
5008
+ Filter chain halted as :authenticate_sso_user rendered or redirected
5009
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms | Allocations: 431)
5010
+ Started GET "/nulogy_sso/login" for 192.168.0.12 at 2019-09-24 15:18:07 -0400
5011
+ Processing by NulogySSO::AuthenticationController#login as HTML
5012
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%3A%2F%2F192.168.0.12%3A53797%2Fhello_world&response_type=code&scope=openid+email
5013
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 454)
5014
+  (0.5ms) rollback transaction
5015
+  (0.1ms) begin transaction
5016
+  (0.1ms) SAVEPOINT active_record_1
5017
+ User Create (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2019-09-24 19:18:08.493118"], ["updated_at", "2019-09-24 19:18:08.493118"]]
5018
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5019
+ Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:08 -0400
5020
+ Processing by ApplicationController#hello_world as HTML
5021
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "test@nulogy.com"], ["LIMIT", 1]]
5022
+ Rendering text template
5023
+ Rendered text template (Duration: 0.1ms | Allocations: 1)
5024
+ Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.3ms | Allocations: 597)
5025
+  (0.5ms) rollback transaction
5026
+  (0.2ms) begin transaction
5027
+  (0.2ms) SAVEPOINT active_record_1
5028
+ User Create (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?) [["email", "test@nulogy.com"], ["created_at", "2019-09-24 19:18:09.568886"], ["updated_at", "2019-09-24 19:18:09.568886"]]
5029
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5030
+ Started GET "/hello_world" for 192.168.0.12 at 2019-09-24 15:18:09 -0400
5031
+ Processing by ApplicationController#hello_world as HTML
5032
+ Redirected to http://192.168.0.12:53797/nulogy_sso/login
5033
+ Filter chain halted as :authenticate_sso_user rendered or redirected
5034
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 249)
5035
+ Started GET "/nulogy_sso/login" for 192.168.0.12 at 2019-09-24 15:18:09 -0400
5036
+ Processing by NulogySSO::AuthenticationController#login as HTML
5037
+ Redirected to http://localhost:1080/authorize?audience=mock_audience&client_id=mock_client_id&redirect_uri=mock_login_uri%3Forigin%3Dhttp%3A%2F%2F192.168.0.12%3A53797%2Fhello_world&response_type=code&scope=openid+email
5038
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms | Allocations: 282)
5039
+  (0.5ms) rollback transaction
5040
+  (0.1ms) begin transaction
5041
+  (0.1ms) rollback transaction
5042
+  (0.1ms) begin transaction
5043
+  (0.1ms) rollback transaction
5044
+  (0.1ms) begin transaction
5045
+  (0.1ms) rollback transaction
5046
+  (0.2ms) begin transaction
5047
+  (0.4ms) rollback transaction
5048
+  (0.2ms) begin transaction
5049
+  (0.1ms) rollback transaction
5050
+  (0.1ms) begin transaction
5051
+  (0.1ms) rollback transaction
5052
+  (0.4ms) begin transaction
5053
+  (0.4ms) rollback transaction
5054
+  (0.1ms) begin transaction
5055
+  (0.1ms) rollback transaction
data/spec/examples.txt CHANGED
@@ -1,16 +1,16 @@
1
1
  example_id | status | run_time |
2
2
  --------------------------------------------------------------------- | ------ | --------------- |
3
- ./spec/features/nulogy_sso/sso_login_spec.rb[1:1:1] | passed | 0.88764 seconds |
4
- ./spec/features/nulogy_sso/sso_login_spec.rb[1:1:2] | passed | 4.15 seconds |
5
- ./spec/features/nulogy_sso/sso_login_spec.rb[1:1:3] | passed | 0.85285 seconds |
6
- ./spec/features/nulogy_sso/sso_login_spec.rb[1:2:1] | passed | 1.11 seconds |
7
- ./spec/features/nulogy_sso/sso_login_spec.rb[1:2:2] | passed | 1.24 seconds |
8
- ./spec/features/nulogy_sso/sso_login_spec.rb[1:2:3] | passed | 1.08 seconds |
9
- ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:1] | passed | 0.01087 seconds |
10
- ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:2:1] | passed | 0.02615 seconds |
11
- ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:2:2] | passed | 0.0203 seconds |
12
- ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:3:1] | passed | 0.0369 seconds |
13
- ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:1] | passed | 0.03127 seconds |
14
- ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:2] | passed | 0.02067 seconds |
15
- ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:3] | passed | 0.00746 seconds |
16
- ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:4] | passed | 0.01329 seconds |
3
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:1:1] | passed | 0.90051 seconds |
4
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:1:2] | passed | 0.82604 seconds |
5
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:1:3] | passed | 5.47 seconds |
6
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:2:1] | passed | 1.08 seconds |
7
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:2:2] | passed | 1.22 seconds |
8
+ ./spec/features/nulogy_sso/sso_login_spec.rb[1:2:3] | passed | 1.1 seconds |
9
+ ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:1] | passed | 0.0752 seconds |
10
+ ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:2:1] | passed | 0.12336 seconds |
11
+ ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:2:2] | passed | 0.0204 seconds |
12
+ ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:1:3:1] | passed | 0.02264 seconds |
13
+ ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:1] | passed | 0.01989 seconds |
14
+ ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:2] | passed | 0.02321 seconds |
15
+ ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:3] | passed | 0.00259 seconds |
16
+ ./spec/integration/services/nulogy_sso/authenticator_spec.rb[1:2:4] | passed | 0.02832 seconds |
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nulogy_sso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nulogy Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-24 00:00:00.000000000 Z
11
+ date: 2019-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: auth0