baby_squeel 1.1.4 → 1.1.5

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: 3a93b2e6f4683805f7d23a2b7ce9ac30756052ac
4
- data.tar.gz: 4179fa1811a17756568b82758ae9fa02267d3f98
3
+ metadata.gz: '01931ce5553f1202e28f1698e03ac5edf72a0166'
4
+ data.tar.gz: 6c3a49f9b7a5cb8c9d72f280d05cf0e165ddf3fc
5
5
  SHA512:
6
- metadata.gz: 3e61f2a56c95418acbbd6abdad4aaf942cdb86f2ae88703e3a9ede99c8e133716145ce2b2d19109c2328c7aa208d5637fecb9478557e4d4492c78e31244323b5
7
- data.tar.gz: 7b2b9836c944357c7e181baa5a463fc9948eabe2e4d30a6d9a1c135f38a61a5ef33df1fb9c4d5372baef6b660c3ecb280a3f313ea1ae1814cdcff419d574e42b
6
+ metadata.gz: 335dd7d2f9e2f8f3d263339441069e68eca7a632b7296f4ed523f91be621ae727e8e63a8725c8f8b216db43a7a7d8b0f70b2fe407a861104885ae032d7ba88b5
7
+ data.tar.gz: d25f185e663890ecf277045612eb71206de192d4e79883046a2deaa981378987e872a9516cc654e910ffe5cfb45113bccf3d2880fde90e6129b8e784a9fa14f1
@@ -6,7 +6,7 @@ module BabySqueel
6
6
  # Constructs Arel for ActiveRecord::Base#where using the DSL.
7
7
  def has(&block)
8
8
  arel = DSL.evaluate(@scope, &block)
9
- @scope.where!(arel) unless arel.nil?
9
+ @scope.where!(arel) unless arel.blank?
10
10
  @scope
11
11
  end
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module BabySqueel
2
- VERSION = '1.1.4'.freeze
2
+ VERSION = '1.1.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baby_squeel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ray Zane
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-13 00:00:00.000000000 Z
11
+ date: 2017-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord