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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b07ca123fc9b68ead6a3dd5c5a918dbc622f517d
4
- data.tar.gz: 5adb7f910c10e14cb2cf82180c9fc2b628ac480d
3
+ metadata.gz: 306d8ee42fb817a716af55826f1d8cfc4dabbe67
4
+ data.tar.gz: 6ad268164acd7839266d3b44f80083c11977495d
5
5
  SHA512:
6
- metadata.gz: 19237df1aefb5f8d1291b31939135db3f86828219b1d5f7831ff698b9e4db7ba12e8086589c1ab609fcc71f985653246dd9197bab4fd3f3a27f8239c90d17a48
7
- data.tar.gz: 8e6940e20ff58f6b9610d6bc87dc60447e4fc86e89c672e4d8c386614a31ade8c13528787c70be2c8373338238a7696589b52826ebaa473c1cc558a1e8ca13ce
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
- return false if profile[key] != value
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
 
@@ -1,3 +1,3 @@
1
1
  module Bowtie
2
- VERSION = '1.0.10'
2
+ VERSION = '1.0.11'
3
3
  end
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.10
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-07-29 00:00:00.000000000 Z
11
+ date: 2015-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll