dohdata 0.1.9 → 0.1.10
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 +4 -4
- data/bin/datagen +1 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e27190190361a942bccc609fb0a756d3a4afbfe
|
|
4
|
+
data.tar.gz: e6701443d769b56e3e9c7a6b562bc34bbe25f5ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b9d136526b69548ae03dbf083db58776068fa29222293fce19361822778f72065beda53781614cdf7f50959f265504bae8cf0368bf7b9e7973c135aec99bb21
|
|
7
|
+
data.tar.gz: 83c5f705a83383a0e58c99b946a1418637f3decc4ab00c0b089dfde9b2fc0af3f83e3704a330b9b178815e4d5d34ba7419ace8e33d05d272158790669d82d2d6
|
data/bin/datagen
CHANGED
|
@@ -4,13 +4,11 @@ require 'dohroot/options'
|
|
|
4
4
|
require 'dohutil/config'
|
|
5
5
|
require 'dohdata/catalog'
|
|
6
6
|
require 'dohdata/require_datagen'
|
|
7
|
-
require 'dohmysql/connector_util'
|
|
8
7
|
require 'dohlog'
|
|
9
8
|
DohData.require_datagen
|
|
10
9
|
|
|
11
10
|
opts = Doh::Options.new(
|
|
12
|
-
{'
|
|
13
|
-
,'count' => [1, "-c", "--count <amount>", "how many to create"] \
|
|
11
|
+
{'count' => [1, "-c", "--count <amount>", "how many to create"] \
|
|
14
12
|
,'logging' => [false, "-l", "--logging", "enable logging (off by default)"] \
|
|
15
13
|
}, true, 'list of catalog entries to create')
|
|
16
14
|
|
|
@@ -19,10 +17,6 @@ if opts.varargs.size == 0
|
|
|
19
17
|
exit
|
|
20
18
|
end
|
|
21
19
|
|
|
22
|
-
if opts.target
|
|
23
|
-
DohDb.reconfigure_connector({'database' => opts.target})
|
|
24
|
-
end
|
|
25
|
-
|
|
26
20
|
opts.varargs.each do |entry|
|
|
27
21
|
klass = DohData.search_catalog(entry)
|
|
28
22
|
if klass.nil?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dohdata
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Makani Mason
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-09-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: dohutil
|