Skip to content

Commit 046cd5b

Browse files
committed
Merge branch 'auth0-customers-cpg_updated_gems'
2 parents cce3df9 + e909804 commit 046cd5b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ gem 'bootsnap', '>= 1.4.4', require: false
5353
# 2020年5月現在, 比較的最近までメンテナンスされているものは、次の2択:
5454
# - https://github.com/nov/fb_graph2
5555
# - https://github.com/arsduo/koala
56+
# facebook_oauth は 2011年で終了している。
5657
gem 'fb_graph2'
5758

5859
gem 'rack-oauth2'

app/models/client.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Client < ApplicationRecord
2424

2525
# 第2引数はλ式
2626
scope :dynamic, -> { where(dynamic: true) }
27-
scope :valid, lambda {
27+
scope :valid, -> {
2828
where {
2929
(expires_at == nil) |
3030
(expires_at >= Time.now.utc)

0 commit comments

Comments
 (0)