cevennes 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/cevennes.rb +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d93b3bdf44f0c33cf0e90d02a2f6021c06abb58
|
4
|
+
data.tar.gz: c038beab1cc0a2e93079bfd27e861c78b5d50d21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d82a5c40592be7eb8ef83df1fda403dae71fc172bd815882c1c68f8feed32e842eedb7026433e68068d2d216aa3f0a246dec790a90ebce447658cdaa9d69bb2e
|
7
|
+
data.tar.gz: 6b6e4edb32644166b67cef3d4d2bea2bfb57dda859b37013b132482c37f49f569047e8fcd87507cbe0a03ecd968cc88dceedfb81fb21d5d0996d7eb9787a6a0e
|
data/CHANGELOG.md
CHANGED
data/lib/cevennes.rb
CHANGED
@@ -4,7 +4,7 @@ require 'csv'
|
|
4
4
|
|
5
5
|
module Cevennes
|
6
6
|
|
7
|
-
VERSION = '0.
|
7
|
+
VERSION = '0.11.0'
|
8
8
|
|
9
9
|
class << self
|
10
10
|
|
@@ -36,8 +36,10 @@ module Cevennes
|
|
36
36
|
d.insert(i, [ '+', -1, nil, lnum, line ]) }
|
37
37
|
|
38
38
|
s = d.inject({}) { |h, (a, _, _)| h[a] = (h[a] || 0) + 1; h }
|
39
|
-
s['l0'] = h0.length
|
40
|
-
s['l1'] = h1.length
|
39
|
+
s['l0'] = h0.length
|
40
|
+
s['l1'] = h1.length
|
41
|
+
#s['ll0'] = s['='] + s['!'] + s['-']
|
42
|
+
#s['ll1'] = s['='] + s['!'] + s['+']
|
41
43
|
|
42
44
|
[ [ 'keys', ks0, ks1 ], [ 'stats', s ] ] + d
|
43
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cevennes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Mettraux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|