mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
The rails cops used to be in the rubocop gem itself but moved into their own gem recently. Our style guide refers to these cops though.
178 lines
5.0 KiB
Ruby
178 lines
5.0 KiB
Ruby
source 'https://rubygems.org'
|
|
ruby "2.3.7"
|
|
git_source(:github) { |repo_name| "https://github.com/#{repo_name}.git" }
|
|
|
|
gem 'i18n', '~> 0.6.11'
|
|
gem 'i18n-js', '~> 3.5.1'
|
|
gem 'rails', '~> 3.2.22'
|
|
gem 'rails-i18n', '~> 3.0.0'
|
|
gem 'rails_safe_tasks', '~> 1.0'
|
|
|
|
gem "activerecord-import"
|
|
# Patched version. See http://rubysec.com/advisories/CVE-2015-5312/.
|
|
gem 'nokogiri', '>= 1.6.7.1'
|
|
|
|
gem "order_management", path: "./engines/order_management"
|
|
gem 'web', path: './engines/web'
|
|
|
|
gem 'activerecord-postgresql-adapter'
|
|
gem 'pg', '~> 0.21.0'
|
|
|
|
# OFN-maintained and patched version of Spree v2.0.4. See
|
|
# https://github.com/openfoodfoundation/openfoodnetwork/wiki/Spree-2.0-upgrade
|
|
# for details.
|
|
gem 'spree_backend', github: 'openfoodfoundation/spree', branch: '2-0-4-stable'
|
|
gem 'spree_core', github: 'openfoodfoundation/spree', branch: '2-0-4-stable'
|
|
|
|
gem 'spree_i18n', github: 'spree/spree_i18n', branch: '1-3-stable'
|
|
|
|
# Our branch contains two changes
|
|
# - Pass customer email and phone number to PayPal (merged to upstream master)
|
|
# - Change type of password from string to password to hide it in the form
|
|
gem 'spree_paypal_express', github: "openfoodfoundation/better_spree_paypal_express", branch: "2-0-stable"
|
|
gem 'stripe'
|
|
|
|
# We need at least this version to have Digicert's root certificate
|
|
# which is needed for Pin Payments (and possibly others).
|
|
gem 'activemerchant', '~> 1.78'
|
|
|
|
gem 'devise', '~> 2.2.5'
|
|
gem 'devise-encryptable', '0.2.0'
|
|
gem 'jwt', '~> 2.2'
|
|
gem 'oauth2', '~> 1.4.2' # Used for Stripe Connect
|
|
|
|
gem 'daemons'
|
|
gem 'delayed_job_active_record'
|
|
gem 'delayed_job_web'
|
|
|
|
# Fix bug in simple_form preventing collection_check_boxes usage within form_for block
|
|
# When merged, revert to upstream gem
|
|
gem 'simple_form', github: 'RohanM/simple_form'
|
|
|
|
# Spree's default pagination gem (locked to the current version used by Spree)
|
|
# We use it's methods in OFN code as well, so this is a direct dependency
|
|
gem 'kaminari', '~> 0.14.1'
|
|
|
|
gem 'andand'
|
|
gem 'angularjs-rails', '1.5.5'
|
|
gem 'aws-sdk'
|
|
gem 'bugsnag'
|
|
gem 'db2fog'
|
|
gem 'haml'
|
|
gem 'rabl'
|
|
gem 'redcarpet'
|
|
gem 'sass', "~> 3.3"
|
|
gem 'sass-rails', '~> 3.2.3', groups: [:default, :assets]
|
|
gem 'truncate_html'
|
|
gem 'unicorn'
|
|
|
|
# AMS is pinned to 0.8.4 because 0.9.x is a complete re-write, as is 0.10.x
|
|
# Once Rails is updated to 5.x we should bump directly to 0.10.x
|
|
gem "active_model_serializers", "0.8.4"
|
|
gem 'acts-as-taggable-on', '~> 3.4'
|
|
gem 'angularjs-file-upload-rails', '~> 2.4.1'
|
|
gem 'blockenspiel'
|
|
gem 'custom_error_message', github: 'jeremydurham/custom-err-msg'
|
|
gem 'dalli'
|
|
gem 'deface', '1.0.2'
|
|
gem 'diffy'
|
|
gem 'figaro'
|
|
gem 'geocoder'
|
|
gem 'gmaps4rails'
|
|
gem 'oj'
|
|
gem 'paper_trail', '~> 5.2.3'
|
|
gem 'paperclip', '~> 3.4.1'
|
|
gem 'rack-rewrite'
|
|
gem 'rack-ssl', require: 'rack/ssl'
|
|
gem 'roadie-rails', '~> 1.3.0'
|
|
gem 'spinjs-rails'
|
|
|
|
gem 'combine_pdf'
|
|
gem 'wicked_pdf'
|
|
gem 'wkhtmltopdf-binary'
|
|
|
|
gem 'foreigner'
|
|
gem 'immigrant'
|
|
gem 'roo', '~> 2.8.2'
|
|
gem 'roo-xls', '~> 1.1.0'
|
|
|
|
gem 'whenever', require: false
|
|
|
|
gem 'test-unit', '~> 3.3'
|
|
|
|
# Gems used only for assets and not required
|
|
# in production environments by default.
|
|
group :assets do
|
|
gem 'coffee-rails', '~> 3.2.1'
|
|
gem 'compass-rails'
|
|
|
|
gem 'mini_racer', '0.2.4'
|
|
# Previously we found that libv8 6.7.288.46.1 breakis the compilation of mini_racer.
|
|
# Now we see that we need to set the version explicitly. Nothing else depends on libv8.
|
|
gem 'libv8', '6.3.292.48.1'
|
|
|
|
gem 'uglifier', '>= 1.0.3'
|
|
|
|
gem 'angular-rails-templates', '~> 0.3.0'
|
|
gem 'foundation-icons-sass-rails'
|
|
gem 'momentjs-rails'
|
|
gem 'turbo-sprockets-rails3'
|
|
end
|
|
|
|
gem "foundation-rails"
|
|
gem 'foundation_rails_helper', github: 'willrjmarshall/foundation_rails_helper', branch: "rails3"
|
|
|
|
gem 'jquery-migrate-rails'
|
|
gem 'jquery-rails', '3.0.4'
|
|
|
|
gem 'ofn-qz', github: 'openfoodfoundation/ofn-qz', ref: '60da2ae4c44cbb4c8d602f59fb5fff8d0f21db3c'
|
|
|
|
group :production, :staging do
|
|
gem 'ddtrace'
|
|
end
|
|
|
|
group :test, :development do
|
|
# Pretty printed test output
|
|
gem 'atomic'
|
|
gem 'awesome_print'
|
|
gem 'capybara', '>= 2.18.0' # 3.0 requires nokogiri 1.8
|
|
gem 'database_cleaner', '0.7.1', require: false
|
|
gem "factory_bot_rails", require: false
|
|
gem 'fuubar', '~> 2.5.0'
|
|
gem 'json_spec', '~> 1.1.4'
|
|
gem 'knapsack'
|
|
gem 'letter_opener', '>= 1.4.1'
|
|
gem 'rspec-rails', ">= 3.5.2"
|
|
gem 'rspec-retry'
|
|
gem 'selenium-webdriver'
|
|
gem 'shoulda-matchers'
|
|
gem 'timecop'
|
|
gem 'unicorn-rails'
|
|
gem 'webdrivers'
|
|
end
|
|
|
|
group :test do
|
|
gem 'simplecov', require: false
|
|
gem 'webmock'
|
|
# See spec/spec_helper.rb for instructions
|
|
# gem 'perftools.rb'
|
|
end
|
|
|
|
group :development do
|
|
gem 'byebug', '~> 9.0.0' # 9.1 requires ruby 2.2
|
|
gem 'debugger-linecache'
|
|
gem "newrelic_rpm", "~> 3.0"
|
|
gem 'pry-byebug', '>= 3.4.3'
|
|
gem 'rubocop'
|
|
gem 'rubocop-rails'
|
|
gem 'spring', '1.7.2'
|
|
gem 'spring-commands-rspec'
|
|
|
|
# 1.0.9 fixed openssl issues on macOS https://github.com/eventmachine/eventmachine/issues/602
|
|
# While we don't require this gem directly, no dependents forced the upgrade to a version
|
|
# greater than 1.0.9, so we just required the latest available version here.
|
|
gem 'eventmachine', '>= 1.2.3'
|
|
|
|
gem 'rack-mini-profiler', '< 2.0.0'
|
|
end
|