active_reporter 0.6.4 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/active_reporter/dimension/bin/set.rb +1 -1
- data/lib/active_reporter/dimension/bin.rb +1 -1
- data/lib/active_reporter/dimension/time.rb +2 -2
- data/lib/active_reporter/report/aggregation.rb +6 -7
- data/lib/active_reporter/report/definition.rb +2 -2
- data/lib/active_reporter/report.rb +9 -10
- data/lib/active_reporter/serializer/base.rb +2 -1
- data/lib/active_reporter/serializer/nested_hash_with_id.rb +22 -0
- data/lib/active_reporter/serializer.rb +1 -0
- data/lib/active_reporter/version.rb +1 -1
- data/lib/active_reporter.rb +1 -1
- data/spec/acceptance/data_spec.rb +2 -2
- data/spec/active_reporter/dimension/enum_spec.rb +1 -1
- data/spec/active_reporter/report_spec.rb +3 -3
- data/spec/active_reporter/serializer/nested_hash_spec.rb +47 -0
- data/spec/active_reporter/serializer/nested_hash_with_id_spec.rb +69 -0
- data/spec/dummy/app/models/data_builder.rb +1 -1
- data/spec/dummy/log/test.log +45462 -0
- data/spec/factories/factories.rb +0 -1
- data/spec/support/float.rb +1 -1
- metadata +54 -49
data/spec/factories/factories.rb
CHANGED
data/spec/support/float.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_reporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chaunce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '6.1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '8'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '6.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '8'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: deeply_enumerable
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
version: '6.0'
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '
|
62
|
+
version: '8'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -69,7 +69,7 @@ dependencies:
|
|
69
69
|
version: '6.0'
|
70
70
|
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '
|
72
|
+
version: '8'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: pg
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -261,6 +261,7 @@ files:
|
|
261
261
|
- lib/active_reporter/serializer/hash_table.rb
|
262
262
|
- lib/active_reporter/serializer/highcharts.rb
|
263
263
|
- lib/active_reporter/serializer/nested_hash.rb
|
264
|
+
- lib/active_reporter/serializer/nested_hash_with_id.rb
|
264
265
|
- lib/active_reporter/serializer/table.rb
|
265
266
|
- lib/active_reporter/tracker.rb
|
266
267
|
- lib/active_reporter/tracker/base.rb
|
@@ -281,6 +282,8 @@ files:
|
|
281
282
|
- spec/active_reporter/report_spec.rb
|
282
283
|
- spec/active_reporter/serializer/hash_table_spec.rb
|
283
284
|
- spec/active_reporter/serializer/highcharts_spec.rb
|
285
|
+
- spec/active_reporter/serializer/nested_hash_spec.rb
|
286
|
+
- spec/active_reporter/serializer/nested_hash_with_id_spec.rb
|
284
287
|
- spec/active_reporter/serializer/table_spec.rb
|
285
288
|
- spec/dummy/README.rdoc
|
286
289
|
- spec/dummy/Rakefile
|
@@ -350,71 +353,73 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
350
353
|
- !ruby/object:Gem::Version
|
351
354
|
version: '0'
|
352
355
|
requirements: []
|
353
|
-
rubygems_version: 3.
|
356
|
+
rubygems_version: 3.4.3
|
354
357
|
signing_key:
|
355
358
|
specification_version: 4
|
356
359
|
summary: Rails data aggregation framework
|
357
360
|
test_files:
|
358
|
-
- spec/
|
359
|
-
- spec/active_reporter/serializer/hash_table_spec.rb
|
360
|
-
- spec/active_reporter/serializer/highcharts_spec.rb
|
361
|
-
- spec/active_reporter/serializer/table_spec.rb
|
362
|
-
- spec/active_reporter/report_spec.rb
|
361
|
+
- spec/acceptance/data_spec.rb
|
363
362
|
- spec/active_reporter/aggregator_spec.rb
|
364
|
-
- spec/active_reporter/dimension/
|
365
|
-
- spec/active_reporter/dimension/category_spec.rb
|
366
|
-
- spec/active_reporter/dimension/bin_spec.rb
|
363
|
+
- spec/active_reporter/dimension/base_spec.rb
|
367
364
|
- spec/active_reporter/dimension/bin/set_spec.rb
|
368
365
|
- spec/active_reporter/dimension/bin/table_spec.rb
|
366
|
+
- spec/active_reporter/dimension/bin_spec.rb
|
367
|
+
- spec/active_reporter/dimension/category_spec.rb
|
369
368
|
- spec/active_reporter/dimension/enum_spec.rb
|
370
369
|
- spec/active_reporter/dimension/number_spec.rb
|
371
|
-
- spec/active_reporter/dimension/
|
372
|
-
- spec/
|
373
|
-
- spec/
|
370
|
+
- spec/active_reporter/dimension/time_spec.rb
|
371
|
+
- spec/active_reporter/report_spec.rb
|
372
|
+
- spec/active_reporter/serializer/hash_table_spec.rb
|
373
|
+
- spec/active_reporter/serializer/highcharts_spec.rb
|
374
|
+
- spec/active_reporter/serializer/nested_hash_spec.rb
|
375
|
+
- spec/active_reporter/serializer/nested_hash_with_id_spec.rb
|
376
|
+
- spec/active_reporter/serializer/table_spec.rb
|
377
|
+
- spec/dummy/README.rdoc
|
378
|
+
- spec/dummy/Rakefile
|
379
|
+
- spec/dummy/app/assets/config/manifest.js
|
380
|
+
- spec/dummy/app/assets/javascripts/application.js
|
381
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
382
|
+
- spec/dummy/app/controllers/application_controller.rb
|
383
|
+
- spec/dummy/app/controllers/site_controller.rb
|
384
|
+
- spec/dummy/app/helpers/application_helper.rb
|
374
385
|
- spec/dummy/app/models/author.rb
|
375
386
|
- spec/dummy/app/models/comment.rb
|
387
|
+
- spec/dummy/app/models/data_builder.rb
|
376
388
|
- spec/dummy/app/models/post.rb
|
377
|
-
- spec/dummy/app/
|
378
|
-
- spec/dummy/app/controllers/site_controller.rb
|
389
|
+
- spec/dummy/app/models/post_report.rb
|
379
390
|
- spec/dummy/app/views/layouts/application.html.erb
|
380
391
|
- spec/dummy/app/views/site/report.html.erb
|
381
|
-
- spec/dummy/app/assets/config/manifest.js
|
382
|
-
- spec/dummy/app/assets/javascripts/application.js
|
383
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
384
|
-
- spec/dummy/app/helpers/application_helper.rb
|
385
|
-
- spec/dummy/bin/rake
|
386
|
-
- spec/dummy/bin/setup
|
387
392
|
- spec/dummy/bin/bundle
|
388
393
|
- spec/dummy/bin/rails
|
389
|
-
- spec/dummy/
|
390
|
-
- spec/dummy/
|
391
|
-
- spec/dummy/config/locales/en.yml
|
392
|
-
- spec/dummy/config/environments/production.rb
|
393
|
-
- spec/dummy/config/environments/development.rb
|
394
|
-
- spec/dummy/config/environments/test.rb
|
395
|
-
- spec/dummy/config/environment.rb
|
394
|
+
- spec/dummy/bin/rake
|
395
|
+
- spec/dummy/bin/setup
|
396
396
|
- spec/dummy/config/application.rb
|
397
|
-
- spec/dummy/config/database.yml
|
398
397
|
- spec/dummy/config/boot.rb
|
398
|
+
- spec/dummy/config/database.yml
|
399
|
+
- spec/dummy/config/environment.rb
|
400
|
+
- spec/dummy/config/environments/development.rb
|
401
|
+
- spec/dummy/config/environments/production.rb
|
402
|
+
- spec/dummy/config/environments/test.rb
|
403
|
+
- spec/dummy/config/initializers/assets.rb
|
399
404
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
400
|
-
- spec/dummy/config/initializers/
|
405
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
401
406
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
407
|
+
- spec/dummy/config/initializers/inflections.rb
|
408
|
+
- spec/dummy/config/initializers/mime_types.rb
|
402
409
|
- spec/dummy/config/initializers/session_store.rb
|
403
410
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
404
|
-
- spec/dummy/config/
|
405
|
-
- spec/dummy/config/
|
406
|
-
- spec/dummy/config/
|
411
|
+
- spec/dummy/config/locales/en.yml
|
412
|
+
- spec/dummy/config/routes.rb
|
413
|
+
- spec/dummy/config/secrets.yml
|
407
414
|
- spec/dummy/config.ru
|
408
|
-
- spec/dummy/
|
409
|
-
- spec/dummy/public/favicon.ico
|
410
|
-
- spec/dummy/public/422.html
|
411
|
-
- spec/dummy/public/500.html
|
412
|
-
- spec/dummy/public/404.html
|
415
|
+
- spec/dummy/db/migrate/20150714202319_add_dummy_models.rb
|
413
416
|
- spec/dummy/db/schema.rb
|
414
417
|
- spec/dummy/db/seeds.rb
|
415
|
-
- spec/dummy/db/migrate/20150714202319_add_dummy_models.rb
|
416
418
|
- spec/dummy/log/test.log
|
417
|
-
- spec/dummy/
|
418
|
-
- spec/
|
419
|
-
- spec/
|
419
|
+
- spec/dummy/public/404.html
|
420
|
+
- spec/dummy/public/422.html
|
421
|
+
- spec/dummy/public/500.html
|
422
|
+
- spec/dummy/public/favicon.ico
|
420
423
|
- spec/factories/factories.rb
|
424
|
+
- spec/spec_helper.rb
|
425
|
+
- spec/support/float.rb
|