decidim-results 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -0
- data/app/commands/decidim/results/admin/create_result.rb +1 -0
- data/app/commands/decidim/results/admin/update_result.rb +1 -0
- data/app/controllers/decidim/results/admin/application_controller.rb +1 -0
- data/app/controllers/decidim/results/admin/results_controller.rb +1 -0
- data/app/controllers/decidim/results/result_widgets_controller.rb +1 -0
- data/app/forms/decidim/results/admin/result_form.rb +1 -0
- data/app/helpers/decidim/results/application_helper.rb +1 -0
- data/app/models/decidim/results/application_record.rb +1 -0
- data/app/models/decidim/results/result.rb +1 -0
- data/app/queries/decidim/results/filtered_results.rb +1 -0
- data/app/services/decidim/results/result_search.rb +1 -0
- data/app/services/decidim/results/result_stats_calculator.rb +1 -0
- data/config/i18n-tasks.yml +2 -1
- data/config/locales/eu.yml +3 -0
- data/lib/decidim/results.rb +2 -1
- data/lib/decidim/results/admin.rb +1 -0
- data/lib/decidim/results/admin_engine.rb +1 -0
- data/lib/decidim/results/{list_engine.rb → engine.rb} +2 -1
- data/lib/decidim/results/feature.rb +1 -1
- data/lib/decidim/results/test/factories.rb +1 -0
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 017ff67a78bcc831450f7b5e7cace5c3bb8670e9
|
4
|
+
data.tar.gz: 94607fe7d95f968282df841ab0b51fc87a10f103
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 624de56776783d0f5000abaf92f3dd5e81442ff355385e77edc2432619b970dd47af36fe665f6c825d5be63824ed2c251ff3cc15321967c29c7908a9cd472842
|
7
|
+
data.tar.gz: e1bc8e5809f482ec64012ce72a01a4afa5c120ec02efac686b815c36aba46579edde2f8f1b8c2f08cf4a372aafc7ec43ff909b5857a294c95497b89aadc6e7f3
|
data/Rakefile
CHANGED
data/config/i18n-tasks.yml
CHANGED
data/config/locales/eu.yml
CHANGED
@@ -26,6 +26,7 @@ eu:
|
|
26
26
|
confirm_destroy: Ziur zaude emaitza hau ezabatu nahi duzula?
|
27
27
|
destroy: Ezabatu
|
28
28
|
edit: Editatu
|
29
|
+
new: Berria
|
29
30
|
preview: Aurreikusi
|
30
31
|
title: Ekintzak
|
31
32
|
admin:
|
@@ -40,9 +41,11 @@ eu:
|
|
40
41
|
success: Emaitza zuzen ezabatu da.
|
41
42
|
edit:
|
42
43
|
title: Editatu emaitza
|
44
|
+
update: Eguneratu
|
43
45
|
index:
|
44
46
|
title: Emaitzak
|
45
47
|
new:
|
48
|
+
create: Sortu
|
46
49
|
title: Emaitza berria
|
47
50
|
update:
|
48
51
|
invalid: Arazo bat izan da emaitza hau eguneratzean.
|
data/lib/decidim/results.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
+
|
2
3
|
require "searchlight"
|
3
4
|
require "kaminari"
|
4
5
|
|
@@ -7,7 +8,7 @@ module Decidim
|
|
7
8
|
# This is the engine that runs on the public interface of `decidim-results`.
|
8
9
|
# It mostly handles rendering the created results associated to a participatory
|
9
10
|
# process.
|
10
|
-
class
|
11
|
+
class Engine < ::Rails::Engine
|
11
12
|
isolate_namespace Decidim::Results
|
12
13
|
|
13
14
|
routes do
|
@@ -3,7 +3,7 @@
|
|
3
3
|
require_dependency "decidim/features/namer"
|
4
4
|
|
5
5
|
Decidim.register_feature(:results) do |feature|
|
6
|
-
feature.engine = Decidim::Results::
|
6
|
+
feature.engine = Decidim::Results::Engine
|
7
7
|
feature.admin_engine = Decidim::Results::AdminEngine
|
8
8
|
feature.icon = "decidim/results/icon.svg"
|
9
9
|
|
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.
|
4
|
+
version: 0.2.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-
|
13
|
+
date: 2017-06-02 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.
|
21
|
+
version: 0.2.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.
|
28
|
+
version: 0.2.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.
|
35
|
+
version: 0.2.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.
|
42
|
+
version: 0.2.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rectify
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,57 +88,57 @@ dependencies:
|
|
88
88
|
requirements:
|
89
89
|
- - '='
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.
|
91
|
+
version: 0.2.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.
|
98
|
+
version: 0.2.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.
|
105
|
+
version: 0.2.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.
|
112
|
+
version: 0.2.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.
|
119
|
+
version: 0.2.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.
|
126
|
+
version: 0.2.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.
|
133
|
+
version: 0.2.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.
|
141
|
-
description: '
|
140
|
+
version: 0.2.0
|
141
|
+
description: A results component for decidim's participatory processes.
|
142
142
|
email:
|
143
143
|
- josepjaume@gmail.com
|
144
144
|
- mrc2407@gmail.com
|
@@ -193,8 +193,8 @@ files:
|
|
193
193
|
- lib/decidim/results.rb
|
194
194
|
- lib/decidim/results/admin.rb
|
195
195
|
- lib/decidim/results/admin_engine.rb
|
196
|
+
- lib/decidim/results/engine.rb
|
196
197
|
- lib/decidim/results/feature.rb
|
197
|
-
- lib/decidim/results/list_engine.rb
|
198
198
|
- lib/decidim/results/test/factories.rb
|
199
199
|
homepage: https://github.com/decidim/decidim
|
200
200
|
licenses:
|