we_bridge_rails_engine_users 0.1.5 → 0.1.6

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: 0e01600c4e5e119ae6a63a2b1dd8f70632404572
4
- data.tar.gz: 7f5aa23b0fd6cb84e1e6b67dc9abbc52936b4141
3
+ metadata.gz: 1a7826139a63c532db7cf3694ab2b9b94e47a1d7
4
+ data.tar.gz: 2f56b5d88b08c9fef1df7bf640797d00a596376d
5
5
  SHA512:
6
- metadata.gz: 5f67b80bcac1a3fb5067f12f43f2a2c591ae775622d800287ee6b9df0e8df7c6c163a74c700d44fb47ccb127975cd65ea17d79a3f29a6ea4b5426af85d8503cc
7
- data.tar.gz: b6192c3612ebf4e4ec5c3d376b18a30ced009ace1b4580fb78187f34a190eaece39b51036b73a020d811be9d68a3f324633bb62282499075b6044dbfa1eca369
6
+ metadata.gz: 4a682fdb4d648b30ca8377fab74846b99c6f4f699303eb6ddc54274cc6195a28566d9683bc3a23bae5521fd6d78d4f2de395d8e3f5d969f0b9e4eae8e2967615
7
+ data.tar.gz: ac0e53ef58220b284f13ee3914a67fb532729cd5558bd1cb05ef6a807ea0fe88087732d76440613fdd3fda8501234b26e315e09b4dca1663ad809a88ee883a26
@@ -44,11 +44,11 @@ module WeBridgeRailsEngineUsers
44
44
  end
45
45
 
46
46
  def self.request_path(name)
47
- "/auth/#{name}"
47
+ File.join("/",Rails.application.config.relative_url_root.to_s,"auth",name.to_s)
48
48
  end
49
49
 
50
50
  def self.callback_path(name)
51
- "/auth/#{name}/callback"
51
+ File.join("/",Rails.application.config.relative_url_root.to_s,"auth",name.to_s,"callback")
52
52
  end
53
53
 
54
54
  def self.auth_callback_as(name)
@@ -1,3 +1,3 @@
1
1
  module WeBridgeRailsEngineUsers
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
@@ -8251,3 +8251,67 @@ Started GET "/assets/jquery.self-a714331225dda820228db323939889f149aec0127aeb062
8251
8251
 
8252
8252
 
8253
8253
  Started GET "/assets/application.self-1da6d28687370077cd6ba59def469f872870ada4ce65335c79d77914791d0983.js?body=1" for ::1 at 2015-11-23 17:36:57 +0900
8254
+
8255
+
8256
+ Started GET "/" for ::1 at 2015-11-23 22:34:47 +0900
8257
+ Processing by SessionsController#login as HTML
8258
+  (0.5ms) SELECT "langs"."code" FROM "langs" ORDER BY "langs"."position" ASC
8259
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
8260
+ Lang Load (0.3ms) SELECT "langs".* FROM "langs" WHERE "langs"."id" = ? ORDER BY "langs"."position" ASC LIMIT 1 [["id", 19]]
8261
+ ActiveRecord::Mlang::Lang Exists (0.4ms) SELECT 1 AS one FROM "langs" WHERE "langs"."id" = ? LIMIT 1 [["id", 19]]
8262
+ UserText Load (0.9ms) SELECT "user_texts".* FROM "user_texts" WHERE "user_texts"."parent_id" = ? AND "user_texts"."lang_id" = ? LIMIT 1 [["parent_id", 2], ["lang_id", 19]]
8263
+ Rendered /Users/shinjiro/git/we_bridge_rails_engine_users/app/views/sessions/login.html.builder within layouts/application (45.1ms)
8264
+ Completed 200 OK in 563ms (Views: 426.9ms | ActiveRecord: 7.2ms)
8265
+
8266
+
8267
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-11-23 22:34:48 +0900
8268
+
8269
+
8270
+ Started GET "/assets/jquery.self-a714331225dda820228db323939889f149aec0127aeb06255646b616ba1ca419.js?body=1" for ::1 at 2015-11-23 22:34:48 +0900
8271
+
8272
+
8273
+ Started GET "/assets/application.self-1da6d28687370077cd6ba59def469f872870ada4ce65335c79d77914791d0983.js?body=1" for ::1 at 2015-11-23 22:34:48 +0900
8274
+
8275
+
8276
+ Started GET "/assets/jquery_ujs.self-d456baa54c1fa6be2ec3711f0a72ddf7a5b2f34a6b4f515f33767d6207b7d4b3.js?body=1" for ::1 at 2015-11-23 22:34:48 +0900
8277
+
8278
+
8279
+ Started GET "/logout" for ::1 at 2015-11-23 22:34:50 +0900
8280
+ Processing by SessionsController#logout as HTML
8281
+  (0.2ms) SELECT "langs"."code" FROM "langs" ORDER BY "langs"."position" ASC
8282
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
8283
+ Lang Load (0.1ms) SELECT "langs".* FROM "langs" WHERE "langs"."id" = ? ORDER BY "langs"."position" ASC LIMIT 1 [["id", 19]]
8284
+ Redirected to http://localhost:3000/
8285
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
8286
+
8287
+
8288
+ Started GET "/" for ::1 at 2015-11-23 22:34:50 +0900
8289
+ Processing by SessionsController#login as HTML
8290
+  (0.1ms) SELECT "langs"."code" FROM "langs" ORDER BY "langs"."position" ASC
8291
+ Rendered /Users/shinjiro/git/we_bridge_rails_engine_users/app/views/sessions/login.html.builder within layouts/application (0.4ms)
8292
+ Completed 200 OK in 85ms (Views: 83.7ms | ActiveRecord: 0.1ms)
8293
+
8294
+
8295
+ Started GET "/auth/google" for ::1 at 2015-11-23 22:34:52 +0900
8296
+
8297
+
8298
+ Started GET "/auth/google/callback?state=63bba8067ea53b47320a85e22a187e035eac601769f98f6d&code=4/iA4bey2bKQkbD6kkN4Vb9spvgCrofgonnO-9WGUJ0pg" for ::1 at 2015-11-23 22:34:53 +0900
8299
+ Processing by SessionsController#callback as HTML
8300
+ Parameters: {"state"=>"63bba8067ea53b47320a85e22a187e035eac601769f98f6d", "code"=>"4/iA4bey2bKQkbD6kkN4Vb9spvgCrofgonnO-9WGUJ0pg", "provider"=>"google"}
8301
+  (0.3ms) SELECT "langs"."code" FROM "langs" ORDER BY "langs"."position" ASC
8302
+ UserAccount Load (0.9ms) SELECT "user_accounts".* FROM "user_accounts" WHERE "user_accounts"."provider" = ? AND "user_accounts"."uid" = ? ORDER BY "user_accounts"."id" ASC LIMIT 1 [["provider", "googleoauth2"], ["uid", "111815106125466718842"]]
8303
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
8304
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
8305
+ Redirected to http://localhost:3000/
8306
+ Completed 302 Found in 31ms (ActiveRecord: 1.6ms)
8307
+
8308
+
8309
+ Started GET "/" for ::1 at 2015-11-23 22:34:54 +0900
8310
+ Processing by SessionsController#login as HTML
8311
+  (0.2ms) SELECT "langs"."code" FROM "langs" ORDER BY "langs"."position" ASC
8312
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
8313
+ Lang Load (0.1ms) SELECT "langs".* FROM "langs" WHERE "langs"."id" = ? ORDER BY "langs"."position" ASC LIMIT 1 [["id", 19]]
8314
+ ActiveRecord::Mlang::Lang Exists (0.1ms) SELECT 1 AS one FROM "langs" WHERE "langs"."id" = ? LIMIT 1 [["id", 19]]
8315
+ UserText Load (0.1ms) SELECT "user_texts".* FROM "user_texts" WHERE "user_texts"."parent_id" = ? AND "user_texts"."lang_id" = ? LIMIT 1 [["parent_id", 2], ["lang_id", 19]]
8316
+ Rendered /Users/shinjiro/git/we_bridge_rails_engine_users/app/views/sessions/login.html.builder within layouts/application (2.7ms)
8317
+ Completed 200 OK in 24ms (Views: 19.2ms | ActiveRecord: 0.7ms)
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: we_bridge_rails_engine_users
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shinjiro Itagaki
@@ -396,6 +396,7 @@ files:
396
396
  - spec/dummy/db/schema.rb
397
397
  - spec/dummy/db/test.sqlite3
398
398
  - spec/dummy/log/development.log
399
+ - spec/dummy/log/production.log
399
400
  - spec/dummy/log/test.log
400
401
  - spec/dummy/public/404.html
401
402
  - spec/dummy/public/422.html
@@ -455,7 +456,6 @@ files:
455
456
  - spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ywrvZQThT9rnaryoYsuu-A9ASTnpprmv4CTaIzMF38I.cache
456
457
  - spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ZlCZ2f9IsAYQFtwHsabLoBl7tUOMrlGMOnxmDKAbHl8.cache
457
458
  - spec/dummy/tmp/cache/assets/development/sprockets/v3.0/zXyNDzHS674AFmnf5IgSMrAVpq3LnBtyECknB_R3Al8.cache
458
- - spec/dummy/tmp/pids/server.pid
459
459
  - spec/factories/users.rb
460
460
  - spec/helpers/users_helper_spec.rb
461
461
  - spec/models/person_name_spec.rb
@@ -536,6 +536,7 @@ test_files:
536
536
  - spec/dummy/db/schema.rb
537
537
  - spec/dummy/db/test.sqlite3
538
538
  - spec/dummy/log/development.log
539
+ - spec/dummy/log/production.log
539
540
  - spec/dummy/log/test.log
540
541
  - spec/dummy/public/404.html
541
542
  - spec/dummy/public/422.html
@@ -595,7 +596,6 @@ test_files:
595
596
  - spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ywrvZQThT9rnaryoYsuu-A9ASTnpprmv4CTaIzMF38I.cache
596
597
  - spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ZlCZ2f9IsAYQFtwHsabLoBl7tUOMrlGMOnxmDKAbHl8.cache
597
598
  - spec/dummy/tmp/cache/assets/development/sprockets/v3.0/zXyNDzHS674AFmnf5IgSMrAVpq3LnBtyECknB_R3Al8.cache
598
- - spec/dummy/tmp/pids/server.pid
599
599
  - spec/factories/users.rb
600
600
  - spec/helpers/users_helper_spec.rb
601
601
  - spec/models/person_name_spec.rb
@@ -1 +0,0 @@
1
- 87915