Anaximander
Anaximander is a small library for crawling a website and rendering the resulting site map to the console.
Installation & Usage
gem install anaximander
mapgen <url>
Example Site
mapgen http://anaximander.herokuapp.com/index.html
Running Tests
bundle install
bundle exec rspec spec
End to End Tests
There are two tests marked with the tag endtoend
. These tests start up
a Rack app which serves a simple website and run against that server
like the library would in "production". Think of them as the Acceptance
tests for a library.
The end to end tests are run by default. To exclude them:
bundle exec rspec spec --tag ~endtoend
What does Anaximander mean?
Anaximander was a Greek cartographer who was the first person to try to map the entire world.
Contributing
- Fork it ( https://github.com/mnoble/anaximander/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request