crawl 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/bin/crawl CHANGED
@@ -4,7 +4,7 @@ require_relative '../lib/crawl.rb'
4
4
 
5
5
  options = {}
6
6
  optparse = OptionParser.new do |opts|
7
- opts.banner = "Exhaustive search pages witin a domain, reporting any page that returns a bad response code\nUsage: crawl [options] domain"
7
+ opts.banner = "Crawl pages witin a domain, reporting any page that returns a bad response code\nUsage: crawl [options] domain"
8
8
  opts.on('-s', '--start /home,/about', Array, 'Starting path(s), defaults to /') { |o| options[:start] = o }
9
9
  opts.on('-u', '--username username', String, 'Basic auth username') { |o| options[:username] = o }
10
10
  opts.on('-p', '--password password', String, 'Basic auth password') { |o| options[:password] = o }
data/crawl.gemspec CHANGED
@@ -5,7 +5,7 @@ Gem::Specification.new do |gem|
5
5
  gem.authors = ["Tor Erik Linnerud"]
6
6
  gem.email = ["tor@alphasights.com"]
7
7
  gem.description = "Crawl all pages on a domain, checking for errors"
8
- gem.summary = "Exhaustive search pages witin a domain, reporting any page that returns a bad response code"
8
+ gem.summary = "Crawl pages witin a domain, reporting any page that returns a bad response code"
9
9
  gem.homepage = "http://github.com/alphasights/crawl"
10
10
 
11
11
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
data/lib/crawl/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Crawl
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
data/lib/crawl.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
- puts require('nokogiri')
3
- puts require('rest_client')
2
+ require('nokogiri')
3
+ require('rest_client')
4
4
  require 'ci/reporter/core'
5
5
 
6
6
  require 'base64'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crawl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-11-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
- requirement: &70363418401240 !ruby/object:Gem::Requirement
16
+ requirement: &70184090933720 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70363418401240
24
+ version_requirements: *70184090933720
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rest-client
27
- requirement: &70363418400700 !ruby/object:Gem::Requirement
27
+ requirement: &70184090933180 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70363418400700
35
+ version_requirements: *70184090933180
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: ci_reporter
38
- requirement: &70363418400280 !ruby/object:Gem::Requirement
38
+ requirement: &70184090932760 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70363418400280
46
+ version_requirements: *70184090932760
47
47
  description: Crawl all pages on a domain, checking for errors
48
48
  email:
49
49
  - tor@alphasights.com
@@ -85,6 +85,6 @@ rubyforge_project:
85
85
  rubygems_version: 1.8.11
86
86
  signing_key:
87
87
  specification_version: 3
88
- summary: Exhaustive search pages witin a domain, reporting any page that returns a
89
- bad response code
88
+ summary: Crawl pages witin a domain, reporting any page that returns a bad response
89
+ code
90
90
  test_files: []