sql-parser-vlad 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -265,6 +265,10 @@ module SQLParser
265
265
  arithmetic('/', o)
266
266
  end
267
267
 
268
+ def visit_Modulo(o)
269
+ arithmetic('%', o)
270
+ end
271
+
268
272
  def visit_Add(o)
269
273
  arithmetic('+', o)
270
274
  end
@@ -454,6 +454,9 @@ module SQLParser
454
454
  class Add < Arithmetic
455
455
  end
456
456
 
457
+ class Modulo < Arithmetic
458
+ end
459
+
457
460
  class Subtract < Arithmetic
458
461
  end
459
462
 
@@ -1,5 +1,5 @@
1
1
  module SQLParser
2
2
 
3
- VERSION = '0.0.7'
3
+ VERSION = '0.0.8'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sql-parser-vlad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dray Lacy
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-04-02 00:00:00.000000000 Z
12
+ date: 2018-04-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: racc