lib/ubiquo/template.erb in ubiquo-0.9.0.b1 vs lib/ubiquo/template.erb in ubiquo-0.9.0.b2
- old
+ new
@@ -120,14 +120,15 @@
# Needs 3 params:
# appname -> Application name (Ex: test)
# exception_recipient -> email to deliver application error messages (Ex: developers@foo.com)
# sender_adress -> email to user in from when delivering error message (Ex: notifier@foo.com)
initializer 'exception_notifier.rb', <<-CODE
-#Exception notification
-ExceptionNotifier.exception_recipients = %w( #{exception_recipient} )
-ExceptionNotifier.sender_address = %("Application Error" <#{sender_address}>)
-ExceptionNotifier.email_prefix = "[#{appname} \#\{RAILS_ENV\} ERROR]"
+# Exception notification
+#{appname.camelize}::Application.config.middleware.use ExceptionNotifier,
+ :email_prefix => "[#{appname} \#\{Rails.env\} ERROR]",
+ :sender_address => %("Application Error" <#{sender_address}>),
+ :exception_recipients => %w( #{exception_recipient} )
CODE
postgresql = <<-CODE
base_config: &base_config
encoding: unicode
adapter: postgresql
@@ -246,10 +247,10 @@
platforms :mri_18 do
gem "#{adapter_gem}"
end
group :assets do
- gem 'sass-rails', '~> 3.2.0'
+ gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.0'
gem 'uglifier', '>= 1.0.3'
end