Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
Remove deprecated methods
Browse files Browse the repository at this point in the history
Fixes #165
  • Loading branch information
josh committed Aug 29, 2011
1 parent f616d40 commit 122b95d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 81 deletions.
3 changes: 1 addition & 2 deletions lib/sprockets/base.rb
Expand Up @@ -5,15 +5,14 @@
require 'sprockets/processing'
require 'sprockets/server'
require 'sprockets/static_asset'
require 'sprockets/static_compilation'
require 'sprockets/trail'
require 'pathname'

module Sprockets
# `Base` class for `Environment` and `Index`.
class Base
include Digest
include Caching, Processing, Server, StaticCompilation, Trail
include Caching, Processing, Server, Trail

# Get and set `Logger` instance.
attr_accessor :logger
Expand Down
1 change: 0 additions & 1 deletion lib/sprockets/index.rb
Expand Up @@ -17,7 +17,6 @@ def initialize(environment)
@context_class = environment.context_class
@cache = environment.cache
@trail = environment.trail.index
@static_root = environment.static_root
@digest = environment.digest
@digest_class = environment.digest_class
@version = environment.version
Expand Down
78 changes: 0 additions & 78 deletions lib/sprockets/static_compilation.rb

This file was deleted.

1 comment on commit 122b95d

@gkop
Copy link

@gkop gkop commented on 122b95d Aug 31, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What replaces #static_root as far as a way to change the output directory of assets:precompile?
http://stackoverflow.com/questions/7261163/how-to-temporarily-change-output-path-when-precompiling-assets-sprockets-rails

Please sign in to comment.