flattendb 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +2 -0
- data/README +1 -1
- data/lib/flattendb/base.rb +5 -2
- data/lib/flattendb/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff87c8bc8e42e3ba09b4d6391bf3a21a2289fbc6
|
4
|
+
data.tar.gz: 719f8ed0b94882c3f0337a228ae5945c25a449d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 087e2f9a68b7480576f884101a65cb08d5f24d044beaef6114a6e8d6ef3c5b0b3b522b752326f74e47487c60fc0582d85595b07a12d2b8e175b307dee62da507
|
7
|
+
data.tar.gz: 66324c48f2591e64a7a954626ef6aed4f05ce45f2e817df52f2d2123c0a4a050252d81b701a3853a39d5687545764bf962e53e251b76412be5ac4078ac663194
|
data/ChangeLog
CHANGED
data/README
CHANGED
data/lib/flattendb/base.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/flattendb/version.rb
CHANGED
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.
|
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-
|
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.
|
109
|
+
- flattendb Application documentation (v0.2.2)
|
110
110
|
- --main
|
111
111
|
- README
|
112
112
|
require_paths:
|