kanaui 2.1.3 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +7 -6
  3. data/app/assets/config/kanaui_manifest.js +3 -0
  4. data/app/assets/javascripts/application.js +0 -1
  5. data/app/assets/stylesheets/application.css +0 -1
  6. data/app/assets/stylesheets/bootstrap_and_overrides.css +0 -4
  7. data/app/controllers/kanaui/dashboard_controller.rb +1 -1
  8. data/lib/kanaui/engine.rb +0 -1
  9. data/lib/kanaui/version.rb +1 -1
  10. metadata +49 -222
  11. data/test/dummy/README.rdoc +0 -261
  12. data/test/dummy/Rakefile +0 -7
  13. data/test/dummy/app/assets/config/manifest.js +0 -1
  14. data/test/dummy/app/controllers/application_controller.rb +0 -3
  15. data/test/dummy/app/helpers/application_helper.rb +0 -2
  16. data/test/dummy/bin/bundle +0 -3
  17. data/test/dummy/bin/rails +0 -4
  18. data/test/dummy/bin/rake +0 -4
  19. data/test/dummy/bin/setup +0 -38
  20. data/test/dummy/bin/update +0 -29
  21. data/test/dummy/bin/yarn +0 -11
  22. data/test/dummy/config/application.rb +0 -26
  23. data/test/dummy/config/boot.rb +0 -3
  24. data/test/dummy/config/environment.rb +0 -5
  25. data/test/dummy/config/environments/development.rb +0 -54
  26. data/test/dummy/config/environments/production.rb +0 -91
  27. data/test/dummy/config/environments/test.rb +0 -42
  28. data/test/dummy/config/initializers/application_controller_renderer.rb +0 -6
  29. data/test/dummy/config/initializers/assets.rb +0 -14
  30. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  31. data/test/dummy/config/initializers/cookies_serializer.rb +0 -5
  32. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  33. data/test/dummy/config/initializers/inflections.rb +0 -16
  34. data/test/dummy/config/initializers/killbill_client.rb +0 -3
  35. data/test/dummy/config/initializers/mime_types.rb +0 -4
  36. data/test/dummy/config/initializers/new_framework_defaults_5_1.rb +0 -14
  37. data/test/dummy/config/initializers/secret_token.rb +0 -7
  38. data/test/dummy/config/initializers/session_store.rb +0 -8
  39. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  40. data/test/dummy/config/locales/en.yml +0 -33
  41. data/test/dummy/config/routes.rb +0 -4
  42. data/test/dummy/config/secrets.yml +0 -32
  43. data/test/dummy/config.ru +0 -4
  44. data/test/dummy/public/404.html +0 -26
  45. data/test/dummy/public/422.html +0 -26
  46. data/test/dummy/public/500.html +0 -25
  47. data/test/dummy/public/favicon.ico +0 -0
  48. data/test/dummy/script/rails +0 -6
  49. data/test/fixtures/kanaui/dashboards.yml +0 -11
  50. data/test/functional/kanaui/tests_controller_test.rb +0 -11
  51. data/test/integration/navigation_test.rb +0 -12
  52. data/test/kanaui_test.rb +0 -9
  53. data/test/test_helper.rb +0 -15
  54. data/test/unit/helpers/kanaui/tests_helper_test.rb +0 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 81ba5da8713d526c0734addf4908b1d3fe6f664a
4
- data.tar.gz: 43ebe1b8f84b750674beb6965132121639ece876
2
+ SHA256:
3
+ metadata.gz: c91b780dad33dbef28929b8de9b239843dda22c3244910616e22d63b4ebb491d
4
+ data.tar.gz: 07dfc04163d5c0a84d8fd2976763821c9435726ba6659942a6da1136cf776005
5
5
  SHA512:
6
- metadata.gz: 160fb9a081490a18d9041384916c64aa13102db326baf4a95aa9b46cae71ce3bdea648fa5a111c7b21b4917f45a20c919f558ddc5e12c2ac1e9d86a03e7d389d
7
- data.tar.gz: 9680d4d33d605e6572249a38fb9dbebc0bb68a4e4c90818087577acbafaf80d2ed3f253009ce724c3d32b5e5209c683d65e41fb735acc04012ced2d25c9e3b31
6
+ metadata.gz: be41164d86e7e9a8280d9c02b9ebe5d7205fd49e91d87643d8d18bfa49df1ba8fe966d628561318a8f41100772653cd49f35053975471834799dee1c96e9fa34
7
+ data.tar.gz: 5a2b7a33361ad4625246bb0ec95cbffc2da9c5ae980e20b2cb0f7bc07a743da4a8c21c3be4d424ce68179090c6899ca2df699b011a55d4459d29fd1d77fbb613
data/README.md CHANGED
@@ -10,12 +10,13 @@ Kill Bill compatibility
10
10
  -----------------------
11
11
 
12
12
  | Kanaui version | Kill Bill version |
13
- | -------------: | ----------------: |
14
- | 0.4.y | 0.16.z |
15
- | 0.5.y | 0.18.z (Rails 4) |
16
- | 0.6.y | 0.18.z (Rails 5) |
17
- | 1.x.y | 0.20.z |
18
- | 2.x.y | 0.22.z |
13
+ |---------------:|------------------:|
14
+ | 0.4.y | 0.16.z |
15
+ | 0.5.y | 0.18.z (Rails 4) |
16
+ | 0.6.y | 0.18.z (Rails 5) |
17
+ | 1.x.y | 0.20.z (Rails 5) |
18
+ | 2.x.y | 0.22.z (Rails 5) |
19
+ | 3.x.y | 0.24.z (Rails 7) |
19
20
 
20
21
  Getting Started
21
22
  ===============
@@ -0,0 +1,3 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../javascripts .js
3
+ //= link_directory ../stylesheets .css
@@ -9,7 +9,6 @@
9
9
  //= require spin
10
10
  //= require jquery
11
11
  //= require jquery_ujs
12
- //= require twitter/bootstrap
13
12
  //= require dataTables/jquery.dataTables
14
13
  //= require dataTables/bootstrap/3/jquery.dataTables.bootstrap
15
14
  //= require dataTables/extras/dataTables.colVis
@@ -8,6 +8,5 @@
8
8
  *= require dataTables/bootstrap/3/jquery.dataTables.bootstrap
9
9
  *= require dataTables/extras/dataTables.colVis
10
10
  *= require font-awesome
11
- *= require bootstrap_and_overrides
12
11
  *= require kanaui/kanaui
13
12
  */
@@ -1,7 +1,3 @@
1
- /*
2
- *= require twitter-bootstrap-static/bootstrap
3
- */
4
-
5
1
  /* Override Bootstrap 3 font locations */
6
2
  @font-face {
7
3
  font-family: 'Glyphicons Halflings';
@@ -147,7 +147,7 @@ module Kanaui
147
147
  next unless k.starts_with?('variable_')
148
148
  next if v.blank?
149
149
 
150
- variable_name = k.split('_')[1..-1].join('_')
150
+ variable_name = k.split('_')[1..].join('_')
151
151
  query << "^variable:#{variable_name}=#{v}"
152
152
  end
153
153
 
data/lib/kanaui/engine.rb CHANGED
@@ -10,7 +10,6 @@ require 'js-routes'
10
10
  require 'jquery-rails'
11
11
  require 'jquery-datatables-rails'
12
12
  require 'font-awesome-rails'
13
- require 'twitter-bootstrap-rails'
14
13
  require 'bootstrap-datepicker-rails'
15
14
  require 'd3_rails'
16
15
  require 'spinjs-rails'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kanaui
4
- VERSION = '2.1.3'
4
+ VERSION = '2.2.1'
5
5
  end
metadata CHANGED
@@ -1,157 +1,113 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanaui
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kill Bill core team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-08 00:00:00.000000000 Z
11
+ date: 2023-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: d3_rails
14
+ name: bootstrap-datepicker-rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.8
19
+ version: '1.6'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.2.8
26
+ version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
- name: jquery-datatables-rails
28
+ name: d3_rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '3.3'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
31
+ - - ">="
39
32
  - !ruby/object:Gem::Version
40
- version: '3.3'
41
- - !ruby/object:Gem::Dependency
42
- name: jquery-rails
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
33
+ version: 3.2.8
34
+ - - "<"
46
35
  - !ruby/object:Gem::Version
47
- version: '4.3'
36
+ version: 4.2.0
48
37
  type: :runtime
49
38
  prerelease: false
50
39
  version_requirements: !ruby/object:Gem::Requirement
51
40
  requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '4.3'
55
- - !ruby/object:Gem::Dependency
56
- name: js-routes
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
41
+ - - ">="
60
42
  - !ruby/object:Gem::Version
61
- version: '1.1'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
43
+ version: 3.2.8
44
+ - - "<"
67
45
  - !ruby/object:Gem::Version
68
- version: '1.1'
46
+ version: 4.2.0
69
47
  - !ruby/object:Gem::Dependency
70
- name: rails
48
+ name: font-awesome-rails
71
49
  requirement: !ruby/object:Gem::Requirement
72
50
  requirements:
73
- - - "~>"
51
+ - - ">="
74
52
  - !ruby/object:Gem::Version
75
- version: '5.1'
53
+ version: '0'
76
54
  type: :runtime
77
55
  prerelease: false
78
56
  version_requirements: !ruby/object:Gem::Requirement
79
57
  requirements:
80
- - - "~>"
58
+ - - ">="
81
59
  - !ruby/object:Gem::Version
82
- version: '5.1'
60
+ version: '0'
83
61
  - !ruby/object:Gem::Dependency
84
- name: bootstrap-datepicker-rails
62
+ name: jquery-datatables-rails
85
63
  requirement: !ruby/object:Gem::Requirement
86
64
  requirements:
87
65
  - - "~>"
88
66
  - !ruby/object:Gem::Version
89
- version: '1.6'
67
+ version: '3.3'
90
68
  type: :runtime
91
69
  prerelease: false
92
70
  version_requirements: !ruby/object:Gem::Requirement
93
71
  requirements:
94
72
  - - "~>"
95
73
  - !ruby/object:Gem::Version
96
- version: '1.6'
74
+ version: '3.3'
97
75
  - !ruby/object:Gem::Dependency
98
- name: font-awesome-rails
76
+ name: jquery-rails
99
77
  requirement: !ruby/object:Gem::Requirement
100
78
  requirements:
101
79
  - - "~>"
102
80
  - !ruby/object:Gem::Version
103
- version: '4.7'
81
+ version: 4.5.1
104
82
  type: :runtime
105
83
  prerelease: false
106
84
  version_requirements: !ruby/object:Gem::Requirement
107
85
  requirements:
108
86
  - - "~>"
109
87
  - !ruby/object:Gem::Version
110
- version: '4.7'
88
+ version: 4.5.1
111
89
  - !ruby/object:Gem::Dependency
112
- name: killbill-client
90
+ name: js-routes
113
91
  requirement: !ruby/object:Gem::Requirement
114
92
  requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '3.2'
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
93
+ - - ">="
123
94
  - !ruby/object:Gem::Version
124
- version: '3.2'
125
- - !ruby/object:Gem::Dependency
126
- name: sass-rails
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
95
+ version: '1.1'
96
+ - - "<"
130
97
  - !ruby/object:Gem::Version
131
- version: '5.0'
98
+ version: '3.0'
132
99
  type: :runtime
133
100
  prerelease: false
134
101
  version_requirements: !ruby/object:Gem::Requirement
135
102
  requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '5.0'
139
- - !ruby/object:Gem::Dependency
140
- name: spinjs-rails
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
103
+ - - ">="
144
104
  - !ruby/object:Gem::Version
145
- version: '1.4'
146
- type: :runtime
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
105
+ version: '1.1'
106
+ - - "<"
151
107
  - !ruby/object:Gem::Version
152
- version: '1.4'
108
+ version: '3.0'
153
109
  - !ruby/object:Gem::Dependency
154
- name: twitter-bootstrap-rails
110
+ name: killbill-client
155
111
  requirement: !ruby/object:Gem::Requirement
156
112
  requirements:
157
113
  - - ">="
@@ -165,55 +121,27 @@ dependencies:
165
121
  - !ruby/object:Gem::Version
166
122
  version: '0'
167
123
  - !ruby/object:Gem::Dependency
168
- name: gem-release
124
+ name: rails
169
125
  requirement: !ruby/object:Gem::Requirement
170
126
  requirements:
171
127
  - - "~>"
172
128
  - !ruby/object:Gem::Version
173
- version: '2.2'
174
- type: :development
129
+ version: '6.1'
130
+ type: :runtime
175
131
  prerelease: false
176
132
  version_requirements: !ruby/object:Gem::Requirement
177
133
  requirements:
178
134
  - - "~>"
179
135
  - !ruby/object:Gem::Version
180
- version: '2.2'
181
- - !ruby/object:Gem::Dependency
182
- name: json
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: 1.8.6
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - ">="
193
- - !ruby/object:Gem::Version
194
- version: 1.8.6
136
+ version: '6.1'
195
137
  - !ruby/object:Gem::Dependency
196
- name: listen
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - ">="
200
- - !ruby/object:Gem::Version
201
- version: '0'
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - ">="
207
- - !ruby/object:Gem::Version
208
- version: '0'
209
- - !ruby/object:Gem::Dependency
210
- name: rake
138
+ name: sass-rails
211
139
  requirement: !ruby/object:Gem::Requirement
212
140
  requirements:
213
141
  - - ">="
214
142
  - !ruby/object:Gem::Version
215
143
  version: '0'
216
- type: :development
144
+ type: :runtime
217
145
  prerelease: false
218
146
  version_requirements: !ruby/object:Gem::Requirement
219
147
  requirements:
@@ -221,27 +149,13 @@ dependencies:
221
149
  - !ruby/object:Gem::Version
222
150
  version: '0'
223
151
  - !ruby/object:Gem::Dependency
224
- name: rubocop
225
- requirement: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - "~>"
228
- - !ruby/object:Gem::Version
229
- version: 0.88.0
230
- type: :development
231
- prerelease: false
232
- version_requirements: !ruby/object:Gem::Requirement
233
- requirements:
234
- - - "~>"
235
- - !ruby/object:Gem::Version
236
- version: 0.88.0
237
- - !ruby/object:Gem::Dependency
238
- name: simplecov
152
+ name: spinjs-rails
239
153
  requirement: !ruby/object:Gem::Requirement
240
154
  requirements:
241
155
  - - ">="
242
156
  - !ruby/object:Gem::Version
243
157
  version: '0'
244
- type: :development
158
+ type: :runtime
245
159
  prerelease: false
246
160
  version_requirements: !ruby/object:Gem::Requirement
247
161
  requirements:
@@ -257,6 +171,7 @@ files:
257
171
  - MIT-LICENSE
258
172
  - README.md
259
173
  - Rakefile
174
+ - app/assets/config/kanaui_manifest.js
260
175
  - app/assets/images/back_disabled.png
261
176
  - app/assets/images/back_enabled.png
262
177
  - app/assets/images/back_enabled_hover.png
@@ -307,54 +222,11 @@ files:
307
222
  - lib/sample_data/line.json
308
223
  - lib/sample_data/pie.json
309
224
  - lib/tasks/kanaui_tasks.rake
310
- - test/dummy/README.rdoc
311
- - test/dummy/Rakefile
312
- - test/dummy/app/assets/config/manifest.js
313
- - test/dummy/app/controllers/application_controller.rb
314
- - test/dummy/app/helpers/application_helper.rb
315
- - test/dummy/bin/bundle
316
- - test/dummy/bin/rails
317
- - test/dummy/bin/rake
318
- - test/dummy/bin/setup
319
- - test/dummy/bin/update
320
- - test/dummy/bin/yarn
321
- - test/dummy/config.ru
322
- - test/dummy/config/application.rb
323
- - test/dummy/config/boot.rb
324
- - test/dummy/config/environment.rb
325
- - test/dummy/config/environments/development.rb
326
- - test/dummy/config/environments/production.rb
327
- - test/dummy/config/environments/test.rb
328
- - test/dummy/config/initializers/application_controller_renderer.rb
329
- - test/dummy/config/initializers/assets.rb
330
- - test/dummy/config/initializers/backtrace_silencers.rb
331
- - test/dummy/config/initializers/cookies_serializer.rb
332
- - test/dummy/config/initializers/filter_parameter_logging.rb
333
- - test/dummy/config/initializers/inflections.rb
334
- - test/dummy/config/initializers/killbill_client.rb
335
- - test/dummy/config/initializers/mime_types.rb
336
- - test/dummy/config/initializers/new_framework_defaults_5_1.rb
337
- - test/dummy/config/initializers/secret_token.rb
338
- - test/dummy/config/initializers/session_store.rb
339
- - test/dummy/config/initializers/wrap_parameters.rb
340
- - test/dummy/config/locales/en.yml
341
- - test/dummy/config/routes.rb
342
- - test/dummy/config/secrets.yml
343
- - test/dummy/public/404.html
344
- - test/dummy/public/422.html
345
- - test/dummy/public/500.html
346
- - test/dummy/public/favicon.ico
347
- - test/dummy/script/rails
348
- - test/fixtures/kanaui/dashboards.yml
349
- - test/functional/kanaui/tests_controller_test.rb
350
- - test/integration/navigation_test.rb
351
- - test/kanaui_test.rb
352
- - test/test_helper.rb
353
- - test/unit/helpers/kanaui/tests_helper_test.rb
354
- homepage: http://www.killbill.io
225
+ homepage: https://killbill.io
355
226
  licenses:
356
227
  - MIT
357
- metadata: {}
228
+ metadata:
229
+ rubygems_mfa_required: 'true'
358
230
  post_install_message:
359
231
  rdoc_options: []
360
232
  require_paths:
@@ -370,53 +242,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
370
242
  - !ruby/object:Gem::Version
371
243
  version: '0'
372
244
  requirements: []
373
- rubyforge_project:
374
- rubygems_version: 2.6.13
245
+ rubygems_version: 3.4.10
375
246
  signing_key:
376
247
  specification_version: 4
377
248
  summary: Kill Bill Analytics UI mountable engine
378
- test_files:
379
- - test/test_helper.rb
380
- - test/fixtures/kanaui/dashboards.yml
381
- - test/dummy/public/favicon.ico
382
- - test/dummy/public/500.html
383
- - test/dummy/public/404.html
384
- - test/dummy/public/422.html
385
- - test/dummy/Rakefile
386
- - test/dummy/config/application.rb
387
- - test/dummy/config/environment.rb
388
- - test/dummy/config/routes.rb
389
- - test/dummy/config/boot.rb
390
- - test/dummy/config/initializers/mime_types.rb
391
- - test/dummy/config/initializers/cookies_serializer.rb
392
- - test/dummy/config/initializers/session_store.rb
393
- - test/dummy/config/initializers/filter_parameter_logging.rb
394
- - test/dummy/config/initializers/inflections.rb
395
- - test/dummy/config/initializers/new_framework_defaults_5_1.rb
396
- - test/dummy/config/initializers/application_controller_renderer.rb
397
- - test/dummy/config/initializers/backtrace_silencers.rb
398
- - test/dummy/config/initializers/assets.rb
399
- - test/dummy/config/initializers/wrap_parameters.rb
400
- - test/dummy/config/initializers/killbill_client.rb
401
- - test/dummy/config/initializers/secret_token.rb
402
- - test/dummy/config/environments/development.rb
403
- - test/dummy/config/environments/test.rb
404
- - test/dummy/config/environments/production.rb
405
- - test/dummy/config/secrets.yml
406
- - test/dummy/config/locales/en.yml
407
- - test/dummy/bin/rails
408
- - test/dummy/bin/yarn
409
- - test/dummy/bin/rake
410
- - test/dummy/bin/setup
411
- - test/dummy/bin/update
412
- - test/dummy/bin/bundle
413
- - test/dummy/app/helpers/application_helper.rb
414
- - test/dummy/app/assets/config/manifest.js
415
- - test/dummy/app/controllers/application_controller.rb
416
- - test/dummy/script/rails
417
- - test/dummy/config.ru
418
- - test/dummy/README.rdoc
419
- - test/integration/navigation_test.rb
420
- - test/kanaui_test.rb
421
- - test/unit/helpers/kanaui/tests_helper_test.rb
422
- - test/functional/kanaui/tests_controller_test.rb
249
+ test_files: []