rex-text 0.2.30 → 0.2.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rex/text/version.rb +1 -1
- data/lib/rex/text/wrapped_table.rb +2 -2
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc3f5972bce19ad0b1a5ab050f8c62569c1fa1f3c908e45375931162669f4f01
|
4
|
+
data.tar.gz: dc3153b93bf21e9e22f22fdbc03b93d2ae463262e3120923c1d4c026b8f86c7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70f4feea7593986c49b3ddb8a3429173439d6627ee28df467788c50c6ec22322141fcc6bacbdbe4cdfbdf4a2c0dfd19dbe924e5c1f177dda039893fbddc7f18d
|
7
|
+
data.tar.gz: db3830148bb8f2febbf15e1ea585a5e3e2c7bf236ec4397b9be87ecbd3dfbc458fdd924523e610b7290472dfca4e822f4629fc7d2654bbd1a9d8091eca37d05b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rex/text/version.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# -*- coding: binary -*-
|
2
2
|
require 'ipaddr'
|
3
3
|
require 'io/console'
|
4
|
+
require 'bigdecimal'
|
4
5
|
|
5
6
|
module Rex
|
6
7
|
module Text
|
@@ -70,8 +71,7 @@ class WrappedTable
|
|
70
71
|
# updated below if we got a "Rows" option
|
71
72
|
self.rows = []
|
72
73
|
|
73
|
-
|
74
|
-
self.width = opts['Width'] || ::IO.console.winsize[1]
|
74
|
+
self.width = opts['Width'] || ::IO.console&.winsize&.[](1) || ::BigDecimal::INFINITY
|
75
75
|
self.indent = opts['Indent'] || 0
|
76
76
|
self.cellpad = opts['CellPad'] || 2
|
77
77
|
self.prefix = opts['Prefix'] || ''
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rex-text
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Metasploit Hackers
|
@@ -93,7 +93,7 @@ cert_chain:
|
|
93
93
|
EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
|
94
94
|
9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
|
95
95
|
-----END CERTIFICATE-----
|
96
|
-
date: 2021-01-
|
96
|
+
date: 2021-01-19 00:00:00.000000000 Z
|
97
97
|
dependencies:
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: rake
|
metadata.gz.sig
CHANGED
Binary file
|