hog 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module Hog
2
2
  class PigSchema
3
3
  def schema(tuple)
4
- "\n--\n-- This schema was auto generated by Hog v#{Hog::VERSION}.\n--\n#{tuple.fields.map{|f| "\t#{field(f)}, -- #{f.opts.to_s}" }.join("\n")}"
4
+ "\n--\n-- This schema was auto generated by Hog v#{Hog::VERSION}.\n--\n-- #{f.opts.to_s}\n#{tuple.fields.map{|f| "\t#{field(f)}" }.join(",\n")}"
5
5
  end
6
6
 
7
7
  def field(f)
data/lib/hog/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hog
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: