bowtie-io 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bowtie/middleware/policy_check.rb +7 -1
- data/lib/bowtie/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: 306d8ee42fb817a716af55826f1d8cfc4dabbe67
|
4
|
+
data.tar.gz: 6ad268164acd7839266d3b44f80083c11977495d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03fc05fc8fa1d0073599a99372a33ae2afbf7a269d2e146ff57d6ade16b3ed1d34e38655b7cc2cddf50a42f22b6f3ff0204ac9eb0ed80ba2a436827f45cef5b7
|
7
|
+
data.tar.gz: ae7f1c3ac8e13bb358408708aa25a9ef2e0c999bf5f5af7a07b6ca4304c252463763b97d102f57ee5b165b3d6a5b5f92fcd6e9dcfffdc7a43e7f160cd2b7b774
|
@@ -219,7 +219,13 @@ module Bowtie::Middleware
|
|
219
219
|
return false if profile.nil?
|
220
220
|
|
221
221
|
values.each do |key, value|
|
222
|
-
|
222
|
+
if value == true
|
223
|
+
return false if !profile.data[key]
|
224
|
+
elsif value == false
|
225
|
+
return false if !!profile.data[key]
|
226
|
+
else
|
227
|
+
return false if profile.data[key] != value
|
228
|
+
end
|
223
229
|
end
|
224
230
|
end
|
225
231
|
|
data/lib/bowtie/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bowtie-io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Kassemi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|