Sha256: 13e606955a836f2f922e00180346d1e43ac2eb030b3a33047a3370bf370616b9
Contents?: true
Size: 1.48 KB
Versions: 4
Compression:
Stored size: 1.48 KB
Contents
h1. Cohesion h2. Intro Cohesion is a group of tasks that allow you to check link cohesion in a site. h2. Installation Add to your Gemfile bc. gem 'cohesion' or you can just install without bundler with bc. gem install cohesion h2. Usage h3. Executable Running from the command line has the following syntax bc. cohesion check http://your-site-to-check.com/ h3. Checking an external site You can check an external site with the rake task below. This will crawl the site and check each link within the site, and will also check the links to external sites. It will also check image, stylesheet and javascript references from link tags. bc. rake cohesion:check["http://your-site-to-check.com"] h3. Checking your local development environment Currently you can check your local development environment the same way as you do an external, but point to your local server: bc. rake cohesion:check["http://localhost:3000/"] h2. Future I intend to add the ability to check the rails app without starting the server though, which would allow you to add it to your specs. h2. Contribute If you want to contribute, you can fork the github repository and submit pull requests, or you can donate me some development fuel... ie coffee/beer use this link "DONATE!":https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VDJK49HD3DNAS&lc=GB&item_name=stewartmckee&item_number=stewartmckee_donation&no_note=1&no_shipping=1¤cy_code=GBP&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cohesion-0.0.5 | README.textile |
cohesion-0.0.4 | README.textile |
cohesion-0.0.3 | README.textile |
cohesion-0.0.2 | README.textile |