dataduck 1.2.1 → 1.2.2

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: fe8282d59eb88fd3529fa4c7d60d77c6697140c6
4
- data.tar.gz: e1443aec70fec01dc53483ad936932660cfa9c26
3
+ metadata.gz: 9d5833f516296cc44f7b74449d1c25014601cc89
4
+ data.tar.gz: 8ec72ab186743c80968626663eecade1e6cb1f99
5
5
  SHA512:
6
- metadata.gz: a1568c7aff71eaf8c5d334b868ec9d4da7aea394e866373ec08b47266590b812bdc70500e16bb31b8b0e1f8281a1b0297a1722fda7611943ba189549492fb406
7
- data.tar.gz: 190c3007f8cebf6bd432ae3ae63a48bee40a7bf1f3c3b12eb46e2e8c71e78c31adb2745cb127be0505e90ac3a0d65742a0cfcb8abc5769d22ce09459a803c841
6
+ metadata.gz: a4e570b9756368f3a7a15821f9b8c661e477141d7ca21705434face9e4f78ba7e0e98aa7a0db9b01c363074a413d46b6380fd8d9ada84a2965e893b06ba48bda
7
+ data.tar.gz: 664b543ee47821cc4eae039e40a738990652bac539d7b8ee3f942b98244174b2681b2c47acb584682601c29ccf6573001557b3987c8bfd86cd96f2295bb9fe62
@@ -170,7 +170,8 @@ module DataDuck
170
170
 
171
171
  def extract_by_clause(value)
172
172
  if value
173
- "WHERE #{ self.extract_by_column } >= '#{ value }'"
173
+ operator = self.should_fully_reload? ? '>' : '>='
174
+ "WHERE #{ self.extract_by_column } #{ operator } '#{ value }'"
174
175
  else
175
176
  ""
176
177
  end
@@ -2,7 +2,7 @@ module DataDuck
2
2
  if !defined?(DataDuck::VERSION)
3
3
  VERSION_MAJOR = 1
4
4
  VERSION_MINOR = 2
5
- VERSION_PATCH = 1
5
+ VERSION_PATCH = 2
6
6
  VERSION = [VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH].join('.')
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dataduck
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Pickhardt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-14 00:00:00.000000000 Z
11
+ date: 2017-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler