decidim-dev 0.10.1 → 0.11.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/controllers/decidim/dummy_resources/dummy_resources_controller.rb +1 -1
- data/config/locales/ca.yml +3 -0
- data/config/locales/en.yml +3 -0
- data/config/locales/es.yml +3 -0
- data/config/locales/eu.yml +3 -0
- data/config/locales/fi.yml +3 -0
- data/config/locales/fr.yml +4 -1
- data/config/locales/gl.yml +3 -0
- data/config/locales/it.yml +3 -0
- data/config/locales/nl.yml +4 -1
- data/config/locales/pl.yml +3 -0
- data/config/locales/pt-BR.yml +3 -0
- data/config/locales/pt.yml +3 -0
- data/config/locales/sv.yml +3 -0
- data/lib/decidim/dev/common_rake.rb +3 -1
- data/lib/decidim/dev/test/authorization_shared_examples.rb +3 -0
- data/lib/decidim/dev/test/base_spec_helper.rb +1 -1
- data/lib/decidim/dev/test/factories.rb +2 -2
- data/lib/decidim/dev/test/rspec_support/action_mailer.rb +1 -14
- data/lib/decidim/dev/test/rspec_support/capybara.rb +3 -22
- data/lib/decidim/dev/test/rspec_support/{feature.rb → component.rb} +20 -20
- data/lib/decidim/dev/test/rspec_support/{feature_context.rb → component_context.rb} +20 -20
- data/lib/decidim/dev/test/rspec_support/helpers.rb +3 -3
- data/lib/decidim/dev/test/rspec_support/route_helpers.rb +1 -1
- data/lib/decidim/dev/test/rspec_support/translation_helpers.rb +1 -1
- data/lib/decidim/dev/test/spec_helper.rb +2 -2
- data/lib/decidim/dev/version.rb +1 -1
- data/lib/tasks/generators.rake +24 -32
- metadata +44 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9171c34e3282c88b4b8e0748a97343f388437a64629b80acf91432264d0709b1
|
4
|
+
data.tar.gz: 1fc4489eb4a2cf79f143e7d43be039d567d1f38e3f2294634c218120bee1f376
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d777634bde596747205583c0ff2a388ae95025f62556fb65cadb748fe440df6505043725bbe7fcd391fd311c8066fd40aa357f0984bee99fc076072ab966198b
|
7
|
+
data.tar.gz: a3760dc6059796ec870bcb3b2189d95f217d1b8820909aca0027f74eb41af51c6a85c4eddd9fba18830f18b754ae1a49fe207b5d29c1cf99205db224cbdb8df9
|
data/README.md
CHANGED
data/config/locales/ca.yml
CHANGED
data/config/locales/en.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/eu.yml
CHANGED
data/config/locales/fi.yml
CHANGED
data/config/locales/fr.yml
CHANGED
@@ -2,12 +2,15 @@ fr:
|
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
4
|
dummy_resource:
|
5
|
-
created_at: Créé
|
5
|
+
created_at: Créé le
|
6
6
|
field: Mon champ
|
7
7
|
start_date: Date de début
|
8
8
|
title: Titre
|
9
9
|
updated_at: Mis à jour à
|
10
10
|
decidim:
|
11
|
+
authorization_handlers:
|
12
|
+
another_dummy_authorization_handler:
|
13
|
+
name: Un autre exemple d'autorisation
|
11
14
|
dummy:
|
12
15
|
admin:
|
13
16
|
exports:
|
data/config/locales/gl.yml
CHANGED
data/config/locales/it.yml
CHANGED
data/config/locales/nl.yml
CHANGED
@@ -2,12 +2,15 @@ nl:
|
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
4
|
dummy_resource:
|
5
|
-
created_at:
|
5
|
+
created_at: Aangemaakt op
|
6
6
|
field: Mijn veld
|
7
7
|
start_date: Begindatum
|
8
8
|
title: Titel
|
9
9
|
updated_at: Bijgewerkt op
|
10
10
|
decidim:
|
11
|
+
authorization_handlers:
|
12
|
+
another_dummy_authorization_handler:
|
13
|
+
name: Een ander voorbeeld van goedkeuring
|
11
14
|
dummy:
|
12
15
|
admin:
|
13
16
|
exports:
|
data/config/locales/pl.yml
CHANGED
data/config/locales/pt-BR.yml
CHANGED
data/config/locales/pt.yml
CHANGED
data/config/locales/sv.yml
CHANGED
@@ -4,7 +4,9 @@ require "bundler/gem_tasks"
|
|
4
4
|
require "rspec/core/rake_task"
|
5
5
|
require "decidim/dev"
|
6
6
|
|
7
|
-
RSpec::Core::RakeTask.new(:spec)
|
7
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
8
|
+
t.rspec_opts = "--format progress --format RspecJunitFormatter -o ~/rspec/rspec.xml" if ENV["CI"]
|
9
|
+
end
|
8
10
|
task default: [:spec]
|
9
11
|
|
10
12
|
Decidim::Dev.install_tasks
|
@@ -3,16 +3,19 @@
|
|
3
3
|
shared_examples "an authorization handler" do
|
4
4
|
describe "to_partial_path" do
|
5
5
|
subject { handler.to_partial_path }
|
6
|
+
|
6
7
|
it { is_expected.to be_kind_of(String) }
|
7
8
|
end
|
8
9
|
|
9
10
|
describe "handler_name" do
|
10
11
|
subject { handler.handler_name }
|
12
|
+
|
11
13
|
it { is_expected.to be_kind_of(String) }
|
12
14
|
end
|
13
15
|
|
14
16
|
describe "metadata" do
|
15
17
|
subject { handler.metadata }
|
18
|
+
|
16
19
|
it { is_expected.to be_kind_of(Hash) }
|
17
20
|
end
|
18
21
|
end
|
@@ -20,7 +20,7 @@ require "decidim/core"
|
|
20
20
|
require "decidim/core/test"
|
21
21
|
require "decidim/admin/test"
|
22
22
|
|
23
|
-
require_relative "rspec_support/
|
23
|
+
require_relative "rspec_support/component.rb"
|
24
24
|
require_relative "rspec_support/authorization.rb"
|
25
25
|
|
26
26
|
require "#{Decidim::Dev.dummy_app_path}/config/environment"
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
FactoryBot.define do
|
4
|
-
factory :
|
5
|
-
name { Decidim::
|
4
|
+
factory :dummy_component, parent: :component do
|
5
|
+
name { Decidim::Components::Namer.new(participatory_space.organization.available_locales, :surveys).i18n_name }
|
6
6
|
manifest_name :dummy
|
7
7
|
end
|
8
8
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
require "nokogiri"
|
4
4
|
|
5
5
|
RSpec.configure do |config|
|
6
|
-
config.before
|
6
|
+
config.before { clear_emails }
|
7
7
|
end
|
8
8
|
|
9
9
|
# A set of helpers meant to make your life easier when testing
|
@@ -37,19 +37,6 @@ module MailerHelpers
|
|
37
37
|
def last_email_first_link
|
38
38
|
Nokogiri::HTML(last_email_body).css("table.content a").first["href"]
|
39
39
|
end
|
40
|
-
|
41
|
-
def wait_for_email(options = {})
|
42
|
-
options[:max_attempts] ||= 3
|
43
|
-
attempts = 0
|
44
|
-
loop do
|
45
|
-
raise StandardError, "An email with subject containing '#{options[:subject]}' wasn't sent.'" if attempts >= options[:max_attempts]
|
46
|
-
|
47
|
-
return if last_email&.subject&.include? options[:subject]
|
48
|
-
|
49
|
-
sleep 1
|
50
|
-
attempts += 1
|
51
|
-
end
|
52
|
-
end
|
53
40
|
end
|
54
41
|
|
55
42
|
RSpec.configure do |config|
|
@@ -19,9 +19,6 @@ module Decidim
|
|
19
19
|
end
|
20
20
|
|
21
21
|
Capybara.register_driver :headless_chrome do |app|
|
22
|
-
http_client = Selenium::WebDriver::Remote::Http::Default.new
|
23
|
-
http_client.read_timeout = 120
|
24
|
-
|
25
22
|
options = ::Selenium::WebDriver::Chrome::Options.new
|
26
23
|
options.args << "--headless"
|
27
24
|
options.args << "--no-sandbox"
|
@@ -30,30 +27,14 @@ Capybara.register_driver :headless_chrome do |app|
|
|
30
27
|
Capybara::Selenium::Driver.new(
|
31
28
|
app,
|
32
29
|
browser: :chrome,
|
33
|
-
options: options
|
34
|
-
http_client: http_client
|
30
|
+
options: options
|
35
31
|
)
|
36
32
|
end
|
37
33
|
|
38
|
-
# Monkeypatch the other place where capybara can timeout. We should contribute
|
39
|
-
# the configurability to capybara if this works consistently and proves to be
|
40
|
-
# useful
|
41
|
-
module Capybara
|
42
|
-
class Server
|
43
|
-
def wait_for_pending_requests
|
44
|
-
Timeout.timeout(120) { sleep(0.01) while pending_requests? }
|
45
|
-
rescue Timeout::Error
|
46
|
-
raise "Requests did not finish in 120 seconds"
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
|
51
|
-
Capybara.configure do |config|
|
52
|
-
config.always_include_port = true
|
53
|
-
end
|
54
|
-
|
55
34
|
Capybara.asset_host = "http://localhost:3000"
|
56
35
|
|
36
|
+
Capybara.server_errors = [SyntaxError, StandardError]
|
37
|
+
|
57
38
|
RSpec.configure do |config|
|
58
39
|
config.before :each, type: :system do
|
59
40
|
driven_by(:headless_chrome)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "decidim/
|
3
|
+
require "decidim/component_validator"
|
4
4
|
require "decidim/comments"
|
5
5
|
|
6
6
|
module Decidim
|
@@ -37,18 +37,18 @@ module Decidim
|
|
37
37
|
end
|
38
38
|
|
39
39
|
class DummyResource < ApplicationRecord
|
40
|
-
include
|
40
|
+
include HasComponent
|
41
41
|
include Resourceable
|
42
42
|
include Reportable
|
43
43
|
include Authorable
|
44
44
|
include HasCategory
|
45
|
-
include
|
45
|
+
include ScopableComponent
|
46
46
|
include Decidim::Comments::Commentable
|
47
47
|
include Followable
|
48
48
|
include Traceable
|
49
49
|
include Publicable
|
50
50
|
|
51
|
-
|
51
|
+
component_manifest_name "dummy"
|
52
52
|
|
53
53
|
def reported_content_url
|
54
54
|
ResourceLocatorPresenter.new(self).url
|
@@ -69,40 +69,40 @@ class DummySerializer
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
-
Decidim.
|
73
|
-
|
74
|
-
|
75
|
-
|
72
|
+
Decidim.register_component(:dummy) do |component|
|
73
|
+
component.engine = Decidim::DummyResources::DummyEngine
|
74
|
+
component.admin_engine = Decidim::DummyResources::DummyAdminEngine
|
75
|
+
component.icon = "decidim/dummy.svg"
|
76
76
|
|
77
|
-
|
77
|
+
component.actions = %w(foo bar)
|
78
78
|
|
79
|
-
|
79
|
+
component.settings(:global) do |settings|
|
80
80
|
settings.attribute :comments_enabled, type: :boolean, default: true
|
81
81
|
settings.attribute :dummy_global_attribute_1, type: :boolean
|
82
82
|
settings.attribute :dummy_global_attribute_2, type: :boolean
|
83
83
|
end
|
84
84
|
|
85
|
-
|
85
|
+
component.settings(:step) do |settings|
|
86
86
|
settings.attribute :comments_blocked, type: :boolean, default: false
|
87
87
|
settings.attribute :dummy_step_attribute_1, type: :boolean
|
88
88
|
settings.attribute :dummy_step_attribute_2, type: :boolean
|
89
89
|
end
|
90
90
|
|
91
|
-
|
91
|
+
component.register_resource do |resource|
|
92
92
|
resource.name = :dummy
|
93
93
|
resource.model_class_name = "Decidim::DummyResources::DummyResource"
|
94
94
|
resource.template = "decidim/dummy_resource/linked_dummys"
|
95
95
|
end
|
96
96
|
|
97
|
-
|
98
|
-
|
97
|
+
component.register_stat :dummies_count_high, primary: true, priority: Decidim::StatsRegistry::HIGH_PRIORITY do |components, _start_at, _end_at|
|
98
|
+
components.count * 10
|
99
99
|
end
|
100
100
|
|
101
|
-
|
102
|
-
|
101
|
+
component.register_stat :dummies_count_medium, primary: true, priority: Decidim::StatsRegistry::MEDIUM_PRIORITY do |components, _start_at, _end_at|
|
102
|
+
components.count * 100
|
103
103
|
end
|
104
104
|
|
105
|
-
|
105
|
+
component.exports :dummies do |exports|
|
106
106
|
exports.collection do
|
107
107
|
[1, 2, 3]
|
108
108
|
end
|
@@ -122,7 +122,7 @@ RSpec.configure do |config|
|
|
122
122
|
t.float :longitude
|
123
123
|
t.datetime :published_at
|
124
124
|
|
125
|
-
t.references :
|
125
|
+
t.references :decidim_component, index: false
|
126
126
|
t.references :decidim_author, index: false
|
127
127
|
t.references :decidim_category, index: false
|
128
128
|
t.references :decidim_scope, index: false
|
@@ -133,7 +133,7 @@ RSpec.configure do |config|
|
|
133
133
|
end
|
134
134
|
end
|
135
135
|
|
136
|
-
config.before
|
137
|
-
Decidim.
|
136
|
+
config.before do
|
137
|
+
Decidim.find_component_manifest(:dummy).reset_hooks!
|
138
138
|
end
|
139
139
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
shared_context "with a
|
4
|
-
let(:manifest) { Decidim.
|
3
|
+
shared_context "with a component" do
|
4
|
+
let(:manifest) { Decidim.find_component_manifest(manifest_name) }
|
5
5
|
|
6
6
|
let(:user) { create :user, :confirmed, organization: organization }
|
7
7
|
|
@@ -13,8 +13,8 @@ shared_context "with a feature" do
|
|
13
13
|
|
14
14
|
let(:participatory_space) { participatory_process }
|
15
15
|
|
16
|
-
let!(:
|
17
|
-
create(:
|
16
|
+
let!(:component) do
|
17
|
+
create(:component,
|
18
18
|
manifest: manifest,
|
19
19
|
participatory_space: participatory_space)
|
20
20
|
end
|
@@ -27,37 +27,37 @@ shared_context "with a feature" do
|
|
27
27
|
switch_to_host(organization.host)
|
28
28
|
end
|
29
29
|
|
30
|
-
def
|
31
|
-
page.visit
|
30
|
+
def visit_component
|
31
|
+
page.visit main_component_path(component)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
shared_context "when managing a
|
36
|
-
include_context "with a
|
35
|
+
shared_context "when managing a component" do
|
36
|
+
include_context "with a component"
|
37
37
|
|
38
|
-
let(:
|
38
|
+
let(:current_component) { component }
|
39
39
|
|
40
40
|
before do
|
41
41
|
login_as user, scope: :user
|
42
|
-
|
42
|
+
visit_component_admin
|
43
43
|
end
|
44
44
|
|
45
|
-
def
|
46
|
-
visit
|
45
|
+
def visit_component_admin
|
46
|
+
visit manage_component_path(component)
|
47
47
|
end
|
48
48
|
|
49
|
-
# Returns the config path for a given
|
49
|
+
# Returns the config path for a given component.
|
50
50
|
#
|
51
|
-
#
|
51
|
+
# component - the Component we want to find the root path for.
|
52
52
|
#
|
53
53
|
# Returns a url.
|
54
|
-
def
|
55
|
-
Decidim::EngineRouter.admin_proxy(
|
54
|
+
def edit_component_path(component)
|
55
|
+
Decidim::EngineRouter.admin_proxy(component.participatory_space).edit_component_path(component.id)
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
shared_context "when managing a
|
60
|
-
include_context "when managing a
|
59
|
+
shared_context "when managing a component as an admin" do
|
60
|
+
include_context "when managing a component"
|
61
61
|
|
62
62
|
let(:user) do
|
63
63
|
create :user,
|
@@ -67,8 +67,8 @@ shared_context "when managing a feature as an admin" do
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
-
shared_context "when managing a
|
71
|
-
include_context "when managing a
|
70
|
+
shared_context "when managing a component as a process admin" do
|
71
|
+
include_context "when managing a component"
|
72
72
|
|
73
73
|
let(:user) do
|
74
74
|
create :process_admin,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Helpers that get automatically included in
|
4
|
-
module Decidim::
|
3
|
+
# Helpers that get automatically included in component specs.
|
4
|
+
module Decidim::ComponentTestHelpers
|
5
5
|
def click_submenu_link(text)
|
6
6
|
within ".secondary-nav--subnav" do
|
7
7
|
click_link text
|
@@ -42,5 +42,5 @@ module Decidim::FeatureTestHelpers
|
|
42
42
|
end
|
43
43
|
|
44
44
|
RSpec.configure do |config|
|
45
|
-
config.include Decidim::
|
45
|
+
config.include Decidim::ComponentTestHelpers, type: :system
|
46
46
|
end
|
@@ -55,7 +55,7 @@ module TranslationHelpers
|
|
55
55
|
#
|
56
56
|
# field - the name of the field that should be filled, without the
|
57
57
|
# locale-related part (e.g. `:participatory_process_title`)
|
58
|
-
#
|
58
|
+
# tab_selector - a String representing the ID of the HTML element that holds
|
59
59
|
# the tabs for this input. It ususally is `"#<attribute_name>-tabs" (e.g.
|
60
60
|
# "#title-tabs")
|
61
61
|
# localized_values - a Hash where the keys are the locales IDs and the values
|
@@ -1,9 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
ENV["RAILS_ENV"] ||= "test"
|
4
|
-
|
5
3
|
require "rails-controller-testing"
|
6
4
|
require "rspec/rails"
|
5
|
+
require "rspec/cells"
|
7
6
|
require "factory_bot_rails"
|
8
7
|
require "byebug"
|
9
8
|
require "cancan/matchers"
|
@@ -24,6 +23,7 @@ RSpec.configure do |config|
|
|
24
23
|
config.mock_with :rspec
|
25
24
|
config.order = :random
|
26
25
|
config.raise_errors_for_deprecations!
|
26
|
+
config.example_status_persistence_file_path = ".rspec-failures"
|
27
27
|
|
28
28
|
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
29
29
|
# examples within a transaction, comment the following line or assign false
|
data/lib/decidim/dev/version.rb
CHANGED
data/lib/tasks/generators.rake
CHANGED
@@ -1,49 +1,41 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "generators/
|
3
|
+
require "decidim/generators/app_generator"
|
4
4
|
|
5
5
|
namespace :decidim do
|
6
|
-
|
7
|
-
|
8
|
-
dummy_app_path = File.expand_path(File.join(Dir.pwd, "spec", "decidim_dummy_app"))
|
6
|
+
def generate_decidim_app(*options)
|
7
|
+
app_path = File.expand_path(options.first, Dir.pwd)
|
9
8
|
|
10
|
-
sh "rm -fR
|
9
|
+
sh "rm -fR #{app_path}", verbose: false
|
11
10
|
|
12
11
|
original_folder = Dir.pwd
|
13
12
|
|
14
|
-
Decidim::Generators::AppGenerator.start(
|
15
|
-
[
|
16
|
-
dummy_app_path,
|
17
|
-
"--path",
|
18
|
-
"../..",
|
19
|
-
"--recreate_db",
|
20
|
-
"--skip_gemfile",
|
21
|
-
"--demo"
|
22
|
-
]
|
23
|
-
)
|
13
|
+
Decidim::Generators::AppGenerator.start(options)
|
24
14
|
|
25
15
|
Dir.chdir(original_folder)
|
26
16
|
end
|
27
17
|
|
18
|
+
desc "Generates a dummy app for testing in external installations"
|
19
|
+
task :generate_external_test_app do
|
20
|
+
generate_decidim_app(
|
21
|
+
"spec/decidim_dummy_app",
|
22
|
+
"--path",
|
23
|
+
"../..",
|
24
|
+
"--recreate_db",
|
25
|
+
"--skip_gemfile",
|
26
|
+
"--demo"
|
27
|
+
)
|
28
|
+
end
|
29
|
+
|
28
30
|
desc "Generates a dummy app for trying out external modules"
|
29
31
|
task :generate_external_development_app do
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
[
|
38
|
-
dummy_app_path,
|
39
|
-
"--path",
|
40
|
-
"..",
|
41
|
-
"--recreate_db",
|
42
|
-
"--seed_db",
|
43
|
-
"--demo"
|
44
|
-
]
|
32
|
+
generate_decidim_app(
|
33
|
+
"development_app",
|
34
|
+
"--path",
|
35
|
+
"..",
|
36
|
+
"--recreate_db",
|
37
|
+
"--seed_db",
|
38
|
+
"--demo"
|
45
39
|
)
|
46
|
-
|
47
|
-
Dir.chdir(original_folder)
|
48
40
|
end
|
49
41
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-04-
|
13
|
+
date: 2018-04-26 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.11.0.pre1
|
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.11.0.pre1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: factory_bot_rails
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -69,33 +69,33 @@ dependencies:
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '10.0'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
|
-
name:
|
72
|
+
name: db-query-matchers
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - "~>"
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.
|
77
|
+
version: 0.9.0
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - "~>"
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: 0.
|
84
|
+
version: 0.9.0
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
|
-
name:
|
86
|
+
name: erb_lint
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - "~>"
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.
|
91
|
+
version: 0.0.22
|
92
92
|
type: :runtime
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - "~>"
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.
|
98
|
+
version: 0.0.22
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
100
|
name: i18n-tasks
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,6 +144,20 @@ dependencies:
|
|
144
144
|
- - "~>"
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '1.0'
|
147
|
+
- !ruby/object:Gem::Dependency
|
148
|
+
name: rspec-cells
|
149
|
+
requirement: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - "~>"
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: 0.3.4
|
154
|
+
type: :runtime
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - "~>"
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: 0.3.4
|
147
161
|
- !ruby/object:Gem::Dependency
|
148
162
|
name: rspec-html-matchers
|
149
163
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,20 +186,34 @@ dependencies:
|
|
172
186
|
- - "~>"
|
173
187
|
- !ruby/object:Gem::Version
|
174
188
|
version: '3.7'
|
189
|
+
- !ruby/object:Gem::Dependency
|
190
|
+
name: rspec_junit_formatter
|
191
|
+
requirement: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - "~>"
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: 0.3.0
|
196
|
+
type: :runtime
|
197
|
+
prerelease: false
|
198
|
+
version_requirements: !ruby/object:Gem::Requirement
|
199
|
+
requirements:
|
200
|
+
- - "~>"
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: 0.3.0
|
175
203
|
- !ruby/object:Gem::Dependency
|
176
204
|
name: rubocop
|
177
205
|
requirement: !ruby/object:Gem::Requirement
|
178
206
|
requirements:
|
179
207
|
- - "~>"
|
180
208
|
- !ruby/object:Gem::Version
|
181
|
-
version: 0.
|
209
|
+
version: 0.54.0
|
182
210
|
type: :runtime
|
183
211
|
prerelease: false
|
184
212
|
version_requirements: !ruby/object:Gem::Requirement
|
185
213
|
requirements:
|
186
214
|
- - "~>"
|
187
215
|
- !ruby/object:Gem::Version
|
188
|
-
version: 0.
|
216
|
+
version: 0.54.0
|
189
217
|
- !ruby/object:Gem::Dependency
|
190
218
|
name: rubocop-rspec
|
191
219
|
requirement: !ruby/object:Gem::Requirement
|
@@ -311,10 +339,10 @@ files:
|
|
311
339
|
- lib/decidim/dev/test/rspec_support/capybara.rb
|
312
340
|
- lib/decidim/dev/test/rspec_support/capybara_scopes_picker.rb
|
313
341
|
- lib/decidim/dev/test/rspec_support/comments.rb
|
342
|
+
- lib/decidim/dev/test/rspec_support/component.rb
|
343
|
+
- lib/decidim/dev/test/rspec_support/component_context.rb
|
314
344
|
- lib/decidim/dev/test/rspec_support/content_processing.rb
|
315
345
|
- lib/decidim/dev/test/rspec_support/factory_bot.rb
|
316
|
-
- lib/decidim/dev/test/rspec_support/feature.rb
|
317
|
-
- lib/decidim/dev/test/rspec_support/feature_context.rb
|
318
346
|
- lib/decidim/dev/test/rspec_support/geocoder.rb
|
319
347
|
- lib/decidim/dev/test/rspec_support/helpers.rb
|
320
348
|
- lib/decidim/dev/test/rspec_support/html_matchers.rb
|
@@ -343,9 +371,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
343
371
|
version: '2.3'
|
344
372
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
345
373
|
requirements:
|
346
|
-
- - "
|
374
|
+
- - ">"
|
347
375
|
- !ruby/object:Gem::Version
|
348
|
-
version:
|
376
|
+
version: 1.3.1
|
349
377
|
requirements: []
|
350
378
|
rubyforge_project:
|
351
379
|
rubygems_version: 2.7.3
|