#source 'https://gems.ruby-china.com'
source 'https://mirrors.cloud.tencent.com/rubygems/'
#source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

gem 'rails', '~> 5.2.0'
gem 'mysql2', '>= 0.4.4', '< 0.6.0'
gem 'puma', '~> 5.6.5'
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', '~>1.0.4'

gem 'rubyzip'
gem 'sonarqube', :git => 'https://gitlink.org.cn/KingChan/sonarqube.git'
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'
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 'pry-rails'
  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'
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
gem 'sidekiq',"5.2.8"
gem 'sinatra'
gem "sidekiq-cron", "1.2.0"
gem 'sidekiq-failures'

# 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'
gem "omniauth-github"
gem "omniauth-rails_csrf_protection"
gem 'omniauth-gitee', '~> 1.0.0'
gem "omniauth-wechat-oauth2"

# global var
gem 'request_store'

# 敏感词汇
gem 'harmonious_dictionary', '~> 0.0.1'

gem 'parallel', '~> 1.19', '>= 1.19.1'

gem 'letter_avatar'

gem 'jwt'

gem 'doorkeeper'

gem 'doorkeeper-jwt'

gem 'gitea-client', '~> 1.6.1'

gem 'loofah', '~> 2.20.0'