rgviz-rails 0.37 → 0.38

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.
@@ -27,7 +27,7 @@ module Rgviz
27
27
  node.arguments[0].accept visitor
28
28
  visitor << ")"
29
29
  when ScalarFunctionColumn::Millisecond
30
- raise NotSupported.new "The millisecond function is not supported"
30
+ raise NotSupported.new("The millisecond function is not supported")
31
31
  when ScalarFunctionColumn::Quarter
32
32
  visitor << "quarter("
33
33
  node.arguments[0].accept visitor
@@ -27,9 +27,9 @@ module Rgviz
27
27
  node.arguments[0].accept visitor
28
28
  visitor << ")"
29
29
  when ScalarFunctionColumn::Millisecond
30
- raise NotSupported.new "The millisecond function is not supported"
30
+ raise NotSupported.new("The millisecond function is not supported")
31
31
  when ScalarFunctionColumn::Quarter
32
- raise NotSupported.new "The quarter function is not supported"
32
+ raise NotSupported.new("The quarter function is not supported")
33
33
  when ScalarFunctionColumn::DayOfWeek
34
34
  visitor << "1 + strftime('%w', "
35
35
  node.arguments[0].accept visitor
@@ -395,11 +395,11 @@ module Rgviz
395
395
  end
396
396
 
397
397
  def visit_date_time_column(node)
398
- @string += escaped_string(node.value.strftime "%Y-%m-%d %H:%M:%S")
398
+ @string += escaped_string(node.value.strftime("%Y-%m-%d %H:%M:%S"))
399
399
  end
400
400
 
401
401
  def visit_time_of_day_column(node)
402
- @string += escaped_string(node.value.strftime "%H:%M:%S")
402
+ @string += escaped_string(node.value.strftime("%H:%M:%S"))
403
403
  end
404
404
 
405
405
  def visit_scalar_function_column(node)
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgviz-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 65
4
+ hash: 71
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 37
9
- version: "0.37"
8
+ - 38
9
+ version: "0.38"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ary Borenszweig
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-23 00:00:00 +07:00
17
+ date: 2010-08-24 00:00:00 +07:00
18
18
  default_executable:
19
19
  dependencies: []
20
20