link-checker 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +14 -0
- data/VERSION +1 -1
- data/link-checker.gemspec +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -4,6 +4,16 @@ This Ruby gem enables you to easily check the links in your web site. It will s
|
|
4
4
|
|
5
5
|
It will print the file path in green if all of the external links check out, and red if there are any problems. If there are any problems then it will list each problem URL. It will display yellow warnings for URLs that redirect to other URLs that are good, or red errors if the redirect does not lead to a good URL.
|
6
6
|
|
7
|
+
## Features
|
8
|
+
|
9
|
+
* Scans files for links, or
|
10
|
+
* Crawls web pages for links
|
11
|
+
* Multi-threaded (fast)
|
12
|
+
* Warnings for links that redirect to valid links
|
13
|
+
* red/green/yellow colored output
|
14
|
+
* 100% test coverage
|
15
|
+
* Works great with Octopress or Jekyll
|
16
|
+
|
7
17
|
## Installation
|
8
18
|
|
9
19
|
Add the ```link-checker``` gem to your project's ```Gemfile```:
|
@@ -24,6 +34,10 @@ To check the links for a Jekyll site:
|
|
24
34
|
|
25
35
|
check-links
|
26
36
|
|
37
|
+
To crawl a live web site:
|
38
|
+
|
39
|
+
check-links 'http://your-site.com'
|
40
|
+
|
27
41
|
## Testing
|
28
42
|
|
29
43
|
The ```link-checker``` gem uses [RSpec](http://rspec.info) for testing and has 100% test coverage, verified using [simplecov](https://github.com/colszowka/simplecov).
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/link-checker.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: link-checker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -542,7 +542,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
542
542
|
version: '0'
|
543
543
|
segments:
|
544
544
|
- 0
|
545
|
-
hash:
|
545
|
+
hash: -623461632206689908
|
546
546
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
547
547
|
none: false
|
548
548
|
requirements:
|