fukuzatsu 0.9.10 → 0.9.11

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: dc7d149f079d0f937f492a870b0afaf580b8a282
4
- data.tar.gz: a07ef85ca31e0ac5091fc474f8b8624c31d378c0
3
+ metadata.gz: 65ade5a2e8fa90ffcda52e04303a318677b84663
4
+ data.tar.gz: 61d0a28a01a438d643f4160078b9a0c68bee68cf
5
5
  SHA512:
6
- metadata.gz: 636161e9e1e6cb468d6027475aed98619ef62b624b2881f9bd52cff4ae83110ce605ee2826f624e1ac81b45ee9d4e08f76b40ea426a8ba0483cdc9d650aea22f
7
- data.tar.gz: b62ff6dccd7cbbe91e5c8ca209c061008728e69e215d06f8436615453245cbe9152f17c5c65ef735e74a35808b8e67dd4b84080c441d7128365760a8b06ed419
6
+ metadata.gz: b92e34dba2d511366729c0a64507a89c7caafed3bd5bc9847ecd2d4054309c986f17164e8a70bdb6afbb41a65cc57690a5e732ca802e2faeed1a081cb89c271f
7
+ data.tar.gz: 9ab2656f2bd413ae48db64ddd89fca67b4db1d84a075f65b96084a5fed1a2bc58f58ec38a12bcf241e9feb0de2bc8ddaa6eb7946c8dd69a891973a9deada703a
data/lib/fukuzatsu/cli.rb CHANGED
@@ -27,7 +27,7 @@ module Fukuzatsu
27
27
  else
28
28
  Formatters::Text.new(file).export
29
29
  end
30
- file_summary << {path_to_file: path_to_file, class_name: file.class_name, complexity: file.complexity}
30
+ file_summary << {path_to_file: path_to_file, class_name: "#{file.class_name}", complexity: file.complexity}
31
31
  file_complexities << file.complexity
32
32
  end
33
33
 
@@ -59,7 +59,11 @@
59
59
  %td
60
60
  = summary[:path_to_file]
61
61
  %td
62
- = summary[:class_name]
62
+ - if summary[:class_name].size > 25
63
+ = "..."
64
+ = summary[:class_name][-24..-1]
65
+ - else
66
+ = summary[:class_name]
63
67
  %td
64
68
  = summary[:complexity]
65
69
  %td
@@ -1,3 +1,3 @@
1
1
  module Fukuzatsu
2
- VERSION = "0.9.10"
2
+ VERSION = "0.9.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fukuzatsu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10
4
+ version: 0.9.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bantik