metasploit_data_models 0.18.0 → 0.18.1
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 +8 -8
- data/config/initializers/arel_helper.rb +5 -0
- data/lib/metasploit_data_models.rb +5 -0
- data/lib/metasploit_data_models/version.rb +13 -1
- data/metasploit_data_models.gemspec +4 -1
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZmYwZGZmZjY0YTdlNzkxNzQyMTQzZTc0ZmNiNGI0NWMzZGFlYjg4Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWIxOTY3ZDJkMmJlNGM3NDMzNDJkYThjNzdmMDI2MDBhNDIyZGFkYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZGE3MGQ5YmQ3MTE1NDU0NDFjZDE0MDFmMDk5YmE1MDU3NGFhZjEwN2Y4YTcy
|
10
|
+
YWFmYWQ2NmRiNWNjNTM4NzQzYmVhYzUyM2VlMTVjNTA4NTA3ODA3YWFiZTU3
|
11
|
+
NDExMGFlNTM4N2QzM2Q4NTY2M2Y1NjE2NWU1NmYwODE0MTZmNDE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzQ3Zjc0MGVhYjFjY2Y1YTEyNzYzZDFhZjJlOTJlOTNmZDVhOGFkZTA0ZWU5
|
14
|
+
NjRlZTVlZjNjOTJlN2IyZjFmOWExZjg0YjY0NGRlZWE4OGQwNzYzZTNhYTk5
|
15
|
+
NjI5ZTEwYzJkMWEwYzlkYTVhMTAxZDU4NjA4NDg2MzJjNDcyM2U=
|
@@ -6,12 +6,17 @@ require 'shellwords'
|
|
6
6
|
#
|
7
7
|
# Gems
|
8
8
|
#
|
9
|
+
# gems must load explicitly any gem declared in gemspec
|
10
|
+
# @see https://github.com/bundler/bundler/issues/2018#issuecomment-6819359
|
11
|
+
#
|
12
|
+
#
|
9
13
|
require 'active_record'
|
10
14
|
require 'active_support'
|
11
15
|
require 'active_support/all'
|
12
16
|
require 'active_support/dependencies'
|
13
17
|
require 'metasploit/concern'
|
14
18
|
require 'metasploit/model'
|
19
|
+
require 'arel-helpers'
|
15
20
|
|
16
21
|
#
|
17
22
|
# Project
|
@@ -6,7 +6,7 @@ module MetasploitDataModels
|
|
6
6
|
# The minor version number, scoped to the {MAJOR} version number.
|
7
7
|
MINOR = 18
|
8
8
|
# The patch number, scoped to the {MINOR} version number.
|
9
|
-
PATCH =
|
9
|
+
PATCH = 1
|
10
10
|
|
11
11
|
# The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the {PRERELEASE} in the
|
12
12
|
# {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0} format.
|
@@ -22,8 +22,20 @@ module MetasploitDataModels
|
|
22
22
|
|
23
23
|
version
|
24
24
|
end
|
25
|
+
|
26
|
+
# The full gem version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the {PRERELEASE} in the
|
27
|
+
# {http://guides.rubygems.org/specification-reference/#version RubyGems versioning} format.
|
28
|
+
#
|
29
|
+
# @return [String] '{MAJOR}.{MINOR}.{PATCH}' on master. '{MAJOR}.{MINOR}.{PATCH}.{PRERELEASE}' on any branch
|
30
|
+
# other than master.
|
31
|
+
def self.gem
|
32
|
+
full.gsub('-', '.pre.')
|
33
|
+
end
|
25
34
|
end
|
26
35
|
|
36
|
+
# @see Version.gem
|
37
|
+
GEM_VERSION = Version.gem
|
38
|
+
|
27
39
|
# @see Version.full
|
28
40
|
VERSION = Version.full
|
29
41
|
end
|
@@ -4,7 +4,7 @@ require 'metasploit_data_models/version'
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = 'metasploit_data_models'
|
7
|
-
s.version = MetasploitDataModels::
|
7
|
+
s.version = MetasploitDataModels::GEM_VERSION
|
8
8
|
s.authors = [
|
9
9
|
'Samuel Huckins',
|
10
10
|
'Luke Imhoff',
|
@@ -41,6 +41,9 @@ Gem::Specification.new do |s|
|
|
41
41
|
s.add_runtime_dependency 'metasploit-concern', '~> 0.1.0'
|
42
42
|
s.add_runtime_dependency 'metasploit-model', '>= 0.25.1', '< 0.26'
|
43
43
|
|
44
|
+
# arel-helpers: Useful tools to help construct database queries with ActiveRecord and Arel.
|
45
|
+
s.add_runtime_dependency 'arel-helpers'
|
46
|
+
|
44
47
|
if RUBY_PLATFORM =~ /java/
|
45
48
|
# markdown formatting for yard
|
46
49
|
s.add_development_dependency 'kramdown'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit_data_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Huckins
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-07-
|
14
|
+
date: 2014-07-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rake
|
@@ -123,6 +123,20 @@ dependencies:
|
|
123
123
|
- - <
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '0.26'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: arel-helpers
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :runtime
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ! '>='
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
126
140
|
- !ruby/object:Gem::Dependency
|
127
141
|
name: redcarpet
|
128
142
|
requirement: !ruby/object:Gem::Requirement
|
@@ -236,6 +250,7 @@ files:
|
|
236
250
|
- app/validators/parameters_validator.rb
|
237
251
|
- app/validators/password_is_strong_validator.rb
|
238
252
|
- bin/mdm_console
|
253
|
+
- config/initializers/arel_helper.rb
|
239
254
|
- config/locales/en.yml
|
240
255
|
- console_db.yml
|
241
256
|
- db/migrate/000_create_tables.rb
|