decidim-dev 0.22.0 → 0.23.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/decidim/dummy_resources/dummy_resources_controller.rb +1 -0
- data/app/mailers/decidim/dummy_resources/dummy_resource_mailer.rb +17 -0
- data/app/views/decidim/dummy_resources/dummy_resources/show.html.erb +4 -0
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/bg.yml +56 -0
- data/config/locales/ca.yml +1 -1
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +1 -1
- data/config/locales/eo.yml +1 -0
- data/config/locales/es.yml +1 -1
- data/config/locales/et.yml +1 -0
- data/config/locales/fr.yml +1 -1
- data/config/locales/hr.yml +1 -0
- data/config/locales/is.yml +21 -0
- data/config/locales/ja.yml +56 -0
- data/config/locales/ko-KR.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/{lv-LV.yml → lv.yml} +0 -0
- data/config/locales/mt.yml +1 -0
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +2 -2
- data/config/locales/si-LK.yml +1 -0
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +25 -9
- data/config/locales/vi-VN.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +56 -0
- data/config/locales/zh-TW.yml +1 -0
- data/lib/decidim/dev.rb +2 -0
- data/lib/decidim/dev/assets/5000x5000.png +0 -0
- data/lib/decidim/dev/assets/assemblies.json +816 -0
- data/lib/decidim/dev/assets/assemblies_with_null.json +135 -0
- data/lib/decidim/dev/assets/geocoder_result_here.json +72 -0
- data/lib/decidim/dev/assets/geocoder_result_osm.json +150 -0
- data/lib/decidim/dev/assets/import_participatory_space_private_users_nok.csv +2 -0
- data/lib/decidim/dev/dummy_translator.rb +32 -0
- data/lib/decidim/dev/test/rspec_support/capybara.rb +5 -1
- data/lib/decidim/dev/test/rspec_support/component.rb +40 -7
- data/lib/decidim/dev/test/rspec_support/component_context.rb +1 -2
- data/lib/decidim/dev/test/rspec_support/content_processing.rb +2 -2
- data/lib/decidim/dev/test/rspec_support/frontend.rb +20 -0
- data/lib/decidim/dev/test/rspec_support/geocoder.rb +150 -6
- data/lib/decidim/dev/test/rspec_support/organization.rb +7 -0
- data/lib/decidim/dev/test/rspec_support/rake_tasks.rb +75 -0
- data/lib/decidim/dev/test/rspec_support/translation_helpers.rb +2 -0
- data/lib/decidim/dev/version.rb +1 -1
- data/lib/tasks/generators.rake +2 -1
- data/lib/tasks/locale_checker.rake +1 -1
- metadata +46 -14
@@ -19,8 +19,7 @@ shared_context "with a component" do
|
|
19
19
|
participatory_space: participatory_space)
|
20
20
|
end
|
21
21
|
|
22
|
-
let!(:category) { create :category, participatory_space:
|
23
|
-
|
22
|
+
let!(:category) { create :category, participatory_space: participatory_space }
|
24
23
|
let!(:scope) { create :scope, organization: organization }
|
25
24
|
|
26
25
|
before do
|
@@ -12,7 +12,7 @@ module Decidim
|
|
12
12
|
end
|
13
13
|
|
14
14
|
class ContentRenderers::DummyFooRenderer < ContentRenderers::BaseRenderer
|
15
|
-
def render
|
15
|
+
def render(_options = nil)
|
16
16
|
content.gsub("%lorem%", "<em>neque dicta enim quasi</em>")
|
17
17
|
end
|
18
18
|
end
|
@@ -28,7 +28,7 @@ module Decidim
|
|
28
28
|
end
|
29
29
|
|
30
30
|
class ContentRenderers::DummyBarRenderer < ContentRenderers::BaseRenderer
|
31
|
-
def render
|
31
|
+
def render(_options = nil)
|
32
32
|
content.gsub("*ipsum*", "<em>illo qui voluptas</em>")
|
33
33
|
end
|
34
34
|
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module FrontendHelpers
|
4
|
+
# Thanks to:
|
5
|
+
# https://medium.com/@coorasse/catch-javascript-errors-in-your-system-tests-89c2fe6773b1
|
6
|
+
def expect_no_js_errors
|
7
|
+
errors = page.driver.browser.manage.logs.get(:browser)
|
8
|
+
return if errors.blank?
|
9
|
+
|
10
|
+
aggregate_failures "javascript errors" do
|
11
|
+
errors.each do |error|
|
12
|
+
expect(error.level).not_to eq("SEVERE"), error.message
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
RSpec.configure do |config|
|
19
|
+
config.include FrontendHelpers, type: :system
|
20
|
+
end
|
@@ -8,6 +8,69 @@ module GeocoderHelpers
|
|
8
8
|
address,
|
9
9
|
result
|
10
10
|
)
|
11
|
+
Decidim::Map::Provider::Autocomplete::Test.add_stub(
|
12
|
+
address,
|
13
|
+
coordinates
|
14
|
+
)
|
15
|
+
end
|
16
|
+
|
17
|
+
# Waits for the front-end geocoding request to finish in order to ensure there
|
18
|
+
# are no pending requests when proceeding.
|
19
|
+
def fill_in_geocoding(attribute, options = {})
|
20
|
+
fill_in attribute, options
|
21
|
+
expect(page).to have_selector(".tribute-container ul#results", count: 1)
|
22
|
+
end
|
23
|
+
|
24
|
+
module_function
|
25
|
+
|
26
|
+
public def configure_maps
|
27
|
+
# Set maps configuration in test mode
|
28
|
+
Decidim.maps = {
|
29
|
+
provider: :test,
|
30
|
+
api_key: "1234123412341234",
|
31
|
+
static: { url: "https://www.example.org/my_static_map" },
|
32
|
+
autocomplete: { url: "/photon_api" } # Locally drawn route for the tests
|
33
|
+
}
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
module Decidim::Map::Provider
|
38
|
+
module Geocoding
|
39
|
+
class Test < ::Decidim::Map::Geocoding; end
|
40
|
+
end
|
41
|
+
module Autocomplete
|
42
|
+
class Test < ::Decidim::Map::Autocomplete
|
43
|
+
def self.stubs
|
44
|
+
@stubs ||= []
|
45
|
+
end
|
46
|
+
|
47
|
+
def self.add_stub(address, coordinates)
|
48
|
+
stubs.push(
|
49
|
+
properties: address.is_a?(Hash) ? address : { street: address },
|
50
|
+
geometry: { coordinates: coordinates }
|
51
|
+
)
|
52
|
+
end
|
53
|
+
|
54
|
+
def self.clear_stubs
|
55
|
+
@stubs = []
|
56
|
+
end
|
57
|
+
|
58
|
+
def builder_options
|
59
|
+
{ url: configuration.fetch(:url, nil) }.compact
|
60
|
+
end
|
61
|
+
|
62
|
+
class Builder < Decidim::Map::Autocomplete::Builder
|
63
|
+
def javascript_snippets
|
64
|
+
template.javascript_include_tag("decidim/geocoding/provider/photon")
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
module DynamicMap
|
70
|
+
class Test < ::Decidim::Map::DynamicMap; end
|
71
|
+
end
|
72
|
+
module StaticMap
|
73
|
+
class Test < ::Decidim::Map::StaticMap; end
|
11
74
|
end
|
12
75
|
end
|
13
76
|
|
@@ -15,16 +78,97 @@ RSpec.configure do |config|
|
|
15
78
|
config.include GeocoderHelpers
|
16
79
|
|
17
80
|
config.before(:suite) do
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
81
|
+
GeocoderHelpers.configure_maps
|
82
|
+
end
|
83
|
+
|
84
|
+
config.after(:each, :configures_map) do
|
85
|
+
# Ensure the initializer is always re-run after the examples because
|
86
|
+
# otherwise the utilities could remain unregistered which causes issues with
|
87
|
+
# further tests.
|
88
|
+
Decidim::Core::Engine.initializers.each do |i|
|
89
|
+
next unless i.name == "decidim.maps"
|
90
|
+
|
91
|
+
i.run
|
92
|
+
break
|
93
|
+
end
|
94
|
+
|
95
|
+
# Ensure the utility configuration is reset after each example for it to be
|
96
|
+
# reloaded the next time.
|
97
|
+
Decidim::Map.reset_utility_configuration!
|
98
|
+
configure_maps
|
24
99
|
end
|
25
100
|
|
26
101
|
config.before(:each, :serves_map) do
|
27
102
|
stub_request(:get, %r{https://www\.example\.org/my_static_map})
|
28
103
|
.to_return(body: "map_data")
|
29
104
|
end
|
105
|
+
|
106
|
+
config.before(:each, :serves_geocoding_autocomplete) do
|
107
|
+
# Clear the autocomplete stubs
|
108
|
+
Decidim::Map::Provider::Autocomplete::Test.clear_stubs
|
109
|
+
|
110
|
+
photon_response = lambda do
|
111
|
+
{
|
112
|
+
features: [
|
113
|
+
{
|
114
|
+
properties: {
|
115
|
+
name: "Park",
|
116
|
+
street: "Street1",
|
117
|
+
housenumber: "1",
|
118
|
+
postcode: "123456",
|
119
|
+
city: "City1",
|
120
|
+
state: "State1",
|
121
|
+
country: "Country1"
|
122
|
+
},
|
123
|
+
geometry: {
|
124
|
+
coordinates: [1.123, 2.234]
|
125
|
+
}
|
126
|
+
},
|
127
|
+
{
|
128
|
+
properties: {
|
129
|
+
street: "Street2",
|
130
|
+
postcode: "654321",
|
131
|
+
city: "City2",
|
132
|
+
country: "Country2"
|
133
|
+
},
|
134
|
+
geometry: {
|
135
|
+
coordinates: [3.345, 4.456]
|
136
|
+
}
|
137
|
+
},
|
138
|
+
{
|
139
|
+
properties: {
|
140
|
+
street: "Street3",
|
141
|
+
housenumber: "3",
|
142
|
+
postcode: "142536",
|
143
|
+
city: "City3",
|
144
|
+
country: "Country3"
|
145
|
+
},
|
146
|
+
geometry: {
|
147
|
+
coordinates: [5.567, 6.678]
|
148
|
+
}
|
149
|
+
}
|
150
|
+
]
|
151
|
+
}.tap do |response|
|
152
|
+
Decidim::Map::Provider::Autocomplete::Test.stubs.length.positive? &&
|
153
|
+
response[:features] = Decidim::Map::Provider::Autocomplete::Test.stubs
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
# The Photon API path needs to be mounted in the application itself because
|
158
|
+
# otherwise we would have to run a separate server for the API itself.
|
159
|
+
# Mocking the request would not work here because the call to the Photon API
|
160
|
+
# is initialized by the front-end to the URL specified for the maps
|
161
|
+
# geocoding autocompletion configuration which is not proxied by the
|
162
|
+
# headless browser running the Capybara tests.
|
163
|
+
Rails.application.routes.disable_clear_and_finalize = true
|
164
|
+
Rails.application.routes.draw do
|
165
|
+
get "photon_api", to: ->(_) { [200, { "Content-Type" => "application/json" }, [photon_response.call.to_json.to_s]] }
|
166
|
+
end
|
167
|
+
Rails.application.routes.disable_clear_and_finalize = false
|
168
|
+
end
|
169
|
+
|
170
|
+
config.after(:each, :serves_geocoding_autocomplete) do
|
171
|
+
# Reset the routes back to original
|
172
|
+
Rails.application.reload_routes!
|
173
|
+
end
|
30
174
|
end
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# File: spec/support/tasks.rb
|
4
|
+
require "rake"
|
5
|
+
|
6
|
+
# Task names should be used in the top-level describe, with an optional
|
7
|
+
# "rake "-prefix for better documentation. Both of these will work:
|
8
|
+
#
|
9
|
+
# 1) describe "foo:bar" do ... end
|
10
|
+
#
|
11
|
+
# 2) describe "rake foo:bar" do ... end
|
12
|
+
#
|
13
|
+
# Favor including "rake "-prefix as in the 2nd example above as it produces
|
14
|
+
# doc output that makes it clear a rake task is under test and how it is
|
15
|
+
# invoked.
|
16
|
+
module TaskExampleGroup
|
17
|
+
extend ActiveSupport::Concern
|
18
|
+
|
19
|
+
included do
|
20
|
+
# Make the Rake task available as `task` in your examples:
|
21
|
+
subject(:task) { tasks[task_name] }
|
22
|
+
|
23
|
+
let(:task_name) { self.class.top_level_description.sub(/\Arake /, "") }
|
24
|
+
let(:tasks) { Rake::Task }
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
# A collection of methods to help dealing with rake tasks output.
|
29
|
+
module RakeTaskOutputHelpers
|
30
|
+
extend ActiveSupport::Concern
|
31
|
+
|
32
|
+
included do
|
33
|
+
let!(:original_stdout) { $stdout }
|
34
|
+
|
35
|
+
# rubocop:disable RSpec/ExpectOutput
|
36
|
+
before do
|
37
|
+
$stdout = StringIO.new
|
38
|
+
end
|
39
|
+
|
40
|
+
after do
|
41
|
+
$stdout = original_stdout
|
42
|
+
end
|
43
|
+
# rubocop:enable RSpec/ExpectOutput
|
44
|
+
end
|
45
|
+
|
46
|
+
def check_no_errors_have_been_printed
|
47
|
+
expect($stdout.string).not_to include("ERROR:")
|
48
|
+
end
|
49
|
+
|
50
|
+
def check_some_errors_have_been_printed
|
51
|
+
expect($stdout.string).to include("ERROR:")
|
52
|
+
end
|
53
|
+
|
54
|
+
def check_error_printed(type)
|
55
|
+
expect($stdout.string).to include("ERROR: [#{type}]")
|
56
|
+
end
|
57
|
+
|
58
|
+
def check_message_printed(message)
|
59
|
+
expect($stdout.string).to include(message)
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
RSpec.configure do |config|
|
64
|
+
# Tag Rake specs with `:task` metadata or put them in the spec/tasks dir
|
65
|
+
config.define_derived_metadata(file_path: %r{/spec/tasks/}) do |metadata|
|
66
|
+
metadata[:type] = :task
|
67
|
+
end
|
68
|
+
|
69
|
+
config.include TaskExampleGroup, type: :task
|
70
|
+
config.include RakeTaskOutputHelpers, type: :task
|
71
|
+
|
72
|
+
config.before(:suite) do
|
73
|
+
Rails.application.load_tasks
|
74
|
+
end
|
75
|
+
end
|
@@ -13,6 +13,8 @@ module TranslationHelpers
|
|
13
13
|
# It is intended to be used to avoid the implementation details, so that the
|
14
14
|
# translated attributes implementation can change more easily.
|
15
15
|
def translated(field, locale: I18n.locale)
|
16
|
+
return field if field.is_a?(String)
|
17
|
+
|
16
18
|
field.try(:[], locale.to_s)
|
17
19
|
end
|
18
20
|
|
data/lib/decidim/dev/version.rb
CHANGED
data/lib/tasks/generators.rake
CHANGED
@@ -5,7 +5,7 @@ namespace :decidim do
|
|
5
5
|
task check_locales: :environment do
|
6
6
|
FileUtils.remove_dir("tmp/decidim_repo", true)
|
7
7
|
|
8
|
-
branch = ENV["TARGET_BRANCH"] || "
|
8
|
+
branch = ENV["TARGET_BRANCH"] || "develop"
|
9
9
|
status = system("git clone --depth=1 --single-branch --branch #{branch} https://github.com/decidim/decidim tmp/decidim_repo")
|
10
10
|
return unless status
|
11
11
|
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
8
8
|
- Marc Riera Casals
|
9
9
|
- Oriol Gual Oliva
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-02-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: capybara
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.23.3
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.23.3
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: factory_bot_rails
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,14 +116,14 @@ dependencies:
|
|
116
116
|
requirements:
|
117
117
|
- - "~>"
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version: '0.
|
119
|
+
version: '0.5'
|
120
120
|
type: :runtime
|
121
121
|
prerelease: false
|
122
122
|
version_requirements: !ruby/object:Gem::Requirement
|
123
123
|
requirements:
|
124
124
|
- - "~>"
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
version: '0.
|
126
|
+
version: '0.5'
|
127
127
|
- !ruby/object:Gem::Dependency
|
128
128
|
name: nokogiri
|
129
129
|
requirement: !ruby/object:Gem::Requirement
|
@@ -298,14 +298,14 @@ dependencies:
|
|
298
298
|
requirements:
|
299
299
|
- - "~>"
|
300
300
|
- !ruby/object:Gem::Version
|
301
|
-
version: 0.
|
301
|
+
version: 0.19.0
|
302
302
|
type: :runtime
|
303
303
|
prerelease: false
|
304
304
|
version_requirements: !ruby/object:Gem::Requirement
|
305
305
|
requirements:
|
306
306
|
- - "~>"
|
307
307
|
- !ruby/object:Gem::Version
|
308
|
-
version: 0.
|
308
|
+
version: 0.19.0
|
309
309
|
- !ruby/object:Gem::Dependency
|
310
310
|
name: simplecov-cobertura
|
311
311
|
requirement: !ruby/object:Gem::Requirement
|
@@ -378,25 +378,31 @@ files:
|
|
378
378
|
- app/commands/decidim/dummy_resources/create_dummy_resource.rb
|
379
379
|
- app/controllers/decidim/dummy_resources/dummy_resources_controller.rb
|
380
380
|
- app/forms/decidim/dummy_resources/dummy_resource_form.rb
|
381
|
+
- app/mailers/decidim/dummy_resources/dummy_resource_mailer.rb
|
381
382
|
- app/views/decidim/dummy_resource/_linked_dummys.html.erb
|
382
383
|
- app/views/decidim/dummy_resources/dummy_resources/foo.html.erb
|
383
384
|
- app/views/decidim/dummy_resources/dummy_resources/show.html.erb
|
385
|
+
- config/locales/am-ET.yml
|
384
386
|
- config/locales/ar-SA.yml
|
385
387
|
- config/locales/ar.yml
|
386
388
|
- config/locales/bg-BG.yml
|
389
|
+
- config/locales/bg.yml
|
387
390
|
- config/locales/ca.yml
|
388
391
|
- config/locales/cs-CZ.yml
|
389
392
|
- config/locales/cs.yml
|
390
393
|
- config/locales/da-DK.yml
|
394
|
+
- config/locales/da.yml
|
391
395
|
- config/locales/de.yml
|
392
396
|
- config/locales/el-GR.yml
|
393
397
|
- config/locales/el.yml
|
394
398
|
- config/locales/en.yml
|
395
399
|
- config/locales/eo-UY.yml
|
400
|
+
- config/locales/eo.yml
|
396
401
|
- config/locales/es-MX.yml
|
397
402
|
- config/locales/es-PY.yml
|
398
403
|
- config/locales/es.yml
|
399
404
|
- config/locales/et-EE.yml
|
405
|
+
- config/locales/et.yml
|
400
406
|
- config/locales/eu.yml
|
401
407
|
- config/locales/fi-pl.yml
|
402
408
|
- config/locales/fi-plain.yml
|
@@ -406,38 +412,60 @@ files:
|
|
406
412
|
- config/locales/ga-IE.yml
|
407
413
|
- config/locales/gl.yml
|
408
414
|
- config/locales/hr-HR.yml
|
415
|
+
- config/locales/hr.yml
|
409
416
|
- config/locales/hu.yml
|
410
417
|
- config/locales/id-ID.yml
|
411
418
|
- config/locales/is-IS.yml
|
419
|
+
- config/locales/is.yml
|
412
420
|
- config/locales/it.yml
|
413
421
|
- config/locales/ja-JP.yml
|
422
|
+
- config/locales/ja.yml
|
423
|
+
- config/locales/ko-KR.yml
|
424
|
+
- config/locales/ko.yml
|
414
425
|
- config/locales/lt-LT.yml
|
415
|
-
- config/locales/
|
426
|
+
- config/locales/lt.yml
|
427
|
+
- config/locales/lv.yml
|
416
428
|
- config/locales/mt-MT.yml
|
429
|
+
- config/locales/mt.yml
|
417
430
|
- config/locales/nl.yml
|
418
431
|
- config/locales/no.yml
|
432
|
+
- config/locales/om-ET.yml
|
419
433
|
- config/locales/pl.yml
|
420
434
|
- config/locales/pt-BR.yml
|
421
435
|
- config/locales/pt.yml
|
422
436
|
- config/locales/ro-RO.yml
|
423
437
|
- config/locales/ru.yml
|
438
|
+
- config/locales/si-LK.yml
|
424
439
|
- config/locales/sk-SK.yml
|
425
440
|
- config/locales/sk.yml
|
426
441
|
- config/locales/sl.yml
|
442
|
+
- config/locales/so-SO.yml
|
427
443
|
- config/locales/sr-CS.yml
|
428
444
|
- config/locales/sv.yml
|
445
|
+
- config/locales/sw-KE.yml
|
446
|
+
- config/locales/ti-ER.yml
|
429
447
|
- config/locales/tr-TR.yml
|
430
448
|
- config/locales/uk.yml
|
449
|
+
- config/locales/vi-VN.yml
|
450
|
+
- config/locales/vi.yml
|
451
|
+
- config/locales/zh-CN.yml
|
452
|
+
- config/locales/zh-TW.yml
|
431
453
|
- lib/decidim/dev.rb
|
454
|
+
- lib/decidim/dev/assets/5000x5000.png
|
432
455
|
- lib/decidim/dev/assets/Exampledocument.pdf
|
456
|
+
- lib/decidim/dev/assets/assemblies.json
|
457
|
+
- lib/decidim/dev/assets/assemblies_with_null.json
|
433
458
|
- lib/decidim/dev/assets/avatar.jpg
|
434
459
|
- lib/decidim/dev/assets/city.jpeg
|
435
460
|
- lib/decidim/dev/assets/city2.jpeg
|
436
461
|
- lib/decidim/dev/assets/city3.jpeg
|
437
462
|
- lib/decidim/dev/assets/dni.jpg
|
463
|
+
- lib/decidim/dev/assets/geocoder_result_here.json
|
464
|
+
- lib/decidim/dev/assets/geocoder_result_osm.json
|
438
465
|
- lib/decidim/dev/assets/icon.png
|
439
466
|
- lib/decidim/dev/assets/id.jpg
|
440
467
|
- lib/decidim/dev/assets/import_participatory_space_private_users.csv
|
468
|
+
- lib/decidim/dev/assets/import_participatory_space_private_users_nok.csv
|
441
469
|
- lib/decidim/dev/assets/iso-8859-15.md
|
442
470
|
- lib/decidim/dev/assets/malicious.jpg
|
443
471
|
- lib/decidim/dev/assets/participatory_processes.json
|
@@ -447,6 +475,7 @@ files:
|
|
447
475
|
- lib/decidim/dev/assets/participatory_text_wrong.odt
|
448
476
|
- lib/decidim/dev/assets/verify_user_groups.csv
|
449
477
|
- lib/decidim/dev/common_rake.rb
|
478
|
+
- lib/decidim/dev/dummy_translator.rb
|
450
479
|
- lib/decidim/dev/railtie.rb
|
451
480
|
- lib/decidim/dev/test/authorization_shared_examples.rb
|
452
481
|
- lib/decidim/dev/test/base_spec_helper.rb
|
@@ -468,12 +497,15 @@ files:
|
|
468
497
|
- lib/decidim/dev/test/rspec_support/content_processing.rb
|
469
498
|
- lib/decidim/dev/test/rspec_support/download_helper.rb
|
470
499
|
- lib/decidim/dev/test/rspec_support/factory_bot.rb
|
500
|
+
- lib/decidim/dev/test/rspec_support/frontend.rb
|
471
501
|
- lib/decidim/dev/test/rspec_support/gamification.rb
|
472
502
|
- lib/decidim/dev/test/rspec_support/geocoder.rb
|
473
503
|
- lib/decidim/dev/test/rspec_support/helpers.rb
|
474
504
|
- lib/decidim/dev/test/rspec_support/html_matchers.rb
|
475
505
|
- lib/decidim/dev/test/rspec_support/orderly_matchers.rb
|
506
|
+
- lib/decidim/dev/test/rspec_support/organization.rb
|
476
507
|
- lib/decidim/dev/test/rspec_support/permissions_shared_examples.rb
|
508
|
+
- lib/decidim/dev/test/rspec_support/rake_tasks.rb
|
477
509
|
- lib/decidim/dev/test/rspec_support/react_select.rb
|
478
510
|
- lib/decidim/dev/test/rspec_support/route_helpers.rb
|
479
511
|
- lib/decidim/dev/test/rspec_support/timezone.rb
|
@@ -489,7 +521,7 @@ homepage: https://github.com/decidim/decidim
|
|
489
521
|
licenses:
|
490
522
|
- AGPL-3.0
|
491
523
|
metadata: {}
|
492
|
-
post_install_message:
|
524
|
+
post_install_message:
|
493
525
|
rdoc_options: []
|
494
526
|
require_paths:
|
495
527
|
- lib
|
@@ -497,15 +529,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
497
529
|
requirements:
|
498
530
|
- - ">="
|
499
531
|
- !ruby/object:Gem::Version
|
500
|
-
version: '2.
|
532
|
+
version: '2.6'
|
501
533
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
502
534
|
requirements:
|
503
535
|
- - ">="
|
504
536
|
- !ruby/object:Gem::Version
|
505
537
|
version: '0'
|
506
538
|
requirements: []
|
507
|
-
rubygems_version: 3.
|
508
|
-
signing_key:
|
539
|
+
rubygems_version: 3.0.3
|
540
|
+
signing_key:
|
509
541
|
specification_version: 4
|
510
542
|
summary: Decidim dev tools
|
511
543
|
test_files: []
|