-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathGemfile
More file actions
25 lines (19 loc) · 966 Bytes
/
Copy pathGemfile
File metadata and controls
25 lines (19 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby ">=2.5.1"
gem 'minitest', '~> 5.14', '>= 5.14.4' # 负责做测试
gem 'dotenv', '~> 2.7', '>= 2.7.6' # 负责从 .env 文件中读取变量
# 发 http 请求
gem 'faraday', '~> 1.4', '>= 1.4.3'
gem 'http', '~> 5.0', '>= 5.0.1'
# 是先用了 http,发现不够用,才加上 faraday
gem 'jwt'
gem 'rake', '~> 13.0', '>= 13.0.3' # https://github.com/ruby/rake
gem 'uri-query_params', '~> 0.7.2' # 处理 URL 参数
gem 'logging', '~> 2.3' # 做日志
# 提示:
# 如果你在项目中使用本 authing_ruby SDK 遇到问题,
# 然后把 Github 上 https://github.com/1c7/authing_ruby clone 了下来。
# 希望一边改代码一边在项目里调试,那么可以在你项目的 Gemfile 直接使用本地的 authing_ruby Gem,例子:
# gem 'authing_ruby', :path => '/Users/remote_edit/Documents/authing_ruby'
# (改完后可以发个 Pull Request)