data_inspect 0.0.3 → 0.0.4

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. data/bin/data_inspect +7 -2
  2. data/lib/data_inspect.rb +1 -1
  3. metadata +1 -1
data/bin/data_inspect CHANGED
@@ -9,8 +9,13 @@ require 'awesome_print'
9
9
 
10
10
  def main
11
11
 
12
- options = ARGV
13
- filename = options.first
12
+ if ARGV.size == 0
13
+ puts DataInspect.version
14
+ return
15
+ end
16
+
17
+
18
+ filename = ARGV.first
14
19
  options = get_options
15
20
 
16
21
  if options[:verbose]
data/lib/data_inspect.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  class DataInspect
3
3
 
4
4
  def self.version
5
- '0.0.3'
5
+ '0.0.4'
6
6
  end
7
7
 
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_inspect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: