glimmer-libui-cc-graphs_and_charts 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: acbf90f4dea0bb8e51f88a168609f66ba4213edc6a5c2d914fac53b56d8f0a16
4
- data.tar.gz: 9c8683f23025fd089c727b8588f0abcd0a67c0a0b7823b72c8b50cfb214e47e6
3
+ metadata.gz: 263ed1c13a5130568949ac82714104e494a4e8ffd1ded95fec7d14110d5fc364
4
+ data.tar.gz: 2eea70d52135a1381d2ae30c2fb03dac37f5a07c0f74ba94875ea8a5fb82b867
5
5
  SHA512:
6
- metadata.gz: 62efa378b3b353e714f5d46a31f2d6c10e7ee6100d20e8d7e3f804a5b256e580d32a650c193453ee5db9b9d297abd04c322669e75f8c6ffc68093a3896991c87
7
- data.tar.gz: f684d8493aeea2180ce75bf5d99cb6a21c40a31475e818ec9ae1282426a56c1f3d3f2edb515ba80b79aa03021509680a25f9c51d4b73100384cf5829a35e767c
6
+ metadata.gz: 8cf72862f552c4d9de06163653465ea4cf4779f371080b8fb4a345fa1bce9315ad190e12c8cdffaf71ae546d43510804d1574e12a7080e30a35901e3e842d947
7
+ data.tar.gz: cff63fd75943908ee9084e821c7a6a32d517c729796cbdc705f4928431f27540d904c0ea1080c9248a0542a43cbc660e652d07b0cb69e8e641153956d1354e47
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.2.1
4
+
5
+ - Fix clipped text of grid markers when they include 1000 displayed as 1K
6
+
3
7
  ## 0.2.0
4
8
 
5
9
  - Initial implementation of `bar_chart` custom control
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Graphs and Charts 0.2.0 (Alpha)
1
+ # Graphs and Charts 0.2.1 (Alpha)
2
2
  ## [Glimmer DSL for LibUI](https://github.com/AndyObtiva/glimmer-dsl-libui) Custom Controls
3
3
  [![Gem Version](https://badge.fury.io/rb/glimmer-libui-cc-graphs_and_charts.svg)](http://badge.fury.io/rb/glimmer-libui-cc-graphs_and_charts)
4
4
  [![Join the chat at https://gitter.im/AndyObtiva/glimmer](https://badges.gitter.im/AndyObtiva/glimmer.svg)](https://gitter.im/AndyObtiva/glimmer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
@@ -14,7 +14,7 @@ Graphs and Charts (Custom Controls) for [Glimmer DSL for LibUI](https://github.c
14
14
  Add this line to Bundler `Gemfile`:
15
15
 
16
16
  ```ruby
17
- gem 'glimmer-libui-cc-graphs_and_charts', '~> 0.2.0'
17
+ gem 'glimmer-libui-cc-graphs_and_charts', '~> 0.2.1'
18
18
  ```
19
19
 
20
20
  Run:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: glimmer-libui-cc-graphs_and_charts 0.2.0 ruby lib
5
+ # stub: glimmer-libui-cc-graphs_and_charts 0.2.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "glimmer-libui-cc-graphs_and_charts".freeze
9
- s.version = "0.2.0".freeze
9
+ s.version = "0.2.1".freeze
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
@@ -240,7 +240,7 @@ module Glimmer
240
240
  def estimate_width_of_text(text_string, font_properties)
241
241
  # TODO refactor move this method to somewhere common like Glimmer module
242
242
  font_size = font_properties[:size] || 16
243
- estimated_font_width = 0.6 * font_size
243
+ estimated_font_width = 0.62 * font_size
244
244
  text_string.chars.size * estimated_font_width
245
245
  end
246
246
 
@@ -553,7 +553,7 @@ module Glimmer
553
553
 
554
554
  def estimate_width_of_text(text_string, font_properties)
555
555
  font_size = font_properties[:size] || 16
556
- estimated_font_width = 0.6 * font_size
556
+ estimated_font_width = 0.62 * font_size
557
557
  text_string.chars.size * estimated_font_width
558
558
  end
559
559
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-libui-cc-graphs_and_charts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh