decidim-generators 0.28.6 → 0.29.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +3 -2
- data/Gemfile.lock +344 -365
- data/decidim-generators.gemspec +2 -2
- data/exe/decidim +2 -2
- data/lib/decidim/generators/app_generator.rb +35 -8
- data/lib/decidim/generators/app_templates/.ruby-version +1 -1
- data/lib/decidim/generators/app_templates/README.md.erb +1 -1
- data/lib/decidim/generators/app_templates/bullet_initializer.rb +2 -0
- data/lib/decidim/generators/app_templates/docker-compose-etherpad.yml +2 -2
- data/lib/decidim/generators/app_templates/initializer.rb +4 -28
- data/lib/decidim/generators/app_templates/package.json +19 -0
- data/lib/decidim/generators/app_templates/rack_profiler_initializer.rb +1 -0
- data/lib/decidim/generators/app_templates/secrets.yml.erb +0 -44
- data/lib/decidim/generators/component_templates/.ruby-version +1 -1
- data/lib/decidim/generators/component_templates/Gemfile.erb +4 -2
- data/lib/decidim/generators/component_templates/README.md.erb +1 -1
- data/lib/decidim/generators/component_templates/decidim-component.gemspec.erb +1 -1
- data/lib/decidim/generators/component_templates/github/ci.yml.erb +6 -6
- data/lib/decidim/generators/component_templates/package.json.erb +1 -1
- data/lib/decidim/generators/install_generator.rb +38 -37
- data/lib/decidim/generators/test/generator_examples.rb +8 -156
- data/lib/decidim/generators/version.rb +1 -1
- metadata +10 -10
- data/lib/decidim/generators/app_templates/carrierwave.rb +0 -31
@@ -42,7 +42,6 @@ shared_examples_for "a new production application" do
|
|
42
42
|
|
43
43
|
expect(File.read("#{test_app}/Gemfile"))
|
44
44
|
.to match(/^# gem "decidim-initiatives"/)
|
45
|
-
.and match(/^# gem "decidim-elections"/)
|
46
45
|
.and match(/^# gem "decidim-conferences"/)
|
47
46
|
.and match(/^# gem "decidim-templates"/)
|
48
47
|
end
|
@@ -54,7 +53,6 @@ shared_examples_for "a new development application" do
|
|
54
53
|
|
55
54
|
expect(File.read("#{test_app}/Gemfile"))
|
56
55
|
.to match(/^gem "decidim-initiatives"/)
|
57
|
-
.and match(/^gem "decidim-elections"/)
|
58
56
|
.and match(/^gem "decidim-conferences"/)
|
59
57
|
.and match(/^gem "decidim-templates"/)
|
60
58
|
|
@@ -195,8 +193,6 @@ shared_context "with application env vars" do
|
|
195
193
|
"DECIDIM_SERVICE_WORKER_ENABLED" => "true",
|
196
194
|
"DECIDIM_CONSENT_COOKIE_NAME" => ":weird-consent-cookie-name:",
|
197
195
|
"DECIDIM_CACHE_KEY_SEPARATOR" => ":",
|
198
|
-
"DECIDIM_CACHE_EXPIRATION_TIME" => "33",
|
199
|
-
"DECIDIM_STATS_CACHE_EXPIRATION_TIME" => "15",
|
200
196
|
"DECIDIM_EXPIRE_SESSION_AFTER" => "45",
|
201
197
|
"DECIDIM_ENABLE_REMEMBER_ME" => "",
|
202
198
|
"DECIDIM_SESSION_TIMEOUT_INTERVAL" => "33",
|
@@ -223,8 +219,6 @@ shared_context "with application env vars" do
|
|
223
219
|
"API_SCHEMA_MAX_PER_PAGE" => "31",
|
224
220
|
"API_SCHEMA_MAX_COMPLEXITY" => "3001",
|
225
221
|
"API_SCHEMA_MAX_DEPTH" => "11",
|
226
|
-
"PROPOSALS_SIMILARITY_THRESHOLD" => "0.99",
|
227
|
-
"PROPOSALS_SIMILARITY_LIMIT" => "3",
|
228
222
|
"PROPOSALS_PARTICIPATORY_SPACE_HIGHLIGHTED_PROPOSALS_LIMIT" => "6",
|
229
223
|
"PROPOSALS_PROCESS_GROUP_HIGHLIGHTED_PROPOSALS_LIMIT" => "5",
|
230
224
|
"MEETINGS_UPCOMING_MEETING_NOTIFICATION" => "3",
|
@@ -243,21 +237,7 @@ shared_context "with application env vars" do
|
|
243
237
|
"INITIATIVES_STATS_CACHE_EXPIRATION_TIME" => "7",
|
244
238
|
"INITIATIVES_MAX_TIME_IN_VALIDATING_STATE" => "50",
|
245
239
|
"INITIATIVES_PRINT_ENABLED" => "false",
|
246
|
-
"INITIATIVES_DO_NOT_REQUIRE_AUTHORIZATION" => "true"
|
247
|
-
"BULLETIN_BOARD_SERVER" => "a-bulletin-board-server",
|
248
|
-
"BULLETIN_BOARD_PUBLIC_KEY" => "a-bulletin-public-key",
|
249
|
-
"BULLETIN_BOARD_API_KEY" => "an-authority-api-key",
|
250
|
-
"AUTHORITY_NAME" => "an-authority-name",
|
251
|
-
"AUTHORITY_PRIVATE_KEY" => "an-authority-private-key",
|
252
|
-
"ELECTIONS_SCHEME_NAME" => "an-elections-scheme-name",
|
253
|
-
"ELECTIONS_NUMBER_OF_TRUSTEES" => "345",
|
254
|
-
"ELECTIONS_QUORUM" => "987",
|
255
|
-
"ELECTIONS_SETUP_MINIMUM_HOURS_BEFORE_START" => "4",
|
256
|
-
"ELECTIONS_START_VOTE_MAXIMUM_HOURS_BEFORE_START" => "7",
|
257
|
-
"ELECTIONS_VOTER_TOKEN_EXPIRATION_MINUTES" => "123",
|
258
|
-
"VOTINGS_CHECK_CENSUS_MAX_REQUESTS" => "6",
|
259
|
-
"VOTINGS_THROTTLING_PERIOD" => "2",
|
260
|
-
"VOTINGS_CENSUS_ACCESS_CODES_EXPORT_EXPIRY_TIME" => "3"
|
240
|
+
"INITIATIVES_DO_NOT_REQUIRE_AUTHORIZATION" => "true"
|
261
241
|
}
|
262
242
|
end
|
263
243
|
|
@@ -319,8 +299,6 @@ shared_examples_for "an application with configurable env vars" do
|
|
319
299
|
%w(decidim service_worker_enabled) => true,
|
320
300
|
%w(decidim consent_cookie_name) => "decidim-consent",
|
321
301
|
%w(decidim cache_key_separator) => "/",
|
322
|
-
%w(decidim cache_expiry_time) => 1440,
|
323
|
-
%w(decidim stats_cache_expiry_time) => 10,
|
324
302
|
%w(decidim expire_session_after) => 30,
|
325
303
|
%w(decidim enable_remember_me) => "auto",
|
326
304
|
%w(decidim session_timeout_interval) => 10,
|
@@ -353,8 +331,6 @@ shared_examples_for "an application with configurable env vars" do
|
|
353
331
|
%w(decidim api schema_max_per_page) => 50,
|
354
332
|
%w(decidim api schema_max_complexity) => 5000,
|
355
333
|
%w(decidim api schema_max_depth) => 15,
|
356
|
-
%w(decidim proposals similarity_threshold) => 0.25,
|
357
|
-
%w(decidim proposals similarity_limit) => 10,
|
358
334
|
%w(decidim proposals participatory_space_highlighted_proposals_limit) => 4,
|
359
335
|
%w(decidim proposals process_group_highlighted_proposals_limit) => 3,
|
360
336
|
%w(decidim meetings upcoming_meeting_notification) => 2,
|
@@ -363,8 +339,6 @@ shared_examples_for "an application with configurable env vars" do
|
|
363
339
|
%w(decidim budgets enable_proposal_linking) => "auto",
|
364
340
|
%w(decidim accountability enable_proposal_linking) => "auto",
|
365
341
|
%w(decidim initiatives creation_enabled) => "auto",
|
366
|
-
%w(decidim initiatives similarity_threshold) => 0.25,
|
367
|
-
%w(decidim initiatives similarity_limit) => 5,
|
368
342
|
%w(decidim initiatives minimum_committee_members) => 2,
|
369
343
|
%w(decidim initiatives default_signature_time_period_length) => 120,
|
370
344
|
%w(decidim initiatives default_components) => %w(pages meetings),
|
@@ -373,13 +347,7 @@ shared_examples_for "an application with configurable env vars" do
|
|
373
347
|
%w(decidim initiatives stats_cache_expiration_time) => 5,
|
374
348
|
%w(decidim initiatives max_time_in_validating_state) => 60,
|
375
349
|
%w(decidim initiatives print_enabled) => "auto",
|
376
|
-
%w(decidim initiatives do_not_require_authorization) => false
|
377
|
-
%w(elections setup_minimum_hours_before_start) => 1,
|
378
|
-
%w(elections start_vote_maximum_hours_before_start) => 6,
|
379
|
-
%w(elections voter_token_expiration_minutes) => 120,
|
380
|
-
%w(elections votings check_census_max_requests) => 5,
|
381
|
-
%w(elections votings throttling_period) => 1,
|
382
|
-
%w(elections votings census access_codes_export_expiry_time) => 2
|
350
|
+
%w(decidim initiatives do_not_require_authorization) => false
|
383
351
|
}
|
384
352
|
end
|
385
353
|
|
@@ -425,8 +393,6 @@ shared_examples_for "an application with configurable env vars" do
|
|
425
393
|
%w(decidim service_worker_enabled) => true,
|
426
394
|
%w(decidim consent_cookie_name) => ":weird-consent-cookie-name:",
|
427
395
|
%w(decidim cache_key_separator) => ":",
|
428
|
-
%w(decidim cache_expiry_time) => 33,
|
429
|
-
%w(decidim stats_cache_expiry_time) => 15,
|
430
396
|
%w(decidim expire_session_after) => 45,
|
431
397
|
%w(decidim enable_remember_me) => false,
|
432
398
|
%w(decidim session_timeout_interval) => 33,
|
@@ -459,8 +425,6 @@ shared_examples_for "an application with configurable env vars" do
|
|
459
425
|
%w(decidim api schema_max_per_page) => 31,
|
460
426
|
%w(decidim api schema_max_complexity) => 3001,
|
461
427
|
%w(decidim api schema_max_depth) => 11,
|
462
|
-
%w(decidim proposals similarity_threshold) => 0.99,
|
463
|
-
%w(decidim proposals similarity_limit) => 3,
|
464
428
|
%w(decidim proposals participatory_space_highlighted_proposals_limit) => 6,
|
465
429
|
%w(decidim proposals process_group_highlighted_proposals_limit) => 5,
|
466
430
|
%w(decidim meetings upcoming_meeting_notification) => 3,
|
@@ -469,8 +433,6 @@ shared_examples_for "an application with configurable env vars" do
|
|
469
433
|
%w(decidim budgets enable_proposal_linking) => false,
|
470
434
|
%w(decidim accountability enable_proposal_linking) => false,
|
471
435
|
%w(decidim initiatives creation_enabled) => false,
|
472
|
-
%w(decidim initiatives similarity_threshold) => 0.99,
|
473
|
-
%w(decidim initiatives similarity_limit) => 10,
|
474
436
|
%w(decidim initiatives minimum_committee_members) => 3,
|
475
437
|
%w(decidim initiatives default_signature_time_period_length) => 133,
|
476
438
|
%w(decidim initiatives default_components) => %w(pages proposals budgets),
|
@@ -479,21 +441,7 @@ shared_examples_for "an application with configurable env vars" do
|
|
479
441
|
%w(decidim initiatives stats_cache_expiration_time) => 7,
|
480
442
|
%w(decidim initiatives max_time_in_validating_state) => 50,
|
481
443
|
%w(decidim initiatives print_enabled) => false,
|
482
|
-
%w(decidim initiatives do_not_require_authorization) => true
|
483
|
-
%w(elections bulletin_board_server) => "a-bulletin-board-server",
|
484
|
-
%w(elections bulletin_board_public_key) => "a-bulletin-public-key",
|
485
|
-
%w(elections authority_api_key) => "an-authority-api-key",
|
486
|
-
%w(elections authority_name) => "an-authority-name",
|
487
|
-
%w(elections authority_private_key) => "an-authority-private-key",
|
488
|
-
%w(elections scheme_name) => "an-elections-scheme-name",
|
489
|
-
%w(elections number_of_trustees) => 345,
|
490
|
-
%w(elections quorum) => 987,
|
491
|
-
%w(elections setup_minimum_hours_before_start) => 4,
|
492
|
-
%w(elections start_vote_maximum_hours_before_start) => 7,
|
493
|
-
%w(elections voter_token_expiration_minutes) => 123,
|
494
|
-
%w(elections votings check_census_max_requests) => 6,
|
495
|
-
%w(elections votings throttling_period) => 2,
|
496
|
-
%w(elections votings census access_codes_export_expiry_time) => 3
|
444
|
+
%w(decidim initiatives do_not_require_authorization) => true
|
497
445
|
}
|
498
446
|
end
|
499
447
|
|
@@ -521,8 +469,6 @@ shared_examples_for "an application with configurable env vars" do
|
|
521
469
|
"cors_enabled" => false,
|
522
470
|
"consent_cookie_name" => "decidim-consent",
|
523
471
|
"cache_key_separator" => "/",
|
524
|
-
"cache_expiry_time" => 86_400, # 1 day
|
525
|
-
"stats_cache_expiry_time" => 600, # 10 minutes
|
526
472
|
"expire_session_after" => 1800, # 30 minutes
|
527
473
|
"enable_remember_me" => true,
|
528
474
|
"session_timeout_interval" => 10,
|
@@ -560,8 +506,6 @@ shared_examples_for "an application with configurable env vars" do
|
|
560
506
|
"cors_enabled" => true,
|
561
507
|
"consent_cookie_name" => ":weird-consent-cookie-name:",
|
562
508
|
"cache_key_separator" => ":",
|
563
|
-
"cache_expiry_time" => 1980,
|
564
|
-
"stats_cache_expiry_time" => 900,
|
565
509
|
"expire_session_after" => 2700, # 45 minutes
|
566
510
|
"enable_remember_me" => false,
|
567
511
|
"session_timeout_interval" => 33,
|
@@ -579,7 +523,7 @@ shared_examples_for "an application with configurable env vars" do
|
|
579
523
|
"provider" => "here",
|
580
524
|
"api_key" => "a-maps-api-key",
|
581
525
|
"static" => {
|
582
|
-
"url" => "https://image.maps.hereapi.com/mia/
|
526
|
+
"url" => "https://image.maps.ls.hereapi.com/mia/1.6/mapview"
|
583
527
|
},
|
584
528
|
"dynamic" => {
|
585
529
|
"provider" => "here",
|
@@ -620,7 +564,7 @@ shared_examples_for "an application with configurable env vars" do
|
|
620
564
|
"provider" => "here",
|
621
565
|
"api_key" => "a-maps-api-key",
|
622
566
|
"static" => {
|
623
|
-
"url" => "https://image.maps.hereapi.com/mia/
|
567
|
+
"url" => "https://image.maps.ls.hereapi.com/mia/1.6/mapview"
|
624
568
|
},
|
625
569
|
"dynamic" => {
|
626
570
|
"provider" => "osm",
|
@@ -659,8 +603,6 @@ shared_examples_for "an application with configurable env vars" do
|
|
659
603
|
|
660
604
|
let(:proposals_initializer_off) do
|
661
605
|
{
|
662
|
-
"similarity_threshold" => 0.25,
|
663
|
-
"similarity_limit" => 10,
|
664
606
|
"participatory_space_highlighted_proposals_limit" => 4,
|
665
607
|
"process_group_highlighted_proposals_limit" => 3
|
666
608
|
}
|
@@ -668,8 +610,6 @@ shared_examples_for "an application with configurable env vars" do
|
|
668
610
|
|
669
611
|
let(:proposals_initializer_on) do
|
670
612
|
{
|
671
|
-
"similarity_threshold" => 0.99,
|
672
|
-
"similarity_limit" => 3,
|
673
613
|
"participatory_space_highlighted_proposals_limit" => 6,
|
674
614
|
"process_group_highlighted_proposals_limit" => 5
|
675
615
|
}
|
@@ -778,14 +718,14 @@ shared_examples_for "an application with configurable env vars" do
|
|
778
718
|
expect(current).to eq(value), "Initializer (#{key}) = (#{current}) expected to match Env:ON (#{value})"
|
779
719
|
end
|
780
720
|
|
781
|
-
# Test onto the initializer when ENV vars are set to
|
721
|
+
# Test onto the initializer when ENV vars are set to OpenStreetMap configuration
|
782
722
|
json_on = initializer_config_for(test_app, env_maps_osm)
|
783
723
|
initializer_maps_osm.each do |key, value|
|
784
724
|
current = json_on[key]
|
785
725
|
expect(current).to eq(value), "Initializer (#{key}) = (#{current}) expected to match Env:Maps OSM (#{value})"
|
786
726
|
end
|
787
727
|
|
788
|
-
# Test onto the initializer when ENV vars are set to
|
728
|
+
# Test onto the initializer when ENV vars are set to OpenStreetMap-HERE mix configuration
|
789
729
|
json_on = initializer_config_for(test_app, env_maps_mix)
|
790
730
|
initializer_maps_mix.each do |key, value|
|
791
731
|
current = json_on[key]
|
@@ -882,8 +822,6 @@ shared_examples_for "an application with extra configurable env vars" do
|
|
882
822
|
let(:initiatives_initializer_off) do
|
883
823
|
{
|
884
824
|
"creation_enabled" => true,
|
885
|
-
"similarity_threshold" => 0.25,
|
886
|
-
"similarity_limit" => 5,
|
887
825
|
"minimum_committee_members" => 2,
|
888
826
|
"default_signature_time_period_length" => 120,
|
889
827
|
"default_components" => %w(pages meetings),
|
@@ -899,8 +837,6 @@ shared_examples_for "an application with extra configurable env vars" do
|
|
899
837
|
let(:initiatives_initializer_on) do
|
900
838
|
{
|
901
839
|
"creation_enabled" => false,
|
902
|
-
"similarity_threshold" => 0.99,
|
903
|
-
"similarity_limit" => 10,
|
904
840
|
"minimum_committee_members" => 3,
|
905
841
|
"default_signature_time_period_length" => 133,
|
906
842
|
"default_components" => %w(pages proposals budgets),
|
@@ -913,48 +849,6 @@ shared_examples_for "an application with extra configurable env vars" do
|
|
913
849
|
}
|
914
850
|
end
|
915
851
|
|
916
|
-
let(:elections_initializer_off) do
|
917
|
-
{
|
918
|
-
"setup_minimum_hours_before_start" => 1,
|
919
|
-
"start_vote_maximum_hours_before_start" => 6,
|
920
|
-
"voter_token_expiration_minutes" => 120
|
921
|
-
}
|
922
|
-
end
|
923
|
-
|
924
|
-
let(:elections_initializer_on) do
|
925
|
-
{
|
926
|
-
"setup_minimum_hours_before_start" => 4,
|
927
|
-
"start_vote_maximum_hours_before_start" => 7,
|
928
|
-
"voter_token_expiration_minutes" => 123
|
929
|
-
}
|
930
|
-
end
|
931
|
-
|
932
|
-
let(:votings_initializer_off) do
|
933
|
-
{
|
934
|
-
"check_census_max_requests" => 5,
|
935
|
-
"throttling_period" => 60 # 1.minute
|
936
|
-
}
|
937
|
-
end
|
938
|
-
|
939
|
-
let(:votings_initializer_on) do
|
940
|
-
{
|
941
|
-
"check_census_max_requests" => 6,
|
942
|
-
"throttling_period" => 120 # 2.minutes
|
943
|
-
}
|
944
|
-
end
|
945
|
-
|
946
|
-
let(:census_initializer_off) do
|
947
|
-
{
|
948
|
-
"census_access_codes_export_expiry_time" => 172_800 # 2.days
|
949
|
-
}
|
950
|
-
end
|
951
|
-
|
952
|
-
let(:census_initializer_on) do
|
953
|
-
{
|
954
|
-
"census_access_codes_export_expiry_time" => 259_200 # 3.days
|
955
|
-
}
|
956
|
-
end
|
957
|
-
|
958
852
|
it "env vars generate secrets application" do
|
959
853
|
expect(result[1]).to be_success, result[0]
|
960
854
|
|
@@ -971,48 +865,6 @@ shared_examples_for "an application with extra configurable env vars" do
|
|
971
865
|
current = json_on[key]
|
972
866
|
expect(current).to eq(value), "Initiatives Initializer (#{key}) = (#{current}) expected to match Env (#{value})"
|
973
867
|
end
|
974
|
-
|
975
|
-
# Test onto the initializer with ENV vars OFF for the Elections module
|
976
|
-
json_off = initializer_config_for(test_app, env_off, "Decidim::Elections")
|
977
|
-
elections_initializer_off.each do |key, value|
|
978
|
-
current = json_off[key]
|
979
|
-
expect(current).to eq(value), "Elections Initializer (#{key}) = (#{current}) expected to match Env (#{value})"
|
980
|
-
end
|
981
|
-
|
982
|
-
# Test onto the initializer with ENV vars ON for the Elections module
|
983
|
-
json_on = initializer_config_for(test_app, env_on, "Decidim::Elections")
|
984
|
-
elections_initializer_on.each do |key, value|
|
985
|
-
current = json_on[key]
|
986
|
-
expect(current).to eq(value), "Elections Initializer (#{key}) = (#{current}) expected to match Env (#{value})"
|
987
|
-
end
|
988
|
-
|
989
|
-
# Test onto the initializer with ENV vars OFF for the Votings module
|
990
|
-
json_off = initializer_config_for(test_app, env_off, "Decidim::Votings")
|
991
|
-
votings_initializer_off.each do |key, value|
|
992
|
-
current = json_off[key]
|
993
|
-
expect(current).to eq(value), "Votings Initializer (#{key}) = (#{current}) expected to match Env (#{value})"
|
994
|
-
end
|
995
|
-
|
996
|
-
# Test onto the initializer with ENV vars ON for the Votings module
|
997
|
-
json_on = initializer_config_for(test_app, env_on, "Decidim::Votings")
|
998
|
-
votings_initializer_on.each do |key, value|
|
999
|
-
current = json_on[key]
|
1000
|
-
expect(current).to eq(value), "Votings Initializer (#{key}) = (#{current}) expected to match Env (#{value})"
|
1001
|
-
end
|
1002
|
-
|
1003
|
-
# Test onto the initializer with ENV vars OFF for the Votings::Census module
|
1004
|
-
json_off = initializer_config_for(test_app, env_off, "Decidim::Votings::Census")
|
1005
|
-
census_initializer_off.each do |key, value|
|
1006
|
-
current = json_off[key]
|
1007
|
-
expect(current).to eq(value), "Votings::Census Initializer (#{key}) = (#{current}) expected to match Env (#{value})"
|
1008
|
-
end
|
1009
|
-
|
1010
|
-
# Test onto the initializer with ENV vars ON for the Votings::Census module
|
1011
|
-
json_on = initializer_config_for(test_app, env_on, "Decidim::Votings::Census")
|
1012
|
-
census_initializer_on.each do |key, value|
|
1013
|
-
current = json_on[key]
|
1014
|
-
expect(current).to eq(value), "Votings::Census Initializer (#{key}) = (#{current}) expected to match Env (#{value})"
|
1015
|
-
end
|
1016
868
|
end
|
1017
869
|
end
|
1018
870
|
|
@@ -1089,7 +941,7 @@ shared_examples_for "an application with storage and queue gems" do
|
|
1089
941
|
|
1090
942
|
queues = %w(mailers vote_reminder reminders default newsletter newsletters_opt_in conference_diplomas events translations user_report block_user metrics exports
|
1091
943
|
close_meeting_reminder)
|
1092
|
-
expect(current["queues"].flatten).to include(*queues), "sidekiq queues (#{current["queues"].flatten}) expected to
|
944
|
+
expect(current["queues"].flatten).to include(*queues), "sidekiq queues (#{current["queues"].flatten}) expected to contain (#{queues})"
|
1093
945
|
end
|
1094
946
|
end
|
1095
947
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.29.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-07-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-core
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.29.0.rc1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.
|
28
|
+
version: 0.29.0.rc1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: bundler
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,7 +70,6 @@ files:
|
|
70
70
|
- lib/decidim/generators/app_templates/budgets_workflow_random.rb
|
71
71
|
- lib/decidim/generators/app_templates/bullet_initializer.rb
|
72
72
|
- lib/decidim/generators/app_templates/cable.yml.erb
|
73
|
-
- lib/decidim/generators/app_templates/carrierwave.rb
|
74
73
|
- lib/decidim/generators/app_templates/config/boot.rb.tt
|
75
74
|
- lib/decidim/generators/app_templates/database.yml.erb
|
76
75
|
- lib/decidim/generators/app_templates/decidim_application.js
|
@@ -80,6 +79,7 @@ files:
|
|
80
79
|
- lib/decidim/generators/app_templates/docker-compose.yml.erb
|
81
80
|
- lib/decidim/generators/app_templates/dummy_authorization_handler.rb
|
82
81
|
- lib/decidim/generators/app_templates/initializer.rb
|
82
|
+
- lib/decidim/generators/app_templates/package.json
|
83
83
|
- lib/decidim/generators/app_templates/rack_profiler_initializer.rb
|
84
84
|
- lib/decidim/generators/app_templates/secrets.yml.erb
|
85
85
|
- lib/decidim/generators/app_templates/sidekiq.yml.erb
|
@@ -127,7 +127,7 @@ files:
|
|
127
127
|
- lib/decidim/generators/version.rb
|
128
128
|
homepage: https://decidim.org
|
129
129
|
licenses:
|
130
|
-
- AGPL-3.0
|
130
|
+
- AGPL-3.0
|
131
131
|
metadata:
|
132
132
|
bug_tracker_uri: https://github.com/decidim/decidim/issues
|
133
133
|
documentation_uri: https://docs.decidim.org/
|
@@ -142,14 +142,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 3.
|
145
|
+
version: 3.2.0
|
146
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
147
|
requirements:
|
148
|
-
- - "
|
148
|
+
- - ">"
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
150
|
+
version: 1.3.1
|
151
151
|
requirements: []
|
152
|
-
rubygems_version: 3.
|
152
|
+
rubygems_version: 3.4.10
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: Citizen participation framework for Ruby on Rails.
|
@@ -1,31 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# Default CarrierWave setup.
|
4
|
-
#
|
5
|
-
CarrierWave.configure do |config|
|
6
|
-
config.permissions = 0o666
|
7
|
-
config.directory_permissions = 0o777
|
8
|
-
config.storage = :file
|
9
|
-
config.enable_processing = !Rails.env.test?
|
10
|
-
end
|
11
|
-
|
12
|
-
# Setup CarrierWave to use Amazon S3. Add `gem "fog-aws" to your Gemfile.
|
13
|
-
#
|
14
|
-
# CarrierWave.configure do |config|
|
15
|
-
# config.storage = :fog
|
16
|
-
# config.fog_provider = 'fog/aws' # required
|
17
|
-
# config.fog_credentials = {
|
18
|
-
# provider: 'AWS', # required
|
19
|
-
# aws_access_key_id: Rails.application.secrets.aws_access_key_id, # required
|
20
|
-
# aws_secret_access_key: Rails.application.secrets.aws_secret_access_key, # required
|
21
|
-
# region: 'eu-west-1', # optional, defaults to 'us-east-1'
|
22
|
-
# host: 's3.example.com', # optional, defaults to nil
|
23
|
-
# endpoint: 'https://s3.example.com:8080' # optional, defaults to nil
|
24
|
-
# }
|
25
|
-
# config.fog_directory = 'name_of_directory' # required
|
26
|
-
# config.fog_public = false # optional, defaults to true
|
27
|
-
# config.fog_attributes = {
|
28
|
-
# 'Cache-Control' => "max-age=#{365.day.to_i}",
|
29
|
-
# 'X-Content-Type-Options' => "nosniff"
|
30
|
-
# }
|
31
|
-
# end
|