Skip to content

Commit

Permalink
Moved lib/nesta/nesta.rb into lib/nesta.rb.
Browse files Browse the repository at this point in the history
  • Loading branch information
gma committed Feb 29, 2012
1 parent e4196ba commit e428962
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 8 additions & 0 deletions lib/nesta.rb
@@ -1 +1,9 @@
module Nesta
def self.deprecated(name, message)
if Nesta::App.environment != :test
$stderr.puts "DEPRECATION WARNING: #{name} is deprecated; #{message}"
end
end
end

require "nesta/plugin"
3 changes: 1 addition & 2 deletions lib/nesta/app.rb
Expand Up @@ -2,16 +2,15 @@
require 'haml'
require 'sass'

require File.expand_path('../nesta', File.dirname(__FILE__))
require File.expand_path('env', File.dirname(__FILE__))
require File.expand_path('nesta', File.dirname(__FILE__))
require File.expand_path('cache', File.dirname(__FILE__))
require File.expand_path('config', File.dirname(__FILE__))
require File.expand_path('models', File.dirname(__FILE__))
require File.expand_path('helpers', File.dirname(__FILE__))
require File.expand_path('navigation', File.dirname(__FILE__))
require File.expand_path('overrides', File.dirname(__FILE__))
require File.expand_path('path', File.dirname(__FILE__))
require File.expand_path('plugin', File.dirname(__FILE__))

Encoding.default_external = 'utf-8' if RUBY_VERSION =~ /^1.9/

Expand Down
7 changes: 0 additions & 7 deletions lib/nesta/nesta.rb

This file was deleted.

0 comments on commit e428962

Please sign in to comment.