Skip to content

Commit

Permalink
move data under data
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Oct 15, 2010
1 parent 8446528 commit 52edb7f
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions data/example/log/neverdie.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tick
tick
./never_die:6:in `sleep': Interrupt
from ./never_die:6
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion foreman.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ Parka::Specification.new do |gem|

gem.executables = "foreman"
gem.files << "man/foreman.1"
gem.files << Dir["export/**/*"]
end
2 changes: 1 addition & 1 deletion lib/foreman/export/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def say(message)
end

def export_template(name)
File.read(File.expand_path("../../../../export/#{name}", __FILE__))
File.read(File.expand_path("../../../../data/export/#{name}", __FILE__))
end

def write_file(filename, contents)
Expand Down

0 comments on commit 52edb7f

Please sign in to comment.