forest_liana 6.0.0.pre.beta.2 → 6.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/forest_liana/actions_controller.rb +105 -0
  3. data/app/controllers/forest_liana/authentication_controller.rb +5 -5
  4. data/app/controllers/forest_liana/resources_controller.rb +14 -17
  5. data/app/controllers/forest_liana/smart_actions_controller.rb +10 -5
  6. data/app/helpers/forest_liana/is_same_data_structure_helper.rb +44 -0
  7. data/app/helpers/forest_liana/widgets_helper.rb +59 -0
  8. data/app/models/forest_liana/model/action.rb +2 -1
  9. data/app/serializers/forest_liana/stripe_invoice_serializer.rb +5 -5
  10. data/app/services/forest_liana/apimap_sorter.rb +1 -0
  11. data/app/services/forest_liana/authentication.rb +0 -2
  12. data/app/services/forest_liana/authorization_getter.rb +23 -21
  13. data/app/services/forest_liana/oidc_client_manager.rb +9 -5
  14. data/app/services/forest_liana/permissions_checker.rb +117 -56
  15. data/app/services/forest_liana/permissions_formatter.rb +52 -0
  16. data/app/services/forest_liana/permissions_getter.rb +52 -17
  17. data/app/services/forest_liana/resource_creator.rb +1 -1
  18. data/app/services/forest_liana/resource_updater.rb +3 -3
  19. data/app/services/forest_liana/resources_getter.rb +3 -3
  20. data/app/services/forest_liana/schema_utils.rb +8 -3
  21. data/app/services/forest_liana/scope_validator.rb +8 -7
  22. data/app/services/forest_liana/stripe_invoice_getter.rb +1 -1
  23. data/app/services/forest_liana/stripe_invoices_getter.rb +1 -1
  24. data/app/services/forest_liana/stripe_source_getter.rb +1 -1
  25. data/app/services/forest_liana/stripe_sources_getter.rb +1 -1
  26. data/app/services/forest_liana/utils/beta_schema_utils.rb +13 -0
  27. data/config/initializers/error-messages.rb +3 -0
  28. data/config/initializers/errors.rb +21 -2
  29. data/config/routes.rb +2 -4
  30. data/lib/forest_liana.rb +1 -0
  31. data/lib/forest_liana/bootstrapper.rb +31 -5
  32. data/lib/forest_liana/schema_file_updater.rb +1 -0
  33. data/lib/forest_liana/version.rb +1 -1
  34. data/lib/generators/forest_liana/install_generator.rb +13 -5
  35. data/spec/dummy/app/assets/config/manifest.js +1 -0
  36. data/spec/dummy/config/application.rb +1 -1
  37. data/spec/dummy/db/migrate/20190226172951_create_user.rb +1 -1
  38. data/spec/dummy/db/migrate/20190226173051_create_isle.rb +1 -1
  39. data/spec/dummy/db/migrate/20190226174951_create_tree.rb +1 -1
  40. data/spec/dummy/db/migrate/20190716130830_add_age_to_tree.rb +1 -1
  41. data/spec/dummy/db/migrate/20190716135241_add_type_to_user.rb +1 -1
  42. data/spec/dummy/db/schema.rb +18 -20
  43. data/spec/helpers/forest_liana/is_same_data_structure_helper_spec.rb +87 -0
  44. data/spec/requests/actions_controller_spec.rb +222 -0
  45. data/spec/requests/authentications_spec.rb +12 -13
  46. data/spec/requests/resources_spec.rb +4 -4
  47. data/spec/services/forest_liana/apimap_sorter_spec.rb +6 -4
  48. data/spec/services/forest_liana/permissions_checker_acl_disabled_spec.rb +711 -0
  49. data/spec/services/forest_liana/permissions_checker_acl_enabled_spec.rb +831 -0
  50. data/spec/services/forest_liana/permissions_formatter_spec.rb +222 -0
  51. data/spec/services/forest_liana/permissions_getter_spec.rb +83 -0
  52. data/spec/spec_helper.rb +3 -0
  53. data/test/dummy/app/assets/config/manifest.js +1 -0
  54. data/test/dummy/config/application.rb +1 -1
  55. data/test/dummy/db/migrate/20150608130516_create_date_field.rb +1 -1
  56. data/test/dummy/db/migrate/20150608131430_create_integer_field.rb +1 -1
  57. data/test/dummy/db/migrate/20150608131603_create_decimal_field.rb +1 -1
  58. data/test/dummy/db/migrate/20150608131610_create_float_field.rb +1 -1
  59. data/test/dummy/db/migrate/20150608132159_create_boolean_field.rb +1 -1
  60. data/test/dummy/db/migrate/20150608132621_create_string_field.rb +1 -1
  61. data/test/dummy/db/migrate/20150608133038_create_belongs_to_field.rb +1 -1
  62. data/test/dummy/db/migrate/20150608133044_create_has_one_field.rb +1 -1
  63. data/test/dummy/db/migrate/20150608150016_create_has_many_field.rb +1 -1
  64. data/test/dummy/db/migrate/20150609114636_create_belongs_to_class_name_field.rb +1 -1
  65. data/test/dummy/db/migrate/20150612112520_create_has_and_belongs_to_many_field.rb +1 -1
  66. data/test/dummy/db/migrate/20150616150629_create_polymorphic_field.rb +1 -1
  67. data/test/dummy/db/migrate/20150623115554_create_has_many_class_name_field.rb +1 -1
  68. data/test/dummy/db/migrate/20150814081918_create_has_many_through_field.rb +1 -1
  69. data/test/dummy/db/migrate/20160627172810_create_owner.rb +1 -1
  70. data/test/dummy/db/migrate/20160627172951_create_tree.rb +1 -1
  71. data/test/dummy/db/migrate/20160628173505_add_timestamps.rb +1 -1
  72. data/test/dummy/db/migrate/20170614141921_create_serialize_field.rb +1 -1
  73. data/test/dummy/db/migrate/20181111162121_create_references_table.rb +1 -1
  74. data/test/routing/route_test.rb +0 -12
  75. data/test/services/forest_liana/resources_getter_test.rb +1 -1
  76. metadata +132 -147
  77. data/app/controllers/forest_liana/sessions_controller.rb +0 -95
  78. data/app/serializers/forest_liana/session_serializer.rb +0 -33
  79. data/app/services/forest_liana/login_handler.rb +0 -99
  80. data/app/services/forest_liana/two_factor_registration_confirmer.rb +0 -36
  81. data/app/services/forest_liana/user_secret_creator.rb +0 -26
  82. data/spec/requests/sessions_spec.rb +0 -55
@@ -1,4 +1,4 @@
1
- class CreateSerializeField < ActiveRecord::Migration
1
+ class CreateSerializeField < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :serialize_fields do |t|
4
4
  t.string :field
@@ -1,4 +1,4 @@
1
- class CreateReferencesTable < ActiveRecord::Migration
1
+ class CreateReferencesTable < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :references do |t|
4
4
  end
@@ -12,18 +12,6 @@ module ForestLiana
12
12
  controller: 'forest_liana/apimaps', action: 'index'
13
13
  })
14
14
 
15
- # Session
16
- assert_routing({
17
- method: 'post', path: 'sessions'
18
- }, {
19
- controller: 'forest_liana/sessions', action: 'create_with_password'
20
- })
21
- assert_routing({
22
- method: 'post', path: 'sessions-google'
23
- }, {
24
- controller: 'forest_liana/sessions', action: 'create_with_google'
25
- })
26
-
27
15
  # Associations
28
16
  assert_routing({
29
17
  method: 'get', path: ':collection/:id/relationships/:association_name'
@@ -106,7 +106,7 @@ module ForestLiana
106
106
  conditions: [{
107
107
  field: 'created_at',
108
108
  operator: 'after',
109
- value: '2015-06-18 08:00:00',
109
+ value: "#{Time.now.year - 5}-06-18 08:00:00",
110
110
  }, {
111
111
  field: 'owner:name',
112
112
  operator: 'equal',
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: 6.0.0.pre.beta.2
4
+ version: 6.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Munda
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-09 00:00:00.000000000 Z
11
+ date: 2021-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -122,34 +122,6 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: rotp
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :runtime
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: base32
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :runtime
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
125
  - !ruby/object:Gem::Dependency
154
126
  name: httparty
155
127
  requirement: !ruby/object:Gem::Requirement
@@ -246,7 +218,6 @@ files:
246
218
  - app/controllers/forest_liana/mixpanel_controller.rb
247
219
  - app/controllers/forest_liana/resources_controller.rb
248
220
  - app/controllers/forest_liana/router.rb
249
- - app/controllers/forest_liana/sessions_controller.rb
250
221
  - app/controllers/forest_liana/smart_actions_controller.rb
251
222
  - app/controllers/forest_liana/stats_controller.rb
252
223
  - app/controllers/forest_liana/stripe_controller.rb
@@ -254,8 +225,10 @@ files:
254
225
  - app/helpers/forest_liana/adapter_helper.rb
255
226
  - app/helpers/forest_liana/application_helper.rb
256
227
  - app/helpers/forest_liana/decoration_helper.rb
228
+ - app/helpers/forest_liana/is_same_data_structure_helper.rb
257
229
  - app/helpers/forest_liana/query_helper.rb
258
230
  - app/helpers/forest_liana/schema_helper.rb
231
+ - app/helpers/forest_liana/widgets_helper.rb
259
232
  - app/models/forest_liana/model/action.rb
260
233
  - app/models/forest_liana/model/collection.rb
261
234
  - app/models/forest_liana/model/segment.rb
@@ -265,7 +238,6 @@ files:
265
238
  - app/serializers/forest_liana/mixpanel_event_serializer.rb
266
239
  - app/serializers/forest_liana/schema_serializer.rb
267
240
  - app/serializers/forest_liana/serializer_factory.rb
268
- - app/serializers/forest_liana/session_serializer.rb
269
241
  - app/serializers/forest_liana/stat_serializer.rb
270
242
  - app/serializers/forest_liana/stripe_bank_account_serializer.rb
271
243
  - app/serializers/forest_liana/stripe_card_serializer.rb
@@ -292,7 +264,6 @@ files:
292
264
  - app/services/forest_liana/leaderboard_stat_getter.rb
293
265
  - app/services/forest_liana/line_stat_getter.rb
294
266
  - app/services/forest_liana/live_query_checker.rb
295
- - app/services/forest_liana/login_handler.rb
296
267
  - app/services/forest_liana/mixpanel_last_events_getter.rb
297
268
  - app/services/forest_liana/objective_stat_getter.rb
298
269
  - app/services/forest_liana/oidc_client_manager.rb
@@ -300,6 +271,7 @@ files:
300
271
  - app/services/forest_liana/oidc_dynamic_client_registrator.rb
301
272
  - app/services/forest_liana/operator_date_interval_parser.rb
302
273
  - app/services/forest_liana/permissions_checker.rb
274
+ - app/services/forest_liana/permissions_formatter.rb
303
275
  - app/services/forest_liana/permissions_getter.rb
304
276
  - app/services/forest_liana/pie_stat_getter.rb
305
277
  - app/services/forest_liana/query_stat_getter.rb
@@ -323,8 +295,7 @@ files:
323
295
  - app/services/forest_liana/stripe_subscription_getter.rb
324
296
  - app/services/forest_liana/stripe_subscriptions_getter.rb
325
297
  - app/services/forest_liana/token.rb
326
- - app/services/forest_liana/two_factor_registration_confirmer.rb
327
- - app/services/forest_liana/user_secret_creator.rb
298
+ - app/services/forest_liana/utils/beta_schema_utils.rb
328
299
  - app/services/forest_liana/value_stat_getter.rb
329
300
  - app/views/layouts/forest_liana/application.html.erb
330
301
  - config/initializers/arel-helpers.rb
@@ -347,6 +318,7 @@ files:
347
318
  - lib/tasks/send_apimap.rake
348
319
  - spec/dummy/README.rdoc
349
320
  - spec/dummy/Rakefile
321
+ - spec/dummy/app/assets/config/manifest.js
350
322
  - spec/dummy/app/assets/javascripts/application.js
351
323
  - spec/dummy/app/assets/stylesheets/application.css
352
324
  - spec/dummy/app/config/routes.rb
@@ -385,19 +357,25 @@ files:
385
357
  - spec/dummy/db/migrate/20190716130830_add_age_to_tree.rb
386
358
  - spec/dummy/db/migrate/20190716135241_add_type_to_user.rb
387
359
  - spec/dummy/db/schema.rb
360
+ - spec/helpers/forest_liana/is_same_data_structure_helper_spec.rb
388
361
  - spec/helpers/forest_liana/query_helper_spec.rb
389
362
  - spec/helpers/forest_liana/schema_helper_spec.rb
390
363
  - spec/rails_helper.rb
364
+ - spec/requests/actions_controller_spec.rb
391
365
  - spec/requests/authentications_spec.rb
392
366
  - spec/requests/resources_spec.rb
393
- - spec/requests/sessions_spec.rb
394
367
  - spec/services/forest_liana/apimap_sorter_spec.rb
395
368
  - spec/services/forest_liana/filters_parser_spec.rb
396
369
  - spec/services/forest_liana/ip_whitelist_checker_spec.rb
370
+ - spec/services/forest_liana/permissions_checker_acl_disabled_spec.rb
371
+ - spec/services/forest_liana/permissions_checker_acl_enabled_spec.rb
372
+ - spec/services/forest_liana/permissions_formatter_spec.rb
373
+ - spec/services/forest_liana/permissions_getter_spec.rb
397
374
  - spec/services/forest_liana/schema_adapter_spec.rb
398
375
  - spec/spec_helper.rb
399
376
  - test/dummy/README.rdoc
400
377
  - test/dummy/Rakefile
378
+ - test/dummy/app/assets/config/manifest.js
401
379
  - test/dummy/app/assets/javascripts/application.js
402
380
  - test/dummy/app/assets/stylesheets/application.css
403
381
  - test/dummy/app/controllers/application_controller.rb
@@ -491,7 +469,7 @@ homepage: https://github.com/ForestAdmin/forest-rails
491
469
  licenses:
492
470
  - GPL-3.0
493
471
  metadata: {}
494
- post_install_message:
472
+ post_install_message:
495
473
  rdoc_options: []
496
474
  require_paths:
497
475
  - lib
@@ -502,154 +480,161 @@ required_ruby_version: !ruby/object:Gem::Requirement
502
480
  version: '0'
503
481
  required_rubygems_version: !ruby/object:Gem::Requirement
504
482
  requirements:
505
- - - ">"
483
+ - - ">="
506
484
  - !ruby/object:Gem::Version
507
- version: 1.3.1
485
+ version: '0'
508
486
  requirements: []
509
- rubygems_version: 3.0.8
510
- signing_key:
487
+ rubygems_version: 3.1.2
488
+ signing_key:
511
489
  specification_version: 4
512
490
  summary: Official Rails Liana for Forest
513
491
  test_files:
514
- - test/fixtures/owner.yml
515
- - test/fixtures/belongs_to_field.yml
516
- - test/fixtures/has_many_through_field.yml
517
- - test/fixtures/tree.yml
518
- - test/fixtures/has_one_field.yml
519
- - test/fixtures/reference.yml
520
- - test/fixtures/serialize_field.yml
521
- - test/fixtures/has_many_field.yml
522
- - test/fixtures/string_field.yml
523
- - test/services/forest_liana/resources_getter_test.rb
524
- - test/services/forest_liana/scope_validator_test.rb
525
- - test/services/forest_liana/schema_adapter_test.rb
526
- - test/services/forest_liana/has_many_getter_test.rb
527
- - test/services/forest_liana/value_stat_getter_test.rb
528
- - test/services/forest_liana/resource_updater_test.rb
529
- - test/services/forest_liana/pie_stat_getter_test.rb
530
- - test/test_helper.rb
531
- - test/dummy/README.rdoc
492
+ - test/dummy/config/application.rb
493
+ - test/dummy/config/database.yml
494
+ - test/dummy/config/environment.rb
495
+ - test/dummy/config/locales/en.yml
496
+ - test/dummy/config/secrets.yml
497
+ - test/dummy/config/environments/development.rb
498
+ - test/dummy/config/environments/test.rb
499
+ - test/dummy/config/environments/production.rb
500
+ - test/dummy/config/boot.rb
501
+ - test/dummy/config/initializers/session_store.rb
502
+ - test/dummy/config/initializers/mime_types.rb
503
+ - test/dummy/config/initializers/cookies_serializer.rb
504
+ - test/dummy/config/initializers/wrap_parameters.rb
505
+ - test/dummy/config/initializers/inflections.rb
506
+ - test/dummy/config/initializers/filter_parameter_logging.rb
507
+ - test/dummy/config/initializers/assets.rb
508
+ - test/dummy/config/initializers/backtrace_silencers.rb
509
+ - test/dummy/config/routes.rb
510
+ - test/dummy/app/assets/config/manifest.js
511
+ - test/dummy/app/assets/stylesheets/application.css
512
+ - test/dummy/app/assets/javascripts/application.js
532
513
  - test/dummy/app/views/layouts/application.html.erb
533
- - test/dummy/app/models/has_many_field.rb
514
+ - test/dummy/app/controllers/application_controller.rb
515
+ - test/dummy/app/models/tree.rb
516
+ - test/dummy/app/models/reference.rb
517
+ - test/dummy/app/models/belongs_to_field.rb
534
518
  - test/dummy/app/models/string_field.rb
535
- - test/dummy/app/models/has_and_belongs_to_many_field.rb
536
519
  - test/dummy/app/models/has_many_through_field.rb
537
520
  - test/dummy/app/models/has_many_class_name_field.rb
538
- - test/dummy/app/models/has_one_field.rb
539
521
  - test/dummy/app/models/date_field.rb
522
+ - test/dummy/app/models/polymorphic_field.rb
540
523
  - test/dummy/app/models/boolean_field.rb
541
- - test/dummy/app/models/float_field.rb
542
- - test/dummy/app/models/reference.rb
543
524
  - test/dummy/app/models/belongs_to_class_name_field.rb
544
- - test/dummy/app/models/polymorphic_field.rb
545
- - test/dummy/app/models/tree.rb
525
+ - test/dummy/app/models/has_one_field.rb
526
+ - test/dummy/app/models/has_many_field.rb
527
+ - test/dummy/app/models/has_and_belongs_to_many_field.rb
546
528
  - test/dummy/app/models/decimal_field.rb
529
+ - test/dummy/app/models/owner.rb
547
530
  - test/dummy/app/models/serialize_field.rb
548
531
  - test/dummy/app/models/integer_field.rb
549
- - test/dummy/app/models/belongs_to_field.rb
550
- - test/dummy/app/models/owner.rb
532
+ - test/dummy/app/models/float_field.rb
551
533
  - test/dummy/app/helpers/application_helper.rb
552
- - test/dummy/app/assets/javascripts/application.js
553
- - test/dummy/app/assets/stylesheets/application.css
554
- - test/dummy/app/controllers/application_controller.rb
555
534
  - test/dummy/Rakefile
535
+ - test/dummy/config.ru
536
+ - test/dummy/README.rdoc
537
+ - test/dummy/bin/rails
556
538
  - test/dummy/bin/rake
557
539
  - test/dummy/bin/bundle
558
- - test/dummy/bin/rails
559
540
  - test/dummy/bin/setup
541
+ - test/dummy/public/favicon.ico
542
+ - test/dummy/public/422.html
560
543
  - test/dummy/public/404.html
561
544
  - test/dummy/public/500.html
562
- - test/dummy/public/422.html
563
- - test/dummy/public/favicon.ico
564
- - test/dummy/config.ru
565
- - test/dummy/db/migrate/20181111162121_create_references_table.rb
545
+ - test/dummy/db/schema.rb
566
546
  - test/dummy/db/migrate/20150608131430_create_integer_field.rb
567
- - test/dummy/db/migrate/20160628173505_add_timestamps.rb
547
+ - test/dummy/db/migrate/20181111162121_create_references_table.rb
548
+ - test/dummy/db/migrate/20150608130516_create_date_field.rb
568
549
  - test/dummy/db/migrate/20160627172810_create_owner.rb
569
- - test/dummy/db/migrate/20150814081918_create_has_many_through_field.rb
550
+ - test/dummy/db/migrate/20150609114636_create_belongs_to_class_name_field.rb
551
+ - test/dummy/db/migrate/20170614141921_create_serialize_field.rb
570
552
  - test/dummy/db/migrate/20150608132159_create_boolean_field.rb
571
- - test/dummy/db/migrate/20150608131603_create_decimal_field.rb
572
553
  - test/dummy/db/migrate/20150616150629_create_polymorphic_field.rb
554
+ - test/dummy/db/migrate/20160627172951_create_tree.rb
555
+ - test/dummy/db/migrate/20150608132621_create_string_field.rb
556
+ - test/dummy/db/migrate/20150608150016_create_has_many_field.rb
573
557
  - test/dummy/db/migrate/20150612112520_create_has_and_belongs_to_many_field.rb
574
- - test/dummy/db/migrate/20150608131610_create_float_field.rb
558
+ - test/dummy/db/migrate/20150814081918_create_has_many_through_field.rb
575
559
  - test/dummy/db/migrate/20150608133038_create_belongs_to_field.rb
576
- - test/dummy/db/migrate/20150608150016_create_has_many_field.rb
577
- - test/dummy/db/migrate/20150609114636_create_belongs_to_class_name_field.rb
578
- - test/dummy/db/migrate/20170614141921_create_serialize_field.rb
579
- - test/dummy/db/migrate/20150608132621_create_string_field.rb
580
- - test/dummy/db/migrate/20150608133044_create_has_one_field.rb
581
560
  - test/dummy/db/migrate/20150623115554_create_has_many_class_name_field.rb
582
- - test/dummy/db/migrate/20150608130516_create_date_field.rb
583
- - test/dummy/db/migrate/20160627172951_create_tree.rb
584
- - test/dummy/db/schema.rb
585
- - test/dummy/config/routes.rb
586
- - test/dummy/config/environment.rb
587
- - test/dummy/config/secrets.yml
588
- - test/dummy/config/application.rb
589
- - test/dummy/config/boot.rb
590
- - test/dummy/config/environments/test.rb
591
- - test/dummy/config/environments/development.rb
592
- - test/dummy/config/environments/production.rb
593
- - test/dummy/config/locales/en.yml
594
- - test/dummy/config/initializers/wrap_parameters.rb
595
- - test/dummy/config/initializers/mime_types.rb
596
- - test/dummy/config/initializers/filter_parameter_logging.rb
597
- - test/dummy/config/initializers/assets.rb
598
- - test/dummy/config/initializers/session_store.rb
599
- - test/dummy/config/initializers/inflections.rb
600
- - test/dummy/config/initializers/cookies_serializer.rb
601
- - test/dummy/config/initializers/backtrace_silencers.rb
602
- - test/dummy/config/database.yml
603
- - test/forest_liana_test.rb
561
+ - test/dummy/db/migrate/20160628173505_add_timestamps.rb
562
+ - test/dummy/db/migrate/20150608133044_create_has_one_field.rb
563
+ - test/dummy/db/migrate/20150608131610_create_float_field.rb
564
+ - test/dummy/db/migrate/20150608131603_create_decimal_field.rb
565
+ - test/fixtures/tree.yml
566
+ - test/fixtures/has_many_through_field.yml
567
+ - test/fixtures/owner.yml
568
+ - test/fixtures/has_many_field.yml
569
+ - test/fixtures/string_field.yml
570
+ - test/fixtures/serialize_field.yml
571
+ - test/fixtures/has_one_field.yml
572
+ - test/fixtures/reference.yml
573
+ - test/fixtures/belongs_to_field.yml
574
+ - test/services/forest_liana/value_stat_getter_test.rb
575
+ - test/services/forest_liana/resources_getter_test.rb
576
+ - test/services/forest_liana/has_many_getter_test.rb
577
+ - test/services/forest_liana/resource_updater_test.rb
578
+ - test/services/forest_liana/pie_stat_getter_test.rb
579
+ - test/services/forest_liana/schema_adapter_test.rb
580
+ - test/services/forest_liana/scope_validator_test.rb
604
581
  - test/routing/route_test.rb
605
- - spec/services/forest_liana/ip_whitelist_checker_spec.rb
606
- - spec/services/forest_liana/schema_adapter_spec.rb
607
- - spec/services/forest_liana/apimap_sorter_spec.rb
608
- - spec/services/forest_liana/filters_parser_spec.rb
609
- - spec/spec_helper.rb
610
- - spec/requests/sessions_spec.rb
611
- - spec/requests/authentications_spec.rb
612
- - spec/requests/resources_spec.rb
613
- - spec/dummy/README.rdoc
582
+ - test/forest_liana_test.rb
583
+ - test/test_helper.rb
584
+ - spec/dummy/config/application.rb
585
+ - spec/dummy/config/database.yml
586
+ - spec/dummy/config/environment.rb
587
+ - spec/dummy/config/secrets.yml
588
+ - spec/dummy/config/environments/development.rb
589
+ - spec/dummy/config/environments/test.rb
590
+ - spec/dummy/config/environments/production.rb
591
+ - spec/dummy/config/boot.rb
592
+ - spec/dummy/config/initializers/session_store.rb
593
+ - spec/dummy/config/initializers/mime_types.rb
594
+ - spec/dummy/config/initializers/cookies_serializer.rb
595
+ - spec/dummy/config/initializers/wrap_parameters.rb
596
+ - spec/dummy/config/initializers/inflections.rb
597
+ - spec/dummy/config/initializers/forest_liana.rb
598
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
599
+ - spec/dummy/config/initializers/assets.rb
600
+ - spec/dummy/config/initializers/backtrace_silencers.rb
601
+ - spec/dummy/config/routes.rb
602
+ - spec/dummy/app/config/routes.rb
603
+ - spec/dummy/app/assets/config/manifest.js
604
+ - spec/dummy/app/assets/stylesheets/application.css
605
+ - spec/dummy/app/assets/javascripts/application.js
614
606
  - spec/dummy/app/views/layouts/application.html.erb
615
- - spec/dummy/app/models/island.rb
616
- - spec/dummy/app/models/user.rb
607
+ - spec/dummy/app/controllers/application_controller.rb
617
608
  - spec/dummy/app/models/tree.rb
609
+ - spec/dummy/app/models/user.rb
610
+ - spec/dummy/app/models/island.rb
618
611
  - spec/dummy/app/helpers/application_helper.rb
619
- - spec/dummy/app/assets/javascripts/application.js
620
- - spec/dummy/app/assets/stylesheets/application.css
621
- - spec/dummy/app/config/routes.rb
622
- - spec/dummy/app/controllers/application_controller.rb
623
612
  - spec/dummy/Rakefile
613
+ - spec/dummy/config.ru
614
+ - spec/dummy/README.rdoc
615
+ - spec/dummy/bin/rails
624
616
  - spec/dummy/bin/rake
625
617
  - spec/dummy/bin/bundle
626
- - spec/dummy/bin/rails
627
618
  - spec/dummy/bin/setup
628
- - spec/dummy/config.ru
619
+ - spec/dummy/db/schema.rb
620
+ - spec/dummy/db/migrate/20190226173051_create_isle.rb
629
621
  - spec/dummy/db/migrate/20190226174951_create_tree.rb
622
+ - spec/dummy/db/migrate/20190226172951_create_user.rb
630
623
  - spec/dummy/db/migrate/20190716135241_add_type_to_user.rb
631
- - spec/dummy/db/migrate/20190226173051_create_isle.rb
632
624
  - spec/dummy/db/migrate/20190716130830_add_age_to_tree.rb
633
- - spec/dummy/db/migrate/20190226172951_create_user.rb
634
- - spec/dummy/db/schema.rb
635
- - spec/dummy/config/routes.rb
636
- - spec/dummy/config/environment.rb
637
- - spec/dummy/config/secrets.yml
638
- - spec/dummy/config/application.rb
639
- - spec/dummy/config/boot.rb
640
- - spec/dummy/config/environments/test.rb
641
- - spec/dummy/config/environments/development.rb
642
- - spec/dummy/config/environments/production.rb
643
- - spec/dummy/config/initializers/wrap_parameters.rb
644
- - spec/dummy/config/initializers/forest_liana.rb
645
- - spec/dummy/config/initializers/mime_types.rb
646
- - spec/dummy/config/initializers/filter_parameter_logging.rb
647
- - spec/dummy/config/initializers/assets.rb
648
- - spec/dummy/config/initializers/session_store.rb
649
- - spec/dummy/config/initializers/inflections.rb
650
- - spec/dummy/config/initializers/cookies_serializer.rb
651
- - spec/dummy/config/initializers/backtrace_silencers.rb
652
- - spec/dummy/config/database.yml
625
+ - spec/requests/resources_spec.rb
626
+ - spec/requests/authentications_spec.rb
627
+ - spec/requests/actions_controller_spec.rb
628
+ - spec/spec_helper.rb
629
+ - spec/services/forest_liana/filters_parser_spec.rb
630
+ - spec/services/forest_liana/permissions_checker_acl_disabled_spec.rb
631
+ - spec/services/forest_liana/schema_adapter_spec.rb
632
+ - spec/services/forest_liana/permissions_checker_acl_enabled_spec.rb
633
+ - spec/services/forest_liana/apimap_sorter_spec.rb
634
+ - spec/services/forest_liana/permissions_getter_spec.rb
635
+ - spec/services/forest_liana/ip_whitelist_checker_spec.rb
636
+ - spec/services/forest_liana/permissions_formatter_spec.rb
637
+ - spec/rails_helper.rb
653
638
  - spec/helpers/forest_liana/schema_helper_spec.rb
639
+ - spec/helpers/forest_liana/is_same_data_structure_helper_spec.rb
654
640
  - spec/helpers/forest_liana/query_helper_spec.rb
655
- - spec/rails_helper.rb