chartkick 3.3.1 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +31 -2
- data/LICENSE.txt +1 -1
- data/README.md +78 -39
- data/lib/chartkick.rb +2 -26
- data/lib/chartkick/enumerable.rb +25 -0
- data/lib/chartkick/helper.rb +43 -28
- data/lib/chartkick/version.rb +1 -1
- data/licenses/LICENSE-chart.js.txt +9 -0
- data/licenses/LICENSE-chartjs-adapter-date-fns.txt +9 -0
- data/licenses/LICENSE-chartkick.js.txt +22 -0
- data/licenses/LICENSE-date-fns.txt +20 -0
- data/vendor/assets/javascripts/Chart.bundle.js +2 -20755
- data/vendor/assets/javascripts/chart.js +12486 -0
- data/vendor/assets/javascripts/chartjs-adapter-date-fns.bundle.js +6313 -0
- data/vendor/assets/javascripts/chartkick.js +340 -257
- metadata +16 -52
- data/CONTRIBUTING.md +0 -46
metadata
CHANGED
@@ -1,79 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chartkick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: minitest
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
description:
|
11
|
+
date: 2021-04-05 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description:
|
56
14
|
email: andrew@chartkick.com
|
57
15
|
executables: []
|
58
16
|
extensions: []
|
59
17
|
extra_rdoc_files: []
|
60
18
|
files:
|
61
19
|
- CHANGELOG.md
|
62
|
-
- CONTRIBUTING.md
|
63
20
|
- LICENSE.txt
|
64
21
|
- README.md
|
65
22
|
- lib/chartkick.rb
|
66
23
|
- lib/chartkick/engine.rb
|
24
|
+
- lib/chartkick/enumerable.rb
|
67
25
|
- lib/chartkick/helper.rb
|
68
26
|
- lib/chartkick/sinatra.rb
|
69
27
|
- lib/chartkick/version.rb
|
28
|
+
- licenses/LICENSE-chart.js.txt
|
29
|
+
- licenses/LICENSE-chartjs-adapter-date-fns.txt
|
30
|
+
- licenses/LICENSE-chartkick.js.txt
|
31
|
+
- licenses/LICENSE-date-fns.txt
|
70
32
|
- vendor/assets/javascripts/Chart.bundle.js
|
33
|
+
- vendor/assets/javascripts/chart.js
|
34
|
+
- vendor/assets/javascripts/chartjs-adapter-date-fns.bundle.js
|
71
35
|
- vendor/assets/javascripts/chartkick.js
|
72
36
|
homepage: https://chartkick.com
|
73
37
|
licenses:
|
74
38
|
- MIT
|
75
39
|
metadata: {}
|
76
|
-
post_install_message:
|
40
|
+
post_install_message:
|
77
41
|
rdoc_options: []
|
78
42
|
require_paths:
|
79
43
|
- lib
|
@@ -81,15 +45,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
81
45
|
requirements:
|
82
46
|
- - ">="
|
83
47
|
- !ruby/object:Gem::Version
|
84
|
-
version: '2.
|
48
|
+
version: '2.6'
|
85
49
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
50
|
requirements:
|
87
51
|
- - ">="
|
88
52
|
- !ruby/object:Gem::Version
|
89
53
|
version: '0'
|
90
54
|
requirements: []
|
91
|
-
rubygems_version: 3.
|
92
|
-
signing_key:
|
55
|
+
rubygems_version: 3.2.3
|
56
|
+
signing_key:
|
93
57
|
specification_version: 4
|
94
58
|
summary: Create beautiful JavaScript charts with one line of Ruby
|
95
59
|
test_files: []
|
data/CONTRIBUTING.md
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
# Contributing
|
2
|
-
|
3
|
-
First, thanks for wanting to contribute. You’re awesome! :heart:
|
4
|
-
|
5
|
-
## Help
|
6
|
-
|
7
|
-
We’re not able to provide support through GitHub Issues. If you’re looking for help with your code, try posting on [Stack Overflow](https://stackoverflow.com/).
|
8
|
-
|
9
|
-
All features should be documented. If you don’t see a feature in the docs, assume it doesn’t exist.
|
10
|
-
|
11
|
-
## Bugs
|
12
|
-
|
13
|
-
Think you’ve discovered a bug?
|
14
|
-
|
15
|
-
1. Search existing issues to see if it’s been reported.
|
16
|
-
2. Try the `master` branch to make sure it hasn’t been fixed.
|
17
|
-
|
18
|
-
```rb
|
19
|
-
gem "chartkick", github: "ankane/chartkick"
|
20
|
-
```
|
21
|
-
|
22
|
-
If the above steps don’t help, create an issue. Include:
|
23
|
-
|
24
|
-
- Detailed steps to reproduce
|
25
|
-
- JavaScript rendered by Chartkick
|
26
|
-
- Complete backtraces for exceptions
|
27
|
-
|
28
|
-
## New Features
|
29
|
-
|
30
|
-
If you’d like to discuss a new feature, create an issue and start the title with `[Idea]`.
|
31
|
-
|
32
|
-
## Pull Requests
|
33
|
-
|
34
|
-
Fork the project and create a pull request. A few tips:
|
35
|
-
|
36
|
-
- Submit JavaScript changes to the [Chartkick.js](https://github.com/ankane/chartkick.js) repo.
|
37
|
-
- Keep changes to a minimum. If you have multiple features or fixes, submit multiple pull requests.
|
38
|
-
- Follow the existing style. The code should read like it’s written by a single person.
|
39
|
-
|
40
|
-
Feel free to open an issue to get feedback on your idea before spending too much time on it.
|
41
|
-
|
42
|
-
Also, note that we aren’t currently accepting new chart types.
|
43
|
-
|
44
|
-
---
|
45
|
-
|
46
|
-
This contributing guide is released under [CCO](https://creativecommons.org/publicdomain/zero/1.0/) (public domain). Use it for your own project without attribution.
|