Skip to content

Commit c2fb340

Browse files
Math deps update (#3827) (#3828)
1 parent cd75766 commit c2fb340

File tree

9 files changed

+22
-31
lines changed

9 files changed

+22
-31
lines changed

plugins/math/.CHECKSUM

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"spec": "9fe24e95d6576a095a2e1adf056cf828",
3-
"manifest": "faacb29b73a7b4033c810cc5e4307439",
4-
"setup": "1325863dd0ef91a9b2ecc365f4323855",
2+
"spec": "73ec3c782fc96aaefd6edec47a2ff202",
3+
"manifest": "04f27d63d557bc679409d23cfae0b11f",
4+
"setup": "4bd97aecec3e9524b9cc0a12dcfdbce6",
55
"schemas": [
66
{
77
"identifier": "calculate/schema.py",
8-
"hash": "8a13dc4ae78b927f810148473eb84d57"
8+
"hash": "488209c1d55a6e8ce927398e58582f1c"
99
},
1010
{
1111
"identifier": "max/schema.py",
12-
"hash": "9c8cf6859cb0679e871163c0b7556bb5"
12+
"hash": "b8bbe6c2e6fe58f103861c67785db4c2"
1313
},
1414
{
1515
"identifier": "connection/schema.py",
16-
"hash": "2a983a9b7aa5dd290ed28e0eb7e0c9c6"
16+
"hash": "bd524b567f9638ba1c6f7e0c9e45ff2e"
1717
}
1818
]
1919
}

plugins/math/bin/komand_math

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ from sys import argv
66

77
Name = "Math"
88
Vendor = "rapid7"
9-
Version = "1.2.7"
9+
Version = "1.2.8"
1010
Description = "This plugin allows basic arithmetic functions to be performed"
1111

1212

plugins/math/help.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ Example output:
112112

113113
# Version History
114114

115+
* 1.2.8 - Update dependencies
115116
* 1.2.7 - Updated SDK to the latest version (6.4.3)
116117
* 1.2.6 - Updated SDK to the latest version (6.3.10)
117118
* 1.2.5 - Updated SDK to the latest version (6.3.3)

plugins/math/komand_math/actions/calculate/schema.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ class Output:
1616

1717

1818
class CalculateInput(insightconnect_plugin_runtime.Input):
19-
schema = json.loads(
20-
r"""
19+
schema = json.loads(r"""
2120
{
2221
"type": "object",
2322
"title": "Variables",
@@ -34,16 +33,14 @@ class CalculateInput(insightconnect_plugin_runtime.Input):
3433
],
3534
"definitions": {}
3635
}
37-
"""
38-
)
36+
""")
3937

4038
def __init__(self):
4139
super(self.__class__, self).__init__(self.schema)
4240

4341

4442
class CalculateOutput(insightconnect_plugin_runtime.Output):
45-
schema = json.loads(
46-
r"""
43+
schema = json.loads(r"""
4744
{
4845
"type": "object",
4946
"title": "Variables",
@@ -60,8 +57,7 @@ class CalculateOutput(insightconnect_plugin_runtime.Output):
6057
],
6158
"definitions": {}
6259
}
63-
"""
64-
)
60+
""")
6561

6662
def __init__(self):
6763
super(self.__class__, self).__init__(self.schema)

plugins/math/komand_math/actions/max/schema.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ class Output:
1616

1717

1818
class MaxInput(insightconnect_plugin_runtime.Input):
19-
schema = json.loads(
20-
r"""
19+
schema = json.loads(r"""
2120
{
2221
"type": "object",
2322
"title": "Variables",
@@ -37,16 +36,14 @@ class MaxInput(insightconnect_plugin_runtime.Input):
3736
],
3837
"definitions": {}
3938
}
40-
"""
41-
)
39+
""")
4240

4341
def __init__(self):
4442
super(self.__class__, self).__init__(self.schema)
4543

4644

4745
class MaxOutput(insightconnect_plugin_runtime.Output):
48-
schema = json.loads(
49-
r"""
46+
schema = json.loads(r"""
5047
{
5148
"type": "object",
5249
"title": "Variables",
@@ -63,8 +60,7 @@ class MaxOutput(insightconnect_plugin_runtime.Output):
6360
],
6461
"definitions": {}
6562
}
66-
"""
67-
)
63+
""")
6864

6965
def __init__(self):
7066
super(self.__class__, self).__init__(self.schema)

plugins/math/komand_math/connection/schema.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@ class Input:
88

99

1010
class ConnectionSchema(insightconnect_plugin_runtime.Input):
11-
schema = json.loads(
12-
r"""
11+
schema = json.loads(r"""
1312
{}
14-
"""
15-
)
13+
""")
1614

1715
def __init__(self):
1816
super(self.__class__, self).__init__(self.schema)

plugins/math/plugin.spec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ products: [insightconnect]
44
name: math
55
title: Math
66
description: This plugin allows basic arithmetic functions to be performed
7-
version: 1.2.7
7+
version: 1.2.8
88
connection_version: 1
99
vendor: rapid7
1010
support: community
@@ -32,6 +32,7 @@ key_features:
3232
- Math operations module and exponents
3333
- Math Division and multiplication, addition and subtraction
3434
version_history:
35+
- 1.2.8 - Update dependencies
3536
- 1.2.7 - Updated SDK to the latest version (6.4.3)
3637
- 1.2.6 - Updated SDK to the latest version (6.3.10)
3738
- 1.2.5 - Updated SDK to the latest version (6.3.3)

plugins/math/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# List third-party dependencies here, separated by newlines.
22
# All dependencies must be version-pinned, eg. requests==1.2.0
33
# See: https://pip.pypa.io/en/stable/user_guide/#requirements-files
4-
simpleeval==1.0.3
4+
simpleeval==1.0.7
55
parameterized==0.9.0

plugins/math/setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# GENERATED BY INSIGHT-PLUGIN - DO NOT EDIT
22
from setuptools import setup, find_packages
33

4-
54
setup(
65
name="math-rapid7-plugin",
7-
version="1.2.7",
6+
version="1.2.8",
87
description="This plugin allows basic arithmetic functions to be performed",
98
author="rapid7",
109
author_email="",

0 commit comments

Comments
 (0)