nexpose_servicenow 0.6.2 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/nexpose_servicenow.rb +58 -91
- data/lib/nexpose_servicenow/arg_parser.rb +80 -75
- data/lib/nexpose_servicenow/chunker.rb +0 -1
- data/lib/nexpose_servicenow/csv_compare.rb +17 -0
- data/lib/nexpose_servicenow/helpers/connection_helper.rb +79 -0
- data/lib/nexpose_servicenow/helpers/data_warehouse_helper.rb +134 -0
- data/lib/nexpose_servicenow/{nexpose_helper.rb → helpers/nexpose_console_helper.rb} +32 -85
- data/lib/nexpose_servicenow/historical_data.rb +46 -355
- data/lib/nexpose_servicenow/{queries.rb → queries/nexpose_queries.rb} +61 -90
- data/lib/nexpose_servicenow/queries/queries_base.rb +25 -0
- data/lib/nexpose_servicenow/queries/warehouse_queries.rb +330 -0
- data/lib/nexpose_servicenow/version.rb +1 -1
- data/nexpose_servicenow.gemspec +14 -11
- metadata +27 -6
data/nexpose_servicenow.gemspec
CHANGED
@@ -4,32 +4,35 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'nexpose_servicenow/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = 'nexpose_servicenow'
|
8
8
|
spec.version = NexposeServiceNow::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
9
|
+
spec.authors = ['David Valente']
|
10
|
+
spec.email = ['david_valente@rapid7.com']
|
11
11
|
|
12
|
-
spec.require_paths = [
|
12
|
+
spec.require_paths = ['lib']
|
13
13
|
spec.summary = %Q{Gem for Nexpose-ServiceNow integration.}
|
14
14
|
spec.description = %Q{Provides an interface to Nexpose for the Rapid7 ServiceNow MarketPlace application.}
|
15
|
-
spec.executables = [
|
16
|
-
spec.homepage =
|
17
|
-
spec.license =
|
15
|
+
spec.executables = ['nexpose_servicenow']
|
16
|
+
spec.homepage = 'http://www.rapid7.com'
|
17
|
+
spec.license = 'MIT'
|
18
18
|
|
19
19
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
20
20
|
# delete this section to allow pushing this gem to any host.
|
21
21
|
if spec.respond_to?(:metadata)
|
22
|
-
spec.metadata['allowed_push_host'] =
|
22
|
+
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
23
23
|
else
|
24
|
-
raise
|
24
|
+
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.'
|
25
25
|
end
|
26
26
|
|
27
27
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
28
|
-
spec.bindir =
|
29
|
-
spec.require_paths = [
|
28
|
+
spec.bindir = 'bin'
|
29
|
+
spec.require_paths = ['lib']
|
30
30
|
|
31
31
|
spec.add_development_dependency 'bundler', '~> 1.11'
|
32
32
|
spec.add_development_dependency 'rake', '~> 10.0'
|
33
33
|
spec.add_dependency 'nexpose', '~> 3.2'
|
34
34
|
spec.add_dependency 'csv-diff', '~> 0.3.3'
|
35
|
+
spec.add_dependency 'pg', '~> 0.21.0'
|
36
|
+
|
37
|
+
spec.required_ruby_version = ['>= 2.1.5', '< 2.5.0']
|
35
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexpose_servicenow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Valente
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.3.3
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pg
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.21.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.21.0
|
69
83
|
description: Provides an interface to Nexpose for the Rapid7 ServiceNow MarketPlace
|
70
84
|
application.
|
71
85
|
email:
|
@@ -85,10 +99,14 @@ files:
|
|
85
99
|
- lib/nexpose_servicenow/arg_parser.rb
|
86
100
|
- lib/nexpose_servicenow/chunker.rb
|
87
101
|
- lib/nexpose_servicenow/csv_compare.rb
|
102
|
+
- lib/nexpose_servicenow/helpers/connection_helper.rb
|
103
|
+
- lib/nexpose_servicenow/helpers/data_warehouse_helper.rb
|
104
|
+
- lib/nexpose_servicenow/helpers/nexpose_console_helper.rb
|
88
105
|
- lib/nexpose_servicenow/historical_data.rb
|
89
|
-
- lib/nexpose_servicenow/nexpose_helper.rb
|
90
106
|
- lib/nexpose_servicenow/nx_logger.rb
|
91
|
-
- lib/nexpose_servicenow/queries.rb
|
107
|
+
- lib/nexpose_servicenow/queries/nexpose_queries.rb
|
108
|
+
- lib/nexpose_servicenow/queries/queries_base.rb
|
109
|
+
- lib/nexpose_servicenow/queries/warehouse_queries.rb
|
92
110
|
- lib/nexpose_servicenow/version.rb
|
93
111
|
- nexpose_servicenow.gemspec
|
94
112
|
homepage: http://www.rapid7.com
|
@@ -104,7 +122,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
104
122
|
requirements:
|
105
123
|
- - ">="
|
106
124
|
- !ruby/object:Gem::Version
|
107
|
-
version:
|
125
|
+
version: 2.1.5
|
126
|
+
- - "<"
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: 2.5.0
|
108
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
130
|
requirements:
|
110
131
|
- - ">="
|
@@ -112,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
133
|
version: '0'
|
113
134
|
requirements: []
|
114
135
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.
|
136
|
+
rubygems_version: 2.5.1
|
116
137
|
signing_key:
|
117
138
|
specification_version: 4
|
118
139
|
summary: Gem for Nexpose-ServiceNow integration.
|