forest_liana 7.6.0 → 7.6.3
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 +1 -1
- data/app/services/forest_liana/schema_adapter.rb +2 -0
- data/app/services/forest_liana/search_query_builder.rb +3 -1
- data/lib/forest_liana/bootstrapper.rb +2 -2
- data/lib/forest_liana/version.rb +1 -1
- data/spec/lib/forest_liana/bootstrapper_spec.rb +104 -0
- data/spec/requests/count_spec.rb +2 -2
- data/spec/services/forest_liana/schema_adapter_spec.rb +13 -1
- metadata +127 -127
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2c5dee061bff5a6292ee2524d8ec3df10fdd6698960285532cb847c9407412d
|
4
|
+
data.tar.gz: 224fc3ad7164a489f3480fe06b153b31a20614a1f4aaf1fc2e66461fa8993218
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0b21988df4803f55f3ef8a72980af8d52d512faddd0189458bc3ab5639e7608fd240da95d0f0a075458a7d855f8b5ff9f81a2b694ef9adf2e29a1c33c373c48
|
7
|
+
data.tar.gz: 557a854cee3d809681be1ee96f420266278c3ea2d665f4d4653b574b71ec8a8fa03acf5c6ee4d2c48b031485079d5c3bf0ac39510c31fde228a3d7b18e77dc7f
|
@@ -8,6 +8,8 @@ module ForestLiana
|
|
8
8
|
add_columns
|
9
9
|
add_associations
|
10
10
|
|
11
|
+
collection.fields.sort_by! { |k| k[:field].to_s }
|
12
|
+
|
11
13
|
# NOTICE: Add ActsAsTaggable fields
|
12
14
|
if @model.try(:taggable?) && @model.respond_to?(:acts_as_taggable) &&
|
13
15
|
@model.acts_as_taggable.respond_to?(:to_a)
|
@@ -61,7 +61,7 @@ module ForestLiana
|
|
61
61
|
conditions = []
|
62
62
|
|
63
63
|
@resource.columns.each_with_index do |column, index|
|
64
|
-
@fields_searched << column.name if text_type? column.type
|
64
|
+
@fields_searched << column.name if text_type?(column.type) || column.type == :uuid
|
65
65
|
column_name = format_column_name(@resource.table_name, column.name)
|
66
66
|
if (@collection.search_fields && !@collection.search_fields.include?(column.name))
|
67
67
|
conditions
|
@@ -73,6 +73,8 @@ module ForestLiana
|
|
73
73
|
conditions << "#{@resource.table_name}.id = :search_value_for_uuid"
|
74
74
|
end
|
75
75
|
# NOTICE: Rails 3 do not have a defined_enums method
|
76
|
+
elsif REGEX_UUID.match(@search) && column.type == :uuid
|
77
|
+
conditions << "#{column_name} = :search_value_for_uuid"
|
76
78
|
elsif @resource.respond_to?(:defined_enums) &&
|
77
79
|
@resource.defined_enums.has_key?(column.name) &&
|
78
80
|
!@resource.defined_enums[column.name][@search.downcase].nil?
|
@@ -59,8 +59,8 @@ module ForestLiana
|
|
59
59
|
c = get_collection(collection['name'])
|
60
60
|
unless c.nil?
|
61
61
|
a = get_action(c, action['name'])
|
62
|
-
load = !a.hooks.nil? && a.hooks.key?(:load) && a.hooks[:load].is_a?(Proc)
|
63
|
-
change = !a.hooks.nil? && a.hooks.key?(:change) && a.hooks[:change].is_a?(Hash) ? a.hooks[:change].keys : []
|
62
|
+
load = !a.nil? && !a.hooks.nil? && a.hooks.key?(:load) && a.hooks[:load].is_a?(Proc)
|
63
|
+
change = !a.nil? && !a.hooks.nil? && a.hooks.key?(:change) && a.hooks[:change].is_a?(Hash) ? a.hooks[:change].keys : []
|
64
64
|
action['hooks'] = {'load' => load, 'change' => change}
|
65
65
|
end
|
66
66
|
end
|
data/lib/forest_liana/version.rb
CHANGED
@@ -8,5 +8,109 @@ module ForestLiana
|
|
8
8
|
.to include(:database_type)
|
9
9
|
end
|
10
10
|
end
|
11
|
+
|
12
|
+
describe 'generate_action_hooks' do
|
13
|
+
schema = '{
|
14
|
+
"collections": [
|
15
|
+
{
|
16
|
+
"name": "Island",
|
17
|
+
"name_old": "Island",
|
18
|
+
"icon": null,
|
19
|
+
"is_read_only": false,
|
20
|
+
"is_searchable": true,
|
21
|
+
"is_virtual": false,
|
22
|
+
"only_for_relationships": false,
|
23
|
+
"pagination_type": "page",
|
24
|
+
"fields": [
|
25
|
+
{
|
26
|
+
"field": "id",
|
27
|
+
"type": "Number",
|
28
|
+
"default_value": null,
|
29
|
+
"enums": null,
|
30
|
+
"integration": null,
|
31
|
+
"is_filterable": true,
|
32
|
+
"is_read_only": false,
|
33
|
+
"is_required": false,
|
34
|
+
"is_sortable": true,
|
35
|
+
"is_virtual": false,
|
36
|
+
"reference": null,
|
37
|
+
"inverse_of": null,
|
38
|
+
"widget": null,
|
39
|
+
"validations": []
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"field": "first_name",
|
43
|
+
"type": "String",
|
44
|
+
"default_value": null,
|
45
|
+
"enums": null,
|
46
|
+
"integration": null,
|
47
|
+
"is_filterable": true,
|
48
|
+
"is_read_only": false,
|
49
|
+
"is_required": false,
|
50
|
+
"is_sortable": true,
|
51
|
+
"is_virtual": false,
|
52
|
+
"reference": null,
|
53
|
+
"inverse_of": null,
|
54
|
+
"widget": null,
|
55
|
+
"validations": []
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"field": "last_name",
|
59
|
+
"type": "String",
|
60
|
+
"default_value": null,
|
61
|
+
"enums": null,
|
62
|
+
"integration": null,
|
63
|
+
"is_filterable": true,
|
64
|
+
"is_read_only": false,
|
65
|
+
"is_required": false,
|
66
|
+
"is_sortable": true,
|
67
|
+
"is_virtual": false,
|
68
|
+
"reference": null,
|
69
|
+
"inverse_of": null,
|
70
|
+
"widget": null,
|
71
|
+
"validations": []
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"segments": [],
|
75
|
+
"actions": [
|
76
|
+
{
|
77
|
+
"name": "foo",
|
78
|
+
"type": "bulk",
|
79
|
+
"base_url": null,
|
80
|
+
"endpoint": "forest/actions/mark-as-live",
|
81
|
+
"http_method": "POST",
|
82
|
+
"redirect": null,
|
83
|
+
"download": false,
|
84
|
+
"fields": [],
|
85
|
+
"hooks": {
|
86
|
+
"load": false,
|
87
|
+
"change": []
|
88
|
+
}
|
89
|
+
}
|
90
|
+
]
|
91
|
+
}
|
92
|
+
],
|
93
|
+
"meta": {
|
94
|
+
"liana": "forest-rails",
|
95
|
+
"liana_version": "7.6.0",
|
96
|
+
"stack": {
|
97
|
+
"database_type": "postgresql",
|
98
|
+
"orm_version": "7.0.2.4"
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}'
|
102
|
+
|
103
|
+
|
104
|
+
it "Should return actions hooks empty for the island collection" do
|
105
|
+
allow(ForestLiana).to receive(:env_secret).and_return(nil)
|
106
|
+
bootstrapper = Bootstrapper.new
|
107
|
+
content = JSON.parse(schema)
|
108
|
+
bootstrapper.instance_variable_set(:@collections_sent, content['collections'])
|
109
|
+
bootstrapper.instance_variable_set(:@meta_sent, content['meta'])
|
110
|
+
bootstrapper.send(:generate_action_hooks)
|
111
|
+
|
112
|
+
expect(bootstrapper.instance_variable_get("@collections_sent").first['actions'].first['hooks']).to eq({"load"=>false, "change"=>[]})
|
113
|
+
end
|
114
|
+
end
|
11
115
|
end
|
12
116
|
end
|
data/spec/requests/count_spec.rb
CHANGED
@@ -94,7 +94,7 @@ describe 'Requesting Owner', :type => :request do
|
|
94
94
|
|
95
95
|
it 'should equal to deactivated response' do
|
96
96
|
get '/forest/Owner/count', params: params, headers: headers
|
97
|
-
expect(response.body).to eq('{"meta":{"count":"deactivated
|
97
|
+
expect(response.body).to eq('{"meta":{"count":"deactivated"}}')
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
@@ -115,7 +115,7 @@ describe 'Requesting Owner', :type => :request do
|
|
115
115
|
|
116
116
|
it 'should equal to deactivated response' do
|
117
117
|
get '/forest/Owner/1/relationships/trees/count', params: params, headers: headers
|
118
|
-
expect(response.body).to eq('{"meta":{"count":"deactivated
|
118
|
+
expect(response.body).to eq('{"meta":{"count":"deactivated"}}')
|
119
119
|
end
|
120
120
|
end
|
121
121
|
end
|
@@ -8,7 +8,19 @@ module ForestLiana
|
|
8
8
|
end
|
9
9
|
|
10
10
|
expect(collection.fields.map { |field| field[:field] }).to eq(
|
11
|
-
["
|
11
|
+
["created_at", "id", "location", "name", "trees", "updated_at"]
|
12
|
+
)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
context 'with standard fields' do
|
17
|
+
it 'should be sort by alphabetical order' do
|
18
|
+
collection = ForestLiana.apimap.find do |object|
|
19
|
+
object.name.to_s == ForestLiana.name_for(Tree)
|
20
|
+
end
|
21
|
+
|
22
|
+
expect(collection.fields.map { |field| field[:field].to_s}).to eq(
|
23
|
+
["age", "created_at", "cutter", "id", "island", "name", "owner", "updated_at"]
|
12
24
|
)
|
13
25
|
end
|
14
26
|
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.6.
|
4
|
+
version: 7.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -515,176 +515,176 @@ signing_key:
|
|
515
515
|
specification_version: 4
|
516
516
|
summary: Official Rails Liana for Forest
|
517
517
|
test_files:
|
518
|
-
- test/
|
519
|
-
- test/fixtures/has_many_field.yml
|
520
|
-
- test/fixtures/serialize_field.yml
|
521
|
-
- test/fixtures/tree.yml
|
522
|
-
- test/fixtures/string_field.yml
|
523
|
-
- test/fixtures/has_many_through_field.yml
|
524
|
-
- test/fixtures/has_one_field.yml
|
525
|
-
- test/fixtures/reference.yml
|
526
|
-
- test/fixtures/owner.yml
|
527
|
-
- test/forest_liana_test.rb
|
528
|
-
- test/routing/route_test.rb
|
529
|
-
- test/test_helper.rb
|
530
|
-
- test/services/forest_liana/operator_date_interval_parser_test.rb
|
531
|
-
- test/services/forest_liana/schema_adapter_test.rb
|
532
|
-
- test/dummy/public/favicon.ico
|
533
|
-
- test/dummy/public/404.html
|
534
|
-
- test/dummy/public/500.html
|
535
|
-
- test/dummy/public/422.html
|
536
|
-
- test/dummy/db/migrate/20150608132621_create_string_field.rb
|
537
|
-
- test/dummy/db/migrate/20160628173505_add_timestamps.rb
|
518
|
+
- test/dummy/db/migrate/20150608132159_create_boolean_field.rb
|
538
519
|
- test/dummy/db/migrate/20160627172951_create_tree.rb
|
539
|
-
- test/dummy/db/migrate/
|
520
|
+
- test/dummy/db/migrate/20170614141921_create_serialize_field.rb
|
521
|
+
- test/dummy/db/migrate/20160628173505_add_timestamps.rb
|
540
522
|
- test/dummy/db/migrate/20150609114636_create_belongs_to_class_name_field.rb
|
541
523
|
- test/dummy/db/migrate/20150814081918_create_has_many_through_field.rb
|
542
|
-
- test/dummy/db/migrate/
|
543
|
-
- test/dummy/db/migrate/20150623115554_create_has_many_class_name_field.rb
|
544
|
-
- test/dummy/db/migrate/20150608132159_create_boolean_field.rb
|
545
|
-
- test/dummy/db/migrate/20150608131430_create_integer_field.rb
|
546
|
-
- test/dummy/db/migrate/20150612112520_create_has_and_belongs_to_many_field.rb
|
547
|
-
- test/dummy/db/migrate/20150608133038_create_belongs_to_field.rb
|
548
|
-
- test/dummy/db/migrate/20170614141921_create_serialize_field.rb
|
524
|
+
- test/dummy/db/migrate/20150608133044_create_has_one_field.rb
|
549
525
|
- test/dummy/db/migrate/20150608131610_create_float_field.rb
|
550
526
|
- test/dummy/db/migrate/20150608131603_create_decimal_field.rb
|
527
|
+
- test/dummy/db/migrate/20150608131430_create_integer_field.rb
|
551
528
|
- test/dummy/db/migrate/20150608150016_create_has_many_field.rb
|
552
|
-
- test/dummy/db/migrate/
|
553
|
-
- test/dummy/db/migrate/20181111162121_create_references_table.rb
|
529
|
+
- test/dummy/db/migrate/20150608132621_create_string_field.rb
|
554
530
|
- test/dummy/db/migrate/20150616150629_create_polymorphic_field.rb
|
531
|
+
- test/dummy/db/migrate/20160627172810_create_owner.rb
|
532
|
+
- test/dummy/db/migrate/20150612112520_create_has_and_belongs_to_many_field.rb
|
533
|
+
- test/dummy/db/migrate/20150623115554_create_has_many_class_name_field.rb
|
534
|
+
- test/dummy/db/migrate/20150608133038_create_belongs_to_field.rb
|
535
|
+
- test/dummy/db/migrate/20150608130516_create_date_field.rb
|
536
|
+
- test/dummy/db/migrate/20181111162121_create_references_table.rb
|
555
537
|
- test/dummy/db/schema.rb
|
556
|
-
- test/dummy/
|
557
|
-
- test/dummy/
|
558
|
-
- test/dummy/
|
559
|
-
- test/dummy/
|
560
|
-
- test/dummy/config/environments/test.rb
|
561
|
-
- test/dummy/config/boot.rb
|
562
|
-
- test/dummy/config/routes.rb
|
563
|
-
- test/dummy/config/secrets.yml
|
564
|
-
- test/dummy/config/database.yml
|
565
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
566
|
-
- test/dummy/config/initializers/mime_types.rb
|
567
|
-
- test/dummy/config/initializers/cookies_serializer.rb
|
568
|
-
- test/dummy/config/initializers/filter_parameter_logging.rb
|
569
|
-
- test/dummy/config/initializers/session_store.rb
|
570
|
-
- test/dummy/config/initializers/assets.rb
|
571
|
-
- test/dummy/config/initializers/inflections.rb
|
572
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
573
|
-
- test/dummy/config/environment.rb
|
574
|
-
- test/dummy/config/locales/en.yml
|
575
|
-
- test/dummy/README.rdoc
|
538
|
+
- test/dummy/public/422.html
|
539
|
+
- test/dummy/public/500.html
|
540
|
+
- test/dummy/public/404.html
|
541
|
+
- test/dummy/public/favicon.ico
|
576
542
|
- test/dummy/app/controllers/application_controller.rb
|
543
|
+
- test/dummy/app/helpers/application_helper.rb
|
544
|
+
- test/dummy/app/views/layouts/application.html.erb
|
545
|
+
- test/dummy/app/models/has_many_class_name_field.rb
|
546
|
+
- test/dummy/app/models/tree.rb
|
547
|
+
- test/dummy/app/models/boolean_field.rb
|
548
|
+
- test/dummy/app/models/float_field.rb
|
549
|
+
- test/dummy/app/models/has_one_field.rb
|
577
550
|
- test/dummy/app/models/has_many_through_field.rb
|
578
|
-
- test/dummy/app/models/
|
579
|
-
- test/dummy/app/models/string_field.rb
|
551
|
+
- test/dummy/app/models/owner.rb
|
580
552
|
- test/dummy/app/models/date_field.rb
|
553
|
+
- test/dummy/app/models/has_and_belongs_to_many_field.rb
|
554
|
+
- test/dummy/app/models/has_many_field.rb
|
581
555
|
- test/dummy/app/models/belongs_to_class_name_field.rb
|
582
|
-
- test/dummy/app/models/owner.rb
|
583
556
|
- test/dummy/app/models/decimal_field.rb
|
584
|
-
- test/dummy/app/models/
|
585
|
-
- test/dummy/app/models/has_many_field.rb
|
586
|
-
- test/dummy/app/models/has_many_class_name_field.rb
|
587
|
-
- test/dummy/app/models/boolean_field.rb
|
588
|
-
- test/dummy/app/models/integer_field.rb
|
557
|
+
- test/dummy/app/models/string_field.rb
|
589
558
|
- test/dummy/app/models/belongs_to_field.rb
|
590
|
-
- test/dummy/app/models/
|
591
|
-
- test/dummy/app/models/
|
592
|
-
- test/dummy/app/models/float_field.rb
|
593
|
-
- test/dummy/app/models/has_one_field.rb
|
559
|
+
- test/dummy/app/models/polymorphic_field.rb
|
560
|
+
- test/dummy/app/models/integer_field.rb
|
594
561
|
- test/dummy/app/models/reference.rb
|
595
|
-
- test/dummy/app/
|
596
|
-
- test/dummy/app/assets/javascripts/application.js
|
562
|
+
- test/dummy/app/models/serialize_field.rb
|
597
563
|
- test/dummy/app/assets/stylesheets/application.css
|
598
564
|
- test/dummy/app/assets/config/manifest.js
|
599
|
-
- test/dummy/app/
|
565
|
+
- test/dummy/app/assets/javascripts/application.js
|
566
|
+
- test/dummy/config.ru
|
567
|
+
- test/dummy/config/environments/production.rb
|
568
|
+
- test/dummy/config/environments/test.rb
|
569
|
+
- test/dummy/config/environments/development.rb
|
570
|
+
- test/dummy/config/environment.rb
|
571
|
+
- test/dummy/config/secrets.yml
|
572
|
+
- test/dummy/config/routes.rb
|
573
|
+
- test/dummy/config/application.rb
|
574
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
575
|
+
- test/dummy/config/initializers/mime_types.rb
|
576
|
+
- test/dummy/config/initializers/inflections.rb
|
577
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
578
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
579
|
+
- test/dummy/config/initializers/session_store.rb
|
580
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
581
|
+
- test/dummy/config/initializers/assets.rb
|
582
|
+
- test/dummy/config/locales/en.yml
|
583
|
+
- test/dummy/config/database.yml
|
584
|
+
- test/dummy/config/boot.rb
|
600
585
|
- test/dummy/Rakefile
|
586
|
+
- test/dummy/bin/bundle
|
601
587
|
- test/dummy/bin/rake
|
602
588
|
- test/dummy/bin/rails
|
603
|
-
- test/dummy/bin/bundle
|
604
589
|
- test/dummy/bin/setup
|
605
|
-
-
|
606
|
-
-
|
607
|
-
-
|
608
|
-
-
|
609
|
-
-
|
610
|
-
-
|
611
|
-
-
|
612
|
-
-
|
613
|
-
-
|
614
|
-
-
|
615
|
-
-
|
616
|
-
-
|
617
|
-
-
|
618
|
-
-
|
619
|
-
-
|
620
|
-
- spec/services/forest_liana/ip_whitelist_checker_spec.rb
|
621
|
-
- spec/services/forest_liana/resource_updater_spec.rb
|
622
|
-
- spec/services/forest_liana/permissions_checker_acl_disabled_spec.rb
|
623
|
-
- spec/services/forest_liana/apimap_sorter_spec.rb
|
624
|
-
- spec/services/forest_liana/resources_getter_spec.rb
|
625
|
-
- spec/services/forest_liana/smart_action_field_validator_spec.rb
|
626
|
-
- spec/dummy/lib/forest_liana/controllers/owners_controller.rb
|
627
|
-
- spec/dummy/lib/forest_liana/controllers/owner_trees_controller.rb
|
590
|
+
- test/dummy/README.rdoc
|
591
|
+
- test/test_helper.rb
|
592
|
+
- test/forest_liana_test.rb
|
593
|
+
- test/fixtures/has_many_through_field.yml
|
594
|
+
- test/fixtures/has_one_field.yml
|
595
|
+
- test/fixtures/has_many_field.yml
|
596
|
+
- test/fixtures/reference.yml
|
597
|
+
- test/fixtures/belongs_to_field.yml
|
598
|
+
- test/fixtures/string_field.yml
|
599
|
+
- test/fixtures/owner.yml
|
600
|
+
- test/fixtures/serialize_field.yml
|
601
|
+
- test/fixtures/tree.yml
|
602
|
+
- test/routing/route_test.rb
|
603
|
+
- test/services/forest_liana/schema_adapter_test.rb
|
604
|
+
- test/services/forest_liana/operator_date_interval_parser_test.rb
|
628
605
|
- spec/dummy/lib/forest_liana/collections/user.rb
|
629
|
-
- spec/dummy/lib/forest_liana/collections/island.rb
|
630
606
|
- spec/dummy/lib/forest_liana/collections/location.rb
|
631
|
-
- spec/dummy/
|
632
|
-
- spec/dummy/
|
633
|
-
- spec/dummy/
|
607
|
+
- spec/dummy/lib/forest_liana/collections/island.rb
|
608
|
+
- spec/dummy/lib/forest_liana/controllers/owners_controller.rb
|
609
|
+
- spec/dummy/lib/forest_liana/controllers/owner_trees_controller.rb
|
634
610
|
- spec/dummy/db/migrate/20210526084712_create_products.rb
|
611
|
+
- spec/dummy/db/migrate/20190226173051_create_isle.rb
|
635
612
|
- spec/dummy/db/migrate/20210326140855_create_locations.rb
|
613
|
+
- spec/dummy/db/migrate/20210326110524_create_references.rb
|
636
614
|
- spec/dummy/db/migrate/20190716130830_add_age_to_tree.rb
|
637
615
|
- spec/dummy/db/migrate/20190226174951_create_tree.rb
|
616
|
+
- spec/dummy/db/migrate/20190226172951_create_user.rb
|
638
617
|
- spec/dummy/db/migrate/20190716135241_add_type_to_user.rb
|
639
|
-
- spec/dummy/db/migrate/
|
618
|
+
- spec/dummy/db/migrate/20210511141752_create_owners.rb
|
640
619
|
- spec/dummy/db/schema.rb
|
620
|
+
- spec/dummy/app/controllers/forest/islands_controller.rb
|
621
|
+
- spec/dummy/app/controllers/application_controller.rb
|
622
|
+
- spec/dummy/app/helpers/application_helper.rb
|
623
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
624
|
+
- spec/dummy/app/models/tree.rb
|
625
|
+
- spec/dummy/app/models/owner.rb
|
626
|
+
- spec/dummy/app/models/product.rb
|
627
|
+
- spec/dummy/app/models/user.rb
|
628
|
+
- spec/dummy/app/models/location.rb
|
629
|
+
- spec/dummy/app/models/island.rb
|
630
|
+
- spec/dummy/app/models/reference.rb
|
631
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
632
|
+
- spec/dummy/app/assets/config/manifest.js
|
633
|
+
- spec/dummy/app/assets/javascripts/application.js
|
634
|
+
- spec/dummy/app/config/routes.rb
|
641
635
|
- spec/dummy/config.ru
|
642
|
-
- spec/dummy/config/application.rb
|
643
|
-
- spec/dummy/config/environments/development.rb
|
644
636
|
- spec/dummy/config/environments/production.rb
|
645
637
|
- spec/dummy/config/environments/test.rb
|
646
|
-
- spec/dummy/config/
|
647
|
-
- spec/dummy/config/
|
638
|
+
- spec/dummy/config/environments/development.rb
|
639
|
+
- spec/dummy/config/environment.rb
|
648
640
|
- spec/dummy/config/secrets.yml
|
649
|
-
- spec/dummy/config/
|
650
|
-
- spec/dummy/config/
|
641
|
+
- spec/dummy/config/routes.rb
|
642
|
+
- spec/dummy/config/application.rb
|
643
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
651
644
|
- spec/dummy/config/initializers/mime_types.rb
|
645
|
+
- spec/dummy/config/initializers/inflections.rb
|
646
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
652
647
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
653
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
654
|
-
- spec/dummy/config/initializers/forest_liana.rb
|
655
648
|
- spec/dummy/config/initializers/session_store.rb
|
649
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
656
650
|
- spec/dummy/config/initializers/assets.rb
|
657
|
-
- spec/dummy/config/initializers/
|
658
|
-
- spec/dummy/config/
|
659
|
-
- spec/dummy/config/
|
660
|
-
- spec/dummy/README.rdoc
|
661
|
-
- spec/dummy/app/controllers/application_controller.rb
|
662
|
-
- spec/dummy/app/controllers/forest/islands_controller.rb
|
663
|
-
- spec/dummy/app/config/routes.rb
|
664
|
-
- spec/dummy/app/models/user.rb
|
665
|
-
- spec/dummy/app/models/product.rb
|
666
|
-
- spec/dummy/app/models/owner.rb
|
667
|
-
- spec/dummy/app/models/tree.rb
|
668
|
-
- spec/dummy/app/models/island.rb
|
669
|
-
- spec/dummy/app/models/reference.rb
|
670
|
-
- spec/dummy/app/models/location.rb
|
671
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
672
|
-
- spec/dummy/app/assets/javascripts/application.js
|
673
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
674
|
-
- spec/dummy/app/assets/config/manifest.js
|
675
|
-
- spec/dummy/app/helpers/application_helper.rb
|
651
|
+
- spec/dummy/config/initializers/forest_liana.rb
|
652
|
+
- spec/dummy/config/database.yml
|
653
|
+
- spec/dummy/config/boot.rb
|
676
654
|
- spec/dummy/Rakefile
|
655
|
+
- spec/dummy/bin/bundle
|
677
656
|
- spec/dummy/bin/rake
|
678
657
|
- spec/dummy/bin/rails
|
679
|
-
- spec/dummy/bin/bundle
|
680
658
|
- spec/dummy/bin/setup
|
659
|
+
- spec/dummy/README.rdoc
|
660
|
+
- spec/lib/forest_liana/bootstrapper_spec.rb
|
661
|
+
- spec/lib/forest_liana/schema_file_updater_spec.rb
|
662
|
+
- spec/rails_helper.rb
|
681
663
|
- spec/helpers/forest_liana/query_helper_spec.rb
|
682
664
|
- spec/helpers/forest_liana/schema_helper_spec.rb
|
683
|
-
- spec/requests/actions_controller_spec.rb
|
684
|
-
- spec/requests/resources_spec.rb
|
685
665
|
- spec/requests/test.ru
|
686
666
|
- spec/requests/stats_spec.rb
|
687
|
-
- spec/requests/count_spec.rb
|
688
667
|
- spec/requests/cors_spec.rb
|
668
|
+
- spec/requests/count_spec.rb
|
669
|
+
- spec/requests/actions_controller_spec.rb
|
670
|
+
- spec/requests/resources_spec.rb
|
689
671
|
- spec/requests/authentications_spec.rb
|
672
|
+
- spec/config/initializers/logger_spec.rb
|
673
|
+
- spec/services/forest_liana/resources_getter_spec.rb
|
674
|
+
- spec/services/forest_liana/schema_adapter_spec.rb
|
675
|
+
- spec/services/forest_liana/has_many_getter_spec.rb
|
676
|
+
- spec/services/forest_liana/resource_updater_spec.rb
|
677
|
+
- spec/services/forest_liana/line_stat_getter_spec.rb
|
678
|
+
- spec/services/forest_liana/permissions_getter_spec.rb
|
679
|
+
- spec/services/forest_liana/smart_action_field_validator_spec.rb
|
680
|
+
- spec/services/forest_liana/apimap_sorter_spec.rb
|
681
|
+
- spec/services/forest_liana/scope_manager_spec.rb
|
682
|
+
- spec/services/forest_liana/permissions_checker_acl_disabled_spec.rb
|
683
|
+
- spec/services/forest_liana/filters_parser_spec.rb
|
684
|
+
- spec/services/forest_liana/permissions_checker_acl_enabled_spec.rb
|
685
|
+
- spec/services/forest_liana/permissions_formatter_spec.rb
|
686
|
+
- spec/services/forest_liana/permissions_checker_live_queries_spec.rb
|
687
|
+
- spec/services/forest_liana/ip_whitelist_checker_spec.rb
|
688
|
+
- spec/services/forest_liana/pie_stat_getter_spec.rb
|
689
|
+
- spec/services/forest_liana/value_stat_getter_spec.rb
|
690
690
|
- spec/spec_helper.rb
|