matr 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/exe/matr +4 -10
  4. data/lib/matr/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47333ccd6a3ba0eb865f6840aec2068973e5eef8
4
- data.tar.gz: f3d9ac5d78ddb25604fb701dab4b8c0b0aca650b
3
+ metadata.gz: 80d6c9518b454fe72a9138b450a353f170ccc882
4
+ data.tar.gz: 172c485d6288892205603bb7674aec296a23561f
5
5
  SHA512:
6
- metadata.gz: 68b87abc4da6215e12acb57406ce9097fa31b6c96563f289ef939760e5d6fb0eb32d3fd2fed353365f3b963e4823c7c42dcc534fe31b62cddd02c52ae950adf3
7
- data.tar.gz: 3a896981433e70be9c4d559c64cea412f224cb582eb573a8a5391b785c1371801b81e6e2d5da87594aa2b3d5f645149c837ba9a14d6fb2c353b4dfdb523dfe8d
6
+ metadata.gz: e557e7d01b461c16d0d87c0170d186109c6ad9222f52512023c38867f14d3248067a5cd6ed313b0e38b2e79903095406d32120c3bd1427a2a80a0f522935a5e3
7
+ data.tar.gz: 963de1d088e8821ff1a2535f82a72a80b053b5e780ea4a4821600048eeaafce1bcefccb9bc25cabdd3f9e869958f0f3f874ec1e0f251618446e22eb1f0b8e84b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- matr (0.1.0)
4
+ matr (0.2.1)
5
5
  trollop (~> 2.1, >= 2.1.3)
6
6
 
7
7
  GEM
data/exe/matr CHANGED
@@ -8,6 +8,8 @@ require "set"
8
8
  require "trollop"
9
9
 
10
10
  mode_info = <<-EOS
11
+ Available modes: ava, ava_symmetric
12
+
11
13
  Modes
12
14
  -----
13
15
 
@@ -29,7 +31,6 @@ opts = Trollop.options do
29
31
 
30
32
  Take a three-column matrix file and do stuff with it.
31
33
 
32
-
33
34
  #{mode_info}
34
35
 
35
36
  Option details
@@ -61,7 +62,7 @@ opts = Trollop.options do
61
62
 
62
63
  opt(:na_replace,
63
64
  "Replace any 'na' values with this value",
64
- default: 0)
65
+ type: :integer)
65
66
 
66
67
  opt(:self_score,
67
68
  "Score for self connections",
@@ -76,14 +77,7 @@ opts = Trollop.options do
76
77
  end
77
78
 
78
79
  if opts[:print_modes]
79
- help = <<-EOS
80
-
81
- Available modes: ava, ava_symmetric
82
-
83
- #{mode_info}
84
- EOS
85
-
86
- STDERR.puts help
80
+ STDERR.puts mode_info
87
81
  exit
88
82
  end
89
83
 
@@ -1,3 +1,3 @@
1
1
  module Matr
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Moore