dap 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dap/filter/simple.rb +9 -0
- data/lib/dap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cfe15cbe33709ca867a29e172b4e98ca44004cf
|
4
|
+
data.tar.gz: e16f1d7dfae75bb316516785daa13376106e1e23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7157c20300dab7b56c40d6c0835c31e4af86d0a5cc28acbcc9ae58b89759ddb89ce90b5b59e13c53b2ec58391b842c18ee8550b0167bbe0695502005d70dba8b
|
7
|
+
data.tar.gz: e065f1bb6931682336e875fdefae30a6414de5b54b1889de5356571148411cf7ffcce76ddef30253c948e7dd3fcb1c2432ea98dcb724b26f40cf2afe0945e28d
|
data/lib/dap/filter/simple.rb
CHANGED
@@ -7,6 +7,15 @@ module Filter
|
|
7
7
|
|
8
8
|
class FilterRename
|
9
9
|
include Base
|
10
|
+
|
11
|
+
def initialize(args)
|
12
|
+
super
|
13
|
+
missing_rename = self.opts.select { |k, v| v.nil? }.keys
|
14
|
+
unless missing_rename.empty?
|
15
|
+
fail "Missing new name for renames of #{missing_rename.join(',')}"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
10
19
|
def process(doc)
|
11
20
|
self.opts.each_pair do |k,v|
|
12
21
|
if doc.has_key?(k)
|
data/lib/dap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rapid7 Research
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|