Skip to content

Commit

Permalink
Merge branch 'asset_path_version_public_folder' of https://github.com…
Browse files Browse the repository at this point in the history
…/grundprinzip/showoff into grundprinzip-asset_path_version_public_folder

Conflicts:
	lib/showoff.rb
  • Loading branch information
goncalossilva committed Nov 20, 2011
2 parents 0384f7b + b3f337d commit 0657b2d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/showoff
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'showoff'
require 'showoff/version'
require 'rubygems'
require 'gli'

include GLI

version ShowOff::Version
version SHOWOFF_VERSION

desc 'Create new showoff presentation'
arg_name 'dir_name'
Expand Down
3 changes: 3 additions & 0 deletions lib/showoff.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ def initialize(app=nil)
@logger.debug settings.pres_dir
@pres_name = settings.pres_dir.split('/').pop
require_ruby_files

# Default asset path
@asset_path = "./"
end

def self.pres_dir_current
Expand Down
2 changes: 2 additions & 0 deletions lib/showoff_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ def self.get_config_option(dir, option, default = nil)
data[option] || default
end
end
else
default
end
end

Expand Down

0 comments on commit 0657b2d

Please sign in to comment.