decidim-dev 0.12.2 → 0.13.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fc95f92918e214d4bf5d312b0332cd5402c7affbcf4e438b7174bc7cd78437a
|
4
|
+
data.tar.gz: 1c474a365cad20b7f78894f27d570620f6381a35db22603efb5bf652932fc73f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b68daf8d1ffacde28c6d2bb693743d1ddb03759ab088cc24d72b608a6c2c6ec99ed6fcb817a859f8dccac8f61d2c138c9daf9f34f5926d25df196ff26f426c8c
|
7
|
+
data.tar.gz: 6f90e22d7e807f2a607e36863c9433d43ea22d82459a4e8312d6aaa9f428133a3a28a1f05084249b9c0247013cc1fcfa3a094cfff6319610c2b1b31d49471bad
|
data/config/locales/fr.yml
CHANGED
@@ -47,6 +47,7 @@ module Decidim
|
|
47
47
|
include Followable
|
48
48
|
include Traceable
|
49
49
|
include Publicable
|
50
|
+
include Decidim::DataPortability
|
50
51
|
include Searchable
|
51
52
|
|
52
53
|
searchable_fields(
|
@@ -62,6 +63,14 @@ module Decidim
|
|
62
63
|
def reported_content_url
|
63
64
|
ResourceLocatorPresenter.new(self).url
|
64
65
|
end
|
66
|
+
|
67
|
+
def self.user_collection(user)
|
68
|
+
where(decidim_author_id: user.id)
|
69
|
+
end
|
70
|
+
|
71
|
+
def self.export_serializer
|
72
|
+
DummySerializer
|
73
|
+
end
|
65
74
|
end
|
66
75
|
end
|
67
76
|
end
|
@@ -130,6 +139,7 @@ RSpec.configure do |config|
|
|
130
139
|
t.float :latitude
|
131
140
|
t.float :longitude
|
132
141
|
t.datetime :published_at
|
142
|
+
t.integer :coauthorships_count, null: false, default: 0
|
133
143
|
|
134
144
|
t.references :decidim_component, index: false
|
135
145
|
t.references :decidim_author, index: false
|
@@ -3,19 +3,19 @@
|
|
3
3
|
require "rails-controller-testing"
|
4
4
|
require "rspec/rails"
|
5
5
|
require "rspec/cells"
|
6
|
-
require "factory_bot_rails"
|
7
6
|
require "byebug"
|
8
7
|
require "rectify/rspec"
|
9
8
|
require "wisper/rspec/stub_wisper_publisher"
|
10
9
|
require "db-query-matchers"
|
11
10
|
require "action_view/helpers/sanitize_helper"
|
12
|
-
require_relative "factories"
|
13
|
-
require_relative "screenshot_helper_ext"
|
14
11
|
|
15
12
|
# Requires supporting files with custom matchers and macros, etc,
|
16
13
|
# in ./rspec_support/ and its subdirectories.
|
17
14
|
Dir["#{__dir__}/rspec_support/**/*.rb"].each { |f| require f }
|
18
15
|
|
16
|
+
require_relative "factories"
|
17
|
+
require_relative "screenshot_helper_ext"
|
18
|
+
|
19
19
|
RSpec.configure do |config|
|
20
20
|
config.color = true
|
21
21
|
config.fail_fast = ENV["FAIL_FAST"] == "true"
|
data/lib/decidim/dev/version.rb
CHANGED
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.13.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-
|
13
|
+
date: 2018-06-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: capybara
|
@@ -30,16 +30,16 @@ dependencies:
|
|
30
30
|
name: decidim
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.13.a
|
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.13.a
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: factory_bot_rails
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -406,9 +406,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
406
406
|
version: '2.3'
|
407
407
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
408
408
|
requirements:
|
409
|
-
- - "
|
409
|
+
- - ">"
|
410
410
|
- !ruby/object:Gem::Version
|
411
|
-
version:
|
411
|
+
version: 1.3.1
|
412
412
|
requirements: []
|
413
413
|
rubyforge_project:
|
414
414
|
rubygems_version: 2.7.6
|