cevennes 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/lib/cevennes.rb +5 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e8fcfbf02c5a728c9a6364a0fe67a61003fa18fa
4
- data.tar.gz: 72361059d05b8c7cca589fa099d4e92a58ca704d
3
+ metadata.gz: 1d93b3bdf44f0c33cf0e90d02a2f6021c06abb58
4
+ data.tar.gz: c038beab1cc0a2e93079bfd27e861c78b5d50d21
5
5
  SHA512:
6
- metadata.gz: fd04c1d5c12954d091a75b55ccb0078757a35bfc1d7d7dc6fcf2cf3d23ecb6929ec47d05adbfc13be1646a4ca6040a05135b9ce4664a5f5947b5413e01bf4fd0
7
- data.tar.gz: ee72cda27967a186dfea52a61ef67256b69f3d56ec95c0c3d0e61bc1084a74a35a59e3025a8a5666e29e7ebfc649c8c6d48a16dda7a64bc4919fbeee255252ee
6
+ metadata.gz: d82a5c40592be7eb8ef83df1fda403dae71fc172bd815882c1c68f8feed32e842eedb7026433e68068d2d216aa3f0a246dec790a90ebce447658cdaa9d69bb2e
7
+ data.tar.gz: 6b6e4edb32644166b67cef3d4d2bea2bfb57dda859b37013b132482c37f49f569047e8fcd87507cbe0a03ecd968cc88dceedfb81fb21d5d0996d7eb9787a6a0e
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
  # CHANGELOG.md
3
3
 
4
4
 
5
+ ## cevennes 0.11.0 released 2018-09-06
6
+
7
+ - Fix l0 and l1 stats
8
+
9
+
5
10
  ## cevennes 0.10.0 released 2018-09-03
6
11
 
7
12
  - Weave in additions at the right spot
data/lib/cevennes.rb CHANGED
@@ -4,7 +4,7 @@ require 'csv'
4
4
 
5
5
  module Cevennes
6
6
 
7
- VERSION = '0.10.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 - 1
40
- s['l1'] = h1.length - 1
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.10.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-03 00:00:00.000000000 Z
11
+ date: 2018-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec