datahen 0.11.1 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80934b5ed446c59f749866cd5f497ef66f90e5af5509f3cd459d295352e537aa
4
- data.tar.gz: 7d7c4ebae89f5cbcaa1d56950d6b4c36089c10c20d54ec2e8e11fee6cc81433e
3
+ metadata.gz: 5802e9aa7b521b1229869cf01ebbe9a863b62ffd2f320e71816ee0c29e4b0f98
4
+ data.tar.gz: be96da67ce8fb5636f027b0ef739223658a2204c5b4082fc0a548a489c6adc76
5
5
  SHA512:
6
- metadata.gz: f1c68e2c7bb7f40e5c40c960d0dc412da03b7bc9f82e4d3b60f08e49fa1a796b34246b547bfb9ae67677aaf15944ff9d00f97dd97fa898309db0ee37864cd2b1
7
- data.tar.gz: 65f4a182ecc8e9638c1c22c43d03b4487588c112f33e75d85f2ffbee1f29e2d55bf67f861c3b6b34a97ca1014c39a0570c93b8f704c19fe28e7b5266d5a1795a
6
+ metadata.gz: 62401dd4bc3f76601a998cfb0543740236eedd17a58b6aa15c11d6036be6147f66365dec4a0f396f3864c66ed7d138c47dc782bab5eac1c9b4a69d5654abecfa
7
+ data.tar.gz: f42f8249f4fdb2213aadcb93b34ede5bc0817e7e8a3c928bd3bb7d14f5a0218a9d73df19fa6a966e219d6d2566be445b92595a664a3dacb6a978dba0a107c726
@@ -51,10 +51,10 @@ module Datahen
51
51
  query[:status] = opts[:status] if opts[:status]
52
52
  query[:page_type] = opts[:page_type] if opts[:page_type]
53
53
  query[:gid] = opts[:gid] if opts[:gid]
54
- query[:"min-timestamp"] = opts[:"min-timestamp"]
55
- query[:"max-timestamp"] = opts[:"max-timestamp"]
56
- query[:limit] = opts[:limit]
57
- query[:order] = opts[:order]
54
+ query[:"min-timestamp"] = opts[:"min-timestamp"] if opts[:"min-timestamp"]
55
+ query[:"max-timestamp"] = opts[:"max-timestamp"] if opts[:"max-timestamp"]
56
+ query[:limit] = opts[:limit] if opts[:limit]
57
+ query[:order] = opts[:order] if opts[:order]
58
58
 
59
59
  if opts[:query]
60
60
  if opts[:query].is_a?(Hash)
@@ -1,3 +1,3 @@
1
1
  module Datahen
2
- VERSION = "0.11.1"
2
+ VERSION = "0.11.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datahen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Parama Danoesubroto