Commit 53b5b57f authored by Coraline Ehmke's avatar Coraline Ehmke

Fix path issue with output

parent 9e6f0ffc
......@@ -12,11 +12,6 @@ tell you that you might want to extract those methods to a latent Address class.
Please note that Snuffle is still pre-release and will not be ready for serious
use until it hits version 1.0.0.
## TODO
* Ignore data clumps called in "loose" class methods (e.g. attr_accessor)
* Output files in folder hierarchy that mirrors source files
## Installation
Add this line to your application's Gemfile:
......@@ -38,6 +33,12 @@ Or install it yourself as:
Checking lib/example.rb...
Results written to doc/snuffle/index.htm
## Sample Output
[!Overview](images/overview.png)
[!Detail](images/detail.png)
## Contributing
Please note that this project is released with a [Contributor Code of Conduct](https://gitlab.com/coraline/snuffle/blob/master/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
......
......@@ -31,7 +31,7 @@ module Snuffle
path = root_path
path << "/" + summary.path_to_results if summary
FileUtils.mkpath(path)
@output_path = root_path
@output_path = path
end
def path_to_results
......
module Snuffle
VERSION = "0.12.1"
VERSION = "0.12.2"
end
......@@ -13,14 +13,14 @@ Gem::Specification.new do |spec|
spec.homepage = "https://gitlab.com/coraline/snuffle/tree/master"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0")
spec.files = `git ls-files -z`.split("\x0") - %w(images)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "parser"
spec.add_dependency "thor"
spec.add_dependency "ephemeral", "~> 2.3.2"
spec.add_dependency "ephemeral", "~> 2.3.3"
spec.add_dependency "poro_plus"
spec.add_dependency "rouge"
spec.add_dependency "text-table"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment