jayzes (owner)

Forks

Revisions

gist: 35346 Download_button fork
public
Public Clone URL: git://gist.github.com/35346.git
Embed All Files: show embed
factorylabs_shoulda.rb #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
template(:factorylabs_shoulda) do
  gem 'mislav-will_paginate'
  gem 'mocha'
  gem 'thoughtbot-factory_girl'
  gem 'thoughtbot-shoulda'
  gem 'quietbacktrace'
  
  plugin 'hoptoad_notifier', :git => 'git://github.com/thoughtbot/hoptoad_notifier.git'
  plugin 'migration_concordance', :git => 'git://github.com/joshsusser/migration_concordance.git'
  plugin 'factory_utils', :svn => 'https://svn.factorylabs.com/repos/interactive/Library/AppDev/rails/plugins/factory_utils/trunk'
  plugin 'factory_designer_forms', :svn => 'https://svn.factorylabs.com/repos/interactive/Library/AppDev/rails/plugins/factory_designer_forms/trunk'
  plugin 'app_config', :svn => 'https://svn.factorylabs.com/repos/interactive/Library/AppDev/rails/plugins/app_config/trunk'
  #plugin 'newrelic_rpm'
  plugin 'query_trace', :svn => 'https://terralien.devguard.com/svn/projects/plugins/query_trace/'
  plugin 'form_test_helper', :svn => 'http://form-test-helper.googlecode.com/svn/form_test_helper'
  
  initializer 'hoptoad.rb' do
    HoptoadNotifier.configure do |config|
      config.api_key = 'HOPTOAD-KEY'
    end
  end
  
  initializer 'action_mailer_configs.rb' do
    ActionMailer::Base.smtp_settings = {
        :address => "factory-smtp.factorylabs.com",
        :port => 25,
        :domain => "factorylabs.com"
    }
  end
  
  #initializer 'requires.rb' do
  #
  #end
  
  initializer 'time_formats.rb' do
    # Example time formats
    { :short_date => "%x", :long_date => "%a, %b %d, %Y" }.each do |k, v|
      ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.update(k => v)
    end
  end
end