metasploit-model 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 519db0e496006de97b485933109b516a41db09df
|
4
|
+
data.tar.gz: 1b1233f121bfad3dae1e50b566d831f4c14b4104
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8156cf5bd0866171c32254f599a9333af2272bfe8adf4ca4e15d54b91599541fc4a449e3475fd032340402122160c89730efc257373e738d7869a06075beb58
|
7
|
+
data.tar.gz: 2a66fdfb500d80a040b62cfadbff5508f69901cead9dfb87e8ac601b867755419ee6cefff528e6abb8139c6e1601e581645b1f232d315cd1d682f72af634ccdc
|
data/.travis.yml
CHANGED
@@ -4,9 +4,10 @@ cache: bundler
|
|
4
4
|
language: ruby
|
5
5
|
rvm:
|
6
6
|
- '2.1'
|
7
|
+
# JRuby failing for redcarpet and shoulda-matchers gems
|
7
8
|
# < 1.7.14
|
8
|
-
|
9
|
+
#- 'jruby-1.7.13'
|
9
10
|
# >= 1.7.14
|
10
|
-
|
11
|
+
#- 'jruby-1.7.14'
|
11
12
|
script: bundle exec rake spec yard
|
12
13
|
sudo: false
|
@@ -7,7 +7,7 @@ RSpec.describe Metasploit::Model::Search::Operation::Group::Base, type: :model d
|
|
7
7
|
|
8
8
|
context 'validations' do
|
9
9
|
context 'children' do
|
10
|
-
it { is_expected.to
|
10
|
+
it { is_expected.to validate_length_of(:children).is_at_least(1).with_short_message('is too short (minimum is 1 child)') }
|
11
11
|
|
12
12
|
context '#children_valid' do
|
13
13
|
subject(:children_valid) do
|
data/spec/spec_helper.rb
CHANGED
@@ -114,3 +114,12 @@ RSpec.configure do |config|
|
|
114
114
|
Metasploit::Model::Spec.remove_temporary_pathname
|
115
115
|
end
|
116
116
|
end
|
117
|
+
|
118
|
+
Shoulda::Matchers.configure do |config|
|
119
|
+
config.integrate do |with|
|
120
|
+
with.library :active_record
|
121
|
+
with.library :active_model
|
122
|
+
|
123
|
+
with.test_framework :rspec
|
124
|
+
end
|
125
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit-model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Imhoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|