teradata-cli 0.0.5 → 0.0.6

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.
@@ -1083,6 +1083,15 @@ module TeradataCli
1083
1083
  h
1084
1084
  end
1085
1085
 
1086
+ def to_hash_with_sym
1087
+ h = {}
1088
+ @metadata.field_names.zip(@fields) do |name, field|
1089
+ h[name.downcase.to_sym] = field.value
1090
+ end
1091
+ h
1092
+ end
1093
+
1094
+
1086
1095
  def inspect
1087
1096
  "\#<Record #{@fields.map {|c| c.to_s }.join(', ')}>"
1088
1097
  end
@@ -1,3 +1,3 @@
1
1
  module TeradataCli
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teradata-cli
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Giuseppe Privitera
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-10-24 00:00:00 Z
18
+ date: 2013-10-25 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bundler