forest_liana 7.4.4 → 7.5.1
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/application_controller.rb +4 -0
- data/app/controllers/forest_liana/associations_controller.rb +6 -4
- data/app/controllers/forest_liana/resources_controller.rb +3 -2
- data/lib/forest_liana/version.rb +1 -1
- data/spec/dummy/app/models/owner.rb +1 -0
- data/spec/dummy/config/routes.rb +2 -0
- data/spec/dummy/lib/forest_liana/controllers/owner_trees_controller.rb +11 -0
- data/spec/dummy/lib/forest_liana/controllers/owners_controller.rb +10 -0
- data/spec/requests/count_spec.rb +121 -0
- metadata +135 -129
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c97d05c2880b945fbcf8dedbdc4f6b5a131bd2554fbe6cc96893f138605ee251
|
4
|
+
data.tar.gz: 436dbead1e46549772e63a53d1b24effa6c0f66e49bb2b8829bded39b3c9efdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae51cf5c7bbbd52021d604f871de5f880a6de198fd08da6c09f9b1255925a5174e26a10baa2dfa59e6380970d7400dc3b75ac4376e32f9a6e9146f74e0572ff0
|
7
|
+
data.tar.gz: 297718c752c3d6522295a6a513ed89c679b20c57c3d66f6ee3997a32ed5f34fdbf6deaa4bbbaa8d062bd09689c5cc8aef33d895a741772e669cc1fadf455466b
|
@@ -1,11 +1,11 @@
|
|
1
1
|
module ForestLiana
|
2
2
|
class AssociationsController < ForestLiana::ApplicationController
|
3
3
|
if Rails::VERSION::MAJOR < 4
|
4
|
-
before_filter :find_resource
|
5
|
-
before_filter :find_association
|
4
|
+
before_filter :find_resource, except: :count
|
5
|
+
before_filter :find_association, except: :count
|
6
6
|
else
|
7
|
-
before_action :find_resource
|
8
|
-
before_action :find_association
|
7
|
+
before_action :find_resource, except: :count
|
8
|
+
before_action :find_association, except: :count
|
9
9
|
end
|
10
10
|
|
11
11
|
def index
|
@@ -25,6 +25,8 @@ module ForestLiana
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def count
|
28
|
+
find_resource
|
29
|
+
find_association
|
28
30
|
begin
|
29
31
|
getter = HasManyGetter.new(@resource, @association, params, forest_user)
|
30
32
|
getter.count
|
@@ -8,9 +8,9 @@ module ForestLiana
|
|
8
8
|
rescue_from ActiveRecord::RecordNotFound, :with => :record_not_found
|
9
9
|
|
10
10
|
if Rails::VERSION::MAJOR < 4
|
11
|
-
before_filter :find_resource
|
11
|
+
before_filter :find_resource, except: :count
|
12
12
|
else
|
13
|
-
before_action :find_resource
|
13
|
+
before_action :find_resource, except: :count
|
14
14
|
end
|
15
15
|
|
16
16
|
def index
|
@@ -54,6 +54,7 @@ module ForestLiana
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def count
|
57
|
+
find_resource
|
57
58
|
begin
|
58
59
|
checker = ForestLiana::PermissionsChecker.new(
|
59
60
|
@resource,
|
data/lib/forest_liana/version.rb
CHANGED
data/spec/dummy/config/routes.rb
CHANGED
@@ -0,0 +1,121 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
describe 'Requesting Owner', :type => :request do
|
4
|
+
before(:each) do
|
5
|
+
1.upto(10) do |i|
|
6
|
+
owner = Owner.create(name: "Owner #{i}")
|
7
|
+
Tree.create(name: "Tree #{i}", owner_id: owner.id)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
after(:each) do
|
12
|
+
Owner.destroy_all
|
13
|
+
end
|
14
|
+
|
15
|
+
before(:each) do
|
16
|
+
allow(ForestLiana::IpWhitelist).to receive(:retrieve) { true }
|
17
|
+
allow(ForestLiana::IpWhitelist).to receive(:is_ip_whitelist_retrieved) { true }
|
18
|
+
allow(ForestLiana::IpWhitelist).to receive(:is_ip_valid) { true }
|
19
|
+
|
20
|
+
allow_any_instance_of(ForestLiana::PermissionsChecker).to receive(:is_authorized?) { true }
|
21
|
+
|
22
|
+
allow(ForestLiana::ScopeManager).to receive(:fetch_scopes).and_return({})
|
23
|
+
end
|
24
|
+
|
25
|
+
token = JWT.encode({
|
26
|
+
id: 38,
|
27
|
+
email: 'michael.kelso@that70.show',
|
28
|
+
first_name: 'Michael',
|
29
|
+
last_name: 'Kelso',
|
30
|
+
team: 'Operations',
|
31
|
+
rendering_id: 16,
|
32
|
+
exp: Time.now.to_i + 2.weeks.to_i
|
33
|
+
}, ForestLiana.auth_secret, 'HS256')
|
34
|
+
|
35
|
+
headers = {
|
36
|
+
'Accept' => 'application/json',
|
37
|
+
'Content-Type' => 'application/json',
|
38
|
+
'Authorization' => "Bearer #{token}"
|
39
|
+
}
|
40
|
+
describe 'count' do
|
41
|
+
params = {
|
42
|
+
fields: { 'Owner' => 'id,name' },
|
43
|
+
page: { 'number' => '1', 'size' => '10' },
|
44
|
+
searchExtended: '0',
|
45
|
+
sort: '-id',
|
46
|
+
timezone: 'Europe/Paris'
|
47
|
+
}
|
48
|
+
|
49
|
+
it 'should respond 200' do
|
50
|
+
get '/forest/Owner/count', params: params, headers: headers
|
51
|
+
expect(response.status).to eq(200)
|
52
|
+
end
|
53
|
+
|
54
|
+
it 'should equal to 10' do
|
55
|
+
get '/forest/Owner/count', params: params, headers: headers
|
56
|
+
expect(response.body).to eq('{"count":10}')
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe 'count on relationships' do
|
61
|
+
params = {
|
62
|
+
fields: { 'Tree' => 'id,name,owner' },
|
63
|
+
page: { 'number' => '1', 'size' => '10' },
|
64
|
+
searchExtended: '0',
|
65
|
+
sort: '-id',
|
66
|
+
timezone: 'Europe/Paris'
|
67
|
+
}
|
68
|
+
|
69
|
+
it 'should respond 200' do
|
70
|
+
get '/forest/Owner/1/relationships/trees/count', params: params, headers: headers
|
71
|
+
expect(response.status).to eq(200)
|
72
|
+
end
|
73
|
+
|
74
|
+
it 'should equal to 1' do
|
75
|
+
get '/forest/Owner/1/relationships/trees/count', params: params, headers: headers
|
76
|
+
expect(response.body).to eq('{"count":1}')
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
describe 'deactivate_count_response' do
|
81
|
+
params = {
|
82
|
+
fields: { 'Owner' => 'id,name' },
|
83
|
+
page: { 'number' => '1', 'size' => '10' },
|
84
|
+
search: 'foo',
|
85
|
+
searchExtended: '0',
|
86
|
+
sort: '-id',
|
87
|
+
timezone: 'Europe/Paris'
|
88
|
+
}
|
89
|
+
|
90
|
+
it 'should respond 200' do
|
91
|
+
get '/forest/Owner/count', params: params, headers: headers
|
92
|
+
expect(response.status).to eq(200)
|
93
|
+
end
|
94
|
+
|
95
|
+
it 'should equal to deactivated response' do
|
96
|
+
get '/forest/Owner/count', params: params, headers: headers
|
97
|
+
expect(response.body).to eq('{"meta":{"count":"deactivated "}}')
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'deactivate_count_response' do
|
102
|
+
params = {
|
103
|
+
fields: { 'Tree' => 'id,name,owner' },
|
104
|
+
page: { 'number' => '1', 'size' => '10' },
|
105
|
+
search: 'foo',
|
106
|
+
searchExtended: '0',
|
107
|
+
sort: '-id',
|
108
|
+
timezone: 'Europe/Paris'
|
109
|
+
}
|
110
|
+
|
111
|
+
it 'should respond 200' do
|
112
|
+
get '/forest/Owner/1/relationships/trees/count', params: params, headers: headers
|
113
|
+
expect(response.status).to eq(200)
|
114
|
+
end
|
115
|
+
|
116
|
+
it 'should equal to deactivated response' do
|
117
|
+
get '/forest/Owner/1/relationships/trees/count', params: params, headers: headers
|
118
|
+
expect(response.body).to eq('{"meta":{"count":"deactivated "}}')
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
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: 7.
|
4
|
+
version: 7.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -372,6 +372,8 @@ files:
|
|
372
372
|
- spec/dummy/lib/forest_liana/collections/island.rb
|
373
373
|
- spec/dummy/lib/forest_liana/collections/location.rb
|
374
374
|
- spec/dummy/lib/forest_liana/collections/user.rb
|
375
|
+
- spec/dummy/lib/forest_liana/controllers/owner_trees_controller.rb
|
376
|
+
- spec/dummy/lib/forest_liana/controllers/owners_controller.rb
|
375
377
|
- spec/helpers/forest_liana/query_helper_spec.rb
|
376
378
|
- spec/helpers/forest_liana/schema_helper_spec.rb
|
377
379
|
- spec/lib/forest_liana/bootstrapper_spec.rb
|
@@ -379,6 +381,7 @@ files:
|
|
379
381
|
- spec/rails_helper.rb
|
380
382
|
- spec/requests/actions_controller_spec.rb
|
381
383
|
- spec/requests/authentications_spec.rb
|
384
|
+
- spec/requests/count_spec.rb
|
382
385
|
- spec/requests/resources_spec.rb
|
383
386
|
- spec/requests/stats_spec.rb
|
384
387
|
- spec/services/forest_liana/apimap_sorter_spec.rb
|
@@ -510,171 +513,174 @@ signing_key:
|
|
510
513
|
specification_version: 4
|
511
514
|
summary: Official Rails Liana for Forest
|
512
515
|
test_files:
|
513
|
-
- test/
|
516
|
+
- test/routing/route_test.rb
|
514
517
|
- test/services/forest_liana/operator_date_interval_parser_test.rb
|
515
518
|
- test/services/forest_liana/schema_adapter_test.rb
|
516
|
-
- test/routing/route_test.rb
|
517
|
-
- test/forest_liana_test.rb
|
518
|
-
- test/dummy/Rakefile
|
519
|
-
- test/dummy/bin/setup
|
520
|
-
- test/dummy/bin/bundle
|
521
|
-
- test/dummy/bin/rake
|
522
|
-
- test/dummy/bin/rails
|
523
|
-
- test/dummy/db/schema.rb
|
524
|
-
- test/dummy/db/migrate/20150608131603_create_decimal_field.rb
|
525
|
-
- test/dummy/db/migrate/20150814081918_create_has_many_through_field.rb
|
526
|
-
- test/dummy/db/migrate/20160627172951_create_tree.rb
|
527
|
-
- test/dummy/db/migrate/20160628173505_add_timestamps.rb
|
528
|
-
- test/dummy/db/migrate/20150608130516_create_date_field.rb
|
529
|
-
- test/dummy/db/migrate/20181111162121_create_references_table.rb
|
530
|
-
- test/dummy/db/migrate/20160627172810_create_owner.rb
|
531
|
-
- test/dummy/db/migrate/20150608132621_create_string_field.rb
|
532
|
-
- test/dummy/db/migrate/20150609114636_create_belongs_to_class_name_field.rb
|
533
|
-
- test/dummy/db/migrate/20150616150629_create_polymorphic_field.rb
|
534
|
-
- test/dummy/db/migrate/20150608133038_create_belongs_to_field.rb
|
535
|
-
- test/dummy/db/migrate/20150608133044_create_has_one_field.rb
|
536
|
-
- test/dummy/db/migrate/20150608131610_create_float_field.rb
|
537
|
-
- test/dummy/db/migrate/20150608150016_create_has_many_field.rb
|
538
|
-
- test/dummy/db/migrate/20150608132159_create_boolean_field.rb
|
539
|
-
- test/dummy/db/migrate/20170614141921_create_serialize_field.rb
|
540
|
-
- test/dummy/db/migrate/20150623115554_create_has_many_class_name_field.rb
|
541
|
-
- test/dummy/db/migrate/20150612112520_create_has_and_belongs_to_many_field.rb
|
542
|
-
- test/dummy/db/migrate/20150608131430_create_integer_field.rb
|
543
519
|
- test/dummy/config.ru
|
544
|
-
- test/dummy/
|
520
|
+
- test/dummy/public/favicon.ico
|
521
|
+
- test/dummy/public/500.html
|
522
|
+
- test/dummy/public/404.html
|
523
|
+
- test/dummy/public/422.html
|
524
|
+
- test/dummy/config/application.rb
|
525
|
+
- test/dummy/config/database.yml
|
526
|
+
- test/dummy/config/secrets.yml
|
545
527
|
- test/dummy/config/environment.rb
|
528
|
+
- test/dummy/config/routes.rb
|
546
529
|
- test/dummy/config/locales/en.yml
|
547
|
-
- test/dummy/config/database.yml
|
548
|
-
- test/dummy/config/environments/production.rb
|
549
|
-
- test/dummy/config/environments/test.rb
|
550
530
|
- test/dummy/config/environments/development.rb
|
551
|
-
- test/dummy/config/
|
552
|
-
- test/dummy/config/
|
531
|
+
- test/dummy/config/environments/test.rb
|
532
|
+
- test/dummy/config/environments/production.rb
|
533
|
+
- test/dummy/config/boot.rb
|
534
|
+
- test/dummy/config/initializers/assets.rb
|
553
535
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
554
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
555
|
-
- test/dummy/config/initializers/mime_types.rb
|
556
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
557
536
|
- test/dummy/config/initializers/inflections.rb
|
558
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
559
537
|
- test/dummy/config/initializers/session_store.rb
|
560
|
-
- test/dummy/config/initializers/
|
561
|
-
- test/dummy/config/
|
562
|
-
- test/dummy/config/
|
563
|
-
- test/dummy/
|
538
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
539
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
540
|
+
- test/dummy/config/initializers/mime_types.rb
|
541
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
542
|
+
- test/dummy/db/schema.rb
|
543
|
+
- test/dummy/db/migrate/20150608131430_create_integer_field.rb
|
544
|
+
- test/dummy/db/migrate/20150608132159_create_boolean_field.rb
|
545
|
+
- test/dummy/db/migrate/20150612112520_create_has_and_belongs_to_many_field.rb
|
546
|
+
- test/dummy/db/migrate/20160627172810_create_owner.rb
|
547
|
+
- test/dummy/db/migrate/20150608132621_create_string_field.rb
|
548
|
+
- test/dummy/db/migrate/20150608150016_create_has_many_field.rb
|
549
|
+
- test/dummy/db/migrate/20150608133038_create_belongs_to_field.rb
|
550
|
+
- test/dummy/db/migrate/20150608130516_create_date_field.rb
|
551
|
+
- test/dummy/db/migrate/20150608133044_create_has_one_field.rb
|
552
|
+
- test/dummy/db/migrate/20170614141921_create_serialize_field.rb
|
553
|
+
- test/dummy/db/migrate/20181111162121_create_references_table.rb
|
554
|
+
- test/dummy/db/migrate/20150608131610_create_float_field.rb
|
555
|
+
- test/dummy/db/migrate/20150609114636_create_belongs_to_class_name_field.rb
|
556
|
+
- test/dummy/db/migrate/20150814081918_create_has_many_through_field.rb
|
557
|
+
- test/dummy/db/migrate/20150616150629_create_polymorphic_field.rb
|
558
|
+
- test/dummy/db/migrate/20160627172951_create_tree.rb
|
559
|
+
- test/dummy/db/migrate/20160628173505_add_timestamps.rb
|
560
|
+
- test/dummy/db/migrate/20150623115554_create_has_many_class_name_field.rb
|
561
|
+
- test/dummy/db/migrate/20150608131603_create_decimal_field.rb
|
562
|
+
- test/dummy/app/assets/javascripts/application.js
|
563
|
+
- test/dummy/app/assets/stylesheets/application.css
|
564
|
+
- test/dummy/app/assets/config/manifest.js
|
565
|
+
- test/dummy/app/views/layouts/application.html.erb
|
566
|
+
- test/dummy/app/models/date_field.rb
|
564
567
|
- test/dummy/app/models/belongs_to_field.rb
|
565
|
-
- test/dummy/app/models/
|
568
|
+
- test/dummy/app/models/decimal_field.rb
|
569
|
+
- test/dummy/app/models/string_field.rb
|
570
|
+
- test/dummy/app/models/integer_field.rb
|
571
|
+
- test/dummy/app/models/has_many_through_field.rb
|
566
572
|
- test/dummy/app/models/boolean_field.rb
|
573
|
+
- test/dummy/app/models/owner.rb
|
567
574
|
- test/dummy/app/models/polymorphic_field.rb
|
568
|
-
- test/dummy/app/models/
|
575
|
+
- test/dummy/app/models/has_and_belongs_to_many_field.rb
|
569
576
|
- test/dummy/app/models/belongs_to_class_name_field.rb
|
570
|
-
- test/dummy/app/models/integer_field.rb
|
571
|
-
- test/dummy/app/models/date_field.rb
|
572
577
|
- test/dummy/app/models/serialize_field.rb
|
573
|
-
- test/dummy/app/models/
|
574
|
-
- test/dummy/app/models/
|
578
|
+
- test/dummy/app/models/reference.rb
|
579
|
+
- test/dummy/app/models/tree.rb
|
580
|
+
- test/dummy/app/models/float_field.rb
|
575
581
|
- test/dummy/app/models/has_many_field.rb
|
576
|
-
- test/dummy/app/models/has_many_class_name_field.rb
|
577
|
-
- test/dummy/app/models/string_field.rb
|
578
582
|
- test/dummy/app/models/has_one_field.rb
|
579
|
-
- test/dummy/app/models/
|
580
|
-
- test/dummy/app/models/float_field.rb
|
581
|
-
- test/dummy/app/models/has_and_belongs_to_many_field.rb
|
582
|
-
- test/dummy/app/assets/javascripts/application.js
|
583
|
-
- test/dummy/app/assets/stylesheets/application.css
|
584
|
-
- test/dummy/app/assets/config/manifest.js
|
583
|
+
- test/dummy/app/models/has_many_class_name_field.rb
|
585
584
|
- test/dummy/app/controllers/application_controller.rb
|
586
|
-
- test/dummy/app/
|
587
|
-
- test/dummy/
|
588
|
-
- test/dummy/
|
589
|
-
- test/dummy/
|
590
|
-
- test/dummy/
|
591
|
-
- test/
|
585
|
+
- test/dummy/app/helpers/application_helper.rb
|
586
|
+
- test/dummy/Rakefile
|
587
|
+
- test/dummy/bin/setup
|
588
|
+
- test/dummy/bin/bundle
|
589
|
+
- test/dummy/bin/rails
|
590
|
+
- test/dummy/bin/rake
|
591
|
+
- test/dummy/README.rdoc
|
592
|
+
- test/test_helper.rb
|
593
|
+
- test/forest_liana_test.rb
|
594
|
+
- test/fixtures/has_many_through_field.yml
|
592
595
|
- test/fixtures/has_one_field.yml
|
596
|
+
- test/fixtures/tree.yml
|
593
597
|
- test/fixtures/owner.yml
|
594
598
|
- test/fixtures/has_many_field.yml
|
595
|
-
- test/fixtures/
|
596
|
-
- test/fixtures/tree.yml
|
597
|
-
- test/fixtures/reference.yml
|
599
|
+
- test/fixtures/serialize_field.yml
|
598
600
|
- test/fixtures/belongs_to_field.yml
|
601
|
+
- test/fixtures/reference.yml
|
599
602
|
- test/fixtures/string_field.yml
|
600
|
-
- spec/
|
601
|
-
- spec/
|
603
|
+
- spec/rails_helper.rb
|
604
|
+
- spec/requests/stats_spec.rb
|
605
|
+
- spec/requests/actions_controller_spec.rb
|
606
|
+
- spec/requests/authentications_spec.rb
|
607
|
+
- spec/requests/resources_spec.rb
|
608
|
+
- spec/requests/count_spec.rb
|
609
|
+
- spec/services/forest_liana/resource_updater_spec.rb
|
610
|
+
- spec/services/forest_liana/ip_whitelist_checker_spec.rb
|
611
|
+
- spec/services/forest_liana/permissions_formatter_spec.rb
|
612
|
+
- spec/services/forest_liana/resources_getter_spec.rb
|
613
|
+
- spec/services/forest_liana/apimap_sorter_spec.rb
|
614
|
+
- spec/services/forest_liana/permissions_checker_live_queries_spec.rb
|
615
|
+
- spec/services/forest_liana/value_stat_getter_spec.rb
|
602
616
|
- spec/services/forest_liana/permissions_checker_acl_disabled_spec.rb
|
603
|
-
- spec/services/forest_liana/has_many_getter_spec.rb
|
604
617
|
- spec/services/forest_liana/smart_action_field_validator_spec.rb
|
605
|
-
- spec/services/forest_liana/permissions_checker_live_queries_spec.rb
|
606
|
-
- spec/services/forest_liana/schema_adapter_spec.rb
|
607
618
|
- spec/services/forest_liana/scope_manager_spec.rb
|
608
|
-
- spec/services/forest_liana/permissions_formatter_spec.rb
|
609
619
|
- spec/services/forest_liana/filters_parser_spec.rb
|
610
|
-
- spec/services/forest_liana/apimap_sorter_spec.rb
|
611
|
-
- spec/services/forest_liana/pie_stat_getter_spec.rb
|
612
|
-
- spec/services/forest_liana/resources_getter_spec.rb
|
613
620
|
- spec/services/forest_liana/permissions_getter_spec.rb
|
621
|
+
- spec/services/forest_liana/has_many_getter_spec.rb
|
614
622
|
- spec/services/forest_liana/line_stat_getter_spec.rb
|
615
|
-
- spec/services/forest_liana/
|
616
|
-
- spec/services/forest_liana/resource_updater_spec.rb
|
623
|
+
- spec/services/forest_liana/pie_stat_getter_spec.rb
|
617
624
|
- spec/services/forest_liana/permissions_checker_acl_enabled_spec.rb
|
618
|
-
- spec/services/forest_liana/
|
619
|
-
- spec/spec_helper.rb
|
620
|
-
- spec/lib/forest_liana/bootstrapper_spec.rb
|
621
|
-
- spec/lib/forest_liana/schema_file_updater_spec.rb
|
622
|
-
- spec/config/initializers/logger_spec.rb
|
623
|
-
- spec/rails_helper.rb
|
624
|
-
- spec/dummy/Rakefile
|
625
|
-
- spec/dummy/bin/setup
|
626
|
-
- spec/dummy/bin/bundle
|
627
|
-
- spec/dummy/bin/rake
|
628
|
-
- spec/dummy/bin/rails
|
629
|
-
- spec/dummy/db/schema.rb
|
630
|
-
- spec/dummy/db/migrate/20190716135241_add_type_to_user.rb
|
631
|
-
- spec/dummy/db/migrate/20190226174951_create_tree.rb
|
632
|
-
- spec/dummy/db/migrate/20210326110524_create_references.rb
|
633
|
-
- spec/dummy/db/migrate/20210526084712_create_products.rb
|
634
|
-
- spec/dummy/db/migrate/20190226172951_create_user.rb
|
635
|
-
- spec/dummy/db/migrate/20210511141752_create_owners.rb
|
636
|
-
- spec/dummy/db/migrate/20190716130830_add_age_to_tree.rb
|
637
|
-
- spec/dummy/db/migrate/20210326140855_create_locations.rb
|
638
|
-
- spec/dummy/db/migrate/20190226173051_create_isle.rb
|
625
|
+
- spec/services/forest_liana/schema_adapter_spec.rb
|
639
626
|
- spec/dummy/config.ru
|
640
|
-
- spec/dummy/
|
641
|
-
- spec/dummy/lib/forest_liana/collections/user.rb
|
642
|
-
- spec/dummy/lib/forest_liana/collections/island.rb
|
643
|
-
- spec/dummy/lib/forest_liana/collections/location.rb
|
644
|
-
- spec/dummy/config/environment.rb
|
627
|
+
- spec/dummy/config/application.rb
|
645
628
|
- spec/dummy/config/database.yml
|
646
|
-
- spec/dummy/config/environments/production.rb
|
647
|
-
- spec/dummy/config/environments/test.rb
|
648
|
-
- spec/dummy/config/environments/development.rb
|
649
|
-
- spec/dummy/config/routes.rb
|
650
629
|
- spec/dummy/config/secrets.yml
|
630
|
+
- spec/dummy/config/environment.rb
|
631
|
+
- spec/dummy/config/routes.rb
|
632
|
+
- spec/dummy/config/environments/development.rb
|
633
|
+
- spec/dummy/config/environments/test.rb
|
634
|
+
- spec/dummy/config/environments/production.rb
|
635
|
+
- spec/dummy/config/boot.rb
|
636
|
+
- spec/dummy/config/initializers/assets.rb
|
651
637
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
652
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
653
|
-
- spec/dummy/config/initializers/mime_types.rb
|
654
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
655
|
-
- spec/dummy/config/initializers/forest_liana.rb
|
656
638
|
- spec/dummy/config/initializers/inflections.rb
|
657
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
658
639
|
- spec/dummy/config/initializers/session_store.rb
|
659
|
-
- spec/dummy/config/initializers/
|
660
|
-
- spec/dummy/config/
|
661
|
-
- spec/dummy/config/
|
662
|
-
- spec/dummy/
|
663
|
-
- spec/dummy/
|
664
|
-
- spec/dummy/
|
640
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
641
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
642
|
+
- spec/dummy/config/initializers/mime_types.rb
|
643
|
+
- spec/dummy/config/initializers/forest_liana.rb
|
644
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
645
|
+
- spec/dummy/db/schema.rb
|
646
|
+
- spec/dummy/db/migrate/20210526084712_create_products.rb
|
647
|
+
- spec/dummy/db/migrate/20210326140855_create_locations.rb
|
648
|
+
- spec/dummy/db/migrate/20210326110524_create_references.rb
|
649
|
+
- spec/dummy/db/migrate/20210511141752_create_owners.rb
|
650
|
+
- spec/dummy/db/migrate/20190226174951_create_tree.rb
|
651
|
+
- spec/dummy/db/migrate/20190226172951_create_user.rb
|
652
|
+
- spec/dummy/db/migrate/20190716130830_add_age_to_tree.rb
|
653
|
+
- spec/dummy/db/migrate/20190226173051_create_isle.rb
|
654
|
+
- spec/dummy/db/migrate/20190716135241_add_type_to_user.rb
|
655
|
+
- spec/dummy/app/assets/javascripts/application.js
|
656
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
657
|
+
- spec/dummy/app/assets/config/manifest.js
|
658
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
665
659
|
- spec/dummy/app/models/user.rb
|
666
|
-
- spec/dummy/app/models/island.rb
|
667
660
|
- spec/dummy/app/models/owner.rb
|
668
|
-
- spec/dummy/app/models/product.rb
|
669
661
|
- spec/dummy/app/models/location.rb
|
662
|
+
- spec/dummy/app/models/reference.rb
|
663
|
+
- spec/dummy/app/models/tree.rb
|
664
|
+
- spec/dummy/app/models/product.rb
|
665
|
+
- spec/dummy/app/models/island.rb
|
670
666
|
- spec/dummy/app/config/routes.rb
|
671
|
-
- spec/dummy/app/assets/javascripts/application.js
|
672
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
673
|
-
- spec/dummy/app/assets/config/manifest.js
|
674
667
|
- spec/dummy/app/controllers/application_controller.rb
|
675
668
|
- spec/dummy/app/controllers/forest/islands_controller.rb
|
676
|
-
- spec/dummy/app/
|
677
|
-
- spec/
|
678
|
-
- spec/
|
679
|
-
- spec/
|
680
|
-
- spec/
|
669
|
+
- spec/dummy/app/helpers/application_helper.rb
|
670
|
+
- spec/dummy/Rakefile
|
671
|
+
- spec/dummy/lib/forest_liana/controllers/owner_trees_controller.rb
|
672
|
+
- spec/dummy/lib/forest_liana/controllers/owners_controller.rb
|
673
|
+
- spec/dummy/lib/forest_liana/collections/user.rb
|
674
|
+
- spec/dummy/lib/forest_liana/collections/location.rb
|
675
|
+
- spec/dummy/lib/forest_liana/collections/island.rb
|
676
|
+
- spec/dummy/bin/setup
|
677
|
+
- spec/dummy/bin/bundle
|
678
|
+
- spec/dummy/bin/rails
|
679
|
+
- spec/dummy/bin/rake
|
680
|
+
- spec/dummy/README.rdoc
|
681
|
+
- spec/config/initializers/logger_spec.rb
|
682
|
+
- spec/spec_helper.rb
|
683
|
+
- spec/lib/forest_liana/schema_file_updater_spec.rb
|
684
|
+
- spec/lib/forest_liana/bootstrapper_spec.rb
|
685
|
+
- spec/helpers/forest_liana/query_helper_spec.rb
|
686
|
+
- spec/helpers/forest_liana/schema_helper_spec.rb
|