hog 0.0.3 → 0.0.4

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.
@@ -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: