flattendb 0.2.1 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0bf6ce4e0242288394dd70d6c06f3fbc921d86f2
4
- data.tar.gz: e068b6f84762dc9f170ab9c5c5eafff15de9677a
3
+ metadata.gz: ff87c8bc8e42e3ba09b4d6391bf3a21a2289fbc6
4
+ data.tar.gz: 719f8ed0b94882c3f0337a228ae5945c25a449d1
5
5
  SHA512:
6
- metadata.gz: f012835b0b2d5f587d8686669d081641a247a045621eae3eb218136f9867d06eac3549b3ed12eb4d434d2321026550891319a632102614b68130a1808531239b
7
- data.tar.gz: 9d1044499a8af06a52d295c8097cea45ee0c541b5753a2f8a4fa95d0a8208f478ee72917c0ef55bde9e502fe99ecc2a42b2dafd14b82ffc1216e25ba6359165d
6
+ metadata.gz: 087e2f9a68b7480576f884101a65cb08d5f24d044beaef6114a6e8d6ef3c5b0b3b522b752326f74e47487c60fc0582d85595b07a12d2b8e175b307dee62da507
7
+ data.tar.gz: 66324c48f2591e64a7a954626ef6aed4f05ce45f2e817df52f2d2123c0a4a050252d81b701a3853a39d5687545764bf962e53e251b76412be5ac4078ac663194
data/ChangeLog CHANGED
@@ -1,3 +1,5 @@
1
+ # markup: rd
2
+
1
3
  = Revision history for flattendb
2
4
 
3
5
  == x.y.z [yyyy-mm-dd]
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to flattendb version 0.2.1
5
+ This documentation refers to flattendb version 0.2.2
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -74,9 +74,12 @@ module FlattenDB
74
74
 
75
75
  def initialize(options)
76
76
  config = options.select { |k, _| k.is_a?(String) }
77
- raise ArgumentError, "can't have more than one primary (root) table" if config.size > 1
78
77
 
79
- @root, @config = config.keys.first, config.values.first
78
+ if config.size > 1
79
+ raise ArgumentError, "can't have more than one primary (root) table"
80
+ end
81
+
82
+ @root, @config = config.first
80
83
 
81
84
  @input, @output = options.values_at(:input, :output)
82
85
  end
@@ -4,7 +4,7 @@ module FlattenDB
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 2
7
- TINY = 1
7
+ TINY = 2
8
8
 
9
9
  class << self
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flattendb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-10 00:00:00.000000000 Z
11
+ date: 2013-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: builder
@@ -106,7 +106,7 @@ rdoc_options:
106
106
  - --line-numbers
107
107
  - --all
108
108
  - --title
109
- - flattendb Application documentation (v0.2.1)
109
+ - flattendb Application documentation (v0.2.2)
110
110
  - --main
111
111
  - README
112
112
  require_paths: