chartkick 1.5.1 → 1.5.2
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/chartkick/engine.rb +1 -1
- data/lib/chartkick/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82cdbb6b87fdf0a3c87795d5c28eb6eea52c2119
|
4
|
+
data.tar.gz: 3ffaddfafdd92df4ca5d71ebfc077fa4951301dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72048eaf74b2d83f1dfb46626eae9a351c1dfdd2f71ac42df9a84c7c66e9c6a4944689698eeff74c87b7f0e1e13eea4ef42270c185ff02c147c5efeed9003c9a
|
7
|
+
data.tar.gz: 176fe037e0ec8e0f149e73e267cc8cb0656709576ba33addca4494d1b64346e67316fac2f69a0d9631a69f5873d9dc360410ecdbf07cf240dccfd2423d226253
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -224,7 +224,7 @@ gem "chartkick"
|
|
224
224
|
|
225
225
|
Next, choose your charting library.
|
226
226
|
|
227
|
-
**Note:** `application.js` must be included **before** the helper methods in your views, unless using the `:content_for` option.
|
227
|
+
**Note:** In the instructions below, `application.js` must be included **before** the helper methods in your views, unless using the `:content_for` option.
|
228
228
|
|
229
229
|
#### Google Charts
|
230
230
|
|
data/lib/chartkick/engine.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Chartkick
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
initializer "precompile", group: :all do |app|
|
4
|
-
if Gem::Version.new(Sprockets::VERSION) >= Gem::Version.new("4.0.0.beta1")
|
4
|
+
if defined?(Sprockets) && Gem::Version.new(Sprockets::VERSION) >= Gem::Version.new("4.0.0.beta1")
|
5
5
|
app.config.assets.precompile << "chartkick.js"
|
6
6
|
else
|
7
7
|
# use a proc instead of a string
|
data/lib/chartkick/version.rb
CHANGED
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: 1.5.
|
4
|
+
version: 1.5.2
|
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-05-
|
11
|
+
date: 2016-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|