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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8340301db148379344f907087206294a3f9936ab872e7ba093224fba40623d5a
4
- data.tar.gz: 9bec2b998ced586af65237ccd0667da5658cafdb8a25c205debe670fdc0601e0
3
+ metadata.gz: 0c1a5eb4148e2a0a0730a06f1b50e5c99b4d573d32f9a16c55f8b11f281388f2
4
+ data.tar.gz: 1202c670893fd7543092b7c464c33945f493b25022423ff8e499645a0657cd0a
5
5
  SHA512:
6
- metadata.gz: bfe263f9fe1f7ae798630a32c82af6b8b3e95b058bad2b93afbb6bfa8f9d89e41376bbda4d411af4cc908c47bdc1b923c8f35a515b24c611773003405f2259b1
7
- data.tar.gz: 996431bc8d191d857c75554de16c1f458d19c37cf4e60239432f56b917c30cf5c0ee3d9d6d89ff5bb702e937216f685584a464586d481b7fa1f4156310ca3452
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=master)](http://inch-ci.org/github/thooams/chart_bibz)
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, { id: "my-chart", width: 100, height: 520 }
42
+ chart data, options, html_options
42
43
  ```
43
44
 
44
45
  ## Installation
@@ -3,5 +3,5 @@
3
3
  # The Main Module
4
4
  module ChartBibz
5
5
  # The current version of Chart Bibz
6
- VERSION = '0.1.1'
6
+ VERSION = '0.1.2'
7
7
  end
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.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-01-12 00:00:00.000000000 Z
11
+ date: 2021-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: overcommit