blazer 2.2.6 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of blazer might be problematic. Click here for more details.

Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +105 -29
  5. data/app/assets/javascripts/blazer/Chart.js +13794 -12099
  6. data/app/assets/javascripts/blazer/Sortable.js +3695 -1526
  7. data/app/assets/javascripts/blazer/chartkick.js +296 -46
  8. data/app/assets/javascripts/blazer/daterangepicker.js +194 -269
  9. data/app/assets/javascripts/blazer/jquery.js +1150 -642
  10. data/app/assets/javascripts/blazer/moment-timezone-with-data.js +621 -287
  11. data/app/assets/javascripts/blazer/moment.js +5085 -2460
  12. data/app/assets/stylesheets/blazer/application.css +4 -0
  13. data/app/assets/stylesheets/blazer/daterangepicker.css +394 -253
  14. data/app/controllers/blazer/base_controller.rb +12 -4
  15. data/app/controllers/blazer/dashboards_controller.rb +7 -2
  16. data/app/controllers/blazer/queries_controller.rb +119 -3
  17. data/app/controllers/blazer/uploads_controller.rb +147 -0
  18. data/app/mailers/blazer/slack_notifier.rb +1 -1
  19. data/app/models/blazer/query.rb +8 -1
  20. data/app/models/blazer/upload.rb +11 -0
  21. data/app/models/blazer/uploads_connection.rb +7 -0
  22. data/app/views/blazer/_nav.html.erb +3 -0
  23. data/app/views/blazer/_variables.html.erb +3 -1
  24. data/app/views/blazer/checks/_form.html.erb +1 -1
  25. data/app/views/blazer/checks/index.html.erb +3 -0
  26. data/app/views/blazer/dashboards/_form.html.erb +1 -1
  27. data/app/views/blazer/dashboards/show.html.erb +1 -1
  28. data/app/views/blazer/queries/_caching.html.erb +16 -0
  29. data/app/views/blazer/queries/_cohorts.html.erb +48 -0
  30. data/app/views/blazer/queries/docs.html.erb +6 -0
  31. data/app/views/blazer/queries/home.html.erb +3 -0
  32. data/app/views/blazer/queries/run.html.erb +20 -22
  33. data/app/views/blazer/queries/show.html.erb +1 -1
  34. data/app/views/blazer/uploads/_form.html.erb +27 -0
  35. data/app/views/blazer/uploads/edit.html.erb +3 -0
  36. data/app/views/blazer/uploads/index.html.erb +55 -0
  37. data/app/views/blazer/uploads/new.html.erb +3 -0
  38. data/config/routes.rb +5 -0
  39. data/lib/blazer.rb +18 -0
  40. data/lib/blazer/adapters/base_adapter.rb +8 -0
  41. data/lib/blazer/adapters/sql_adapter.rb +42 -1
  42. data/lib/blazer/data_source.rb +1 -1
  43. data/lib/blazer/version.rb +1 -1
  44. data/lib/generators/blazer/templates/config.yml.tt +6 -0
  45. data/lib/generators/blazer/templates/install.rb.tt +3 -2
  46. data/lib/generators/blazer/templates/uploads.rb.tt +10 -0
  47. data/lib/generators/blazer/uploads_generator.rb +18 -0
  48. data/lib/tasks/blazer.rake +9 -0
  49. data/licenses/LICENSE-ace.txt +24 -0
  50. data/licenses/LICENSE-bootstrap.txt +21 -0
  51. data/licenses/LICENSE-chart.js.txt +9 -0
  52. data/licenses/LICENSE-chartkick.js.txt +22 -0
  53. data/licenses/LICENSE-daterangepicker.txt +21 -0
  54. data/licenses/LICENSE-fuzzysearch.txt +20 -0
  55. data/licenses/LICENSE-highlight.js.txt +29 -0
  56. data/licenses/LICENSE-jquery-ujs.txt +20 -0
  57. data/licenses/LICENSE-jquery.txt +20 -0
  58. data/licenses/LICENSE-moment-timezone.txt +20 -0
  59. data/licenses/LICENSE-moment.txt +22 -0
  60. data/licenses/LICENSE-selectize.txt +202 -0
  61. data/licenses/LICENSE-sortable.txt +21 -0
  62. data/licenses/LICENSE-stickytableheaders.txt +20 -0
  63. data/licenses/LICENSE-stupidtable.txt +19 -0
  64. data/licenses/LICENSE-vue.txt +21 -0
  65. metadata +34 -7
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 All contributors to Sortable
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Jonas Mosbech
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2012 Joseph McCullough
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2013-present, Yuxi (Evan) You
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blazer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.6
4
+ version: 2.4.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: 2020-07-22 00:00:00.000000000 Z
11
+ date: 2020-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -94,7 +94,7 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- description:
97
+ description:
98
98
  email: andrew@chartkick.com
99
99
  executables: []
100
100
  extensions: []
@@ -145,6 +145,7 @@ files:
145
145
  - app/controllers/blazer/checks_controller.rb
146
146
  - app/controllers/blazer/dashboards_controller.rb
147
147
  - app/controllers/blazer/queries_controller.rb
148
+ - app/controllers/blazer/uploads_controller.rb
148
149
  - app/helpers/blazer/base_helper.rb
149
150
  - app/mailers/blazer/check_mailer.rb
150
151
  - app/mailers/blazer/slack_notifier.rb
@@ -155,6 +156,8 @@ files:
155
156
  - app/models/blazer/dashboard_query.rb
156
157
  - app/models/blazer/query.rb
157
158
  - app/models/blazer/record.rb
159
+ - app/models/blazer/upload.rb
160
+ - app/models/blazer/uploads_connection.rb
158
161
  - app/views/blazer/_nav.html.erb
159
162
  - app/views/blazer/_variables.html.erb
160
163
  - app/views/blazer/check_mailer/failing_checks.html.erb
@@ -167,6 +170,8 @@ files:
167
170
  - app/views/blazer/dashboards/edit.html.erb
168
171
  - app/views/blazer/dashboards/new.html.erb
169
172
  - app/views/blazer/dashboards/show.html.erb
173
+ - app/views/blazer/queries/_caching.html.erb
174
+ - app/views/blazer/queries/_cohorts.html.erb
170
175
  - app/views/blazer/queries/_form.html.erb
171
176
  - app/views/blazer/queries/docs.html.erb
172
177
  - app/views/blazer/queries/edit.html.erb
@@ -175,6 +180,10 @@ files:
175
180
  - app/views/blazer/queries/run.html.erb
176
181
  - app/views/blazer/queries/schema.html.erb
177
182
  - app/views/blazer/queries/show.html.erb
183
+ - app/views/blazer/uploads/_form.html.erb
184
+ - app/views/blazer/uploads/edit.html.erb
185
+ - app/views/blazer/uploads/index.html.erb
186
+ - app/views/blazer/uploads/new.html.erb
178
187
  - app/views/layouts/blazer/application.html.erb
179
188
  - config/routes.rb
180
189
  - lib/blazer.rb
@@ -203,12 +212,30 @@ files:
203
212
  - lib/generators/blazer/install_generator.rb
204
213
  - lib/generators/blazer/templates/config.yml.tt
205
214
  - lib/generators/blazer/templates/install.rb.tt
215
+ - lib/generators/blazer/templates/uploads.rb.tt
216
+ - lib/generators/blazer/uploads_generator.rb
206
217
  - lib/tasks/blazer.rake
218
+ - licenses/LICENSE-ace.txt
219
+ - licenses/LICENSE-bootstrap.txt
220
+ - licenses/LICENSE-chart.js.txt
221
+ - licenses/LICENSE-chartkick.js.txt
222
+ - licenses/LICENSE-daterangepicker.txt
223
+ - licenses/LICENSE-fuzzysearch.txt
224
+ - licenses/LICENSE-highlight.js.txt
225
+ - licenses/LICENSE-jquery-ujs.txt
226
+ - licenses/LICENSE-jquery.txt
227
+ - licenses/LICENSE-moment-timezone.txt
228
+ - licenses/LICENSE-moment.txt
229
+ - licenses/LICENSE-selectize.txt
230
+ - licenses/LICENSE-sortable.txt
231
+ - licenses/LICENSE-stickytableheaders.txt
232
+ - licenses/LICENSE-stupidtable.txt
233
+ - licenses/LICENSE-vue.txt
207
234
  homepage: https://github.com/ankane/blazer
208
235
  licenses:
209
236
  - MIT
210
237
  metadata: {}
211
- post_install_message:
238
+ post_install_message:
212
239
  rdoc_options: []
213
240
  require_paths:
214
241
  - lib
@@ -223,8 +250,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
223
250
  - !ruby/object:Gem::Version
224
251
  version: '0'
225
252
  requirements: []
226
- rubygems_version: 3.1.2
227
- signing_key:
253
+ rubygems_version: 3.1.4
254
+ signing_key:
228
255
  specification_version: 4
229
256
  summary: Explore your data with SQL. Easily create charts and dashboards, and share
230
257
  them with your team.