influxer 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +3 -0
- data/lib/influxer/metrics/relation/where_clause.rb +1 -1
- data/lib/influxer/version.rb +1 -1
- data/spec/metrics/relation_spec.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbd1c48babf418c779aa5544ba81a1afbff04c44
|
4
|
+
data.tar.gz: 6f5cd76d8bab0ddea496b7baa9ea4d47f4d6cd98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d80b9c5d201d5deec8c1a5fcca21f3d581958d6631c395e861a9a7385984c0cb7e974117917c34a3cb0e3484ccbf6da6f6afd3cc521c9dee835f0d76dd745ffb
|
7
|
+
data.tar.gz: 14c99afa8346fa1c22b7639e1983e7f2245fd90c74ccd5a9433a05c3856b129e4119084367cc3a2d5a687e6218714ffe7add3949d57965f80982aff893d0e105
|
data/Changelog.md
CHANGED
@@ -59,7 +59,7 @@ module Influxer
|
|
59
59
|
|
60
60
|
def build_range(key, val, negate)
|
61
61
|
if negate
|
62
|
-
"#{key} < #{quoted(val.begin)}
|
62
|
+
"#{key} < #{quoted(val.begin)} or #{key} > #{quoted(val.end)}"
|
63
63
|
else
|
64
64
|
"#{key} > #{quoted(val.begin)} and #{key} < #{quoted(val.end)}"
|
65
65
|
end
|
data/lib/influxer/version.rb
CHANGED
@@ -111,7 +111,7 @@ describe Influxer::Relation, :query do
|
|
111
111
|
end
|
112
112
|
|
113
113
|
it "handle ranges" do
|
114
|
-
expect(rel.where.not(user_id: 1..4).to_sql).to eq "select * from \"dummy\" where (user_id < 1
|
114
|
+
expect(rel.where.not(user_id: 1..4).to_sql).to eq "select * from \"dummy\" where (user_id < 1 or user_id > 4)"
|
115
115
|
end
|
116
116
|
|
117
117
|
it "handle arrays" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: influxer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vlad Dem
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -239,4 +239,3 @@ signing_key:
|
|
239
239
|
specification_version: 4
|
240
240
|
summary: InfluxDB for Rails
|
241
241
|
test_files: []
|
242
|
-
has_rdoc:
|