flor 1.6.1 → 1.6.2

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/CHANGELOG.md +5 -0
  3. data/lib/flor/djan.rb +1 -1
  4. data/lib/flor.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 162cdcdf2bca8c6f41feb24643e32306cd65183d30a3a6562b8a1d51b151192e
4
- data.tar.gz: 48c5664d39b6efc8783121806cfd7faa24f26714e00a1a5af9694ca9dd68d09e
3
+ metadata.gz: 3016e8a2b0cf63ad1ccb0aa5a057bee3c4c99b6fd8889e5f4d5c9b8d84319295
4
+ data.tar.gz: 9bf212da214adefa0f413277d74f13cfc8b8c3585962378d4279f45324cff2d7
5
5
  SHA512:
6
- metadata.gz: 94825467c26f7cb714bd0744979023164655eed579d19b6662a2e7b75d8fa7dc170f21c4ff5ce6e3d12fcd53b90a86999fcd10389481edf362a0c7ab4d469481
7
- data.tar.gz: 8c4f9c54c2284f6fd72ecfc1d6f9f83e7a436f446ae2eec06efd8978aaf34e609f1a8d06f3320b384a01fe64c702abaf8c20c87080830f745ee0dfb7d12f4ec5
6
+ metadata.gz: f17775b3282df1f8dfe02660422c14fad2c30815d80a1d242010d44715fad171543bd239371c43a3dcbdb2f9781eba2f3853a3dab0aa441e7cb0422cbdf1f06a
7
+ data.tar.gz: 74d3fec7573d8a1c7b80a5cd5c100516a71b2903f51635d7b22a4b644e3865528eea7e38a1c75d0ec4df1e45b88e8b404edae47f54c3697c886e06d502ae388f
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
  # CHANGELOG.md
3
3
 
4
4
 
5
+ ## flor 1.6.2 released 2012-12-03
6
+
7
+ * Prevent djan failing on negative indent for hash keys
8
+
9
+
5
10
  ## flor 1.6.1 released 2023-10-20
6
11
 
7
12
  * Use djan in Flor.msg_to_detail_s(executor, message)
data/lib/flor/djan.rb CHANGED
@@ -140,7 +140,7 @@ module Flor
140
140
  #
141
141
  kml, vml =
142
142
  x.inject([ 0, 0 ]) { |(kl, vl), (k, v)|
143
- [ [ kl, len(k, opts) ].max, [ vl, len(v, opts) ].max ] }
143
+ [ [ kl, len(k.to_s, opts) ].max, [ vl, len(v, opts) ].max ] }
144
144
  kml += 1
145
145
  #
146
146
  if i && w && i + kml + 1 + vml < w
data/lib/flor.rb CHANGED
@@ -16,7 +16,7 @@ require 'dense'
16
16
 
17
17
  module Flor
18
18
 
19
- VERSION = '1.6.1'
19
+ VERSION = '1.6.2'
20
20
  end
21
21
 
22
22
  require 'flor/colours'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mettraux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-20 00:00:00.000000000 Z
11
+ date: 2023-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: munemo