gnutemplate 0.1.8 → 0.1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c69189fd4dac115b797679a47830cbc77c3c66d593f611ee5192159d331f6bbb
4
- data.tar.gz: 77dcfea02ef16af3f38d256802f3cdd583b81bb5cf14ad11f2dc07badf7edec6
3
+ metadata.gz: 1cea3ed18f9e9e2f8ad94a45ecb03646d674bc6288edd75ca1e2893e0aa2796a
4
+ data.tar.gz: 8134a7d3552bbb526b660dc141d36ca2586205c8b09455268adbb8edff290f7f
5
5
  SHA512:
6
- metadata.gz: 3ebcfa577e172cf2562a5111842ca926248fad462516b7fd6a1c7aaa847a7308b3c2f71fdfa05acf8c043cc55eea4808c04208b283cbfcc76e8fb464d7711733
7
- data.tar.gz: 308aca33a72e7900c1195d088529f16a84d7fcd44edbc191a68977a5125ff266e0d3de51a5ad83290572b6d67db4f4f5945a9ac6bd55d71cdfd56dcb92dd6333
6
+ metadata.gz: f4dbd320d3d84d7f1e622d3c3c4714c39b80516749b6a9d73f2dd03e2d26d2de25dc856decdd412697fcc177e016276045bf34faf9c53c23a49075f3ef08dc9a
7
+ data.tar.gz: 11ee10695415e929c5301f276892fd59b7a1801596e453613c8d7faf833d7a2b35d983b5ff762f232aa1a82193285339967d56ec5046162d41d2947b0b9adaf8
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gnutemplate
4
- VERSION = "0.1.8"
4
+ VERSION = "0.1.8.1"
5
5
  end
data/lib/gnutemplate.rb CHANGED
@@ -189,7 +189,7 @@ module Gnutemplate
189
189
  labels ||= (0...(freqs.length)).map(&:to_s)
190
190
 
191
191
  args = freqs.zip(labels).each_with_index.map do |(f, l), i|
192
- [*f, using: 2, :histogram, t: labels[i], fillcolor: "rgb \"#{colors[0 % 4]}\""]
192
+ [*f, using: 2, w: :histogram, t: labels[i], fillcolor: "rgb \"#{colors[i % 4]}\""]
193
193
  end
194
194
 
195
195
  plot *args
@@ -278,7 +278,7 @@ module Gnutemplate
278
278
  labels ||= (0...(freqs.length)).map(&:to_s)
279
279
 
280
280
  args = freqs.zip(labels).each_with_index.map do |(f, l), i|
281
- [*f, using: 2, :histogram, t: labels[i], fillcolor: "rgb \"#{colors[0 % 4]}\""]
281
+ [*f, using: 2, w: :histogram, t: labels[i], fillcolor: "rgb \"#{colors[i % 4]}\""]
282
282
  end
283
283
 
284
284
  plot *args
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnutemplate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - showata