owasp_zap 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e82081b66868c1f006c712852c66b9b78acda87b
4
- data.tar.gz: cdeea6c9b1c52ec4c3524f6c7b1f1096a546d226
3
+ metadata.gz: 6415cfc68c22461c5b18b2b7315511d7e64d9aa0
4
+ data.tar.gz: e0bbc86650835dae095481fa7576f79afa687063
5
5
  SHA512:
6
- metadata.gz: c68556cd341de88090187b32ff0af12c900c5e8142e63d9e272ee34a4d393d415fb51de575c95180cfb3f0637343fd7568ef350d3c5cfdcaa2451c2c09574fc8
7
- data.tar.gz: cea4bb9b16fded48a587444fa755c56b46dd56d8cf0f795de5cfa7c360dc9d1fa48ae1bb90c5dfee26ab7ab1162e12ee1a1463b98d3d8bc88f5446b52c26e9b0
6
+ metadata.gz: ff5f826fc805e9997b91b4283e2807fb5616d99f0ac538fdf2cb028b31b583023ae50ad482a255be2686df2473bea3cd5e31ec4b66babd69815f0063cd356bb3
7
+ data.tar.gz: 6f7a3e5418e33f26e99aa2ec36dcb4c4275d5be00d8b7bbb0a572afd702190af724a6769660a5971710f60df37d60876a7af639a03a92b3553e2c81d3678f517
@@ -1,3 +1,3 @@
1
1
  module OwaspZap
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
data/lib/owasp_zap.rb CHANGED
@@ -6,7 +6,6 @@ require "cgi"
6
6
  require_relative "owasp_zap/version"
7
7
  require_relative "owasp_zap/string_extension"
8
8
  require_relative "owasp_zap/spider"
9
- require_relative "owasp_zap/scan"
10
9
  require_relative "owasp_zap/attack"
11
10
  require_relative "owasp_zap/alert"
12
11
  require_relative "owasp_zap/auth"
data/spec/zap_spec.rb CHANGED
@@ -126,11 +126,6 @@ describe "status_for" do
126
126
  @h = Zap::Zap.new :target=>"http://127.0.0.1"
127
127
  stub_request(:get, "http://127.0.0.1:8080/JSON/spider/view/status/?zapapiformat=JSON").to_return(:status => 200, :body => {:status=>"100"}.to_json, :headers => {})
128
128
  stub_request(:get, "http://127.0.0.1:8080/JSON/ascan/view/status/?zapapiformat=JSON").to_return(:status => 200, :body => {:status=>"100"}.to_json, :headers => {})
129
- stub_request(:get, "http://127.0.0.1:8080/JSON/scan/view/status/?zapapiformat=JSON").to_return(:status => 200, :body => {:status=>"100"}.to_json, :headers => {})
130
- end
131
-
132
- it "should create a ascan" do
133
- @h.status_for(:scan).wont_be :nil?
134
129
  end
135
130
 
136
131
  it "should create a ascan" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: owasp_zap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pereira