cohesion 1.0.1 → 1.0.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 +8 -8
- data/Gemfile +1 -1
- data/Gemfile.lock +3 -3
- data/README.textile +3 -0
- data/bin/cohesion +3 -0
- data/lib/cohesion/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YjRmZDJmNTNjNDJmYjRlODcxNDA1MWQ4YTgzYmNlOWM0NWEzMDRiMw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YWM0M2I0NGNhNjQwMWVlYWU1ZGNlNmQ2MmE1N2NiYWE1OWY5YjYyYw==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NTZhODQ4ZDYyYzU2Yjg4ODZiZDUxMmZjYzliZjg1ZDk3YTlhOTg2ZGNlYzZm
|
|
10
|
+
ZDNkNzg1YmYxNzI3M2IzMGQ2OGZjMzgzNGVhMjNjYTQyMGNiMjc3YzQ3NmFk
|
|
11
|
+
OWFiMTI5YjhlMGM4YzVkMWJjMjZjZTNjZWMyMThlZjhiZjFiZjc=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZmY0ZGFjODA4YzcyZmZkYzJiZDcxYWEwZmI2NzFhYzBjY2YyMTRjMjMzNmE0
|
|
14
|
+
NGJiZjkwMzE1NTBlZmVlZjI0ZDY0NjhkNDU5NzJlYjY3YmRhODY5ZjgyNWRi
|
|
15
|
+
MjVlNTQ1ZTg2Y2FkYzRmZGFjNzgyY2IwOTU0ZGEwYjYyYWE4YTU=
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cohesion (1.0.
|
|
4
|
+
cohesion (1.0.2)
|
|
5
5
|
cobweb
|
|
6
6
|
ptools
|
|
7
7
|
|
|
@@ -12,7 +12,7 @@ GEM
|
|
|
12
12
|
awesome_print (1.1.0)
|
|
13
13
|
celluloid (0.14.1)
|
|
14
14
|
timers (>= 1.0.0)
|
|
15
|
-
cobweb (1.0.
|
|
15
|
+
cobweb (1.0.17)
|
|
16
16
|
addressable
|
|
17
17
|
awesome_print
|
|
18
18
|
haml
|
|
@@ -101,7 +101,7 @@ PLATFORMS
|
|
|
101
101
|
|
|
102
102
|
DEPENDENCIES
|
|
103
103
|
awesome_print
|
|
104
|
-
cobweb (>= 1.0.
|
|
104
|
+
cobweb (>= 1.0.17)
|
|
105
105
|
cohesion!
|
|
106
106
|
coveralls
|
|
107
107
|
ptools
|
data/README.textile
CHANGED
|
@@ -44,6 +44,9 @@ Cohesion allows you to control the crawl through various command line options.
|
|
|
44
44
|
* --timeout <timeout_in_seconds> Sets the timeout for http requests
|
|
45
45
|
* --output <filename> Path to output data to
|
|
46
46
|
* --output_format <format_for_output_file> Output format, csv or json
|
|
47
|
+
* --authentication <authenticaiton_mechanism> Authentication to use, currently only basic
|
|
48
|
+
* --username <username> Username to use with authentication specified
|
|
49
|
+
* --password <password> Password to use with authentication specified
|
|
47
50
|
|
|
48
51
|
* -v, --verbose Display crawl information
|
|
49
52
|
* -d, --debug Display debug information
|
data/bin/cohesion
CHANGED
|
@@ -18,6 +18,9 @@ opts = Slop.parse(:help => true) do
|
|
|
18
18
|
on 'thread_count=', "Set the number of threads used", :as => Integer
|
|
19
19
|
on 'timeout=', "Sets the timeout for http requests", :as => Integer
|
|
20
20
|
on 'cache=', "Sets the timeout for the cache, leave blank for no cache"
|
|
21
|
+
on 'authentication=', "Sets the authentication type used"
|
|
22
|
+
on 'username=', "Username to use with authentication"
|
|
23
|
+
on 'password=', "Password to use with authentication"
|
|
21
24
|
|
|
22
25
|
on 'output=', 'Path to output data to'
|
|
23
26
|
on 'output_format=', "Output format, csv or json"
|
data/lib/cohesion/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cohesion
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stewart McKee
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-08-
|
|
11
|
+
date: 2013-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cobweb
|