lutaml 0.7.3 → 0.7.4

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
  SHA256:
3
- metadata.gz: cbe4e5553ef3d60b408138ed73e255782ff8489ef539ee2086e4c813b76ff20e
4
- data.tar.gz: e6804f716ac877a1831739447d10da41f750385038a126ffe35bb60d94021a7c
3
+ metadata.gz: 042ab4eb8ec87f5b350bc20a6342756892a3cd4929dfbbe537464590c8278dba
4
+ data.tar.gz: 4cbadc50bdae9f93b5c882f060ac5532e491271ee455660d0dab9df0b1eaf87c
5
5
  SHA512:
6
- metadata.gz: 06af7559b899bb92b0fe08874c90af384647b4b5a9c12214804a54df88222dbb8dda06ccf55ea6b003974eb37a27c2c87efb06fabb3be40407cbd6da0fe18c69
7
- data.tar.gz: 9bdf7c6e82d5dc09ddc17f86af02479dafd14c71377f3c5d757110a69d390a7f05d87d5668032e16f1ae74099c0b291911bde69967614e33fa95a7deae520c7f
6
+ metadata.gz: ad3d25038abb6ff22b79f1eb27eaa1439920b4d6bc582ed055049d8ad9de41eb9a8280f169e772b005ef5a4cc6978e5e3fa916a7b48ee6ef2a97509464c0747a
7
+ data.tar.gz: 444254ebb4926068d2651f4e76c75c38c955efa514234fbfab9943e7973e473b9d4cb411f15348cfd9eb632d8a3abade0e95bfebd8ff8cb45d23ab6a3f1e7f26
@@ -70,6 +70,10 @@ module Lutaml
70
70
 
71
71
  def run(original_args)
72
72
  args = original_args.dup
73
+ if args.length.zero? || args.first.strip == "help"
74
+ print_help
75
+ exit
76
+ end
73
77
  @option_parser.parse!(args) rescue nil
74
78
  @paths = args
75
79
  @formatter.type = @type
@@ -288,7 +288,6 @@ module Lutaml
288
288
  associations = associations
289
289
  .lines.map { |line| " #{line}" }.join.chomp
290
290
 
291
- require 'byebug'; byebug
292
291
  <<~HEREDOC
293
292
  digraph G {
294
293
  graph [#{@graph}]
@@ -1,3 +1,3 @@
1
1
  module Lutaml
2
- VERSION = "0.7.3".freeze
2
+ VERSION = "0.7.4".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lutaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-04 00:00:00.000000000 Z
11
+ date: 2021-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lutaml-express
@@ -221,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
223
  requirements: []
224
- rubygems_version: 3.1.6
224
+ rubygems_version: 3.0.3
225
225
  signing_key:
226
226
  specification_version: 4
227
227
  summary: 'LutaML: data models in textual form'