pwn 0.5.460 → 0.5.461

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0fd4b3e503df4cf02f8ebfd3e74650492432f45621f08bd9b7089443dfa5e4c
4
- data.tar.gz: 0f98ea5d9af915e0cc094ec7659ddae8ce6ce17ef0bd95e11356b43e0832972b
3
+ metadata.gz: bb45913566f80b116f5e5417cc7bd0a8820f8b6b2f15502f7e56bd4ba02b497e
4
+ data.tar.gz: '075462589e7d596c8e92031e661b1e17ef8fb56120d34e370cf6d634e8f14593'
5
5
  SHA512:
6
- metadata.gz: 8dcbcb9f1f2b919dde7faad6bbfa922351013e0fc793de1d4953fb412b305fb654f9842dabdfce07f3fa2661e55402a23b12e091240318fa149c7c89821f32fe
7
- data.tar.gz: 7dd9700299cf76c776057f9b2c51ee7508d7301345e9ec52096cab4d7a8e41ee4300935b50e7fe9c630be3a53a7f35036f91246ffd7b70233b60be7d18965905
6
+ metadata.gz: a73a34aa2f16dab1cfc7b64a694f1568e6e06fc43ce393359cbdc29cf23b4c7b0d4039793f56c44c88a09bf010eb72263e7fc25155e7c7852e0841f5691ee57f
7
+ data.tar.gz: 8e4016fe8fdb0d230fc406f0850a041746526c2a065a58fc737eacd44eb0e5ec8febdf3d52b772b8841e1be6fb229c4e72a3deeca02a8bf6199ea960d996ff5f
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ cd /opt/pwn
37
37
  $ ./install.sh
38
38
  $ ./install.sh ruby-gem
39
39
  $ pwn
40
- pwn[v0.5.460]:001 >>> PWN.help
40
+ pwn[v0.5.461]:001 >>> PWN.help
41
41
  ```
42
42
 
43
43
  [![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](https://youtu.be/G7iLUY4FzsI)
@@ -52,7 +52,7 @@ $ rvm use ruby-3.4.4@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.5.460]:001 >>> PWN.help
55
+ pwn[v0.5.461]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
  If you're using a multi-user install of RVM do:
@@ -62,7 +62,7 @@ $ rvm use ruby-3.4.4@pwn
62
62
  $ rvmsudo gem uninstall --all --executables pwn
63
63
  $ rvmsudo gem install --verbose pwn
64
64
  $ pwn
65
- pwn[v0.5.460]:001 >>> PWN.help
65
+ pwn[v0.5.461]:001 >>> PWN.help
66
66
  ```
67
67
 
68
68
  PWN periodically upgrades to the latest version of Ruby which is reflected in `/opt/pwn/.ruby-version`. The easiest way to upgrade to the latest version of Ruby from a previous PWN installation is to run the following script:
@@ -405,7 +405,11 @@ module PWN
405
405
  epic_name = issue_data[:fields][epic_name_field_key.to_sym]
406
406
  end
407
407
  description = issue_data[:fields][:description]
408
- additional_fields = { fields: issue_data[:fields] }
408
+ # Filter out nil values from the additional fields
409
+ # which can be problematic during issue creation if
410
+ # custom fields aren't in the proper context.
411
+ filtered_fields = issue_data[:fields].compact
412
+ additional_fields = { fields: filtered_fields }
409
413
 
410
414
  create_issue(
411
415
  project_key: project_key,
data/lib/pwn/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.5.460'
4
+ VERSION = '0.5.461'
5
5
  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.5.460
4
+ version: 0.5.461
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.