test_data_generator_with_constraints 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ac61588ffc5fb5cb5be5e2a4cdea06a9bbd9760
4
- data.tar.gz: e8a99f5ac767cff17f8533a394db131d41bc46bf
3
+ metadata.gz: 1d77c427a4425b37bae7cbc751f42e634101f52d
4
+ data.tar.gz: a47eaeac59535604e557ccc9cf5f5d1f2edf31c4
5
5
  SHA512:
6
- metadata.gz: ae181e482eb131629078a85f0a2251bc053492f1bda24d1d21cf630251716c211b233866ac20c0ba3912b431690f83a25537d0600edc45b135cdf40dfe8465fa
7
- data.tar.gz: 7cba72b00817d6ae55e8f4cea76aaf732aa4dbc26419226580031b33db95fa939eb5b31a5ab9a79122d698d7bd2eb6d494b06d920e94204ae86b731ea47c0b8f
6
+ metadata.gz: fda3ad1ece6568e9e61b5cf7d067188261a0d8275b52061d5505ad5ea412f480c5a444469b1e3565e0673359aaac13163b089101acc4123d4cb89555cb97573b
7
+ data.tar.gz: 1eb6b4cace9d8ce87fdc18b470d0499fed7360b6493b131a448affe60bc34621538b20f33b5df62103a847b9d145b1ea4e780068da5b10eeb09169b1b10aa579
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -24,11 +24,12 @@ end
24
24
 
25
25
  parser.parse!
26
26
 
27
- outputFile = (options[:o].eql? nil) ? "temp.txt" : "#{options[:o]}"
28
- if options[:m] != nil
29
- load "#{options[:m]}"
30
- else
31
- puts "Not a valid option. See help!"
27
+ if options[:m].nil?
28
+ puts parser
29
+ raise OptionParser::MissingArgument
32
30
  end
33
31
 
32
+ load "#{options[:m]}"
33
+ outputFile = (options[:o].nil?) ? "temp.txt" : "#{options[:o]}"
34
+
34
35
  TestDataGeneratorWithConstraints.instance.generate $dataModel, outputFile
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "test_data_generator_with_constraints"
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jatla"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_data_generator_with_constraints
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - jatla