site-inspector 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/.travis.yml +4 -1
- data/README.md +11 -2
- data/lib/site-inspector/checks/accessibility.rb +114 -0
- data/lib/site-inspector/checks/check.rb +4 -0
- data/lib/site-inspector/checks/content.rb +6 -5
- data/lib/site-inspector/checks/cookies.rb +45 -0
- data/lib/site-inspector/checks/headers.rb +0 -16
- data/lib/site-inspector/checks/sniffer.rb +28 -6
- data/lib/site-inspector/disk_cache.rb +3 -1
- data/lib/site-inspector/domain.rb +28 -10
- data/lib/site-inspector/endpoint.rb +5 -8
- data/lib/site-inspector/version.rb +1 -1
- data/lib/site-inspector.rb +5 -1
- data/package.json +23 -0
- data/script/bootstrap +1 -0
- data/script/cibuild +2 -0
- data/site-inspector.gemspec +3 -2
- data/spec/checks/site_inspector_endpoint_accessibility_spec.rb +81 -0
- data/spec/checks/site_inspector_endpoint_check_spec.rb +4 -0
- data/spec/checks/site_inspector_endpoint_content_spec.rb +20 -2
- data/spec/checks/site_inspector_endpoint_cookies_spec.rb +72 -0
- data/spec/checks/site_inspector_endpoint_headers_spec.rb +0 -10
- data/spec/checks/site_inspector_endpoint_sniffer_spec.rb +99 -37
- data/spec/{site_inspector_disc_cache_spec.rb → site_inspector_disk_cache_spec.rb} +13 -7
- data/spec/site_inspector_domain_spec.rb +28 -6
- data/spec/site_inspector_endpoint_spec.rb +32 -11
- data/spec/site_inspector_spec.rb +1 -1
- metadata +27 -6
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: site-inspector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Balter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -136,6 +136,20 @@ dependencies:
|
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0.1'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: cliver
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.3'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.3'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: pry
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -226,8 +240,10 @@ files:
|
|
226
240
|
- lib/data/cloud.yml
|
227
241
|
- lib/site-inspector.rb
|
228
242
|
- lib/site-inspector/cache.rb
|
243
|
+
- lib/site-inspector/checks/accessibility.rb
|
229
244
|
- lib/site-inspector/checks/check.rb
|
230
245
|
- lib/site-inspector/checks/content.rb
|
246
|
+
- lib/site-inspector/checks/cookies.rb
|
231
247
|
- lib/site-inspector/checks/dns.rb
|
232
248
|
- lib/site-inspector/checks/headers.rb
|
233
249
|
- lib/site-inspector/checks/hsts.rb
|
@@ -238,25 +254,28 @@ files:
|
|
238
254
|
- lib/site-inspector/endpoint.rb
|
239
255
|
- lib/site-inspector/rails_cache.rb
|
240
256
|
- lib/site-inspector/version.rb
|
257
|
+
- package.json
|
241
258
|
- script/bootstrap
|
242
259
|
- script/cibuild
|
243
260
|
- script/console
|
244
261
|
- script/release
|
245
262
|
- site-inspector.gemspec
|
263
|
+
- spec/checks/site_inspector_endpoint_accessibility_spec.rb
|
246
264
|
- spec/checks/site_inspector_endpoint_check_spec.rb
|
247
265
|
- spec/checks/site_inspector_endpoint_content_spec.rb
|
266
|
+
- spec/checks/site_inspector_endpoint_cookies_spec.rb
|
248
267
|
- spec/checks/site_inspector_endpoint_dns_spec.rb
|
249
268
|
- spec/checks/site_inspector_endpoint_headers_spec.rb
|
250
269
|
- spec/checks/site_inspector_endpoint_hsts_spec.rb
|
251
270
|
- spec/checks/site_inspector_endpoint_https_spec.rb
|
252
271
|
- spec/checks/site_inspector_endpoint_sniffer_spec.rb
|
253
272
|
- spec/site_inspector_cache_spec.rb
|
254
|
-
- spec/
|
273
|
+
- spec/site_inspector_disk_cache_spec.rb
|
255
274
|
- spec/site_inspector_domain_spec.rb
|
256
275
|
- spec/site_inspector_endpoint_spec.rb
|
257
276
|
- spec/site_inspector_spec.rb
|
258
277
|
- spec/spec_helper.rb
|
259
|
-
homepage: https://github.com/benbalter/site-inspector
|
278
|
+
homepage: https://github.com/benbalter/site-inspector
|
260
279
|
licenses:
|
261
280
|
- MIT
|
262
281
|
metadata: {}
|
@@ -279,17 +298,19 @@ rubyforge_project:
|
|
279
298
|
rubygems_version: 2.2.2
|
280
299
|
signing_key:
|
281
300
|
specification_version: 4
|
282
|
-
summary: A Ruby port and v2 of Site Inspector (
|
301
|
+
summary: A Ruby port and v2 of Site Inspector (https://github.com/benbalter/site-inspector)
|
283
302
|
test_files:
|
303
|
+
- spec/checks/site_inspector_endpoint_accessibility_spec.rb
|
284
304
|
- spec/checks/site_inspector_endpoint_check_spec.rb
|
285
305
|
- spec/checks/site_inspector_endpoint_content_spec.rb
|
306
|
+
- spec/checks/site_inspector_endpoint_cookies_spec.rb
|
286
307
|
- spec/checks/site_inspector_endpoint_dns_spec.rb
|
287
308
|
- spec/checks/site_inspector_endpoint_headers_spec.rb
|
288
309
|
- spec/checks/site_inspector_endpoint_hsts_spec.rb
|
289
310
|
- spec/checks/site_inspector_endpoint_https_spec.rb
|
290
311
|
- spec/checks/site_inspector_endpoint_sniffer_spec.rb
|
291
312
|
- spec/site_inspector_cache_spec.rb
|
292
|
-
- spec/
|
313
|
+
- spec/site_inspector_disk_cache_spec.rb
|
293
314
|
- spec/site_inspector_domain_spec.rb
|
294
315
|
- spec/site_inspector_endpoint_spec.rb
|
295
316
|
- spec/site_inspector_spec.rb
|