decidim-dev 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.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/decidim/dev/dummy_resource.rb +2 -2
  3. data/app/packs/stylesheets/decidim/dev/_accessibility.scss +1 -1
  4. data/app/packs/stylesheets/decidim/dev/_bullet.scss +4 -0
  5. data/app/packs/stylesheets/decidim/dev/_rack_profiler.scss +4 -0
  6. data/app/packs/stylesheets/decidim/dev.scss +2 -0
  7. data/config/locales/ar.yml +0 -3
  8. data/config/locales/ca.yml +0 -3
  9. data/config/locales/cs.yml +0 -3
  10. data/config/locales/de.yml +0 -3
  11. data/config/locales/en.yml +0 -3
  12. data/config/locales/es-MX.yml +0 -3
  13. data/config/locales/es-PY.yml +0 -3
  14. data/config/locales/es.yml +0 -3
  15. data/config/locales/eu.yml +3 -6
  16. data/config/locales/fi-plain.yml +0 -3
  17. data/config/locales/fi.yml +0 -3
  18. data/config/locales/fr-CA.yml +0 -3
  19. data/config/locales/fr.yml +0 -3
  20. data/config/locales/ja.yml +0 -3
  21. data/config/locales/ro-RO.yml +1 -1
  22. data/config/locales/sv.yml +8 -16
  23. data/config/rubocop/disabled.yml +60 -0
  24. data/config/rubocop/performance.yml +154 -0
  25. data/config/rubocop/rspec.yml +7 -2
  26. data/config/rubocop/ruby.yml +5 -5
  27. data/decidim-dev.gemspec +12 -9
  28. data/lib/decidim/dev/assets/assemblies.json +1 -34
  29. data/lib/decidim/dev/assets/assemblies_with_null.json +1 -2
  30. data/lib/decidim/dev/assets/participatory_processes.json +1 -34
  31. data/lib/decidim/dev/assets/participatory_processes_with_null.json +0 -1
  32. data/lib/decidim/dev/assets/participatory_text.md +0 -2
  33. data/lib/decidim/dev/component.rb +2 -3
  34. data/lib/decidim/dev/dummy_translator.rb +1 -1
  35. data/lib/decidim/dev/engine.rb +11 -0
  36. data/lib/decidim/dev/test/map_server.rb +125 -0
  37. data/lib/decidim/dev/test/rspec_support/attachment_helpers.rb +3 -1
  38. data/lib/decidim/dev/test/rspec_support/autocomplete_select.rb +2 -2
  39. data/lib/decidim/dev/test/rspec_support/bullet.rb +4 -0
  40. data/lib/decidim/dev/test/rspec_support/capybara.rb +18 -8
  41. data/lib/decidim/dev/test/rspec_support/cell_matchers.rb +1 -1
  42. data/lib/decidim/dev/test/rspec_support/component_context.rb +1 -1
  43. data/lib/decidim/dev/test/rspec_support/data_consent.rb +6 -6
  44. data/lib/decidim/dev/test/rspec_support/datepicker_date_fill.rb +25 -0
  45. data/lib/decidim/dev/test/rspec_support/datepicker_time_fill.rb +23 -0
  46. data/lib/decidim/dev/test/rspec_support/dynamic_attach.rb +2 -2
  47. data/lib/decidim/dev/test/rspec_support/geocoder.rb +8 -85
  48. data/lib/decidim/dev/test/rspec_support/helpers.rb +4 -4
  49. data/lib/decidim/dev/test/rspec_support/tom_select.rb +1 -1
  50. data/lib/decidim/dev/test/rspec_support/translation_helpers.rb +5 -6
  51. data/lib/decidim/dev/test/rspec_support/warden.rb +0 -1
  52. data/lib/decidim/dev/test/rspec_support/webmock.rb +7 -1
  53. data/lib/decidim/dev/test/rspec_support/wicked_pdf_assets_mock.rb +2 -2
  54. data/lib/decidim/dev/test/spec_helper.rb +2 -8
  55. data/lib/decidim/dev/version.rb +1 -1
  56. data/lib/decidim/dev.rb +0 -10
  57. data/lib/decidim-dev.rb +2 -0
  58. data/lib/tasks/lighthouse_report.rake +1 -1
  59. data/rubocop-decidim.yml +6 -0
  60. metadata +85 -46
  61. data/app/permissions/decidim/dev/permissions.rb +0 -22
  62. data/app/presenters/decidim/dev/dummy_resource_presenter.rb +0 -13
  63. data/config/locales/bn-BD.yml +0 -1
  64. data/config/locales/bs-BA.yml +0 -9
  65. data/config/locales/ca-IT.yml +0 -68
  66. data/lib/decidim/dev/assets/invalid_extension.log +0 -1
  67. data/lib/decidim/dev/assets/odt_file_reported_as.pdf +0 -0
  68. data/lib/decidim/dev/auth_engine.rb +0 -33
  69. data/lib/decidim/dev/test/rspec_support/activestorage_matchers.rb +0 -148
  70. /data/app/views/decidim/dummy_resource/{_linked_dummys.html.erb → _linked_dummies.html.erb} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12b548f29f2f963bd48e0d10cc0ddfefac096eda973b9f20a40d54c09d1ddd5b
4
- data.tar.gz: b95a086988d19dbb333580718b4f1064f16fb3d56ea228b49261d0c9c51d4a57
3
+ metadata.gz: e2fcbfc76decf8d8809bad2ff00344de88b9ccf71750415f1cdfc498e1c9921a
4
+ data.tar.gz: eb37bd7b9db59ef9fbf4551c7303ff82943cdeb496d7bb8acb0c739fea947ea6
5
5
  SHA512:
6
- metadata.gz: efab0c2f8e4a2661f0d4d4f5f73b08c32997c2b42a5406cb521e383aff1c9e594b889d1c3fafe018df3d0a03690a27013996cb737acae71cbd3ed487029bcfeb
7
- data.tar.gz: 0c0ec5f742be2c30a9c3122f68f2022b6ccd9e1c9c0d9415d8da6dd09436f55ef685215d90168baeed4715d1b91135e75c6f662e5cfd59f94002c5dd6c389f30
6
+ metadata.gz: 50596057f7f981b5e9630b1db72ad64352a32042f1bdd87158af74b0c57fd6214df68cb543db22413540d980e17dafc7625dd450440a6e5f58af808f39f0743d
7
+ data.tar.gz: 3c7084087adc7166f12d04ce5a2738cc63219cafa6a0793191d71d75419966a5f2e7ad613175635f06b524a3b3196e99a2a17daf44c48570afb66e1f372584f5
@@ -40,8 +40,8 @@ module Decidim
40
40
 
41
41
  component_manifest_name "dummy"
42
42
 
43
- def presenter
44
- Decidim::Dev::DummyResourcePresenter.new(self)
43
+ def reported_content_url
44
+ ResourceLocatorPresenter.new(self).url
45
45
  end
46
46
 
47
47
  def reported_attributes
@@ -2,7 +2,7 @@
2
2
  position: fixed;
3
3
  display: flex;
4
4
  z-index: 9999;
5
- top: 60px;
5
+ bottom: 0;
6
6
  left: 0;
7
7
  background: #fff;
8
8
  border: 1px solid #888;
@@ -0,0 +1,4 @@
1
+ details#bullet-footer {
2
+ z-index: 77777 !important;
3
+ bottom: 48px !important;
4
+ }
@@ -0,0 +1,4 @@
1
+ .profiler-results.profiler-bottom {
2
+ bottom: 26px !important;
3
+ z-index: 88888 !important;
4
+ }
@@ -1,2 +1,4 @@
1
1
  @import "stylesheets/decidim/dev/accessibility";
2
+ @import "stylesheets/decidim/dev/bullet";
3
+ @import "stylesheets/decidim/dev/rack_profiler";
2
4
  @import "stylesheets/decidim/dev/map";
@@ -2,9 +2,6 @@
2
2
  ar:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: صورة
7
- dummy_attribute: متغير وهمي
8
5
  dummy_resource:
9
6
  created_at: أنشئت في
10
7
  decidim_scope_id: نطاق
@@ -2,9 +2,6 @@
2
2
  ca:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: Imatge
7
- dummy_attribute: Atribut de prova
8
5
  dummy_resource:
9
6
  created_at: Creat el
10
7
  decidim_scope_id: Àmbit
@@ -2,9 +2,6 @@
2
2
  cs:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: Obrázek
7
- dummy_attribute: Zástupný atribut
8
5
  dummy_resource:
9
6
  created_at: Vytvořeno v
10
7
  decidim_scope_id: Oblast působnosti
@@ -2,9 +2,6 @@
2
2
  de:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: Bild
7
- dummy_attribute: Dummy-Attribut
8
5
  dummy_resource:
9
6
  created_at: Erstellt am
10
7
  decidim_scope_id: Umfang
@@ -2,9 +2,6 @@
2
2
  en:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: Image
7
- dummy_attribute: Dummy attribute
8
5
  dummy_resource:
9
6
  created_at: Created at
10
7
  decidim_scope_id: Scope
@@ -2,9 +2,6 @@
2
2
  es-MX:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: Imagen
7
- dummy_attribute: Atributo de prueba
8
5
  dummy_resource:
9
6
  created_at: Creado en
10
7
  decidim_scope_id: Ámbito
@@ -2,9 +2,6 @@
2
2
  es-PY:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: Imagen
7
- dummy_attribute: Atributo de prueba
8
5
  dummy_resource:
9
6
  created_at: Creado en
10
7
  decidim_scope_id: Ámbito
@@ -2,9 +2,6 @@
2
2
  es:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: Imagen
7
- dummy_attribute: Atributo de prueba
8
5
  dummy_resource:
9
6
  created_at: Creado en
10
7
  decidim_scope_id: Ámbito
@@ -2,13 +2,10 @@
2
2
  eu:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: Irudia
7
- dummy_attribute: Balizko atributua
8
5
  dummy_resource:
9
6
  created_at: Sortua
10
- decidim_scope_id: Eremua
11
- field: Nire datu-eremua
7
+ decidim_scope_id: Esparrua
8
+ field: Nire eremua
12
9
  start_date: Hasiera data
13
10
  title: Izenburua
14
11
  translatable_text: Itzul daitekeen testua
@@ -52,7 +49,7 @@ eu:
52
49
  conditions:
53
50
  - Erabili probako ingurunea erabakitzeko.
54
51
  description: Parte-hartzaileek garaikur hau lortzen dute probak sortzeagatik.
55
- description_another: Parte-hartzaile honek %{score} proba egin ditu.
52
+ description_another: Erabiltzaile honek %{score} proba egin ditu.
56
53
  description_own: '%{score} proba sortu dituzu.'
57
54
  name: Probak
58
55
  next_level_in: Sortu %{score} proba gehiago hurrengo mailara iristeko!
@@ -2,9 +2,6 @@
2
2
  fi-pl:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: Kuva
7
- dummy_attribute: Esimerkkitietue
8
5
  dummy_resource:
9
6
  created_at: Luontiaika
10
7
  decidim_scope_id: Teema
@@ -2,9 +2,6 @@
2
2
  fi:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: Kuva
7
- dummy_attribute: Esimerkkitietue
8
5
  dummy_resource:
9
6
  created_at: Luontiaika
10
7
  decidim_scope_id: Teema
@@ -2,9 +2,6 @@
2
2
  fr-CA:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: Image
7
- dummy_attribute: Attribut factice
8
5
  dummy_resource:
9
6
  created_at: Créé le
10
7
  decidim_scope_id: Périmètre d'application
@@ -2,9 +2,6 @@
2
2
  fr:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: Image
7
- dummy_attribute: Attribut factice
8
5
  dummy_resource:
9
6
  created_at: Créé le
10
7
  decidim_scope_id: Secteur
@@ -2,9 +2,6 @@
2
2
  ja:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: 画像
7
- dummy_attribute: ダミー属性
8
5
  dummy_resource:
9
6
  created_at: 作成日時
10
7
  decidim_scope_id: スコープ
@@ -9,7 +9,7 @@ ro:
9
9
  start_date: Data de început
10
10
  title: Titlu
11
11
  translatable_text: Text traductibil
12
- updated_at: Ultima actualizare
12
+ updated_at: Actualizat la
13
13
  decidim:
14
14
  components:
15
15
  dummy:
@@ -2,12 +2,9 @@
2
2
  sv:
3
3
  activemodel:
4
4
  attributes:
5
- dummy:
6
- image: Bild
7
- dummy_attribute: Testattribut
8
5
  dummy_resource:
9
6
  created_at: Skapad
10
- decidim_scope_id: Indelning
7
+ decidim_scope_id: Omfattning
11
8
  field: Mitt fält
12
9
  start_date: Startdatum
13
10
  title: Titel
@@ -18,26 +15,22 @@ sv:
18
15
  dummy:
19
16
  settings:
20
17
  global:
21
- guided: Guidad inmatning
18
+ guided: Guidad ingång
22
19
  guided_help: Hjälptext
23
- guided_readonly: Inmatning inaktiverad
24
- guided_rich: Guidad formatterad textinmatning
25
- guided_rich_help_html: HTML <strong>hjälp</strong>-text
26
- guided_rich_readonly_html: HTML <strong>hjälp</strong>-text för inaktiverad inmatning
27
20
  readonly_attribute: Skrivskyddat attribut
28
21
  test: Ett test
29
22
  test_choices:
30
- a: Alternativ A
31
- b: Alternativ B
32
- c: Alternativ C
23
+ a: Ett val
24
+ b: B val
25
+ c: C val
33
26
  test_options:
34
27
  bar: Bar
35
28
  baz: Baz
36
29
  foo: Foo
37
30
  step:
38
- endorsements_blocked: Blockera gilla-markeringar
39
- endorsements_enabled: Aktivera gilla-markeringar
40
- readonly_step_attribute: Attribut för skrivskyddat steg
31
+ endorsements_blocked: Instämmanden är blockerade
32
+ endorsements_enabled: Instämmanden tillåtna
33
+ readonly_step_attribute: Skrivskyddade steg attribut
41
34
  test_options:
42
35
  bar: Bar
43
36
  baz: Baz
@@ -56,7 +49,6 @@ sv:
56
49
  description_own: Du har skapat %{score} tester.
57
50
  name: Tester
58
51
  next_level_in: Skapa %{score} till tester för att nå nästa nivå!
59
- unearned_another: Den här deltagaren har inte skapat några tester än.
60
52
  unearned_own: Du har inte skapat några tester än.
61
53
  resource_links:
62
54
  test_link:
@@ -9,3 +9,63 @@ Naming/MemoizedInstanceVariableName:
9
9
 
10
10
  RSpec/VerifiedDoubleReference:
11
11
  Enabled: false
12
+
13
+ FactoryBot/ConsistentParenthesesStyle:
14
+ Enabled: false
15
+
16
+ FactoryBot/ExcessiveCreateList:
17
+ Enabled: false
18
+
19
+ RSpec/ExampleWording:
20
+ Enabled: false
21
+
22
+ Rails/PluckInWhere:
23
+ Enabled: false
24
+
25
+ RSpec/ReceiveMessages:
26
+ Enabled: false
27
+
28
+ RSpecRails/NegationBeValid:
29
+ Enabled: false
30
+
31
+ RSpec/MetadataStyle:
32
+ Enabled: false
33
+
34
+ FactoryBot/FactoryAssociationWithStrategy:
35
+ Enabled: false
36
+
37
+ RSpec/RemoveConst:
38
+ Enabled: false
39
+
40
+ FactoryBot/AssociationStyle:
41
+ Enabled: false
42
+
43
+ Rubycw/Rubycw:
44
+ Enabled: false
45
+
46
+ Lint/SymbolConversion:
47
+ Enabled: false
48
+
49
+ Style/RedundantParentheses:
50
+ Enabled: false
51
+
52
+ Style/MapIntoArray:
53
+ Enabled: false
54
+
55
+ Style/SuperWithArgsParentheses:
56
+ Enabled: false
57
+
58
+ Style/ArgumentsForwarding:
59
+ Enabled: false
60
+
61
+ Style/SuperArguments:
62
+ Enabled: false
63
+
64
+ Lint/SelfAssignment:
65
+ Enabled: false
66
+
67
+ Style/SendWithLiteralMethodName:
68
+ Enabled: false
69
+
70
+ Rails/WhereRange:
71
+ Enabled: false
@@ -0,0 +1,154 @@
1
+ require: rubocop-performance
2
+
3
+ Performance:
4
+ Enabled: false
5
+
6
+ Performance/AncestorsInclude:
7
+ Enabled: false
8
+
9
+ Performance/ArraySemiInfiniteRangeSlice:
10
+ Enabled: false
11
+
12
+ Performance/BigDecimalWithNumericArgument:
13
+ Enabled: false
14
+
15
+ Performance/BindCall:
16
+ Enabled: false
17
+
18
+ Performance/BlockGivenWithExplicitBlock:
19
+ Enabled: false
20
+
21
+ Performance/Caller:
22
+ Enabled: false
23
+
24
+ Performance/CaseWhenSplat:
25
+ Enabled: false
26
+
27
+ Performance/Casecmp:
28
+ Enabled: false
29
+
30
+ Performance/ChainArrayAllocation:
31
+ Enabled: false
32
+
33
+ Performance/CollectionLiteralInLoop:
34
+ Enabled: false
35
+
36
+ Performance/CompareWithBlock:
37
+ Enabled: false
38
+
39
+ Performance/ConcurrentMonotonicTime:
40
+ Enabled: false
41
+
42
+ Performance/ConstantRegexp:
43
+ Enabled: false
44
+
45
+ Performance/Count:
46
+ Enabled: false
47
+
48
+ Performance/DeletePrefix:
49
+ Enabled: false
50
+
51
+ Performance/DeleteSuffix:
52
+ Enabled: false
53
+
54
+ Performance/Detect:
55
+ Enabled: false
56
+
57
+ Performance/DoubleStartEndWith:
58
+ Enabled: false
59
+
60
+ Performance/EndWith:
61
+ Enabled: false
62
+
63
+ Performance/FixedSize:
64
+ Enabled: false
65
+
66
+ Performance/FlatMap:
67
+ Enabled: false
68
+
69
+ Performance/InefficientHashSearch:
70
+ Enabled: false
71
+
72
+ Performance/IoReadlines:
73
+ Enabled: false
74
+
75
+ Performance/MapCompact:
76
+ Enabled: false
77
+
78
+ Performance/MapMethodChain:
79
+ Enabled: false
80
+
81
+ Performance/MethodObjectAsBlock:
82
+ Enabled: false
83
+
84
+ Performance/OpenStruct:
85
+ Enabled: false
86
+
87
+ Performance/RangeInclude:
88
+ Enabled: false
89
+
90
+ Performance/RedundantBlockCall:
91
+ Enabled: false
92
+
93
+ Performance/RedundantEqualityComparisonBlock:
94
+ Enabled: false
95
+
96
+ Performance/RedundantMatch:
97
+ Enabled: false
98
+
99
+ Performance/RedundantMerge:
100
+ Enabled: false
101
+
102
+ Performance/RedundantSortBlock:
103
+ Enabled: false
104
+
105
+ Performance/RedundantSplitRegexpArgument:
106
+ Enabled: false
107
+
108
+ Performance/RedundantStringChars:
109
+ Enabled: false
110
+
111
+ Performance/RegexpMatch:
112
+ Enabled: false
113
+
114
+ Performance/ReverseEach:
115
+ Enabled: false
116
+
117
+ Performance/ReverseFirst:
118
+ Enabled: false
119
+
120
+ Performance/SelectMap:
121
+ Enabled: false
122
+
123
+ Performance/Size:
124
+ Enabled: false
125
+
126
+ Performance/SortReverse:
127
+ Enabled: false
128
+
129
+ Performance/Squeeze:
130
+ Enabled: false
131
+
132
+ Performance/StartWith:
133
+ Enabled: false
134
+
135
+ Performance/StringIdentifierArgument:
136
+ Enabled: false
137
+
138
+ Performance/StringInclude:
139
+ Enabled: false
140
+
141
+ Performance/StringReplacement:
142
+ Enabled: false
143
+
144
+ Performance/Sum:
145
+ Enabled: false
146
+
147
+ Performance/TimesMap:
148
+ Enabled: false
149
+
150
+ Performance/UnfreezeString:
151
+ Enabled: false
152
+
153
+ Performance/UriDefaultParser:
154
+ Enabled: false
@@ -1,11 +1,13 @@
1
- require: rubocop-rspec
1
+ require:
2
+ - rubocop-rspec
3
+ - rubocop-rspec_rails
2
4
 
3
5
  # RSpec:
4
6
  # Patterns:
5
7
  # - "(?:^|/)spec/"
6
8
  # - "(?:^|/)test/"
7
9
 
8
- RSpec/FilePath:
10
+ RSpec/SpecFilePathFormat:
9
11
  CustomTransform:
10
12
  OAuthApplicationPresenter: oauth_application_presenter
11
13
 
@@ -71,3 +73,6 @@ RSpec/LeakyConstantDeclaration:
71
73
 
72
74
  RSpec/DescribedClass:
73
75
  Enabled: false
76
+
77
+ RSpec/IndexedLet:
78
+ Enabled: false
@@ -37,7 +37,7 @@ AllCops:
37
37
  StyleGuideCopsOnly: false
38
38
  # All cops except the ones in disabled.yml are enabled by default. Change
39
39
  # this behavior by overriding DisabledByDefault. When DisabledByDefault is
40
- # true, all cops in the default configuration are disabled, and and only cops
40
+ # true, all cops in the default configuration are disabled, and only cops
41
41
  # in user configuration are enabled. This makes cops opt-in instead of
42
42
  # opt-out. Note that when DisabledByDefault is true, cops in user
43
43
  # configuration will be enabled even if they do not set the Enabled parameter.
@@ -66,7 +66,7 @@ AllCops:
66
66
  # If a value is specified for TargetRubyVersion then it is used.
67
67
  # Else if .ruby-version exists and it contains an MRI version it is used.
68
68
  # Otherwise we fallback to the oldest officially supported Ruby version (2.0).
69
- TargetRubyVersion: 3.1
69
+ TargetRubyVersion: 3.2
70
70
 
71
71
  # Indent private/protected/public as deep as method definitions
72
72
  Layout/AccessModifierIndentation:
@@ -530,7 +530,7 @@ Style/GuardClause:
530
530
  MinBodyLength: 6
531
531
 
532
532
  Style/HashSyntax:
533
- EnforcedStyle: ruby19
533
+ EnforcedStyle: no_mixed_keys
534
534
  SupportedStyles:
535
535
  # checks for 1.9 syntax (e.g. {a: 1}) for all symbol keys
536
536
  - ruby19
@@ -803,11 +803,11 @@ Naming/PredicateName:
803
803
  ForbiddenPrefixes:
804
804
  - is_
805
805
  - have_
806
- # Predicate names which, despite having a blacklisted prefix, or no ?,
806
+ # Predicate names which, despite having a denylisted prefix, or no ?,
807
807
  # should still be accepted
808
808
  AllowedMethods:
809
809
  - is_a?
810
- # Exclude Rspec specs because there is a strong convetion to write spec
810
+ # Exclude Rspec specs because there is a strong convention to write spec
811
811
  # helpers in the form of `have_something` or `be_something`.
812
812
  Exclude:
813
813
  - "**/spec/**/*"
data/decidim-dev.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.version = Decidim::Dev.version
11
11
  s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva"]
12
12
  s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com"]
13
- s.license = "AGPL-3.0-or-later"
13
+ s.license = "AGPL-3.0"
14
14
  s.homepage = "https://decidim.org"
15
15
  s.metadata = {
16
16
  "bug_tracker_uri" => "https://github.com/decidim/decidim/issues",
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  "homepage_uri" => "https://decidim.org",
20
20
  "source_code_uri" => "https://github.com/decidim/decidim"
21
21
  }
22
- s.required_ruby_version = "~> 3.1.0"
22
+ s.required_ruby_version = "~> 3.2.0"
23
23
 
24
24
  s.name = "decidim-dev"
25
25
  s.summary = "Decidim dev tools"
@@ -37,11 +37,11 @@ Gem::Specification.new do |s|
37
37
  s.add_dependency "factory_bot_rails", "~> 6.2"
38
38
  s.add_dependency "faker", "~> 3.2"
39
39
 
40
- s.add_dependency "bullet", "~> 7.0"
40
+ s.add_dependency "bullet", "~> 7.1.6"
41
41
  s.add_dependency "byebug", "~> 11.0"
42
42
  s.add_dependency "erb_lint", "~> 0.4.0"
43
43
  s.add_dependency "i18n-tasks", "~> 1.0"
44
- s.add_dependency "nokogiri", "~> 1.14", ">= 1.14.3"
44
+ s.add_dependency "nokogiri", "~> 1.16", ">= 1.16.2"
45
45
  s.add_dependency "parallel_tests", "~> 4.2"
46
46
  s.add_dependency "puma", "~> 6.2", ">= 6.3.1"
47
47
  s.add_dependency "rails-controller-testing", "~> 1.0"
@@ -51,15 +51,18 @@ Gem::Specification.new do |s|
51
51
  s.add_dependency "rspec_junit_formatter", "~> 0.6.0"
52
52
  s.add_dependency "rspec-rails", "~> 6.0"
53
53
  s.add_dependency "rspec-retry", "~> 0.6.2"
54
- s.add_dependency "rubocop", "~> 1.50.0"
54
+ s.add_dependency "rubocop", "~> 1.65.0"
55
+ s.add_dependency "rubocop-capybara", "~> 2.21"
56
+ s.add_dependency "rubocop-factory_bot", "~> 2.26"
55
57
  s.add_dependency "rubocop-faker", "~> 1.1"
56
- s.add_dependency "rubocop-rails", "~> 2.19"
57
- s.add_dependency "rubocop-rspec", "~> 2.20"
58
+ s.add_dependency "rubocop-performance", "~> 1.21"
59
+ s.add_dependency "rubocop-rails", "~> 2.25"
60
+ s.add_dependency "rubocop-rspec", "~> 3.0"
61
+ s.add_dependency "rubocop-rspec_rails", "~> 2.30"
62
+ s.add_dependency "rubocop-rubycw", "~> 0.1"
58
63
  s.add_dependency "selenium-webdriver", "~> 4.9"
59
64
  s.add_dependency "simplecov", "~> 0.22.0"
60
65
  s.add_dependency "simplecov-cobertura", "~> 2.1.0"
61
- s.add_dependency "spring", "~> 2.0"
62
- s.add_dependency "spring-watcher-listen", "~> 2.0"
63
66
  s.add_dependency "w3c_rspec_validators", "~> 0.3.0"
64
67
  s.add_dependency "webmock", "~> 3.18"
65
68
  s.add_dependency "wisper-rspec", "~> 1.0"
@@ -58,7 +58,6 @@
58
58
  "en": "Vel qui.",
59
59
  "es": "Et molestiae."
60
60
  },
61
- "show_statistics": false,
62
61
  "scopes_enabled": true,
63
62
  "private_space": false,
64
63
  "reference": "PhD-ASSE-2020-01-1",
@@ -352,38 +351,6 @@
352
351
  "intro_en": "<p>Praesentium iste sit dicta.</p>",
353
352
  "intro_ca": "<p>Odit aperiam ea reiciendis.</p>",
354
353
  "intro_es": "<p>Repudiandae magni quo sit.</p>",
355
- "categories_label": {
356
- "ca": "rerum",
357
- "en": "dolores",
358
- "es": "voluptatem"
359
- },
360
- "categories_label_en": "dolores",
361
- "categories_label_ca": "rerum",
362
- "categories_label_es": "voluptatem",
363
- "subcategories_label": {
364
- "ca": "totam",
365
- "en": "qui",
366
- "es": "iure"
367
- },
368
- "subcategories_label_en": "qui",
369
- "subcategories_label_ca": "totam",
370
- "subcategories_label_es": "iure",
371
- "heading_parent_level_results": {
372
- "ca": "pariatur",
373
- "en": "voluptatem",
374
- "es": "molestias"
375
- },
376
- "heading_parent_level_results_en": "voluptatem",
377
- "heading_parent_level_results_ca": "pariatur",
378
- "heading_parent_level_results_es": "molestias",
379
- "heading_leaf_level_results": {
380
- "ca": "enim",
381
- "en": "nam",
382
- "es": "et"
383
- },
384
- "heading_leaf_level_results_en": "nam",
385
- "heading_leaf_level_results_ca": "enim",
386
- "heading_leaf_level_results_es": "et",
387
354
  "display_progress_enabled": true
388
355
  },
389
356
  "weight": 0,
@@ -541,7 +508,7 @@
541
508
  "proposal_length": 500,
542
509
  "proposal_edit_before_minutes": 5,
543
510
  "threshold_per_proposal": 0,
544
- "can_accumulate_supports_beyond_threshold": false,
511
+ "can_accumulate_votes_beyond_threshold": false,
545
512
  "proposal_answering_enabled": true,
546
513
  "official_proposals_enabled": true,
547
514
  "comments_enabled": true,