qb 0.1.25 → 0.1.26

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: 8eacfdedcfc6d42f8f29a3c4c0a5e4cf7e13fd50
4
- data.tar.gz: db07c58f091593b21ce3e490d4259429f022f369
3
+ metadata.gz: 8675456ebd1ee1b2841b31aa080adf50ebbc013e
4
+ data.tar.gz: e35c6bcdbe03ede26202822dc580b49ef2a417da
5
5
  SHA512:
6
- metadata.gz: ee1d4880b662945fd9f81003daffb58bf565bd0d103ab535e66fd790620ac1f640f3c49ac99c5bc7248713e58c4ceb9cf92d22bf96f8e01352c8935c000c9628
7
- data.tar.gz: d7e20dbb0372a085c21047db8f394a3a38b83d67bd50ddd2735a58eb050a303a1c2da80b8c9293e876ce98c63a81d72870ce07e4e2bf0685ef5e6b2ffe9247e3
6
+ metadata.gz: ef544a0e4c911e09717122700aaf5897f4b48ebca417179470b1db6ee827333cde151a2296093d7fcf31fa63e5e90e334a3a6c512d34f91845f74e7892509073
7
+ data.tar.gz: d485ad1090d2fd3887b3ab37d6b9b077bd980833a55d10639825c67b73e6e74a3b5f7e2e3ca6014e054cea204ae9176d62b241e64b096322909c61e31da647f7
@@ -71,7 +71,10 @@ module QB
71
71
  end
72
72
 
73
73
  def boolean?
74
- ['boolean', 'bool'].include? meta['type'].downcase
74
+ (
75
+ meta['type'].is_a?(String) &&
76
+ ['boolean', 'bool'].include?(meta['type'].downcase)
77
+ )
75
78
  end
76
79
 
77
80
  def usage
@@ -1,7 +1,7 @@
1
1
  module QB
2
2
  GEM_NAME = 'qb'
3
3
 
4
- VERSION = "0.1.25"
4
+ VERSION = "0.1.26"
5
5
 
6
6
  def self.gemspec
7
7
  Gem.loaded_specs[GEM_NAME]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.25
4
+ version: 0.1.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - nrser
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-01 00:00:00.000000000 Z
11
+ date: 2016-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler