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.
Files changed (4) hide show
  1. data/README.md +14 -0
  2. data/VERSION +1 -1
  3. data/link-checker.gemspec +1 -1
  4. 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.0
1
+ 0.3.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "link-checker"
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ryan Alyn Porter"]
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.0
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: 2583548711827619291
545
+ hash: -623461632206689908
546
546
  required_rubygems_version: !ruby/object:Gem::Requirement
547
547
  none: false
548
548
  requirements: