wordjelly-auth 1.4.8 → 1.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/auth/profiles_controller.rb +1 -1
- data/config/initializers/omniauth.rb +14 -5
- data/lib/auth/version.rb +1 -1
- data/spec/dummy/app/assets/time_hashes.json +1 -1
- data/spec/dummy/log/test.log +83 -0
- data/spec/requests/user/registration_request_spec.rb +3 -0
- metadata +2 -2
data/spec/dummy/log/test.log
CHANGED
@@ -497996,3 +497996,86 @@ MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filte
|
|
497996
497996
|
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.001s
|
497997
497997
|
MONGODB | localhost:27017 | admin.endSessions | STARTED | {"endSessions"=>[{"id"=><BSON::Binary:0x47128608027220 type=uuid data=0x4fd022d6167546fe...>}]}
|
497998
497998
|
MONGODB | localhost:27017 | admin.endSessions | SUCCEEDED | 0.000s
|
497999
|
+
Overwriting existing field name in class User.
|
498000
|
+
Overwriting existing field resource_id in class Auth::Shopping::CartItem.
|
498001
|
+
Overwriting existing field duration in class Auth::Workflow::Tlocation.
|
498002
|
+
Overwriting existing field description in class Test.
|
498003
|
+
MONGODB | EVENT: #<TopologyOpening topology=Unknown[]>
|
498004
|
+
MONGODB | Topology type 'unknown' initializing.
|
498005
|
+
MONGODB | EVENT: #<TopologyChanged prev=Unknown[] new=Unknown[localhost:27017]>
|
498006
|
+
MONGODB | Topology type 'Unknown' changed to type 'Unknown'.
|
498007
|
+
MONGODB | EVENT: #<ServerOpening address=localhost:27017 topology=Unknown[localhost:27017]>
|
498008
|
+
MONGODB | Server localhost:27017 initializing.
|
498009
|
+
MONGODB | EVENT: #<ServerDescriptionChanged address=localhost:27017 topology=Single[localhost:27017] prev=#<Mongo::Server:Description:0x47291893754340 config={} average_round_trip_time=> new=#<Mongo::Server:Description:0x47291893358500 config={"ismaster"=>true, "maxBsonObjectSize"=>16777216, "maxMessageSizeBytes"=>48000000, "maxWriteBatchSize"=>100000, "localTime"=>2019-04-30 05:02:25 UTC, "logicalSessionTimeoutMinutes"=>30, "minWireVersion"=>0, "maxWireVersion"=>6, "readOnly"=>false, "ok"=>1.0} average_round_trip_time=0.00097975>>
|
498010
|
+
MONGODB | Server description for localhost:27017 changed from 'unknown' to 'standalone'.
|
498011
|
+
MONGODB | EVENT: #<TopologyChanged prev=Unknown[localhost:27017] new=Single[localhost:27017]>
|
498012
|
+
MONGODB | Topology type 'Unknown' changed to type 'Single'.
|
498013
|
+
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498014
|
+
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000s
|
498015
|
+
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}, "deletes"=>[{"q"=>{}, "limit"=>0}]}
|
498016
|
+
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000s
|
498017
|
+
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"auth_clients", "query"=>{}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498018
|
+
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000s
|
498019
|
+
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}, "deletes"=>[{"q"=>{}, "limit"=>0}]}
|
498020
|
+
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000s
|
498021
|
+
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498022
|
+
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000s
|
498023
|
+
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}, "deletes"=>[{"q"=>{}, "limit"=>0}]}
|
498024
|
+
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000s
|
498025
|
+
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"auth_clients", "query"=>{}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498026
|
+
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.011s
|
498027
|
+
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}, "deletes"=>[{"q"=>{}, "limit"=>0}]}
|
498028
|
+
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000s
|
498029
|
+
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"email"=>"carlolson@lakinhammes.io"}, "projection"=>{"_id"=>1}, "limit"=>1, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498030
|
+
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000s
|
498031
|
+
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"authentication_token"=>"LpqocZStKzX-wtYCs3Xv"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498032
|
+
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000s
|
498033
|
+
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"authentication_token"=>"dcx2qrs-k2DspnuyxWFU"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498034
|
+
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000s
|
498035
|
+
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}, "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5cc7d6e1acbcd664a174f354')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5cc7d6e1acb...
|
498036
|
+
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000s
|
498037
|
+
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}, "updates"=>[{"q"=>{"resource_id"=>BSON::ObjectId('5cc7d6e1acbcd664a174f354')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::Object...
|
498038
|
+
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001s
|
498039
|
+
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"auth_clients", "filter"=>{"resource_id"=>BSON::ObjectId('5cc7d6e1acbcd664a174f354')}, "sort"=>{"_id"=>1}, "limit"=>1, "singleBatch"=>true, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0...
|
498040
|
+
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.001s
|
498041
|
+
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}, "updates"=>[{"q"=>{"version"=>1, "_id"=>BSON::ObjectId('5cc7d6e1acbcd664a174f357')}, "u"=>{"$set"=>{"resource_id"=>BSON::...
|
498042
|
+
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000s
|
498043
|
+
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"auth_clients", "filter"=>{"resource_id"=>BSON::ObjectId('5cc7d6e1acbcd664a174f354')}, "sort"=>{"_id"=>1}, "limit"=>1, "singleBatch"=>true, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0...
|
498044
|
+
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000s
|
498045
|
+
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"email"=>"simondamore@gleichnerkaulke.com"}, "projection"=>{"_id"=>1}, "limit"=>1, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498046
|
+
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000s
|
498047
|
+
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"authentication_token"=>"2wDzjBC4eg2z2FRqnCx2"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498048
|
+
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000s
|
498049
|
+
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"authentication_token"=>"eHYe8RaLJ9fGhYca1seB"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498050
|
+
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000s
|
498051
|
+
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}, "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5cc7d6e2acbcd664a174f358')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::ObjectId('5cc7d6e2acb...
|
498052
|
+
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000s
|
498053
|
+
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}, "updates"=>[{"q"=>{"resource_id"=>BSON::ObjectId('5cc7d6e2acbcd664a174f358')}, "u"=>{"$setOnInsert"=>{"_id"=>BSON::Object...
|
498054
|
+
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.001s
|
498055
|
+
Started PUT "/authenticate/users" for 127.0.0.1 at 2019-04-30 10:32:26 +0530
|
498056
|
+
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"authentication_token"=>"dAE4MXgssyLufJ1qzR3L"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498057
|
+
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000s
|
498058
|
+
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}, "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5cc7d6e2acbcd664a174f358')}, "u"=>{"$set"=>{"last_sign_in_at"=>2019-04-30 05:02:26 UTC...
|
498059
|
+
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000s
|
498060
|
+
Processing by Auth::RegistrationsController#update as HTML
|
498061
|
+
Parameters: {"id"=>"5cc7d6e2acbcd664a174f358", "user"=>{"first_name"=>"Estefana Schoen DVM", "current_password"=>"[FILTERED]"}}
|
498062
|
+
MONGODB | localhost:27017 | dummy_test.find | STARTED | {"find"=>"users", "filter"=>{"_id"=>BSON::ObjectId('5cc7d6e2acbcd664a174f358')}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498063
|
+
MONGODB | localhost:27017 | dummy_test.find | SUCCEEDED | 0.000s
|
498064
|
+
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{"authentication_token"=>"BBtqyyNbiwJFJJ2Dk7X-"}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498065
|
+
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000s
|
498066
|
+
MONGODB | localhost:27017 | dummy_test.update | STARTED | {"update"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}, "updates"=>[{"q"=>{"_id"=>BSON::ObjectId('5cc7d6e2acbcd664a174f358')}, "u"=>{"$set"=>{"first_name"=>"Estefana Schoen DVM", "tags...
|
498067
|
+
MONGODB | localhost:27017 | dummy_test.update | SUCCEEDED | 0.000s
|
498068
|
+
Redirected to http://www.example.com/
|
498069
|
+
Completed 302 Found in 132ms
|
498070
|
+
|
498071
|
+
|
498072
|
+
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"users", "query"=>{}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498073
|
+
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000s
|
498074
|
+
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"users", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}, "deletes"=>[{"q"=>{}, "limit"=>0}]}
|
498075
|
+
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000s
|
498076
|
+
MONGODB | localhost:27017 | dummy_test.count | STARTED | {"count"=>"auth_clients", "query"=>{}, "$readPreference"=>{"mode"=>"primary"}, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}}
|
498077
|
+
MONGODB | localhost:27017 | dummy_test.count | SUCCEEDED | 0.000s
|
498078
|
+
MONGODB | localhost:27017 | dummy_test.delete | STARTED | {"delete"=>"auth_clients", "ordered"=>true, "lsid"=>{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}, "deletes"=>[{"q"=>{}, "limit"=>0}]}
|
498079
|
+
MONGODB | localhost:27017 | dummy_test.delete | SUCCEEDED | 0.000s
|
498080
|
+
MONGODB | localhost:27017 | admin.endSessions | STARTED | {"endSessions"=>[{"id"=><BSON::Binary:0x47291893098340 type=uuid data=0x6b10b664770441dd...>}]}
|
498081
|
+
MONGODB | localhost:27017 | admin.endSessions | SUCCEEDED | 0.000s
|
@@ -152,6 +152,9 @@ RSpec.describe "Registration requests", :registration => true,:authentication =>
|
|
152
152
|
|
153
153
|
first_name = Faker::Name.name
|
154
154
|
|
155
|
+
## so while doing it through user registration as an update it works.
|
156
|
+
## but when we are directly calling save, it may not be working.
|
157
|
+
|
155
158
|
put user_registration_path, params: {:id => @user.id, :user => {:first_name => first_name, :current_password => "password"}}
|
156
159
|
|
157
160
|
@user_updated = assigns(:user)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wordjelly-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bhargav
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|