pwn 0.4.627 → 0.4.628
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/README.md +2 -2
- data/lib/pwn/version.rb +1 -1
- data/pwn.gemspec +2 -2
- data/spec/lib/pwn/version_spec.rb +17 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd0eb23dc77cf549bb91a2eb77c7d7066c3c15e5b7b08e62d0e11bc871c43ae9
|
|
4
|
+
data.tar.gz: cce7e0bd835f44f93d3313effc2bc9525fd72413a9e57b344bec6fb43e52f954
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac0068ed0b8974382f87b2fa390fb73738621af47baaef01bac90f9ea7487acc761ae3d79dff401c8f53242465784f3f48fbeb38a68eae9998a530dbb2f0a756
|
|
7
|
+
data.tar.gz: db12e6b339a2722e9fc57f32d4b56c214c58e382abe1d7e519e7b541314ea2bb9692afde6a23e6b2bc73881b86815ccb155b566bbb1bdf7cd06191ed3ab69af5
|
data/README.md
CHANGED
|
@@ -37,7 +37,7 @@ $ rvm use ruby-ruby-3.2.1@pwn
|
|
|
37
37
|
$ rvm list gemsets
|
|
38
38
|
$ gem install --verbose pwn
|
|
39
39
|
$ pwn
|
|
40
|
-
pwn[v0.4.
|
|
40
|
+
pwn[v0.4.628]:001 >>> PWN.help
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
[](https://youtu.be/G7iLUY4FzsI)
|
|
@@ -52,7 +52,7 @@ $ rvm use ruby-ruby-3.2.1@pwn
|
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
|
53
53
|
$ gem install --verbose pwn
|
|
54
54
|
$ pwn
|
|
55
|
-
pwn[v0.4.
|
|
55
|
+
pwn[v0.4.628]:001 >>> PWN.help
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
|
data/lib/pwn/version.rb
CHANGED
data/pwn.gemspec
CHANGED
|
@@ -27,12 +27,12 @@ Gem::Specification.new do |spec|
|
|
|
27
27
|
|
|
28
28
|
missing_rspec = false
|
|
29
29
|
pwn_modules.each do |pwn_path|
|
|
30
|
-
spec_test_for_mod = "#{File.basename(pwn_path).split('.').first}_spec.rb"
|
|
30
|
+
spec_test_for_mod = "#{File.dirname(pwn_path)}/#{File.basename(pwn_path).split('.').first}_spec.rb"
|
|
31
31
|
next unless spec_tests.grep(/#{spec_test_for_mod}/).empty?
|
|
32
32
|
|
|
33
33
|
missing_rspec = true
|
|
34
34
|
pwn_mod_dir = File.dirname(pwn_path)
|
|
35
|
-
spec_test = "
|
|
35
|
+
spec_test = "spec/#{pwn_mod_dir}/#{spec_test_for_mod}"
|
|
36
36
|
error_msg = "ERROR: RSpec: #{spec_test} missing for PWN Module: #{pwn_path}"
|
|
37
37
|
# Display error message in red (octal encoded ansi sequence)
|
|
38
38
|
puts "\001\e[1m\002\001\e[31m\002#{error_msg}\001\e[0m\002"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'spec_helper'
|
|
4
|
+
|
|
5
|
+
describe PWN::VERSION do
|
|
6
|
+
it 'is defined' do
|
|
7
|
+
expect(PWN::VERSION).not_to be_nil
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
it 'is a string' do
|
|
11
|
+
expect(PWN::VERSION).to be_a(String)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
it 'matches the expected pattern' do
|
|
15
|
+
expect(PWN::VERSION).to match(/\d+\.\d+\.\d+/)
|
|
16
|
+
end
|
|
17
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pwn
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.628
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 0day Inc.
|
|
@@ -2026,6 +2026,7 @@ files:
|
|
|
2026
2026
|
- spec/lib/pwn/sast/version_spec.rb
|
|
2027
2027
|
- spec/lib/pwn/sast/window_location_hash_spec.rb
|
|
2028
2028
|
- spec/lib/pwn/sast_spec.rb
|
|
2029
|
+
- spec/lib/pwn/version_spec.rb
|
|
2029
2030
|
- spec/lib/pwn/www/app_cobalt_io_spec.rb
|
|
2030
2031
|
- spec/lib/pwn/www/bing_spec.rb
|
|
2031
2032
|
- spec/lib/pwn/www/bug_crowd_spec.rb
|