contrek 1.3.4 → 1.3.5

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: 4e004088067a1d5c5b6d101142ba01e2b1ed3c9a2f1fcc1d39446e3d63d6623b
4
- data.tar.gz: 897c8e068c71e2315b6bf1b90a270438ebfa692edf3ac1c65f89610bbdb5292c
3
+ metadata.gz: ea7475a8d469db6be267562a802b7b8f09480774e6d3085a35a428f569d2f113
4
+ data.tar.gz: 20370119576e765342797caad9778b7d808f9b6be154eca4e5a744f988d532f6
5
5
  SHA512:
6
- metadata.gz: 27357425c3af4b8b12f9d2893c3b207dd913a37d3bab4e752b616cc96acf22d5aa16033a51e63f2211e08d0278033669d8c452c852e0869006d7bdd1826c3f5a
7
- data.tar.gz: 458e5ee9ba29d1de2b524d5f9e3dd0be3a82563acd2a047bb6052e4fff28a09db72c70de9f3de3d4e2a63a582a65c42c576465ca399922cece2ee34ba6108dd1
6
+ metadata.gz: b09fddc2bc46bb644f3024de98aa2db5155856981aaf3ce3a5dfaf5a8ef5449f36ad4fb784654bb12368fc8d2b2c0741a492c1f70ec4e620b4282d28268d770e
7
+ data.tar.gz: 6240cd18e6145a3f47504decfab3d74decce51c0ddc91084d7ac7cf95e020cc7165bfca4d8d7831c760ca3ee3aaa63ae3b50fa1c75b5ed60ed13ae87544b9d36
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "ruby2d"
4
3
  module Contrek
5
4
  module Bitmaps
6
5
  class RawBitmap < PngBitmap
@@ -9,6 +9,7 @@ module Contrek
9
9
 
10
10
  module ClassMethods
11
11
  def to_window(result, zoom: 100, coords: true, window_w: 2000, window_h: 1200, font_h: 20)
12
+ require "ruby2d"
12
13
  ubuntu_purple = ChunkyPNG::Color.from_hex("#77216F")
13
14
  bm = RawBitmap.new(w: window_w, h: window_h, color: ubuntu_purple)
14
15
  # grid
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Contrek
4
- VERSION = "1.3.4"
4
+ VERSION = "1.3.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contrek
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emanuele Cesaroni