crabfarm 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/crabfarm/cli.rb +2 -2
- data/lib/crabfarm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 030c725a1c534204a13f928cce6fec5cd7c7c7f1
|
|
4
|
+
data.tar.gz: f8d9528e1a4abf6e5bd26b208bd9583e8b24b917
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4f8946d0db0cb5256c6b52acbd60e2b33b12330288333ad41038aa79f3cdcdbb505667670391e5ccc67df567bca4b4babb5bdef9feec1bebfd3b6e56d540a1f
|
|
7
|
+
data.tar.gz: f2597b1b0e086f12db1cf6ff18ae222c842ec7195b10c21f60b933cf1c0308e7a42e19e315717d4f9de7f65490d1095768081c32ffeb07784cdd2664594eb322
|
data/lib/crabfarm/cli.rb
CHANGED
|
@@ -89,10 +89,10 @@ module Crabfarm
|
|
|
89
89
|
c.command :navigator do |sub|
|
|
90
90
|
|
|
91
91
|
sub.desc "Specifies the navigator target url"
|
|
92
|
-
|
|
92
|
+
sub.flag [:u, :url]
|
|
93
93
|
|
|
94
94
|
sub.desc "Whether to generate the homonymous reducer or not"
|
|
95
|
-
|
|
95
|
+
sub.switch :reducer, :default_value => true
|
|
96
96
|
|
|
97
97
|
sub.action do |global_options,options,args|
|
|
98
98
|
next puts "This command can only be ran inside a crabfarm application" unless GlobalState.inside_crawler_app?
|
data/lib/crabfarm/version.rb
CHANGED