2020-02-14 14:31:52 +00:00
|
|
|
source 'https://rubygems.org'
|
2020-02-22 14:37:22 +00:00
|
|
|
#update all site!!!!!!!!
|
2021-02-07 06:50:41 +00:00
|
|
|
if $0.to_s.scan('bundle').length==0
|
|
|
|
Bundler.with_clean_env{
|
|
|
|
flag = system("bundle show announcement")
|
|
|
|
system("bundle install") if !flag
|
|
|
|
}
|
|
|
|
end
|
2020-02-14 14:31:52 +00:00
|
|
|
#social gems
|
2021-03-22 14:41:24 +00:00
|
|
|
gem 'phantomjs','~>2.1.1.0'
|
2020-02-14 14:31:52 +00:00
|
|
|
gem "omniauth-google-oauth2"
|
2021-01-24 16:07:03 +00:00
|
|
|
gem 'googleauth', git: 'http://gitlab.tp.rulingcom.com/chiu/google-auth-library-ruby.git'
|
|
|
|
gem 'google-api-client', git: 'http://gitlab.tp.rulingcom.com/chiu/google-api-ruby-client'
|
2020-02-14 14:31:52 +00:00
|
|
|
#rails gem
|
|
|
|
gem 'rake','~> 12.3.3'
|
|
|
|
gem 'sassc-rails', '~>1.3.0'
|
|
|
|
gem 'rails', '~> 4.1.16'
|
|
|
|
gem 'sanitize', '~> 4.6.6'
|
|
|
|
gem 'faraday', '~>0.15.4'
|
|
|
|
#assets and templates
|
|
|
|
#gem 'sass-rails', '~> 4.0.2'
|
|
|
|
gem 'uglifier', '>= 1.3.0'
|
|
|
|
gem 'coffee-rails', '~> 4.0.0'
|
|
|
|
gem 'jquery-rails'
|
|
|
|
gem 'jquery-ui-rails', "5.0.0"
|
|
|
|
gem 'turbolinks'
|
|
|
|
gem 'normalize-rails', '~> 3.0.1'
|
|
|
|
#password
|
|
|
|
gem 'bcrypt-ruby', '~> 3.1.5'
|
|
|
|
|
|
|
|
#json
|
|
|
|
gem 'jbuilder', '~> 2.0'
|
|
|
|
gem 'sdoc', '~> 0.4.0', group: :doc
|
|
|
|
gem 'spring', '~> 1.7.2', group: :development
|
|
|
|
gem 'active_model_serializers'
|
|
|
|
|
|
|
|
#parser
|
|
|
|
gem 'nokogiri', '~> 1.7.0.1'
|
|
|
|
|
|
|
|
#store api
|
|
|
|
gem 'httparty'
|
|
|
|
|
|
|
|
#database
|
|
|
|
# gem 'mongoid', github: "mongoid/mongoid"
|
2020-11-30 15:39:58 +00:00
|
|
|
gem 'mongoid', '~> 4.0.2'
|
2020-02-14 14:31:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
# sockets
|
|
|
|
# gem "websocket-rails"
|
|
|
|
|
|
|
|
#file uploading and carrierwave
|
|
|
|
gem "mini_magick", "3.5.0"
|
|
|
|
gem 'carrierwave'
|
|
|
|
gem 'carrierwave-mongoid','~> 0.10.0', :require => 'carrierwave/mongoid'
|
|
|
|
gem 'zip-zip'
|
|
|
|
gem 'kaminari', '~> 1.0.1'
|
|
|
|
gem 'kaminari-mongoid', '~> 0.1.0'
|
|
|
|
gem 'impressionist', '~> 1.5.2'
|
|
|
|
gem 'chartkick', '~> 2.3.5'
|
|
|
|
gem 'usagewatch_ext'
|
|
|
|
gem 'ckeditor', '~> 4.2.4'
|
2020-02-20 08:18:43 +00:00
|
|
|
gem 'unicorn', '~> 5.4.0'
|
2020-02-14 14:31:52 +00:00
|
|
|
gem 'zhconv'
|
|
|
|
gem 'time_difference'
|
|
|
|
gem 'execjs'
|
|
|
|
gem 'therubyracer'
|
|
|
|
|
|
|
|
#excel
|
|
|
|
gem 'axlsx_rails'
|
|
|
|
gem 'spreadsheet'
|
|
|
|
gem 'rubyXL'
|
|
|
|
|
|
|
|
#form helpers
|
|
|
|
gem 'dynamic_form'
|
|
|
|
|
|
|
|
#built in modules
|
|
|
|
eval(File.read(File.dirname(__FILE__) + '/built_in_extensions.rb'))
|
|
|
|
#modules installed from the store
|
2021-03-26 14:38:17 +00:00
|
|
|
unless File.exist?(File.dirname(__FILE__) + '/downloaded_extensions.rb')
|
|
|
|
File.open(File.dirname(__FILE__) + '/downloaded_extensions.rb','w+'){|f| f.write ""}
|
|
|
|
end
|
2020-02-14 14:31:52 +00:00
|
|
|
eval(File.read(File.dirname(__FILE__) + '/downloaded_extensions.rb'))
|
|
|
|
if File.exists?(File.dirname(__FILE__) + '/extra_gems.rb')
|
|
|
|
eval(File.read(File.dirname(__FILE__) + '/extra_gems.rb'))
|
|
|
|
end
|
|
|
|
|
|
|
|
#development related gems
|
|
|
|
group :development do
|
2020-10-02 05:00:59 +00:00
|
|
|
gem 'better_errors', '>= 2.8.1', '< 2.8.2'
|
2020-02-14 14:31:52 +00:00
|
|
|
# gem 'guard-bundler'
|
|
|
|
# gem 'guard-rails'
|
|
|
|
gem 'rails_layout'
|
|
|
|
gem 'rb-fchange', :require=>false
|
|
|
|
gem 'rb-fsevent', :require=>false
|
|
|
|
gem 'rb-inotify', '~> 0.9.10', :require=>false
|
|
|
|
gem 'byebug', '~> 9.0.6'
|
|
|
|
gem "binding_of_caller"
|
|
|
|
end
|
|
|
|
|
|
|
|
#testing gems
|
|
|
|
group :test do
|
|
|
|
gem "minitest", '~>5.11.3'
|
|
|
|
gem 'minitest-spec-rails'
|
|
|
|
end
|
|
|
|
|
|
|
|
#ask
|
2020-05-29 08:19:38 +00:00
|
|
|
gem 'rucaptcha',git: 'http://gitlab.tp.rulingcom.com/chiu/rucaptcha.git'
|
2020-05-28 14:16:58 +00:00
|
|
|
gem 'repost',git: 'http://gitlab.tp.rulingcom.com/chiu/repost-master.git'
|
|
|
|
gem 'payment_settup',git: 'http://gitlab.tp.rulingcom.com/chiu/payment_settup.git'
|
2020-02-14 14:31:52 +00:00
|
|
|
#caching observers
|
|
|
|
# gem 'mongoid-observers'
|
|
|
|
|
|
|
|
#desktop
|
|
|
|
# gem 'angularjs-rails', '~> 1.2.20'
|
|
|
|
# gem 'angular-ui-bootstrap-rails', '~> 0.11.0'
|
|
|
|
# gem 'jquery_mousewheel_rails', '~> 3.1.11.3'
|