spidr_cli 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +3 -0
- data/.travis.yml +8 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +109 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/spidr +38 -0
- data/lib/spidr_cli/options.rb +201 -0
- data/lib/spidr_cli/version.rb +3 -0
- data/lib/spidr_cli.rb +6 -0
- data/spidr_cli.gemspec +31 -0
- metadata +143 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c474f12ce4328ca292990e2e0132a436dca3e99f1a18ac3f3e0c2efbd780ba5b
|
4
|
+
data.tar.gz: 70a46ac79acc21bb34b2c78a442d0cc0299286f0a39946fdf017d92a2d789c19
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 90a4939a6a532f7dfdb77ce61c9a250bbf222df5238de947594e35337d6365b0747ddd597073f02400a157aff5351baebfa54d414060dcbb37fc69555092e83e
|
7
|
+
data.tar.gz: 964c638ba0b24265507f6afca17ece303556e95f156ad00345e7bcaabce7b6f957d81177a0f2f15d29c0a8e688d725297ac0646a66fe7c733e3dbe4bb5fd25a0
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Jacob Burenstam Linder
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
# SpidrCLI
|
2
|
+
|
3
|
+
Command Line Interface (CLI) for the excellent [`spidr`](https://github.com/postmodern/spidr) gem.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Install with
|
8
|
+
|
9
|
+
$ gem install spidr_cli
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
Print all found pages on site
|
14
|
+
|
15
|
+
```
|
16
|
+
$ spidr https://jacoburenstam.com/
|
17
|
+
```
|
18
|
+
|
19
|
+
Print all HTML/JS/CSS pages
|
20
|
+
```
|
21
|
+
$ spidr --content-types=html,javascript,css https://jacoburenstam.com/
|
22
|
+
```
|
23
|
+
|
24
|
+
Max 10 pages
|
25
|
+
```
|
26
|
+
$ spidr --limit=10 https://jacoburenstam.com/
|
27
|
+
```
|
28
|
+
|
29
|
+
Spidr host
|
30
|
+
```
|
31
|
+
$ spidr host jacoburenstam.com
|
32
|
+
```
|
33
|
+
|
34
|
+
Spidr a single site (this is the default)
|
35
|
+
```
|
36
|
+
$ spidr site https://jacoburenstam.com
|
37
|
+
```
|
38
|
+
|
39
|
+
Start spidr from URL
|
40
|
+
```
|
41
|
+
$ spidr start_at https://jacoburenstam.com
|
42
|
+
```
|
43
|
+
|
44
|
+
Any method that [`Spidr::Page`](https://github.com/postmodern/spidr/blob/master/lib/spidr/page.rb) responds to you can output, you can also choose to include the header in the output (which is valid CSV)
|
45
|
+
```
|
46
|
+
$ spidr --columns=code,content_type,url \
|
47
|
+
--header \
|
48
|
+
https://jacoburenstam.com/
|
49
|
+
```
|
50
|
+
|
51
|
+
Full usage instructions
|
52
|
+
|
53
|
+
```
|
54
|
+
Usage: spidr [<strategy>] [options] <url>
|
55
|
+
--columns=[val1,val2] Columns in output
|
56
|
+
--content-types=[val1,val2] Formats to output (html, javascript, css, json, ..)
|
57
|
+
--[no-]header Include the header
|
58
|
+
--ports=[80, 443] Only spider links on certain ports
|
59
|
+
--ignore-ports=[8000, 8080, 3000]
|
60
|
+
Do not spider links on certain ports
|
61
|
+
--links=[/blog/] Only spider links on certain link patterns
|
62
|
+
--ignore-links=[/blog/] Do not spider links on certain link patterns
|
63
|
+
--urls=[/blog/] Only spider links on certain urls
|
64
|
+
--ignore-urls=[/blog/] Do not spider links on certain urls
|
65
|
+
--exts=[htm] Only spider links on certain extensions
|
66
|
+
--ignore-exts=[cfm] Do not spider links on certain extensions
|
67
|
+
--open-timeout=val Optional open timeout
|
68
|
+
--read-timeout=val Optional read timeout
|
69
|
+
--ssl-timeout=val Optional ssl timeout
|
70
|
+
--continue-timeout=val Optional continue timeout
|
71
|
+
--keep-alive-timeout=val Optional keep_alive timeout
|
72
|
+
--proxy-host=val The host the proxy is running on
|
73
|
+
--proxy-port=val The port the proxy is running on
|
74
|
+
--proxy-user=val The user to authenticate as with the proxy
|
75
|
+
--proxy-password=val The password to authenticate with
|
76
|
+
--default-headers=[key1=val1,key2=val2]
|
77
|
+
Default headers to set for every request
|
78
|
+
--host-header=val The HTTP Host header to use with each request
|
79
|
+
--host-headers=[key1=val1,key2=val2]
|
80
|
+
The HTTP Host headers to use for specific hosts
|
81
|
+
--user-agent=val The User-Agent string to send with each requests
|
82
|
+
--referer=val The Referer URL to send with each request
|
83
|
+
--delay=val The number of seconds to pause between each request
|
84
|
+
--queue=[val1,val2] The initial queue of URLs to visit
|
85
|
+
--history=[val1,val2] The initial list of visited URLs
|
86
|
+
--limit=val The maximum number of pages to visit
|
87
|
+
--max-depth=val The maximum link depth to follow
|
88
|
+
--[no-]robots Respect Robots.txt
|
89
|
+
-h, --help How to use
|
90
|
+
--version Show version
|
91
|
+
```
|
92
|
+
|
93
|
+
## Development
|
94
|
+
|
95
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
96
|
+
|
97
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
98
|
+
|
99
|
+
## Contributing
|
100
|
+
|
101
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/buren/spidr_cli.
|
102
|
+
|
103
|
+
## License
|
104
|
+
|
105
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
106
|
+
|
107
|
+
## Thanks
|
108
|
+
|
109
|
+
Huge thanks to [@postmodern](https://github.com/postmodern) for creating [`spidr`](https://github.com/postmodern/spidr) :star:
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'spidr_cli'
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require 'irb'
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/exe/spidr
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# for dev purposes
|
4
|
+
if ENV['SPIDR_CLI_GEM_DEV']
|
5
|
+
puts '[WARN] spidr_cli loaded in development mode'
|
6
|
+
require 'bundler/setup'
|
7
|
+
end
|
8
|
+
|
9
|
+
require 'spidr'
|
10
|
+
require 'spidr_cli/options'
|
11
|
+
|
12
|
+
require 'csv'
|
13
|
+
require 'optparse'
|
14
|
+
|
15
|
+
options = SpidrCLI::Options.new(ARGV)
|
16
|
+
start_at = options.url
|
17
|
+
header = options.header
|
18
|
+
columns = options.columns
|
19
|
+
content_types = options.content_types
|
20
|
+
spidr_method = options.spidr_method
|
21
|
+
spidr_options = options.spidr_options
|
22
|
+
|
23
|
+
start_at = options.url
|
24
|
+
if start_at.nil? || start_at.empty?
|
25
|
+
puts options.usage_doc
|
26
|
+
raise(ArgumentError, "<url> can't be blank")
|
27
|
+
end
|
28
|
+
|
29
|
+
# main
|
30
|
+
puts CSV.generate_line(columns) if header
|
31
|
+
Spidr.public_send(spidr_method, start_at, spidr_options) do |spider|
|
32
|
+
spider.every_page do |page|
|
33
|
+
next if content_types && content_types.all? { |type| !page.is_content_type?(type) }
|
34
|
+
|
35
|
+
row = columns.map { |column| page.public_send(column) }
|
36
|
+
puts CSV.generate_line(row)
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,201 @@
|
|
1
|
+
require 'optparse'
|
2
|
+
|
3
|
+
module SpidrCLI
|
4
|
+
class Options
|
5
|
+
# Spidr method
|
6
|
+
METHODS = %w[site start_at host].map { |c| [c, c] }.to_h.freeze
|
7
|
+
|
8
|
+
attr_reader :url, :columns, :content_types, :header, :spidr_options, :usage_doc,
|
9
|
+
:spidr_method
|
10
|
+
|
11
|
+
def initialize(argv = ARGV)
|
12
|
+
@url = nil
|
13
|
+
@columns = %w[url]
|
14
|
+
@content_types = nil
|
15
|
+
@header = false
|
16
|
+
@usage_doc = nil
|
17
|
+
@spidr_method = 'site'
|
18
|
+
@spidr_options = {}
|
19
|
+
|
20
|
+
parse_options(argv)
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
def parse_options(argv)
|
26
|
+
proxy_options = {}
|
27
|
+
@spidr_method = METHODS[argv.first] if METHODS.key?(argv.first)
|
28
|
+
|
29
|
+
OptionParser.new do |parser|
|
30
|
+
@usage_doc = parser.to_s
|
31
|
+
|
32
|
+
parser.banner = 'Usage: spidr [<method>] [options] <url>'
|
33
|
+
parser.default_argv = argv
|
34
|
+
|
35
|
+
parser.on('--columns=[val1,val2]', Array, 'Columns in output') do |value|
|
36
|
+
@columns = value || columns
|
37
|
+
end
|
38
|
+
|
39
|
+
parser.on('--content-types=[val1,val2]', Array, 'Formats to output (html, javascript, css, json, ..)') do |value|
|
40
|
+
@content_types = value
|
41
|
+
end
|
42
|
+
|
43
|
+
parser.on('--[no-]header', 'Include the header') do |value|
|
44
|
+
@header = value
|
45
|
+
end
|
46
|
+
|
47
|
+
# Spidr::Rules options
|
48
|
+
|
49
|
+
# NOTE: --hosts and --ignore-hosts are overriden when using Spidr::site
|
50
|
+
# @see https://github.com/postmodern/spidr/blob/master/lib/spidr/agent.rb#L273
|
51
|
+
# parser.on('--hosts=[example.com]', Array, 'Only spider links on certain hosts') do |value|
|
52
|
+
# spidr_options[:hosts] = value.map { |v| Regexp.new(v) } if value
|
53
|
+
# end
|
54
|
+
#
|
55
|
+
# parser.on('--ignore-hosts=[www.example.com]', Array, 'Do not spider links on certain hosts') do |value|
|
56
|
+
# spidr_options[:ignore_hosts] = value.map { |v| Regexp.new(v) } if value
|
57
|
+
# end
|
58
|
+
|
59
|
+
parser.on('--ports=[80, 443]', Array, 'Only spider links on certain ports') do |value|
|
60
|
+
spidr_options[:ports] = to_option_int_array(value) if value
|
61
|
+
end
|
62
|
+
|
63
|
+
parser.on('--ignore-ports=[8000, 8080, 3000]', Array, 'Do not spider links on certain ports') do |value|
|
64
|
+
spidr_options[:ignore_ports] = to_option_int_array(value) if value
|
65
|
+
end
|
66
|
+
|
67
|
+
parser.on('--links=[/blog/]', Array, 'Only spider links on certain link patterns') do |value|
|
68
|
+
spidr_options[:links] = to_option_regexp_array(value) if value
|
69
|
+
end
|
70
|
+
|
71
|
+
parser.on('--ignore-links=[/blog/]', Array, 'Do not spider links on certain link patterns') do |value|
|
72
|
+
spidr_options[:ignore_links] = to_option_regexp_array(value) if value
|
73
|
+
end
|
74
|
+
|
75
|
+
parser.on('--urls=[/blog/]', Array, 'Only spider links on certain urls') do |value|
|
76
|
+
spidr_options[:urls] = to_option_regexp_array(value) if value
|
77
|
+
end
|
78
|
+
|
79
|
+
parser.on('--ignore-urls=[/blog/]', Array, 'Do not spider links on certain urls') do |value|
|
80
|
+
spidr_options[:ignore_urls] = to_option_regexp_array(value) if value
|
81
|
+
end
|
82
|
+
|
83
|
+
parser.on('--exts=[htm]', Array, 'Only spider links on certain extensions') do |value|
|
84
|
+
spidr_options[:exts] = to_option_regexp_array(value) if value
|
85
|
+
end
|
86
|
+
|
87
|
+
parser.on('--ignore-exts=[cfm]', Array, 'Do not spider links on certain extensions') do |value|
|
88
|
+
spidr_options[:ignore_exts] = to_option_regexp_array(value) if value
|
89
|
+
end
|
90
|
+
|
91
|
+
# Spidr::Agent options
|
92
|
+
parser.on('--open-timeout=val', Integer, 'Optional open timeout') do |value|
|
93
|
+
spidr_options[:open_timeout] = value
|
94
|
+
end
|
95
|
+
|
96
|
+
parser.on('--read-timeout=val', Integer, 'Optional read timeout') do |value|
|
97
|
+
spidr_options[:read_timeout] = value
|
98
|
+
end
|
99
|
+
|
100
|
+
parser.on('--ssl-timeout=val', Integer, 'Optional ssl timeout') do |value|
|
101
|
+
spidr_options[:ssl_timeout] = value
|
102
|
+
end
|
103
|
+
|
104
|
+
parser.on('--continue-timeout=val', Integer, 'Optional continue timeout') do |value|
|
105
|
+
spidr_options[:continue_timeout] = value
|
106
|
+
end
|
107
|
+
|
108
|
+
parser.on('--keep-alive-timeout=val', Integer, 'Optional keep_alive timeout') do |value|
|
109
|
+
spidr_options[:keep_alive_timeout] = value
|
110
|
+
end
|
111
|
+
|
112
|
+
parser.on('--proxy-host=val', String, 'The host the proxy is running on') do |value|
|
113
|
+
proxy_options[:host] = value
|
114
|
+
end
|
115
|
+
|
116
|
+
parser.on('--proxy-port=val', Integer, 'The port the proxy is running on') do |value|
|
117
|
+
proxy_options[:port] = value
|
118
|
+
end
|
119
|
+
|
120
|
+
parser.on('--proxy-user=val', String, 'The user to authenticate as with the proxy') do |value|
|
121
|
+
proxy_options[:user] = value
|
122
|
+
end
|
123
|
+
|
124
|
+
parser.on('--proxy-password=val', String, 'The password to authenticate with') do |value|
|
125
|
+
proxy_options[:password] = value
|
126
|
+
end
|
127
|
+
|
128
|
+
parser.on('--default-headers=[key1=val1,key2=val2]', Array, 'Default headers to set for every request') do |value|
|
129
|
+
spidr_options[:default_headers] = option_hash(value || [])
|
130
|
+
end
|
131
|
+
|
132
|
+
parser.on('--host-header=val', String, 'The HTTP Host header to use with each request') do |value|
|
133
|
+
spidr_options[:host_header] = value
|
134
|
+
end
|
135
|
+
|
136
|
+
parser.on('--host-headers=[key1=val1,key2=val2]', Array, 'The HTTP Host headers to use for specific hosts') do |value|
|
137
|
+
spidr_options[:host_headers] = option_hash(value || [])
|
138
|
+
end
|
139
|
+
|
140
|
+
parser.on('--user-agent=val', String, 'The User-Agent string to send with each requests') do |value|
|
141
|
+
spidr_options[:user_agent] = value
|
142
|
+
end
|
143
|
+
|
144
|
+
parser.on('--referer=val', String, 'The Referer URL to send with each request') do |value|
|
145
|
+
spidr_options[:referer] = value
|
146
|
+
end
|
147
|
+
|
148
|
+
parser.on('--delay=val', Integer, 'The number of seconds to pause between each request') do |value|
|
149
|
+
spidr_options[:delay] = value
|
150
|
+
end
|
151
|
+
|
152
|
+
parser.on('--queue=[val1,val2]', Array, 'The initial queue of URLs to visit') do |value|
|
153
|
+
spidr_options[:queue] = value
|
154
|
+
end
|
155
|
+
|
156
|
+
parser.on('--history=[val1,val2]', Array, 'The initial list of visited URLs') do |value|
|
157
|
+
spidr_options[:history] = value
|
158
|
+
end
|
159
|
+
|
160
|
+
parser.on('--limit=val', Integer, 'The maximum number of pages to visit') do |value|
|
161
|
+
spidr_options[:limit] = value
|
162
|
+
end
|
163
|
+
|
164
|
+
parser.on('--max-depth=val', Integer, 'The maximum link depth to follow') do |value|
|
165
|
+
spidr_options[:max_depth] = value
|
166
|
+
end
|
167
|
+
|
168
|
+
parser.on('--[no-]robots', 'Respect Robots.txt') do |value|
|
169
|
+
spidr_options[:robots] = value
|
170
|
+
end
|
171
|
+
|
172
|
+
# Boilerplate CLI
|
173
|
+
parser.on('-h', '--help', 'How to use') do
|
174
|
+
puts parser
|
175
|
+
exit
|
176
|
+
end
|
177
|
+
|
178
|
+
parser.on_tail('--version', 'Show version') do
|
179
|
+
puts "Spidr version #{Spidr::VERSION}"
|
180
|
+
exit
|
181
|
+
end
|
182
|
+
end.parse!
|
183
|
+
|
184
|
+
spidr_options[:proxy] = proxy_options unless proxy_options.empty?
|
185
|
+
|
186
|
+
@url = argv.last
|
187
|
+
end
|
188
|
+
|
189
|
+
def to_option_int_array(value)
|
190
|
+
value.map { |v| Integer(v) }
|
191
|
+
end
|
192
|
+
|
193
|
+
def to_option_regexp_array(value)
|
194
|
+
value.map { |v| Regexp.new(v) }
|
195
|
+
end
|
196
|
+
|
197
|
+
def option_hash(value)
|
198
|
+
value.map { |v| v.split('=') }.to_h
|
199
|
+
end
|
200
|
+
end
|
201
|
+
end
|
data/lib/spidr_cli.rb
ADDED
data/spidr_cli.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path('lib', __dir__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'spidr_cli/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'spidr_cli'
|
8
|
+
spec.version = SpidrCLI::VERSION
|
9
|
+
spec.authors = ['Jacob Burenstam']
|
10
|
+
spec.email = ['burenstam@gmail.com']
|
11
|
+
|
12
|
+
spec.summary = 'CLI for the spidr gem'
|
13
|
+
spec.description = 'Command Line Interface (CLI) for the spidr gem.'
|
14
|
+
spec.homepage = 'https://github.com/buren/spidr_cli'
|
15
|
+
spec.license = 'MIT'
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
+
f.match(%r{^(test|spec|features)/})
|
19
|
+
end
|
20
|
+
spec.bindir = 'exe'
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
+
spec.require_paths = ['lib']
|
23
|
+
|
24
|
+
spec.add_dependency 'spidr', '~> 0.6'
|
25
|
+
|
26
|
+
spec.add_development_dependency 'bundler', '~> 1.16'
|
27
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
28
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
29
|
+
spec.add_development_dependency 'byebug', '~> 9.0'
|
30
|
+
spec.add_development_dependency 'simplecov'
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,143 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: spidr_cli
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jacob Burenstam
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-06-30 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: spidr
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.6'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.16'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: byebug
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '9.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '9.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: Command Line Interface (CLI) for the spidr gem.
|
98
|
+
email:
|
99
|
+
- burenstam@gmail.com
|
100
|
+
executables:
|
101
|
+
- spidr
|
102
|
+
extensions: []
|
103
|
+
extra_rdoc_files: []
|
104
|
+
files:
|
105
|
+
- ".gitignore"
|
106
|
+
- ".rspec"
|
107
|
+
- ".travis.yml"
|
108
|
+
- Gemfile
|
109
|
+
- LICENSE.txt
|
110
|
+
- README.md
|
111
|
+
- Rakefile
|
112
|
+
- bin/console
|
113
|
+
- bin/setup
|
114
|
+
- exe/spidr
|
115
|
+
- lib/spidr_cli.rb
|
116
|
+
- lib/spidr_cli/options.rb
|
117
|
+
- lib/spidr_cli/version.rb
|
118
|
+
- spidr_cli.gemspec
|
119
|
+
homepage: https://github.com/buren/spidr_cli
|
120
|
+
licenses:
|
121
|
+
- MIT
|
122
|
+
metadata: {}
|
123
|
+
post_install_message:
|
124
|
+
rdoc_options: []
|
125
|
+
require_paths:
|
126
|
+
- lib
|
127
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
requirements: []
|
138
|
+
rubyforge_project:
|
139
|
+
rubygems_version: 2.7.6
|
140
|
+
signing_key:
|
141
|
+
specification_version: 4
|
142
|
+
summary: CLI for the spidr gem
|
143
|
+
test_files: []
|