2023-01-12 23:55:17 +08:00
|
|
|
# source 'https://gems.ruby-china.com'
|
|
|
|
source 'https://mirrors.cloud.tencent.com/rubygems/'
|
2022-06-17 17:02:24 +08:00
|
|
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
|
|
|
|
|
|
|
gem 'rails', '~> 5.2.0'
|
|
|
|
gem 'mysql2', '>= 0.4.4', '< 0.6.0'
|
|
|
|
gem 'puma', '~> 3.11'
|
|
|
|
gem 'sass-rails', '~> 5.0'
|
|
|
|
gem 'uglifier', '>= 1.3.0'
|
|
|
|
|
|
|
|
# gem 'coffee-rails', '~> 4.2'
|
|
|
|
gem 'turbolinks', '~> 5'
|
|
|
|
gem 'jbuilder', '~> 2.5'
|
|
|
|
gem 'groupdate', '~> 4.1.0'
|
|
|
|
gem 'chartkick'
|
|
|
|
gem 'grape-entity', '~> 0.7.1'
|
|
|
|
gem 'kaminari', '~> 1.1', '>= 1.1.1'
|
|
|
|
|
|
|
|
gem 'bootsnap', '>= 1.1.0', require: false
|
|
|
|
|
|
|
|
gem 'chinese_pinyin'
|
|
|
|
|
|
|
|
gem 'rack-cors'
|
|
|
|
gem 'redis-rails'
|
|
|
|
gem 'roo-xls'
|
|
|
|
gem 'simple_xlsx_reader'
|
|
|
|
|
|
|
|
gem 'rubyzip'
|
|
|
|
|
|
|
|
gem 'spreadsheet'
|
|
|
|
gem 'ruby-ole'
|
|
|
|
# 导出为xlsx
|
|
|
|
gem 'axlsx', '~> 3.0.0.pre'
|
|
|
|
gem 'axlsx_rails', '~> 0.5.2'
|
|
|
|
|
|
|
|
gem 'oauth2'
|
|
|
|
#导出为pdf
|
|
|
|
gem 'pdfkit'
|
|
|
|
gem 'wkhtmltopdf-binary'
|
|
|
|
# gem 'request_store'
|
|
|
|
#gem 'iconv'
|
|
|
|
# markdown 转html
|
|
|
|
gem 'redcarpet', '~> 3.4'
|
|
|
|
|
|
|
|
gem 'rqrcode', '~> 0.10.1'
|
|
|
|
gem 'rqrcode_png'
|
|
|
|
|
|
|
|
gem 'acts-as-taggable-on', '~> 6.0'
|
|
|
|
|
|
|
|
# a tree structure
|
|
|
|
gem 'ancestry'
|
|
|
|
gem 'acts_as_list'
|
|
|
|
gem 'omniauth-cas'
|
|
|
|
|
|
|
|
# profiler Middleware
|
|
|
|
gem 'rack-mini-profiler'
|
|
|
|
|
|
|
|
# object-based searching
|
|
|
|
gem 'ransack'
|
|
|
|
|
|
|
|
group :development, :test do
|
|
|
|
gem 'rspec-rails', '~> 3.8'
|
2023-01-12 17:33:18 +08:00
|
|
|
gem 'rails-controller-testing'
|
2022-06-17 17:02:24 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
group :development do
|
|
|
|
gem 'prettier'
|
|
|
|
gem 'rubocop', '~> 0.52.0'
|
|
|
|
gem 'solargraph', '~> 0.38.0'
|
|
|
|
gem 'awesome_print'
|
|
|
|
gem 'web-console', '>= 3.3.0'
|
|
|
|
gem 'listen', '>= 3.0.5', '< 3.2'
|
|
|
|
gem 'spring'
|
|
|
|
gem 'spring-watcher-listen', '~> 2.0.0'
|
|
|
|
gem "annotate", "~> 2.6.0"
|
|
|
|
end
|
|
|
|
|
|
|
|
group :test do
|
|
|
|
gem 'capybara', '>= 2.15', '< 4.0'
|
|
|
|
gem 'selenium-webdriver'
|
|
|
|
gem 'chromedriver-helper'
|
2023-01-12 17:33:18 +08:00
|
|
|
gem 'simplecov', '~>0.12.0', require: false
|
2022-06-17 17:02:24 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
|
|
|
|
|
|
|
#编码检测
|
|
|
|
gem 'rchardet', '~> 1.8'
|
|
|
|
|
|
|
|
# http client
|
|
|
|
gem 'faraday', '~> 0.15.4'
|
|
|
|
|
|
|
|
# view
|
|
|
|
gem 'active_decorator'
|
|
|
|
gem 'bootstrap', '~> 4.3.1'
|
|
|
|
gem 'jquery-rails'
|
|
|
|
gem 'simple_form'
|
|
|
|
gem 'font-awesome-sass', '4.7.0'
|
|
|
|
|
|
|
|
# i18n
|
|
|
|
gem 'rails-i18n', '~> 5.1'
|
|
|
|
|
|
|
|
# job
|
2022-09-02 11:15:35 +08:00
|
|
|
gem 'sidekiq',"5.2.8"
|
2022-06-17 17:02:24 +08:00
|
|
|
gem 'sinatra'
|
2022-09-02 11:15:35 +08:00
|
|
|
gem "sidekiq-cron", "1.2.0"
|
2023-01-12 17:33:18 +08:00
|
|
|
gem 'whenever'
|
2023-01-12 23:55:17 +08:00
|
|
|
gem 'sidekiq_schedulable'
|
2022-06-17 17:02:24 +08:00
|
|
|
|
|
|
|
# batch insert
|
|
|
|
gem 'bulk_insert'
|
|
|
|
|
|
|
|
# elasticsearch
|
|
|
|
gem 'searchkick'
|
|
|
|
|
|
|
|
gem 'aasm'
|
|
|
|
gem 'enumerize'
|
|
|
|
|
|
|
|
gem 'diffy'
|
|
|
|
|
|
|
|
gem 'deep_cloneable', '~> 3.0.0'
|
|
|
|
|
|
|
|
# oauth2
|
|
|
|
gem 'omniauth', '~> 1.9.0'
|
|
|
|
gem 'omniauth-oauth2', '~> 1.6.0'
|
2022-12-01 17:22:22 +08:00
|
|
|
gem "omniauth-github"
|
|
|
|
gem "omniauth-rails_csrf_protection"
|
|
|
|
gem 'omniauth-gitee', '~> 1.0.0'
|
|
|
|
gem "omniauth-wechat-oauth2"
|
2022-06-17 17:02:24 +08:00
|
|
|
|
|
|
|
# global var
|
|
|
|
gem 'request_store'
|
|
|
|
|
|
|
|
# 敏感词汇
|
|
|
|
gem 'harmonious_dictionary', '~> 0.0.1'
|
|
|
|
|
|
|
|
gem 'parallel', '~> 1.19', '>= 1.19.1'
|
|
|
|
|
2023-01-12 17:33:18 +08:00
|
|
|
# log
|
|
|
|
gem 'multi_logger'
|
|
|
|
|
2022-06-17 17:02:24 +08:00
|
|
|
gem 'letter_avatar'
|
|
|
|
|
|
|
|
gem 'jwt'
|
|
|
|
|
|
|
|
gem 'doorkeeper'
|
|
|
|
|
|
|
|
gem 'doorkeeper-jwt'
|
2022-06-21 17:39:11 +08:00
|
|
|
|
2022-12-12 14:25:02 +08:00
|
|
|
gem 'gitea-client', '~> 0.11.1'
|