dap 0.1.8 → 0.1.9
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 +2 -0
- data/lib/dap/version.rb +1 -1
- data/spec/dap/filter/simple_filter_spec.rb +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 509c4659bddb3d19bd03810c38d9b7210a40f137
|
4
|
+
data.tar.gz: 856444fb5a3a6352bdedd975fe47898c98eae2d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6b147d71d185f1fc4f55582cdcde9d026d3421f2dd0fda0b3e48106d380c1049efd8fc3fb9ea2d5c189c59ed66f8db2929a944fe883e5f347a79ddf5440998e
|
7
|
+
data.tar.gz: 2ca8a31ca56632bc319a1201787729ba7b3845ed55cc2e1126fc519a8effef604460e85af3a32741453d68659e27126bb7c09063648741761ef64795b0aeefac
|
data/lib/dap/filter/simple.rb
CHANGED
data/lib/dap/version.rb
CHANGED
@@ -127,6 +127,13 @@ end
|
|
127
127
|
describe Dap::Filter::FilterTransform do
|
128
128
|
describe '.process' do
|
129
129
|
|
130
|
+
context 'invalid transform' do
|
131
|
+
let(:filter) { described_class.new(['foo=blahblah']) }
|
132
|
+
it 'fails' do
|
133
|
+
expect { filter.process({'foo' => 'abc123'}) }.to raise_error(RuntimeError, /Invalid transform/)
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
130
137
|
context 'reverse' do
|
131
138
|
let(:filter) { described_class.new(['foo=reverse']) }
|
132
139
|
|