forest_liana 2.1.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/forest_liana/stats_controller.rb +20 -4
- data/app/services/forest_liana/query_stat_getter.rb +62 -0
- data/config/routes.rb +2 -1
- data/lib/forest_liana/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1003 -0
- data/test/routing/route_test.rb +6 -1
- metadata +7 -2
data/test/routing/route_test.rb
CHANGED
@@ -56,7 +56,12 @@ module ForestLiana
|
|
56
56
|
assert_routing({
|
57
57
|
method: 'post', path: '/stats/:collection'
|
58
58
|
}, {
|
59
|
-
controller: 'forest_liana/stats', action: '
|
59
|
+
controller: 'forest_liana/stats', action: 'get', collection: ':collection'
|
60
|
+
})
|
61
|
+
assert_routing({
|
62
|
+
method: 'post', path: '/stats'
|
63
|
+
}, {
|
64
|
+
controller: 'forest_liana/stats', action: 'get_with_live_query'
|
60
65
|
})
|
61
66
|
|
62
67
|
# Stripe Integration
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_liana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -183,6 +183,7 @@ files:
|
|
183
183
|
- app/services/forest_liana/operator_date_interval_parser.rb
|
184
184
|
- app/services/forest_liana/operator_value_parser.rb
|
185
185
|
- app/services/forest_liana/pie_stat_getter.rb
|
186
|
+
- app/services/forest_liana/query_stat_getter.rb
|
186
187
|
- app/services/forest_liana/resource_creator.rb
|
187
188
|
- app/services/forest_liana/resource_getter.rb
|
188
189
|
- app/services/forest_liana/resource_updater.rb
|
@@ -282,6 +283,8 @@ files:
|
|
282
283
|
- test/dummy/db/migrate/20160628173505_add_timestamps.rb
|
283
284
|
- test/dummy/db/migrate/20170614141921_create_serialize_field.rb
|
284
285
|
- test/dummy/db/schema.rb
|
286
|
+
- test/dummy/db/test.sqlite3
|
287
|
+
- test/dummy/log/test.log
|
285
288
|
- test/dummy/public/404.html
|
286
289
|
- test/dummy/public/422.html
|
287
290
|
- test/dummy/public/500.html
|
@@ -380,6 +383,7 @@ test_files:
|
|
380
383
|
- test/dummy/public/500.html
|
381
384
|
- test/dummy/public/404.html
|
382
385
|
- test/dummy/db/schema.rb
|
386
|
+
- test/dummy/db/test.sqlite3
|
383
387
|
- test/dummy/db/migrate/20150608133038_create_belongs_to_field.rb
|
384
388
|
- test/dummy/db/migrate/20150608130516_create_date_field.rb
|
385
389
|
- test/dummy/db/migrate/20160627172951_create_tree.rb
|
@@ -398,6 +402,7 @@ test_files:
|
|
398
402
|
- test/dummy/db/migrate/20150608131603_create_decimal_field.rb
|
399
403
|
- test/dummy/db/migrate/20150623115554_create_has_many_class_name_field.rb
|
400
404
|
- test/dummy/db/migrate/20150616150629_create_polymorphic_field.rb
|
405
|
+
- test/dummy/log/test.log
|
401
406
|
- test/dummy/README.rdoc
|
402
407
|
- test/integration/navigation_test.rb
|
403
408
|
- test/forest_liana_test.rb
|