mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 11:44:02 +00:00
Add cloudinary gem, fix some Gemfile comments
This commit is contained in:
parent
5b9da3ef22
commit
1ce834391a
3 changed files with 60 additions and 30 deletions
66
Gemfile
66
Gemfile
|
|
@ -21,14 +21,17 @@ gem 'rails-observers'
|
|||
# for tracking data changes
|
||||
gem 'paper_trail'
|
||||
|
||||
# Internationalizing gem , use gem according to version of your rails application
|
||||
gem 'rails-i18n', '~> 4.0.0' # For 4.0.x
|
||||
# for upload management
|
||||
gem 'paperclip'
|
||||
|
||||
# for internationalizing
|
||||
gem 'rails-i18n', '~> 4.0.0'
|
||||
|
||||
# as authentification framework
|
||||
gem 'devise'
|
||||
gem 'devise_ichain_authenticatable'
|
||||
|
||||
# to support openID authentication
|
||||
# for openID authentication
|
||||
gem 'omniauth'
|
||||
gem 'omniauth-facebook'
|
||||
gem 'omniauth-openid'
|
||||
|
|
@ -37,7 +40,8 @@ gem 'omniauth-github'
|
|||
|
||||
# as authorization framework
|
||||
gem 'cancancan'
|
||||
# to set roles
|
||||
|
||||
# for roles
|
||||
gem 'rolify'
|
||||
|
||||
# to show flash messages from ajax requests
|
||||
|
|
@ -66,17 +70,16 @@ gem 'formtastic-bootstrap'
|
|||
gem 'formtastic', '~> 3.1.1'
|
||||
gem 'cocoon'
|
||||
|
||||
# frontend javascripts
|
||||
|
||||
# as the JavaScript library
|
||||
gem 'jquery-rails'
|
||||
|
||||
# frontend javascripts
|
||||
source 'https://rails-assets.org' do
|
||||
# for placeholder images
|
||||
gem 'rails-assets-holderjs'
|
||||
# for formating dates
|
||||
gem 'rails-assets-date.format'
|
||||
# for or parsing, validating, manipulating, and formatting dates.
|
||||
# for or parsing, validating, manipulating, and formatting dates
|
||||
gem 'rails-assets-momentjs'
|
||||
# for smooth scrolling
|
||||
gem 'rails-assets-jquery-smooth-scroll'
|
||||
|
|
@ -97,8 +100,10 @@ end
|
|||
# as date picker
|
||||
gem 'bootstrap3-datetimepicker-rails', '~> 3.0.2'
|
||||
gem 'jquery-datatables-rails', '~> 2.2.1'
|
||||
|
||||
# for charts
|
||||
gem 'chart-js-rails'
|
||||
|
||||
# for displaying maps
|
||||
gem 'leaflet-rails'
|
||||
|
||||
|
|
@ -108,9 +113,6 @@ gem 'gravtastic'
|
|||
# for country selects
|
||||
gem 'country_select'
|
||||
|
||||
# for upload management
|
||||
gem 'paperclip'
|
||||
|
||||
# as PDF generator
|
||||
gem 'prawn_rails'
|
||||
|
||||
|
|
@ -120,24 +122,21 @@ gem 'axlsx_rails'
|
|||
# as error catcher
|
||||
gem 'hoptoad_notifier', '~> 2.3'
|
||||
|
||||
# to make links faster. Read more: https://github.com/rails/turbolinks
|
||||
# to make links faster
|
||||
gem 'turbolinks'
|
||||
|
||||
# for JSON serialization of our API
|
||||
gem 'active_model_serializers'
|
||||
|
||||
# for icon fonts
|
||||
# as icon font
|
||||
gem 'font-awesome-rails'
|
||||
|
||||
# for Markdown in description
|
||||
# for markdown
|
||||
gem 'redcarpet'
|
||||
|
||||
# as rdoc generator
|
||||
gem 'rdoc-generator-fivefish'
|
||||
|
||||
# for seeds
|
||||
gem 'factory_girl_rails'
|
||||
|
||||
# for visitor tracking
|
||||
gem 'ahoy_matey'
|
||||
gem 'activeuuid'
|
||||
|
|
@ -162,44 +161,51 @@ gem 'bootstrap-switch-rails', '~> 3.0.0'
|
|||
# for parsing OEmbed data
|
||||
gem 'ruby-oembed'
|
||||
|
||||
# Use guard and spring for testing in development
|
||||
# for uploading images to the cloud
|
||||
gem 'cloudinary'
|
||||
|
||||
group :development do
|
||||
# rspec Guard rules
|
||||
# to launch specs when files are modified
|
||||
gem 'guard-rspec', '~> 4.2.8'
|
||||
gem 'spring-commands-rspec'
|
||||
# Get HoundCi comments locally
|
||||
# for static code analisys
|
||||
gem 'rubocop'
|
||||
# Silence rack assests messages
|
||||
# to silence rack assests messages
|
||||
gem 'quiet_assets'
|
||||
# Use sqlite3 as the database in development
|
||||
# as database
|
||||
gem 'sqlite3'
|
||||
# Use letter_opener to open mails in development
|
||||
# to open mails
|
||||
gem 'letter_opener'
|
||||
# Use letter_opener_web to open mails in browser (e.g. necessary for Vagrant)
|
||||
# to open mails in browser
|
||||
gem 'letter_opener_web'
|
||||
# mina is a blazing fast deployment system
|
||||
# as deployment system
|
||||
gem 'mina'
|
||||
# as debugger on error pages
|
||||
gem 'web-console', '~> 2.0'
|
||||
end
|
||||
|
||||
# Use rspec and capybara as testing framework
|
||||
group :test do
|
||||
# We use coveralls for measuring test coverage
|
||||
gem 'coveralls', require: false
|
||||
# as test framework
|
||||
gem 'rspec-rails'
|
||||
gem 'capybara'
|
||||
gem 'database_cleaner'
|
||||
gem 'capybara'
|
||||
gem 'poltergeist'
|
||||
gem 'phantomjs', :require => 'phantomjs/poltergeist'
|
||||
# Set of rails validations matchers to describe models
|
||||
# for measuring test coverage
|
||||
gem 'coveralls', require: false
|
||||
# for describing models
|
||||
gem 'shoulda-matchers', require: false
|
||||
# Extracted from RSpec 3 stub_model and mock_model
|
||||
# for stubing/mocking models
|
||||
gem 'rspec-activemodel-mocks'
|
||||
# to freeze time
|
||||
gem 'timecop'
|
||||
# for mocking external requests
|
||||
gem 'webmock'
|
||||
end
|
||||
|
||||
group :development, :test do
|
||||
# as debugger
|
||||
gem 'byebug'
|
||||
# for seeds
|
||||
gem 'factory_girl_rails'
|
||||
end
|
||||
|
|
|
|||
20
Gemfile.lock
20
Gemfile.lock
|
|
@ -64,6 +64,7 @@ GEM
|
|||
json
|
||||
awesome_nested_set (3.0.0.rc.5)
|
||||
activerecord (>= 4.0.0, < 5)
|
||||
aws_cf_signer (0.1.3)
|
||||
axlsx (2.0.1)
|
||||
htmlentities (~> 4.3.1)
|
||||
nokogiri (>= 1.4.1)
|
||||
|
|
@ -104,6 +105,9 @@ GEM
|
|||
climate_control (0.0.3)
|
||||
activesupport (>= 3.0)
|
||||
cliver (0.3.2)
|
||||
cloudinary (1.1.6)
|
||||
aws_cf_signer
|
||||
rest-client
|
||||
cocaine (0.5.8)
|
||||
climate_control (>= 0.0.3, < 1.0)
|
||||
cocoon (1.2.6)
|
||||
|
|
@ -151,6 +155,8 @@ GEM
|
|||
devise (>= 2.2)
|
||||
diff-lcs (1.2.5)
|
||||
docile (1.1.5)
|
||||
domain_name (0.5.20160310)
|
||||
unf (>= 0.0.5, < 1.0.0)
|
||||
erubis (2.7.0)
|
||||
execjs (2.6.0)
|
||||
factory_girl (4.5.0)
|
||||
|
|
@ -194,6 +200,8 @@ GEM
|
|||
activesupport
|
||||
builder
|
||||
htmlentities (4.3.1)
|
||||
http-cookie (1.0.2)
|
||||
domain_name (~> 0.5)
|
||||
i18n (0.7.0)
|
||||
i18n_data (0.7.0)
|
||||
inversion (0.12.3)
|
||||
|
|
@ -250,6 +258,7 @@ GEM
|
|||
multi_xml (0.5.5)
|
||||
multipart-post (2.0.0)
|
||||
mysql2 (0.4.2)
|
||||
netrc (0.11.0)
|
||||
nio4r (1.2.1)
|
||||
nokogiri (1.6.7.2)
|
||||
mini_portile2 (~> 2.0.0.rc2)
|
||||
|
|
@ -384,6 +393,10 @@ GEM
|
|||
request_store (1.0.6)
|
||||
responders (2.1.1)
|
||||
railties (>= 4.2.0, < 5.1)
|
||||
rest-client (1.8.0)
|
||||
http-cookie (>= 1.0.2, < 2.0)
|
||||
mime-types (>= 1.16, < 3.0)
|
||||
netrc (~> 0.7)
|
||||
rolify (5.0.0)
|
||||
rspec (3.0.0)
|
||||
rspec-core (~> 3.0.0)
|
||||
|
|
@ -466,6 +479,9 @@ GEM
|
|||
thread_safe (~> 0.1)
|
||||
uglifier (3.0.0)
|
||||
execjs (>= 0.3.0, < 3)
|
||||
unf (0.1.4)
|
||||
unf_ext
|
||||
unf_ext (0.0.7.2)
|
||||
unicode-display_width (0.3.1)
|
||||
unicode_utils (1.4.0)
|
||||
unobtrusive_flash (3.1.0)
|
||||
|
|
@ -511,6 +527,7 @@ DEPENDENCIES
|
|||
cancancan
|
||||
capybara
|
||||
chart-js-rails
|
||||
cloudinary
|
||||
cocoon
|
||||
country_select
|
||||
coveralls
|
||||
|
|
@ -581,3 +598,6 @@ DEPENDENCIES
|
|||
web-console (~> 2.0)
|
||||
webmock
|
||||
whenever
|
||||
|
||||
BUNDLED WITH
|
||||
1.11.2
|
||||
|
|
|
|||
4
config/cloudinary.yml.example
Normal file
4
config/cloudinary.yml.example
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
production:
|
||||
cloud_name: "sample"
|
||||
api_key: "874837483274837"
|
||||
api_secret: "a676b67565c6767a6767d6767f676fe1"
|
||||
Loading…
Add table
Add a link
Reference in a new issue