chartkickm 3.0.4

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d1f85d4daf4e09bcc74975358efa0916f3435633
4
+ data.tar.gz: b4ca4f99f258b540d5608182ed15837232511fcf
5
+ SHA512:
6
+ metadata.gz: 1540cf20ef1936a95d9e211134d1e1d44bc758a84e3d468112757104589ee2d45ebc1ec9547f6f0a5f931e7fbbd7f6c58d84b6dfe1f8c1e71ff82620cba98276
7
+ data.tar.gz: c7155ae6545a84c504876493dbc0feb9dfc3c4a6fcd194af51e96992335a45971a41dce59418f1dd27b1ae3a92f464ebc3f8bbfb671fbee320b336d9cb8c357f
data/CHANGELOG.md ADDED
@@ -0,0 +1,224 @@
1
+ ## 3.0.2
2
+
3
+ - Fixed error with `nonce` option with Secure Headers and Rails < 5.2
4
+ - Updated Chartkick.js to 3.0.2
5
+ - Updated Chart.js to 2.7.3
6
+
7
+ ## 3.0.1
8
+
9
+ - Updated Chartkick.js to 3.0.1
10
+
11
+ ## 3.0.0
12
+
13
+ - Updated Chartkick.js to 3.0.0
14
+ - Added `code` option
15
+ - Added support for `nonce: true`
16
+
17
+ Breaking changes
18
+
19
+ - Removed support for Rails < 4.2
20
+ - Removed chartkick.js from asset precompile (no longer needed)
21
+ - Removed `xtype` option - numeric axes are automatically detected
22
+ - Removed `window.Chartkick = {...}` way to set config - use `Chartkick.configure` instead
23
+ - Removed support for the Google Charts jsapi loader - use loader.js instead
24
+
25
+ ## 2.3.5
26
+
27
+ - Updated Chartkick.js to 2.3.6
28
+
29
+ ## 2.3.4
30
+
31
+ - Updated Chartkick.js to 2.3.5
32
+ - Updated Chart.js to 2.7.2
33
+
34
+ ## 2.3.3
35
+
36
+ - Updated Chartkick.js to 2.3.4
37
+
38
+ ## 2.3.2
39
+
40
+ - Updated Chartkick.js to 2.3.3
41
+
42
+ ## 2.3.1
43
+
44
+ - Updated Chartkick.js to 2.3.1
45
+
46
+ ## 2.3.0
47
+
48
+ - Fixed deep merge error for non-Rails apps
49
+ - Updated Chartkick.js to 2.3.0
50
+
51
+ ## 2.2.5
52
+
53
+ - Updated Chart.js to 2.7.1
54
+
55
+ ## 2.2.4
56
+
57
+ - Added compatibility with Rails API
58
+ - Updated Chartkick.js to 2.2.4
59
+
60
+ ## 2.2.3
61
+
62
+ - Updated Chartkick.js to 2.2.3
63
+ - Updated Chart.js to 2.5.0
64
+
65
+ ## 2.2.2
66
+
67
+ - Updated Chartkick.js to 2.2.2
68
+
69
+ ## 2.2.1
70
+
71
+ - Updated Chartkick.js to 2.2.1
72
+
73
+ ## 2.2.0
74
+
75
+ - Updated Chartkick.js to 2.2.0
76
+ - Improved JavaScript API
77
+ - Added `download` option - *Chart.js only*
78
+ - Added `refresh` option
79
+ - Added `donut` option to pie chart
80
+
81
+ ## 2.1.3
82
+
83
+ - Updated Chartkick.js to 2.1.2 - fixes missing zero values for Chart.js
84
+
85
+ ## 2.1.2
86
+
87
+ - Added `defer` option
88
+ - Added `nonce` option
89
+ - Updated Chartkick.js to 2.1.1
90
+
91
+ ## 2.1.1
92
+
93
+ - Use custom version of Chart.js to fix label overlap
94
+
95
+ ## 2.1.0
96
+
97
+ - Added basic support for new Google Charts loader
98
+ - Added `configure` function
99
+ - Dropped jQuery and Zepto dependencies for AJAX
100
+ - Updated Chart.js to 2.2.2
101
+
102
+ ## 2.0.2
103
+
104
+ - Updated Chartkick.js to 2.0.1
105
+ - Updated Chart.js to 2.2.1
106
+
107
+ ## 2.0.1
108
+
109
+ - Small Chartkick.js fixes
110
+ - Updated Chart.js to 2.2.0
111
+
112
+ ## 2.0.0
113
+
114
+ - Chart.js is now the default adapter - yay open source!
115
+ - Axis types are automatically detected - no need for `discrete: true`
116
+ - Better date support
117
+ - New JavaScript API
118
+
119
+ ## 1.5.2
120
+
121
+ - Fixed Sprockets error
122
+
123
+ ## 1.5.1
124
+
125
+ - Updated chartkick.js to latest version
126
+ - Included `Chart.bundle.js`
127
+
128
+ ## 1.5.0
129
+
130
+ - Added Chart.js adapter **beta**
131
+ - Fixed line height on timeline charts
132
+
133
+ ## 1.4.2
134
+
135
+ - Added `width` option
136
+ - Added `label` option
137
+ - Added support for `stacked: false` for area charts
138
+ - Lazy load adapters
139
+ - Better tooltip for dates for Google Charts
140
+ - Fixed asset precompilation issue with Rails 5
141
+
142
+ ## 1.4.1
143
+
144
+ - Fixed regression with `min: nil`
145
+
146
+ ## 1.4.0
147
+
148
+ - Added scatter chart
149
+ - Added axis titles
150
+
151
+ ## 1.3.2
152
+
153
+ - Fixed `except` error when not using Rails
154
+
155
+ ## 1.3.1
156
+
157
+ - Fixed blank screen bug
158
+ - Fixed language support
159
+
160
+ ## 1.3.0
161
+
162
+ - Added timelines
163
+
164
+ ## 1.2.5
165
+
166
+ - Added support for multiple groups
167
+ - Added `html` option
168
+
169
+ ## 1.2.4
170
+
171
+ - Added global options
172
+ - Added `colors` option
173
+
174
+ ## 1.2.3
175
+
176
+ - Added geo chart
177
+ - Added `discrete` option
178
+
179
+ ## 1.2.2
180
+
181
+ - Added global `content_for` option
182
+ - Added `stacked` option
183
+
184
+ ## 1.2.1
185
+
186
+ - Added localization for Google Charts
187
+
188
+ ## 1.2.0
189
+
190
+ - Added bar chart and area chart
191
+ - Resize Google Charts on window resize
192
+
193
+ ## 1.1.3
194
+
195
+ - Added content_for option
196
+
197
+ ## 1.1.2
198
+
199
+ - Updated chartkick.js to v1.0.1
200
+
201
+ ## 1.1.1
202
+
203
+ - Added support for Sinatra
204
+
205
+ ## 1.1.0
206
+
207
+ - Added support for Padrino and Rails 2.3+
208
+
209
+ ## 1.0.1
210
+
211
+ - Updated chartkick.js to v1.0.1
212
+
213
+ ## 1.0.0
214
+
215
+ - Use semantic versioning (no changes)
216
+
217
+ ## 0.0.5
218
+
219
+ - Removed `:min => 0` default for charts with negative values
220
+ - Show legend when data given in `{:name => "", :data => {}}` format
221
+
222
+ ## 0.0.4
223
+
224
+ - Fix for `Uncaught ReferenceError: Chartkick is not defined` when chartkick.js is included in the `<head>`
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,45 @@
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
+ - Keep changes to a minimum. If you have multiple features or fixes, submit multiple pull requests.
37
+ - Follow the existing style. The code should read like it’s written by a single person.
38
+
39
+ Feel free to open an issue to get feedback on your idea before spending too much time on it.
40
+
41
+ Also, note that we aren’t currently accepting new chart types.
42
+
43
+ ---
44
+
45
+ This contributing guide is released under [CCO](https://creativecommons.org/publicdomain/zero/1.0/) (public domain). Use it for your own project without attribution.
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013-2019 Andrew Kane
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.