rgviz 0.44 → 0.45

Sign up to get free protection for your applications and to get access to all the features.
@@ -471,7 +471,8 @@ module Rgviz
471
471
  when Integer
472
472
  seconds = @value / 1000
473
473
  millis = @value % 1000
474
- @value = Time.at seconds, millis
474
+ @value = Time.utc 1970, 1, 1, 0, 0, 0
475
+ @value += seconds + millis / 1000.0
475
476
  @value = Date.civil @value.year, @value.month, @value.day
476
477
  end
477
478
  end
data/lib/rgviz/nodes.rb CHANGED
@@ -38,7 +38,7 @@ module Rgviz
38
38
  end
39
39
  end
40
40
  str << "where #{where} " if where
41
- str << "group_by #{group_by} " if group_by
41
+ str << "group by #{group_by} " if group_by
42
42
  str << "pivot #{pivot} " if pivot
43
43
  str << "order by #{order_by} " if order_by
44
44
  str << "limit #{limit} " if limit
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgviz
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.44'
4
+ version: '0.45'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: