announcement-test/temp_file/Gemfile

230 lines
5.7 KiB
Ruby

source 'https://rubygems.org'
#update all site!!!!!!!!
if $0.to_s.scan('bundle').length==0
Bundler.with_clean_env{
flag = system("bundle show announcement")
system("bundle install") if !flag
}
end
gem 'multipart-post', '2.1.1'
gem 'oauth2', '1.4.7'
if RUBY_VERSION.to_f <= 2.1
gem 'concurrent-ruby', '1.1.9'
gem 'signet', '0.11.0'
gem 'representable', '3.0.4'
gem 'webrick', '1.3.1'
gem 'httparty', '0.19.1'
else
gem 'concurrent-ruby'
gem 'signet'
gem 'representable'
gem 'webrick'
#store api
gem 'httparty'
end
#built in modules
eval(File.read(File.dirname(__FILE__) + '/built_in_extensions.rb'))
#modules installed from the store
unless File.exist?(File.dirname(__FILE__) + '/downloaded_extensions.rb')
File.open(File.dirname(__FILE__) + '/downloaded_extensions.rb','w+'){|f| f.write ""}
end
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
#ask
gem 'rucaptcha',git: 'http://gitlab.tp.rulingcom.com/chiu/rucaptcha.git'
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'
#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'
gem 'process_shared','~>0.2.1'
if RUBY_VERSION.to_f == 2.1
gem 'declarative','0.0.10'
gem 'mime-types','~>3.3.1'
gem 'mimemagic','0.3.9'
gem 'public_suffix','~>3.1.1'
gem "connection_pool","2.2.3"
#social gems
gem 'phantomjs','~>2.1.1.0'
gem "omniauth-google-oauth2"
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.git'
#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 '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'
#database
# gem 'mongoid', github: "mongoid/mongoid"
gem 'bson', '~> 4.5.0'
gem 'mongo', '~> 2.10.5'
gem 'mongoid', '~> 5.4.1'
# 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.1'
gem 'chartkick', '~> 2.3.5'
gem 'usagewatch_ext'
gem 'ckeditor', '~> 4.2.4'
gem 'unicorn', '~> 6.0.0'
gem 'zhconv'
gem 'time_difference'
gem 'execjs', '~> 2.7.0'
gem 'therubyracer'
#excel
gem 'axlsx_rails'
gem 'spreadsheet'
gem 'rubyXL'
#form helpers
gem 'dynamic_form'
#development related gems
group :development do
gem 'better_errors', '>= 2.8.1', '< 2.8.2'
# 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
else
gem 'declarative'
gem 'mime-types'
gem 'mimemagic'
gem 'public_suffix'
gem "connection_pool"
#social gems
gem 'phantomjs','2.1.1.0'
gem "omniauth-google-oauth2"
gem 'googleauth'
gem 'google-api-client'
#rails gem
gem 'rake'
gem 'sassc-rails', '2.1.2'
gem 'sanitize'
#gem 'faraday'
#assets and templates
#gem 'sass-rails', '~> 4.0.2'
gem 'uglifier'
gem 'coffee-rails'
gem 'jquery-rails'
gem 'jquery-ui-rails'
gem 'normalize-rails'
#password
gem 'bcrypt-ruby'
gem 'sprockets', '3.7.2'
gem 'sprockets-rails', '2.3.3'
#json
gem 'jbuilder'
gem 'sdoc', group: :doc
gem 'spring', group: :development
gem 'active_model_serializers', '~> 0.10.0'
gem 'rails', '5.2.7'
gem 'railties'
gem 'rss'
#parser
gem 'nokogiri', '~> 1.8.5'
gem 'actionpack-page_caching'
#database
# gem 'mongoid', github: "mongoid/mongoid"
gem 'bson'#, '~> 4.5.0'
gem 'mongo', '2.15.1' #last version support for mongodb 2.6
gem 'json', '2.6.1'
gem 'mongoid'
# sockets
# gem "websocket-rails"
#file uploading and carrierwave
gem "mini_magick"
gem 'carrierwave', '0.11.2'
gem 'carrierwave-mongoid', :require => 'carrierwave/mongoid'
gem 'zip-zip'
gem 'kaminari'
gem 'kaminari-mongoid'
gem 'impressionist', git: 'http://gitlab.tp.rulingcom.com/chiu/impressionist'
gem 'chartkick'
gem 'usagewatch_ext'
gem 'ckeditor', '~> 4.2.4'
gem 'unicorn', '~> 6.1.0'
gem 'zhconv'
gem 'time_difference'
#gem 'execjs'
#gem 'therubyracer'
#gem 'mini_racer'
gem 'duktape'
#excel
gem 'axlsx_rails'
gem 'spreadsheet'
gem 'rubyXL'
#form helpers
gem 'dynamic_form'
#development related gems
group :development do
#gem 'better_errors'
# gem 'guard-bundler'
# gem 'guard-rails'
gem 'rails_layout'
gem 'rb-fchange', :require=>false
gem 'rb-fsevent', :require=>false
gem 'rb-inotify', :require=>false
gem 'byebug'
#gem "binding_of_caller"
end
#testing gems
group :test do
gem "minitest"
gem 'minitest-spec-rails'
end
end