sushi_fabric 0.1.1 → 0.1.2

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,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
- # Version = '20140228-140214'
3
+ # Version = '20140228-142733'
4
4
 
5
5
  require 'csv'
6
6
  require 'fileutils'
@@ -66,6 +66,11 @@ end
66
66
  NO_ROR = true
67
67
  end
68
68
 
69
+ class ::Array
70
+ def to_hash
71
+ Hash[*flatten]
72
+ end
73
+ end
69
74
  class ::Hash
70
75
  attr_reader :defaults
71
76
  alias :set :[]=
@@ -1,3 +1,3 @@
1
1
  module SushiFabric
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sushi_fabric
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: