decidim-results 0.3.2 → 0.4.0

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
  SHA1:
3
- metadata.gz: d02da276b940b3b39bb826d486cc97ad34898bed
4
- data.tar.gz: 7df90668a16d1c34353d38a3bd83b351541af7d7
3
+ metadata.gz: 3b6dc53d99eede13f7b5fe82b613773edf99a814
4
+ data.tar.gz: a622fe0c47a58abf4ff89ef2a477d8bb8a09409f
5
5
  SHA512:
6
- metadata.gz: 43943c3fad08faad0b58860113bbc26a5419814538b2e4536c5f77498539bee51ed400c022e93e6bbdc0c62c1c6e24fc279d2afb10953c5b1209d913a282d9ee
7
- data.tar.gz: 6fd722a233228744b7d20b7bfdc9e138775532079628976b64ae69e9352e25900aebc69d80ca28394226bd28b9bb7cdc010ab9dd2c89fda9f6066cc00625486d
6
+ metadata.gz: 5b9ce7e50c22d9296dd8faa4a41e1203e21cffac5dfa68933d00e3b20ecb5414746d9628853b4e4f53a7fd1bdc3b8e1ec9d32676bb3cb37a9de4dba950d088f6
7
+ data.tar.gz: 1db5e97ef9aab4623c672bb0b7289ece14eb1088e9d7c6dc96e6c80344291639cce7a0acd2fdd2357ae1711c4e12193961b0af384d16b03c91ee623b0ec7642e
@@ -33,6 +33,16 @@ module Decidim
33
33
  def comments_have_votes?
34
34
  true
35
35
  end
36
+
37
+ # Public: Overrides the `notifiable?` Notifiable concern method.
38
+ def notifiable?(_context)
39
+ true
40
+ end
41
+
42
+ # Public: Overrides the `users_to_notify` Notifiable concern method.
43
+ def users_to_notify
44
+ Decidim::Admin::ProcessAdmins.for(feature.participatory_process)
45
+ end
36
46
  end
37
47
  end
38
48
  end
@@ -3,7 +3,7 @@ fr:
3
3
  attributes:
4
4
  result:
5
5
  decidim_category_id: Catégorie
6
- decidim_scope_id: Domaine d'application
6
+ decidim_scope_id: Zone d'application
7
7
  description: Description
8
8
  proposal_ids: Propositions incluses
9
9
  title: Titre
@@ -62,7 +62,7 @@ fr:
62
62
  filters:
63
63
  category: Catégorie
64
64
  category_prompt: Sélectionner une catégorie
65
- scopes: Domaines d'application
65
+ scopes: Zones d'application
66
66
  search: Rechercher
67
67
  filters_small_view:
68
68
  close_modal: Fermer la fenêtre de dialogue
@@ -34,7 +34,7 @@ Decidim.register_feature(:results) do |feature|
34
34
  end
35
35
 
36
36
  feature.seeds do
37
- Decidim::ParticipatoryProcess.all.each do |process|
37
+ Decidim::ParticipatoryProcess.find_each do |process|
38
38
  next unless process.steps.any?
39
39
 
40
40
  feature = Decidim::Feature.create!(
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-results
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
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: 2017-06-19 00:00:00.000000000 Z
13
+ date: 2017-07-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.3.2
21
+ version: 0.4.0
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.3.2
28
+ version: 0.4.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-comments
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.3.2
35
+ version: 0.4.0
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.3.2
42
+ version: 0.4.0
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: rectify
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -88,56 +88,56 @@ dependencies:
88
88
  requirements:
89
89
  - - '='
90
90
  - !ruby/object:Gem::Version
91
- version: 0.3.2
91
+ version: 0.4.0
92
92
  type: :development
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.3.2
98
+ version: 0.4.0
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: decidim-comments
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - '='
104
104
  - !ruby/object:Gem::Version
105
- version: 0.3.2
105
+ version: 0.4.0
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - '='
111
111
  - !ruby/object:Gem::Version
112
- version: 0.3.2
112
+ version: 0.4.0
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: decidim-meetings
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - '='
118
118
  - !ruby/object:Gem::Version
119
- version: 0.3.2
119
+ version: 0.4.0
120
120
  type: :development
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.3.2
126
+ version: 0.4.0
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: decidim-proposals
129
129
  requirement: !ruby/object:Gem::Requirement
130
130
  requirements:
131
131
  - - '='
132
132
  - !ruby/object:Gem::Version
133
- version: 0.3.2
133
+ version: 0.4.0
134
134
  type: :development
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - '='
139
139
  - !ruby/object:Gem::Version
140
- version: 0.3.2
140
+ version: 0.4.0
141
141
  description: A results component for decidim's participatory processes.
142
142
  email:
143
143
  - josepjaume@gmail.com