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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34e1ba4e99913761e943abd4d7db39586fb1fed8
4
- data.tar.gz: 5ce021de63fe990bffc6cddbb34effc91a327c5b
3
+ metadata.gz: 9cfe15cbe33709ca867a29e172b4e98ca44004cf
4
+ data.tar.gz: e16f1d7dfae75bb316516785daa13376106e1e23
5
5
  SHA512:
6
- metadata.gz: 4d2dc9482b60edc43a984e7a52b94422616ec0d01a278d332d14b8945a77b377334bf5437b8ecafd0d6b1462e3cc7ed9097afdbaf8b3b98e40c5dc5c1ebcdb23
7
- data.tar.gz: 26a8ccd5250af3626feb5e40eba1cfbfac126bc20d1de94b3a87a318c0863b20248903c8ab5266318c269ed247c2c04acbc41526c8969e2e69f983f415c06a28
6
+ metadata.gz: 7157c20300dab7b56c40d6c0835c31e4af86d0a5cc28acbcc9ae58b89759ddb89ce90b5b59e13c53b2ec58391b842c18ee8550b0167bbe0695502005d70dba8b
7
+ data.tar.gz: e065f1bb6931682336e875fdefae30a6414de5b54b1889de5356571148411cf7ffcce76ddef30253c948e7dd3fcb1c2432ea98dcb724b26f40cf2afe0945e28d
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Dap
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
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.14
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-21 00:00:00.000000000 Z
11
+ date: 2016-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec