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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3505cf64efa10eb56f890d11451823b59f53a2fd
4
- data.tar.gz: '09d5d692d1ed94467470f738a590a016a65ce371'
3
+ metadata.gz: 017ff67a78bcc831450f7b5e7cace5c3bb8670e9
4
+ data.tar.gz: 94607fe7d95f968282df841ab0b51fc87a10f103
5
5
  SHA512:
6
- metadata.gz: d17f29bb0e37ddc1da9288f1c8998d8ee34696dbe6fa93a17e3e1d454b04a2a65159c4779e3eefb587c02f5a78241e3097b618f10dba3e98d0aa73e114a27eb8
7
- data.tar.gz: 8a08b6a197ca024e37454b8168327d296b81d3912e444b1bbc05a0f0157db2c9356ab4c7f36f2133ebca3db48f46d7158d04d610b0e1ba96d8f47a98749d5a69
6
+ metadata.gz: 624de56776783d0f5000abaf92f3dd5e81442ff355385e77edc2432619b970dd47af36fe665f6c825d5be63824ed2c251ff3cc15321967c29c7908a9cd472842
7
+ data.tar.gz: e1bc8e5809f482ec64012ce72a01a4afa5c120ec02efac686b815c36aba46579edde2f8f1b8c2f08cf4a372aafc7ec43ff909b5857a294c95497b89aadc6e7f3
data/Rakefile CHANGED
@@ -1,2 +1,3 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "decidim/dev/common_rake"
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  module Admin
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  module Admin
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  module Admin
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  module Admin
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  class ResultWidgetsController < Decidim::WidgetsController
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  module Admin
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  # Custom helpers, scoped to the meetings engine.
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  # Abstract class from which all models in this engine inherit.
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  # The data store for a Result in the Decidim::Results component. It stores a
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  # A class used to find results filtered by features and a date range
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  # This class handles search and filtering of results. Needs a
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  # This class handles statistics of results. Needs a `result` in
@@ -1,8 +1,9 @@
1
1
  base_locale: en
2
- locales: [en]
3
2
  ignore_unused:
4
3
  - "decidim.features.results.name"
5
4
  - "decidim.features.results.settings.*"
6
5
  - "decidim.resource_links.*"
7
6
  - activerecord.attributes.*
8
7
  - activemodel.attributes.*
8
+ search:
9
+ strict: false
@@ -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.
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "decidim/results/admin"
3
- require "decidim/results/list_engine"
4
+ require "decidim/results/engine"
4
5
  require "decidim/results/admin_engine"
5
6
  require "decidim/results/feature"
6
7
 
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  # This module contains all the domain logic associated to Decidim's Results
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  module Decidim
3
4
  module Results
4
5
  # This is the engine that runs on the public interface of `decidim-results`.
@@ -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 ListEngine < ::Rails::Engine
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::ListEngine
6
+ feature.engine = Decidim::Results::Engine
7
7
  feature.admin_engine = Decidim::Results::AdminEngine
8
8
  feature.icon = "decidim/results/icon.svg"
9
9
 
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require "decidim/faker/localized"
3
4
  require "decidim/dev"
4
5
 
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.1.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-05-18 00:00:00.000000000 Z
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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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: