hipster_sql_to_hbase 0.3.20 → 0.3.29

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06370ab4021c06ed24b6e759277bb688747e314a
4
- data.tar.gz: c568c4dba9c08d10a18a99ae8c546e3b3b2a4818
3
+ metadata.gz: 6b1d1de3434fdb126fb32011c2ab69ccb636718a
4
+ data.tar.gz: 55642ac71fd3a46117b03740340e998816f68339
5
5
  SHA512:
6
- metadata.gz: 71572908c80abe60a67d2451166f1a4c69455756b2a84da66aab68b02487d641406a8b71449fefba92d166b91eed7490739fce57688372c2ba75ca4493c61ac3
7
- data.tar.gz: 319617a658d3b75e039e24124f5563e640a00103e8e411eb6ebde629ad6729c28418958fe0bc12b52e99c2d0bb79865ac576ce7e3c6ad16aca06f81d67e83155
6
+ metadata.gz: 7394dfa5091f4af98bb576dad41c4497286957d474dc838fd5732d8bf654ed863b58d6e2f704d73cb8ab43722c8ba3a731853ec278d16a1761b16989c6037c4b
7
+ data.tar.gz: 6d66b2d0cbecb29f79f5597f2a95d8bfa8412c82825336733a3a64abe54375c8f64f30c3e5cdb4d3a84974776842c0ba1bb6d22474a839c7febe48f6f204a9c1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.20
1
+ 0.3.29
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "hipster_sql_to_hbase"
5
- s.version = "0.3.20"
5
+ s.version = "0.3.29"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jean Lescure"]
@@ -6,7 +6,7 @@ grammar SQLOrderByClause
6
6
  rule order_by
7
7
  "ORDER" SPACE "BY" SPACE one_or_more_column_names_with_sort {
8
8
  def eval
9
- OrderBy.new(one_or_more_column_names_with_sort.eval)
9
+ one_or_more_column_names_with_sort.eval
10
10
  end
11
11
  }
12
12
  end
@@ -19,7 +19,7 @@ grammar SQLOrderByClause
19
19
  end
20
20
  }
21
21
  /
22
- one_column_name_with_sort
22
+ [one_column_name_with_sort]
23
23
  end
24
24
 
25
25
  rule one_column_name_with_sort
@@ -27,9 +27,10 @@ grammar SQLOrderByClause
27
27
  def eval
28
28
  column = one_column_name.eval
29
29
  if value = optional_sort_condition.eval
30
- OrderByPair.new(column, value)
30
+ { :column => column,
31
+ :sort => value }
31
32
  else
32
- OrderByPair.new(column)
33
+ { :column => column }
33
34
  end
34
35
  end
35
36
  }
@@ -44,10 +45,10 @@ grammar SQLOrderByClause
44
45
  end
45
46
 
46
47
  rule ascending
47
- "ASC" { def eval; Guillotine::Expressions::OrderBy::ASC; end }
48
+ "ASC" { def eval; text_value.eval end }
48
49
  end
49
50
 
50
51
  rule descending
51
- "DESC" { def eval; Guillotine::Expressions::OrderBy::DESC; end }
52
+ "DESC" { def eval; text_value.eval end }
52
53
  end
53
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hipster_sql_to_hbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.20
4
+ version: 0.3.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Lescure