driller 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/bin/driller +3 -3
  3. data/lib/driller/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Zjc5YTFiOGZhN2E3OTYwYjVmNjQ1ZTcyZjU1MmQzYzRjZDY2NzhkNw==
4
+ Nzk3ZDg5ZmU2NzUwNmY4ZWVmNjE2NjQ1MmZjYTA4YjJjNDA2NjU2ZA==
5
5
  data.tar.gz: !binary |-
6
- ZWU1Y2Q2NWQyNDFhNTVjODdjMjczZjA4NjkxNGM5MzdiNTc4M2E1ZA==
6
+ OGJhMTdmNWYzNTgwMjkxZDYyOTM3MTc0NDdiM2UwYjljYWM2ZGQ4MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjM2MGM5OTAyYWVmNDZhNDA1NTE2YTNiZjM4ZGNmY2U0YzFjZDQ5MjNlMzQy
10
- MzE0OGI0ZjJmOTY1OGZhMGNmZDFkNDg5MjNjZjc0ZDUzYjUwNzI5YzQzOTEw
11
- MTdhYzkwYzkwMGM2YTcwMGZkODRiMGJlYjZmYzRhMGQwMjE0MGI=
9
+ OTc0MzNlODQ1NzNmMjhiZWQ0OTJhMjc0ZjQ5ZTE5M2FiZGE4N2UyNDI0MDVj
10
+ ZDY2YzJjY2VlMTA1ZjFmYTBkOGFjYzRhYzRiNjM0YzgyMGU2MzA3OTYzYTc1
11
+ MTI0NWQ4NDYzYzM5NDFjODFhYTg1NDhhYzQzNmRkNDRjMjdkYjg=
12
12
  data.tar.gz: !binary |-
13
- YzcyZjU4MDBkMDVkOTJlMmRmY2NhYWNkNWZhNWFhMDUyMzEwZTVlMGZjYzQ1
14
- YmNjZmViOGRjNDk3ZGU1MDM1YmRhYmQ5Y2NmODlmZjNiMzA1Y2JhZTYzMWEw
15
- ODU3OTFhOTljMWZlM2QzZjg1M2Q1MzBkNzUxNjM3NDRjMjg2ZGU=
13
+ ZDBhMjA4OTlhYzM3NzdhNmRiMTdhOTJiMmMxYTU4MDhhZjMxOWM4MTJjZTIx
14
+ Yjk1MWU0ZmFhMGI2NjA4NTY4ZGViMWRiYWViNjQ5NDE0YmU2YTViNTk1NTU1
15
+ OTM1MGJkNGJmNGM1MzVmZWE4NThhYzdjZmQ3ZDExMzliNTRkY2Y=
data/bin/driller CHANGED
@@ -9,7 +9,7 @@ URL = ARGV[0]
9
9
 
10
10
  Anemone.crawl(URL) do |anemone|
11
11
 
12
- anemone.depth_limit = 2
12
+ anemone.depth_limit = ARGV[1]
13
13
 
14
14
  anemone.focus_crawl do |page|
15
15
  page.links.select { |url| url.starts_with? URL }
@@ -52,8 +52,8 @@ def print_usage
52
52
  <command-name> can be one of
53
53
  help
54
54
  prints more detailed help information.
55
- url
56
- crawl the url and reports error pages and slow paged.
55
+ url and depth
56
+ crawl the url and reports error pages and slow paged upto depth level specified
57
57
  version
58
58
  prints the gem version
59
59
 
@@ -1,3 +1,3 @@
1
1
  module Driller
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: driller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shashikant86