chartkick 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of chartkick might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06c3f38fbf6ee6a1981868e6c8b66d41b622573e
4
- data.tar.gz: 1cd7e3761a9cfa989ae2add1f2715103edd8212a
3
+ metadata.gz: 848d18904d57decb720961b641517820104fd6cc
4
+ data.tar.gz: 878e5deed5566486939c041003fffb354c1ad1c4
5
5
  SHA512:
6
- metadata.gz: 20b26ec98f97e04d04ca157c4731fbb035c12bcb93c30ea78a3f9d7ca5c0d96f859e82ba99a773cd4e413e988211dfcf46c6e914769151a9fa0b706dd2186d27
7
- data.tar.gz: f7a0cc574921407145c356c91b987834e60d6e22677b005ff97d4185d8270c9fabbc4a8b8d36a310cecb400760b578e974c799ea1f67d3e644bffaec452a3138
6
+ metadata.gz: 1916921d38f7cddb051f9e8ac1d6599449f95c4b30d2b6168f80e1155a3c405c53ecd10521b88202298261df6a211d2c3747af0f239083c745d1a072510442c3
7
+ data.tar.gz: 6a54d67e004bd435689b787be2063be304f4ee0b1e6d52fc81b2ebcd3f000b23f703b676332980e7eaa399dd725fb94b11fe47d5e62a610794b977e77934f69c
@@ -1,4 +1,8 @@
1
- ## 2.1.0 [unreleased]
1
+ ## 2.1.1
2
+
3
+ - Use custom version of Chart.js to fix label overlap
4
+
5
+ ## 2.1.0
2
6
 
3
7
  - Added basic support for new Google Charts loader
4
8
  - Added `configure` function
@@ -1,3 +1,3 @@
1
1
  module Chartkick
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
@@ -14609,7 +14609,7 @@ module.exports = function(Chart) {
14609
14609
  if (me.options.time.max) {
14610
14610
  me.ticks.push(me.lastTick.clone());
14611
14611
  me.scaleSizeInUnits = me.lastTick.diff(me.ticks[0], me.tickUnit, true);
14612
- } else {
14612
+ } else if (me.scaleSizeInUnits === 0) {
14613
14613
  me.ticks.push(me.lastTick.clone());
14614
14614
  me.scaleSizeInUnits = me.lastTick.diff(me.firstTick, me.tickUnit, true);
14615
14615
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chartkick
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-10 00:00:00.000000000 Z
11
+ date: 2016-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler