decidim-accountability 0.11.0.pre1 → 0.11.1

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: 5207908e5a433224053e690acac13d24905ab648c799ebedc244dc40ae164d82
4
- data.tar.gz: dbb8a639b0b117157c9f408914d2dfa222340d6e5f31631ac7f0bde9dc7a76af
3
+ metadata.gz: 3b65620cbbd603eb42d8b9806225ae563b72b83241db5cc02ecaf96faa6ba28c
4
+ data.tar.gz: '08051cf3315654b03ca1dcab1797203530b7a4265bc688284760c491ba141404'
5
5
  SHA512:
6
- metadata.gz: a3b5c13923e8a3c4a4bd35c5c901efef01aa143cf87a678462d19225b5b7af8d71f7510f7e0efb30ea55a96d8940c62f85019cdc611e97288a567969469c2da6
7
- data.tar.gz: ea3e503988ea03b8d6fa1bbf8c96e6e5f8c48e0cc12a54feadc018053d2331163b65ad351fd9d046d1cea53708b6957290ba8b32137b8120b7b1eb93c8a602c0
6
+ metadata.gz: f1148b5c6df76db554683531dac4a1ee10713587eb2025827f2e28e28efce2933dfdaee57176fca9719a6faa705c20bbc4c8e38cba125d4c26b542ac3e7eab4b
7
+ data.tar.gz: 97674d7317d0de812d18fdb4653e129644b87c4e1c9b1212445e6c86cfa8a855ae7aab30572bf92cc385b645f4cdc1619da73aa8a38c20ecda5f15f4c10986e9
@@ -19,8 +19,9 @@ $(function() {
19
19
  xhr.abort();
20
20
  } catch (exception) { xhr = null}
21
21
 
22
+ let url = $("#proposal-picker-choose").attr("href")
22
23
  xhr = $.getJSON(
23
- "proposals.json",
24
+ url,
24
25
  { term: term },
25
26
  function(data) { response(data); }
26
27
  );
@@ -55,8 +55,8 @@
55
55
  <div class="row column">
56
56
  <% if @form.proposals %>
57
57
  <% picker_options = { id: "decidim_accountability_proposals", class: "picker-multiple", name: "result[proposal_ids]", multiple: true }
58
- prompt_params= { url: "proposals", text: t(".add_proposal") } %>
59
- <%= form.data_picker(:proposals, picker_options, prompt_params) {|item| { url: "proposals", text: "##{item.id}- #{item.title}" }} %>
58
+ prompt_params= { url: proposals_results_path(current_component, format: :html), text: t(".add_proposal") } %>
59
+ <%= form.data_picker(:proposals, picker_options, prompt_params) {|item| { url:proposals_results_path(current_component, format: :json), text: "##{item.id}- #{item.title}" }} %>
60
60
  <% end %>
61
61
  </div>
62
62
 
@@ -6,7 +6,7 @@
6
6
  </div>
7
7
  <div class="picker-footer">
8
8
  <div class="buttons button--double">
9
- <a id="proposal-picker-choose" class="button mute" href="proposals" data-picker-value="" data-picker-text=""><%= t(".select") %></a>
9
+ <a id="proposal-picker-choose" class="button mute" href="<%= proposals_results_path(current_component, format: :json) %>" data-picker-value="" data-picker-text="" data-picker-choose><%= t(".select") %></a>
10
10
  <a class="button clear" data-close=""><%= t(".close") %></a>
11
11
  </div>
12
12
  </div>
@@ -14,7 +14,7 @@ module Decidim
14
14
  resources :statuses
15
15
  resources :results, except: [:show] do
16
16
  resources :timeline_entries, except: [:show]
17
- member do
17
+ collection do
18
18
  get :proposals
19
19
  end
20
20
  end
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds decidim-accountability version.
5
5
  module Accountability
6
6
  def self.version
7
- "0.11.0.pre1"
7
+ "0.11.1"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-accountability
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0.pre1
4
+ version: 0.11.1
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-26 00:00:00.000000000 Z
13
+ date: 2018-05-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-comments
@@ -18,28 +18,28 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.11.0.pre1
21
+ version: 0.11.1
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.11.0.pre1
28
+ version: 0.11.1
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-core
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.11.0.pre1
35
+ version: 0.11.1
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.11.0.pre1
42
+ version: 0.11.1
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: kaminari
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -74,98 +74,98 @@ dependencies:
74
74
  requirements:
75
75
  - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: 0.11.0.pre1
77
+ version: 0.11.1
78
78
  type: :development
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.11.0.pre1
84
+ version: 0.11.1
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: decidim-assemblies
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - '='
90
90
  - !ruby/object:Gem::Version
91
- version: 0.11.0.pre1
91
+ version: 0.11.1
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.11.0.pre1
98
+ version: 0.11.1
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.11.0.pre1
105
+ version: 0.11.1
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.11.0.pre1
112
+ version: 0.11.1
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: decidim-dev
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - '='
118
118
  - !ruby/object:Gem::Version
119
- version: 0.11.0.pre1
119
+ version: 0.11.1
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.11.0.pre1
126
+ version: 0.11.1
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: decidim-meetings
129
129
  requirement: !ruby/object:Gem::Requirement
130
130
  requirements:
131
131
  - - '='
132
132
  - !ruby/object:Gem::Version
133
- version: 0.11.0.pre1
133
+ version: 0.11.1
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.11.0.pre1
140
+ version: 0.11.1
141
141
  - !ruby/object:Gem::Dependency
142
142
  name: decidim-participatory_processes
143
143
  requirement: !ruby/object:Gem::Requirement
144
144
  requirements:
145
145
  - - '='
146
146
  - !ruby/object:Gem::Version
147
- version: 0.11.0.pre1
147
+ version: 0.11.1
148
148
  type: :development
149
149
  prerelease: false
150
150
  version_requirements: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - '='
153
153
  - !ruby/object:Gem::Version
154
- version: 0.11.0.pre1
154
+ version: 0.11.1
155
155
  - !ruby/object:Gem::Dependency
156
156
  name: decidim-proposals
157
157
  requirement: !ruby/object:Gem::Requirement
158
158
  requirements:
159
159
  - - '='
160
160
  - !ruby/object:Gem::Version
161
- version: 0.11.0.pre1
161
+ version: 0.11.1
162
162
  type: :development
163
163
  prerelease: false
164
164
  version_requirements: !ruby/object:Gem::Requirement
165
165
  requirements:
166
166
  - - '='
167
167
  - !ruby/object:Gem::Version
168
- version: 0.11.0.pre1
168
+ version: 0.11.1
169
169
  description: An accountability component for decidim's participatory spaces.
170
170
  email:
171
171
  - josepjaume@gmail.com
@@ -306,9 +306,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
306
306
  version: '2.3'
307
307
  required_rubygems_version: !ruby/object:Gem::Requirement
308
308
  requirements:
309
- - - ">"
309
+ - - ">="
310
310
  - !ruby/object:Gem::Version
311
- version: 1.3.1
311
+ version: '0'
312
312
  requirements: []
313
313
  rubyforge_project:
314
314
  rubygems_version: 2.7.3