chart_bibz 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 +3 -2
- data/lib/chart_bibz/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c1a5eb4148e2a0a0730a06f1b50e5c99b4d573d32f9a16c55f8b11f281388f2
|
4
|
+
data.tar.gz: 1202c670893fd7543092b7c464c33945f493b25022423ff8e499645a0657cd0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cd0544e85b910810a5a1a1b3a6cda7b0013b7dd3f0a57cbaf6e35e6ea8da3bbf060c33036d95d7a6e0fee08efbe4c317ffe5183f982a5715f2dcb6a4c51ea6b
|
7
|
+
data.tar.gz: 6c74b46394bcb0ad929d45c8c2c432565e3a3886ff1daaa429ffd8cc19425eb9ce579f6d65cdfe6b2b29b99219ef17f1a80c1943f436ec036e603b389f48b27c
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Use Chartjs with ruby. Generate your chart in one ruby line.
|
|
9
9
|
[![security](https://hakiri.io/github/thooams/chart_bibz/main.svg)](https://hakiri.io/github/thooams/chart_bibz/main)
|
10
10
|
[![Ci](https://github.com/thooams/chart_bibz/workflows/CI/badge.svg)](https://github.com/thooams/chart_bibz/actions)
|
11
11
|
[![Linter](https://github.com/thooams/chart_bibz/workflows/Linter/badge.svg)](https://github.com/thooams/chart_bibz/actions)
|
12
|
-
[![Inline docs](http://inch-ci.org/github/thooams/chart_bibz.svg?branch=
|
12
|
+
[![Inline docs](http://inch-ci.org/github/thooams/chart_bibz.svg?branch=main)](http://inch-ci.org/github/thooams/chart_bibz)
|
13
13
|
|
14
14
|
|
15
15
|
## Usage
|
@@ -35,10 +35,11 @@ data = {
|
|
35
35
|
}]
|
36
36
|
}
|
37
37
|
options = { type: :bar, scales: { yAxes: [{ ticks: { beginAtZero: true } }] } }
|
38
|
+
html_options = { id: "my-chart", width: 100, height: 520 }
|
38
39
|
|
39
40
|
chart data
|
40
41
|
# or
|
41
|
-
chart data, options,
|
42
|
+
chart data, options, html_options
|
42
43
|
```
|
43
44
|
|
44
45
|
## Installation
|
data/lib/chart_bibz/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chart_bibz
|
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
|
- Thomas HUMMEL
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: overcommit
|