my_chartkick 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -3
- data/lib/my_chartkick.rb +3 -2
- data/lib/my_chartkick/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '00946030a653d23697ffed1af871539d5a59f19e'
|
4
|
+
data.tar.gz: f05ece2a42e039d54458b549e89bc747ee5c2aaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d580eff20d00f085f85e619908bc5279b9067bf8652088547fc6cef63a94b62f24bd2b245937f0ddd5e3937b090f6fa774df2fea30670e8bbe4590539251877
|
7
|
+
data.tar.gz: f5bccf27b7f3ba82963532adf5e2ade62906145b62d534578237bd1a4ff6b9f78e402e82f6c611d727fd0bcd623108e3a6e8e5288d6a49dc528ee6b17bf7ed90
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# MyChartkick
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
A Chartkick wrapper works with non-activerecord
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
data/lib/my_chartkick.rb
CHANGED
@@ -19,9 +19,10 @@ module MyChartkick
|
|
19
19
|
data_set = DataSet.create data, opt
|
20
20
|
colorize! data_set, opt
|
21
21
|
merge_default_opt! opt
|
22
|
+
title = opt.delete :title
|
22
23
|
chart_block = send helper, data_set, opt
|
23
|
-
return chart_block unless
|
24
|
-
title_block(
|
24
|
+
return chart_block unless title
|
25
|
+
title_block(title) + chart_block
|
25
26
|
end
|
26
27
|
end
|
27
28
|
|
data/lib/my_chartkick/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my_chartkick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ken
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
138
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.
|
139
|
+
rubygems_version: 2.6.8
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: A Chartkick wrapper works with non-activerecord
|