chartkick 1.5.1 → 1.5.2

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
  SHA1:
3
- metadata.gz: e8fed29eb21b5e216d95355927f4a27ceffac11d
4
- data.tar.gz: 3e591e657b25131a0f4dfd831d8aef38f5c84438
3
+ metadata.gz: 82cdbb6b87fdf0a3c87795d5c28eb6eea52c2119
4
+ data.tar.gz: 3ffaddfafdd92df4ca5d71ebfc077fa4951301dd
5
5
  SHA512:
6
- metadata.gz: 9652238532d3e0f034ad8d6290b505db63899f5d194126461f89ee8edbc4e6b2f33567bc1c561a787b94783d1258487a0a2c61e5f741d1c5a206e0c6212ead8c
7
- data.tar.gz: e00f580084a51802032d81c57bd8511045ef23935786ce552a776ed9788a27be1dda7cf197fa90a31c104f9e4163199eb973a605852373090da1ec4b3898738d
6
+ metadata.gz: 72048eaf74b2d83f1dfb46626eae9a351c1dfdd2f71ac42df9a84c7c66e9c6a4944689698eeff74c87b7f0e1e13eea4ef42270c185ff02c147c5efeed9003c9a
7
+ data.tar.gz: 176fe037e0ec8e0f149e73e267cc8cb0656709576ba33addca4494d1b64346e67316fac2f69a0d9631a69f5873d9dc360410ecdbf07cf240dccfd2423d226253
@@ -1,3 +1,7 @@
1
+ ## 1.5.2
2
+
3
+ - Fixed Sprockets error
4
+
1
5
  ## 1.5.1
2
6
 
3
7
  - Updated chartkick.js to latest version
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
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Chartkick
2
- VERSION = "1.5.1"
2
+ VERSION = "1.5.2"
3
3
  end
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.1
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-04 00:00:00.000000000 Z
11
+ date: 2016-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler