Skip to content

Instantly share code, notes, and snippets.

@kenton
Created August 23, 2012 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenton/3430737 to your computer and use it in GitHub Desktop.
Save kenton/3430737 to your computer and use it in GitHub Desktop.
source 'https://railskits.com/gems/c2997254-9fa6-f774-f9b6-83703425ccda'
source 'http://rubygems.org'
gem 'rails', '3.2.1'
gem 'pg', "~> 0.13.2"
gem "simple_form", "~> 2.0"
gem "simplecov", ">= 0.3.5", :require => false
gem 'themes_for_rails', "~> 0.5"
gem 'annotate', "~> 2.4.0" # annotate model schema at the top of model files
gem 'kaminari', "~> 0.13" # pagination
gem 'ancestry', "~> 1.3" # models as trees
gem "carrierwave", "~> 0.6.0" # file uploads for rest of the app
gem "mini_magick", "~> 3.4"
gem 'sass-rails', '~> 3.2.3'
gem 'bootstrap-sass', '~> 2.0.4.0'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
end
# javascript libraries for asset pipeline
gem 'jquery-rails'
gem "ckeditor", "~> 3.7"
gem "highcharts-rails", "~> 2.2.4"
gem 'rails3_acts_as_paranoid', "~> 0.2.4"
gem 'ssl_requirement'
group :test do
gem "cucumber-rails", "~> 1.3", :require => false
end
group :development, :test do
gem 'capistrano'
gem "launchy", "~> 2.1.0"
gem "pickle"
gem "capybara", "~> 1.1"
gem "factory_girl_rails", "~> 3.0"
gem "rspec-rails", "~> 2.8"
gem "database_cleaner", "~> 0.7.2"
gem 'email_spec', "~> 1.2.1"
gem 'forgery', '0.5' # creating seed/test data
gem "webrat"
gem "faker", "~> 1.0.1"
gem 'turnip', '~> 1.0.0'
# stuff to make life easier in development mode
gem "rails-erd", "~> 0.4.5"
gem "hirb", "~> 0.6.2"
gem "awesome_print", "~> 1.0.2"
gem 'pry', '~> 0.9.10'
gem 'pry-remote', '~> 0.1.6'
gem 'pry-debugger', '~> 0.2.0'
end
# setup for using simplecov for tracking code coverage
require 'simplecov'
SimpleCov.start 'rails' do
add_filter "subdomain.rb"
add_filter "error_messages_helper.rb"
add_filter "layout_helper.rb"
add_filter "attachment_file.rb"
add_filter "picture.rb"
add_filter "/forgeries/"
add_filter "events_helper.rb"
add_filter "./vendor/*"
add_filter "./app/controllers/accounts_controller.rb"
add_filter "./app/controllers/registrations_controller.rb"
end
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'
require 'capybara/rspec'
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
Dir.glob("spec/acceptance/**/*steps.rb") do |f|
load f, true
end
RSpec.configure do |config|
# == Mock Framework
#
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
#
#config.mock_with :mocha
# config.mock_with :flexmock
# config.mock_with :rr
config.mock_with :rspec
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_path = "#{::Rails.root}/spec/fixtures"
# If you're not using ActiveRecord, or you'd prefer not to run each of your
# examples within a transaction, remove the following line or assign false
# instead of true.
config.use_transactional_fixtures = true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment