Skip to content

Instantly share code, notes, and snippets.

@nathany nathany/Gemfile
Last active Dec 21, 2015

Embed
What would you like to do?
Just another rescue project.
source 'https://rubygems.org'
ruby '1.8.7'
# server
gem 'rails', '2.3.18'
gem 'thin'
group :production do
gem 'rack-ssl' # included in Rails 3 (config.force_ssl = true)
gem 'newrelic_rpm'
gem 'airbrake'
end
# database
gem 'pg'
gem 'pg_search', '~> 0.2.1' # 0.3+ requires Rails 3
gem 'fake_arel' # emulate Rails 3.x, https://github.com/gammons/fake_arel
gem 'dalli', '~> 1.0.5' # 1.1+ requires Rails 3
# view
gem 'haml', '~> 3.1.7' # 4.x requires Rails 3
gem 'sass'
gem 'tabs_on_rails', '~> 1.3.3' # 2.x requires Rails 3
gem 'will_paginate', '~> 2.3.16' # 3.x is for Rails 3
gem 'calendar_helper' # calendar https://github.com/topfunky/calendar_helper
gem 'chronic' # natural language date/time parser
# prawn
gem 'prawn', '~> 0.6.3' # header/footer removed in prawn-layout 0.7.1
gem 'prawn-layout', '~> 0.3.2', :require => 'prawn/layout'
# files
gem 'paperclip', '~> 2.7.5' # 3.x requires Rails 3
gem 'aws-sdk'
gem 'nokogiri', '~> 1.5.10' # 1.6 requires Ruby 1.9
gem 'fastercsv' # included in Ruby 1.9
# legacy (replace)
gem 'rails-settings', :require => 'settings' # Dec 2009 last update
gem '12_hour_time' # Rails 2.x specific twelve_hour AM/PM helper
gem 'calendar_date_select' # Prototype.js based date picker https://github.com/timcharper/calendar_date_select
group :test do
gem 'factory_girl', '~> 2.6.4' # 3.x - 4.x require Rails 3
gem 'capybara', '~> 1.1.4' # 2.0 requires Ruby 1.9+
gem 'database_cleaner', '~> 0.9.1' # 1.0 requires Ruby 1.9+
gem 'launchy'
gem 'redgreen'
gem 'ZenTest', '4.8.3' # Malformed gemspec in newer versions (RubyGems 1.8.24)
gem 'autotest-rails'
gem 'autotest-fsevent'
gem 'autotest-growl'
end
group :development, :test do
gem 'ruby-debug' # for Ruby 1.8, use debugger for Ruby 1.9+
gem 'foreman'
end
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 2592 | 1919 | 37 | 172 | 4 | 9 |
| Helpers | 264 | 214 | 1 | 21 | 21 | 8 |
| Models | 2144 | 1411 | 38 | 210 | 5 | 4 |
| Libraries | 545 | 393 | 1 | 18 | 18 | 19 |
| Integration tests | 36 | 26 | 1 | 0 | 0 | 0 |
| Functional tests | 15 | 11 | 1 | 1 | 1 | 9 |
| Unit tests | 43 | 33 | 2 | 0 | 0 | 0 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 5639 | 4007 | 81 | 422 | 5 | 7 |
+----------------------+-------+-------+---------+---------+-----+-------+
Code LOC: 3937 Test LOC: 70 Code to Test Ratio: 1:0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.