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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/datagen +1 -7
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2950f3a9b2de31a0058006b691d5a6671f5d4c56
4
- data.tar.gz: 99e00803d95f88b6b5c40e738161d81926421bdd
3
+ metadata.gz: 9e27190190361a942bccc609fb0a756d3a4afbfe
4
+ data.tar.gz: e6701443d769b56e3e9c7a6b562bc34bbe25f5ce
5
5
  SHA512:
6
- metadata.gz: b38c0b0e0090e83199fa51d40b94e963b7a3c13c61b2ef9f026cfb9d8f8492151340a123ab6de4c5405f2d6fa1a11c583a2a1b20cd999c8b155a44c373d02646
7
- data.tar.gz: 22ff608f5f3fb63b2e00e1460a4fe696891247d756e3f6f25d9eb550387036cd6b0866a7503913911ddd6c955717a5ca6c79056908803e255c2c54501471c24d
6
+ metadata.gz: 9b9d136526b69548ae03dbf083db58776068fa29222293fce19361822778f72065beda53781614cdf7f50959f265504bae8cf0368bf7b9e7973c135aec99bb21
7
+ data.tar.gz: 83c5f705a83383a0e58c99b946a1418637f3decc4ab00c0b089dfde9b2fc0af3f83e3704a330b9b178815e4d5d34ba7419ace8e33d05d272158790669d82d2d6
@@ -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
- {'target' => [Doh.config['primary_database'], "-g", "--target <database>", "name of the target database -- defaults to config['primary_database'], currently '#{Doh.config['primary_database']}'"] \
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.9
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-07-12 00:00:00.000000000 Z
12
+ date: 2013-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dohutil