decidim-bulletin_board 0.23.0 → 0.24.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile +2 -2
- data/Gemfile.lock +98 -99
- data/decidim-bulletin_board.gemspec +3 -2
- data/lib/decidim/bulletin_board/authority/create_election.rb +10 -10
- data/lib/decidim/bulletin_board/authority/end_vote.rb +1 -1
- data/lib/decidim/bulletin_board/authority/get_election_results.rb +1 -1
- data/lib/decidim/bulletin_board/authority/publish_results.rb +1 -1
- data/lib/decidim/bulletin_board/authority/report_missing_trustee.rb +2 -2
- data/lib/decidim/bulletin_board/authority/start_key_ceremony.rb +1 -1
- data/lib/decidim/bulletin_board/authority/start_tally.rb +1 -1
- data/lib/decidim/bulletin_board/authority/start_vote.rb +1 -1
- data/lib/decidim/bulletin_board/command.rb +1 -1
- data/lib/decidim/bulletin_board/graphql/file_adapter.rb +1 -1
- data/lib/decidim/bulletin_board/jwk_utils.rb +1 -6
- data/lib/decidim/bulletin_board/version.rb +1 -1
- data/lib/decidim/bulletin_board/voter/cast_vote.rb +1 -1
- data/lib/decidim/bulletin_board/voter/in_person_vote.rb +2 -2
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 453db37773cf3e05d6a7bad830aa1f7dfcf389845553e200d30f64a9d99571d2
|
4
|
+
data.tar.gz: 45e27028a5e21299a5b52a168cc1b8285539cf901370858775331e917ae43409
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d04b3f4d5328b8c8d53625ad4ab11e9e7d5f905ac5413e127a05ca1600d276a37edc15be32c4ee43adb96aff4bcacd5163cfb8b285fe783d320a232cd86d3b79
|
7
|
+
data.tar.gz: 34ae36d40806f98c9e5b9af0faf9b54e25286f92d86ce52862e399f2fbd7032355ed48016d3c8ef39fa018931c98a9e35e261ab6be01a1143b230ab6ec16ff26
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.1.1
|
data/Gemfile
CHANGED
@@ -5,6 +5,6 @@ source "https://rubygems.org"
|
|
5
5
|
# Specify your gem's dependencies in decidim-bulletin_board.gemspec
|
6
6
|
gemspec
|
7
7
|
|
8
|
-
gem "rubocop", "~>
|
8
|
+
gem "rubocop", "~> 1.28.0"
|
9
9
|
gem "rubocop-faker", "~> 1.1.0"
|
10
|
-
gem "rubocop-rspec", "~>
|
10
|
+
gem "rubocop-rspec", "~> 2.10"
|
data/Gemfile.lock
CHANGED
@@ -1,77 +1,77 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
decidim-bulletin_board (0.
|
4
|
+
decidim-bulletin_board (0.24.1)
|
5
5
|
byebug (~> 11.0)
|
6
6
|
graphlient (~> 0.5.0)
|
7
|
-
jwt (~> 2.
|
7
|
+
jwt (~> 2.5.0)
|
8
8
|
rails (~> 6.0, >= 5.0.0)
|
9
9
|
wisper (~> 2.0.0)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
actioncable (6.1.
|
15
|
-
actionpack (= 6.1.
|
16
|
-
activesupport (= 6.1.
|
14
|
+
actioncable (6.1.7)
|
15
|
+
actionpack (= 6.1.7)
|
16
|
+
activesupport (= 6.1.7)
|
17
17
|
nio4r (~> 2.0)
|
18
18
|
websocket-driver (>= 0.6.1)
|
19
|
-
actionmailbox (6.1.
|
20
|
-
actionpack (= 6.1.
|
21
|
-
activejob (= 6.1.
|
22
|
-
activerecord (= 6.1.
|
23
|
-
activestorage (= 6.1.
|
24
|
-
activesupport (= 6.1.
|
19
|
+
actionmailbox (6.1.7)
|
20
|
+
actionpack (= 6.1.7)
|
21
|
+
activejob (= 6.1.7)
|
22
|
+
activerecord (= 6.1.7)
|
23
|
+
activestorage (= 6.1.7)
|
24
|
+
activesupport (= 6.1.7)
|
25
25
|
mail (>= 2.7.1)
|
26
|
-
actionmailer (6.1.
|
27
|
-
actionpack (= 6.1.
|
28
|
-
actionview (= 6.1.
|
29
|
-
activejob (= 6.1.
|
30
|
-
activesupport (= 6.1.
|
26
|
+
actionmailer (6.1.7)
|
27
|
+
actionpack (= 6.1.7)
|
28
|
+
actionview (= 6.1.7)
|
29
|
+
activejob (= 6.1.7)
|
30
|
+
activesupport (= 6.1.7)
|
31
31
|
mail (~> 2.5, >= 2.5.4)
|
32
32
|
rails-dom-testing (~> 2.0)
|
33
|
-
actionpack (6.1.
|
34
|
-
actionview (= 6.1.
|
35
|
-
activesupport (= 6.1.
|
33
|
+
actionpack (6.1.7)
|
34
|
+
actionview (= 6.1.7)
|
35
|
+
activesupport (= 6.1.7)
|
36
36
|
rack (~> 2.0, >= 2.0.9)
|
37
37
|
rack-test (>= 0.6.3)
|
38
38
|
rails-dom-testing (~> 2.0)
|
39
39
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
40
|
-
actiontext (6.1.
|
41
|
-
actionpack (= 6.1.
|
42
|
-
activerecord (= 6.1.
|
43
|
-
activestorage (= 6.1.
|
44
|
-
activesupport (= 6.1.
|
40
|
+
actiontext (6.1.7)
|
41
|
+
actionpack (= 6.1.7)
|
42
|
+
activerecord (= 6.1.7)
|
43
|
+
activestorage (= 6.1.7)
|
44
|
+
activesupport (= 6.1.7)
|
45
45
|
nokogiri (>= 1.8.5)
|
46
|
-
actionview (6.1.
|
47
|
-
activesupport (= 6.1.
|
46
|
+
actionview (6.1.7)
|
47
|
+
activesupport (= 6.1.7)
|
48
48
|
builder (~> 3.1)
|
49
49
|
erubi (~> 1.4)
|
50
50
|
rails-dom-testing (~> 2.0)
|
51
51
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
52
|
-
activejob (6.1.
|
53
|
-
activesupport (= 6.1.
|
52
|
+
activejob (6.1.7)
|
53
|
+
activesupport (= 6.1.7)
|
54
54
|
globalid (>= 0.3.6)
|
55
|
-
activemodel (6.1.
|
56
|
-
activesupport (= 6.1.
|
57
|
-
activerecord (6.1.
|
58
|
-
activemodel (= 6.1.
|
59
|
-
activesupport (= 6.1.
|
60
|
-
activestorage (6.1.
|
61
|
-
actionpack (= 6.1.
|
62
|
-
activejob (= 6.1.
|
63
|
-
activerecord (= 6.1.
|
64
|
-
activesupport (= 6.1.
|
55
|
+
activemodel (6.1.7)
|
56
|
+
activesupport (= 6.1.7)
|
57
|
+
activerecord (6.1.7)
|
58
|
+
activemodel (= 6.1.7)
|
59
|
+
activesupport (= 6.1.7)
|
60
|
+
activestorage (6.1.7)
|
61
|
+
actionpack (= 6.1.7)
|
62
|
+
activejob (= 6.1.7)
|
63
|
+
activerecord (= 6.1.7)
|
64
|
+
activesupport (= 6.1.7)
|
65
65
|
marcel (~> 1.0)
|
66
66
|
mini_mime (>= 1.1.0)
|
67
|
-
activesupport (6.1.
|
67
|
+
activesupport (6.1.7)
|
68
68
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
69
69
|
i18n (>= 1.6, < 2)
|
70
70
|
minitest (>= 5.1)
|
71
71
|
tzinfo (~> 2.0)
|
72
72
|
zeitwerk (~> 2.3)
|
73
|
-
addressable (2.8.
|
74
|
-
public_suffix (>= 2.0.2, <
|
73
|
+
addressable (2.8.1)
|
74
|
+
public_suffix (>= 2.0.2, < 6.0)
|
75
75
|
ast (2.4.2)
|
76
76
|
builder (3.2.4)
|
77
77
|
byebug (11.1.3)
|
@@ -80,10 +80,10 @@ GEM
|
|
80
80
|
rexml
|
81
81
|
crass (1.0.6)
|
82
82
|
diff-lcs (1.5.0)
|
83
|
-
erubi (1.
|
84
|
-
faker (2.
|
83
|
+
erubi (1.11.0)
|
84
|
+
faker (2.22.0)
|
85
85
|
i18n (>= 1.8.11, < 2)
|
86
|
-
faraday (1.10.
|
86
|
+
faraday (1.10.2)
|
87
87
|
faraday-em_http (~> 1.0)
|
88
88
|
faraday-em_synchrony (~> 1.0)
|
89
89
|
faraday-excon (~> 1.1)
|
@@ -99,8 +99,8 @@ GEM
|
|
99
99
|
faraday-em_synchrony (1.0.0)
|
100
100
|
faraday-excon (1.1.0)
|
101
101
|
faraday-httpclient (1.0.1)
|
102
|
-
faraday-multipart (1.0.
|
103
|
-
multipart-post (
|
102
|
+
faraday-multipart (1.0.4)
|
103
|
+
multipart-post (~> 2)
|
104
104
|
faraday-net_http (1.0.1)
|
105
105
|
faraday-net_http_persistent (1.2.0)
|
106
106
|
faraday-patron (1.0.0)
|
@@ -114,15 +114,15 @@ GEM
|
|
114
114
|
faraday (>= 1.0)
|
115
115
|
faraday_middleware
|
116
116
|
graphql-client
|
117
|
-
graphql (
|
118
|
-
graphql-client (0.
|
117
|
+
graphql (2.0.15)
|
118
|
+
graphql-client (0.18.0)
|
119
119
|
activesupport (>= 3.0)
|
120
|
-
graphql
|
120
|
+
graphql
|
121
121
|
hashdiff (1.0.1)
|
122
|
-
i18n (1.
|
122
|
+
i18n (1.12.0)
|
123
123
|
concurrent-ruby (~> 1.0)
|
124
|
-
jwt (2.
|
125
|
-
loofah (2.
|
124
|
+
jwt (2.5.0)
|
125
|
+
loofah (2.19.0)
|
126
126
|
crass (~> 1.0.2)
|
127
127
|
nokogiri (>= 1.5.9)
|
128
128
|
mail (2.7.1)
|
@@ -131,53 +131,53 @@ GEM
|
|
131
131
|
method_source (1.0.0)
|
132
132
|
mini_mime (1.1.2)
|
133
133
|
mini_portile2 (2.8.0)
|
134
|
-
minitest (5.
|
135
|
-
multipart-post (2.
|
134
|
+
minitest (5.16.3)
|
135
|
+
multipart-post (2.2.3)
|
136
136
|
nio4r (2.5.8)
|
137
|
-
nokogiri (1.13.
|
137
|
+
nokogiri (1.13.9)
|
138
138
|
mini_portile2 (~> 2.8.0)
|
139
139
|
racc (~> 1.4)
|
140
|
-
nokogiri (1.13.
|
140
|
+
nokogiri (1.13.9-x86_64-darwin)
|
141
141
|
racc (~> 1.4)
|
142
|
-
nokogiri (1.13.
|
142
|
+
nokogiri (1.13.9-x86_64-linux)
|
143
143
|
racc (~> 1.4)
|
144
|
-
parallel (1.22.
|
145
|
-
parser (3.1.1
|
144
|
+
parallel (1.22.1)
|
145
|
+
parser (3.1.2.1)
|
146
146
|
ast (~> 2.4.1)
|
147
|
-
public_suffix (
|
147
|
+
public_suffix (5.0.0)
|
148
148
|
racc (1.6.0)
|
149
|
-
rack (2.2.
|
150
|
-
rack-test (
|
151
|
-
rack (>= 1.
|
152
|
-
rails (6.1.
|
153
|
-
actioncable (= 6.1.
|
154
|
-
actionmailbox (= 6.1.
|
155
|
-
actionmailer (= 6.1.
|
156
|
-
actionpack (= 6.1.
|
157
|
-
actiontext (= 6.1.
|
158
|
-
actionview (= 6.1.
|
159
|
-
activejob (= 6.1.
|
160
|
-
activemodel (= 6.1.
|
161
|
-
activerecord (= 6.1.
|
162
|
-
activestorage (= 6.1.
|
163
|
-
activesupport (= 6.1.
|
149
|
+
rack (2.2.4)
|
150
|
+
rack-test (2.0.2)
|
151
|
+
rack (>= 1.3)
|
152
|
+
rails (6.1.7)
|
153
|
+
actioncable (= 6.1.7)
|
154
|
+
actionmailbox (= 6.1.7)
|
155
|
+
actionmailer (= 6.1.7)
|
156
|
+
actionpack (= 6.1.7)
|
157
|
+
actiontext (= 6.1.7)
|
158
|
+
actionview (= 6.1.7)
|
159
|
+
activejob (= 6.1.7)
|
160
|
+
activemodel (= 6.1.7)
|
161
|
+
activerecord (= 6.1.7)
|
162
|
+
activestorage (= 6.1.7)
|
163
|
+
activesupport (= 6.1.7)
|
164
164
|
bundler (>= 1.15.0)
|
165
|
-
railties (= 6.1.
|
165
|
+
railties (= 6.1.7)
|
166
166
|
sprockets-rails (>= 2.0.0)
|
167
167
|
rails-dom-testing (2.0.3)
|
168
168
|
activesupport (>= 4.2.0)
|
169
169
|
nokogiri (>= 1.6)
|
170
|
-
rails-html-sanitizer (1.4.
|
170
|
+
rails-html-sanitizer (1.4.3)
|
171
171
|
loofah (~> 2.3)
|
172
|
-
railties (6.1.
|
173
|
-
actionpack (= 6.1.
|
174
|
-
activesupport (= 6.1.
|
172
|
+
railties (6.1.7)
|
173
|
+
actionpack (= 6.1.7)
|
174
|
+
activesupport (= 6.1.7)
|
175
175
|
method_source
|
176
176
|
rake (>= 12.2)
|
177
177
|
thor (~> 1.0)
|
178
178
|
rainbow (3.1.1)
|
179
179
|
rake (13.0.6)
|
180
|
-
regexp_parser (2.
|
180
|
+
regexp_parser (2.5.0)
|
181
181
|
rexml (3.2.5)
|
182
182
|
rspec (3.11.0)
|
183
183
|
rspec-core (~> 3.11.0)
|
@@ -188,30 +188,29 @@ GEM
|
|
188
188
|
rspec-expectations (3.11.0)
|
189
189
|
diff-lcs (>= 1.2.0, < 2.0)
|
190
190
|
rspec-support (~> 3.11.0)
|
191
|
-
rspec-mocks (3.11.
|
191
|
+
rspec-mocks (3.11.1)
|
192
192
|
diff-lcs (>= 1.2.0, < 2.0)
|
193
193
|
rspec-support (~> 3.11.0)
|
194
194
|
rspec-support (3.11.0)
|
195
|
-
rubocop (
|
195
|
+
rubocop (1.28.2)
|
196
196
|
parallel (~> 1.10)
|
197
|
-
parser (>=
|
197
|
+
parser (>= 3.1.0.0)
|
198
198
|
rainbow (>= 2.2.2, < 4.0)
|
199
|
-
regexp_parser (>= 1.
|
199
|
+
regexp_parser (>= 1.8, < 3.0)
|
200
200
|
rexml
|
201
|
-
rubocop-ast (>=
|
201
|
+
rubocop-ast (>= 1.17.0, < 2.0)
|
202
202
|
ruby-progressbar (~> 1.7)
|
203
|
-
unicode-display_width (>= 1.4.0, <
|
204
|
-
rubocop-ast (1.
|
203
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
204
|
+
rubocop-ast (1.21.0)
|
205
205
|
parser (>= 3.1.1.0)
|
206
206
|
rubocop-faker (1.1.0)
|
207
207
|
faker (>= 2.12.0)
|
208
208
|
rubocop (>= 0.82.0)
|
209
|
-
rubocop-rspec (
|
210
|
-
rubocop (~>
|
211
|
-
rubocop-ast (>= 0.7.1)
|
209
|
+
rubocop-rspec (2.11.1)
|
210
|
+
rubocop (~> 1.19)
|
212
211
|
ruby-progressbar (1.11.0)
|
213
212
|
ruby2_keywords (0.0.5)
|
214
|
-
sprockets (4.
|
213
|
+
sprockets (4.1.1)
|
215
214
|
concurrent-ruby (~> 1.0)
|
216
215
|
rack (> 1, < 3)
|
217
216
|
sprockets-rails (3.4.2)
|
@@ -219,10 +218,10 @@ GEM
|
|
219
218
|
activesupport (>= 5.2)
|
220
219
|
sprockets (>= 3.0.0)
|
221
220
|
thor (1.2.1)
|
222
|
-
tzinfo (2.0.
|
221
|
+
tzinfo (2.0.5)
|
223
222
|
concurrent-ruby (~> 1.0)
|
224
|
-
unicode-display_width (
|
225
|
-
webmock (3.
|
223
|
+
unicode-display_width (2.2.0)
|
224
|
+
webmock (3.18.1)
|
226
225
|
addressable (>= 2.8.0)
|
227
226
|
crack (>= 0.3.2)
|
228
227
|
hashdiff (>= 0.4.0, < 2.0.0)
|
@@ -231,7 +230,7 @@ GEM
|
|
231
230
|
websocket-extensions (0.1.5)
|
232
231
|
wisper (2.0.1)
|
233
232
|
wisper-rspec (1.1.0)
|
234
|
-
zeitwerk (2.
|
233
|
+
zeitwerk (2.6.6)
|
235
234
|
|
236
235
|
PLATFORMS
|
237
236
|
ruby
|
@@ -242,11 +241,11 @@ DEPENDENCIES
|
|
242
241
|
decidim-bulletin_board!
|
243
242
|
rake (~> 13.0)
|
244
243
|
rspec (~> 3.7)
|
245
|
-
rubocop (~>
|
244
|
+
rubocop (~> 1.28.0)
|
246
245
|
rubocop-faker (~> 1.1.0)
|
247
|
-
rubocop-rspec (~>
|
246
|
+
rubocop-rspec (~> 2.10)
|
248
247
|
webmock (~> 3.6)
|
249
248
|
wisper-rspec (~> 1.1.0)
|
250
249
|
|
251
250
|
BUNDLED WITH
|
252
|
-
2.3.
|
251
|
+
2.3.20
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.description = ""
|
13
13
|
s.homepage = "https://github.com/decidim/decidim-bulletin-board"
|
14
14
|
s.license = "AGPL-3.0"
|
15
|
-
s.required_ruby_version = Gem::Requirement.new(">= 3.
|
15
|
+
s.required_ruby_version = Gem::Requirement.new(">= 3.1.1")
|
16
16
|
|
17
17
|
# Specify which files should be added to the gem when it is released.
|
18
18
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -28,11 +28,12 @@ Gem::Specification.new do |s|
|
|
28
28
|
|
29
29
|
s.add_dependency "byebug", "~> 11.0"
|
30
30
|
s.add_dependency "graphlient", "~> 0.5.0"
|
31
|
-
s.add_dependency "jwt", "~> 2.
|
31
|
+
s.add_dependency "jwt", "~> 2.5.0"
|
32
32
|
s.add_dependency "wisper", "~> 2.0.0"
|
33
33
|
|
34
34
|
s.add_development_dependency "rake", "~> 13.0"
|
35
35
|
s.add_development_dependency "rspec", "~> 3.7"
|
36
36
|
s.add_development_dependency "webmock", "~> 3.6"
|
37
37
|
s.add_development_dependency "wisper-rspec", "~> 1.1.0"
|
38
|
+
s.metadata["rubygems_mfa_required"] = "true"
|
38
39
|
end
|
@@ -18,7 +18,7 @@ module Decidim
|
|
18
18
|
def call
|
19
19
|
# arguments used inside the graphql operation
|
20
20
|
args = {
|
21
|
-
message_id
|
21
|
+
message_id:,
|
22
22
|
signed_data: sign_message(message_id, message)
|
23
23
|
}
|
24
24
|
|
@@ -46,18 +46,18 @@ module Decidim
|
|
46
46
|
|
47
47
|
def message
|
48
48
|
{
|
49
|
-
scheme
|
50
|
-
bulletin_board
|
51
|
-
authority
|
52
|
-
trustees
|
53
|
-
polling_stations
|
49
|
+
scheme:,
|
50
|
+
bulletin_board:,
|
51
|
+
authority:,
|
52
|
+
trustees:,
|
53
|
+
polling_stations:,
|
54
54
|
description: {
|
55
55
|
name: text(election_data[:title]),
|
56
56
|
start_date: election_data[:start_date].strftime("%FT%T%:z"),
|
57
57
|
end_date: election_data[:end_date].strftime("%FT%T%:z"),
|
58
|
-
candidates
|
59
|
-
contests
|
60
|
-
ballot_styles:
|
58
|
+
candidates:,
|
59
|
+
contests:,
|
60
|
+
ballot_styles:
|
61
61
|
}
|
62
62
|
}
|
63
63
|
end
|
@@ -149,7 +149,7 @@ module Decidim
|
|
149
149
|
|
150
150
|
def text(field)
|
151
151
|
{
|
152
|
-
text: field.map { |locale, value| { language: locale.to_s, value:
|
152
|
+
text: field.map { |locale, value| { language: locale.to_s, value: } }
|
153
153
|
}
|
154
154
|
end
|
155
155
|
|
@@ -44,7 +44,7 @@ module Decidim
|
|
44
44
|
@election = response.data.election
|
45
45
|
@signed_data = election.log_entries.first.signed_data
|
46
46
|
|
47
|
-
broadcast(:ok, { election_results: decoded_data["results"], verifiable_results:
|
47
|
+
broadcast(:ok, { election_results: decoded_data["results"], verifiable_results: })
|
48
48
|
rescue Graphlient::Errors::ServerError
|
49
49
|
broadcast(:error, "Sorry, something went wrong")
|
50
50
|
end
|
@@ -28,8 +28,8 @@ module Decidim
|
|
28
28
|
def call
|
29
29
|
# arguments used inside the graphql operation
|
30
30
|
args = {
|
31
|
-
message_id
|
32
|
-
signed_data: sign_message(message_id, { trustee_id:
|
31
|
+
message_id:,
|
32
|
+
signed_data: sign_message(message_id, { trustee_id: })
|
33
33
|
}
|
34
34
|
|
35
35
|
response = graphql.query do
|
@@ -13,13 +13,8 @@ module Decidim
|
|
13
13
|
(json.keys & JWK_PRIVATE_FIELDS).any?
|
14
14
|
end
|
15
15
|
|
16
|
-
# TODO: remove everything below here when https://github.com/jwt/ruby-jwt/pull/375 is released
|
17
16
|
def self.import_private_key(json)
|
18
|
-
|
19
|
-
jwk.keypair.set_key(decode_open_ssl_bn(json[:n]), decode_open_ssl_bn(json[:e]), decode_open_ssl_bn(json[:d]))
|
20
|
-
jwk.keypair.set_factors(decode_open_ssl_bn(json[:p]), decode_open_ssl_bn(json[:q]))
|
21
|
-
jwk.keypair.set_crt_params(decode_open_ssl_bn(json[:dp]), decode_open_ssl_bn(json[:dq]), decode_open_ssl_bn(json[:qi]))
|
22
|
-
jwk
|
17
|
+
JWT::JWK.import(json)
|
23
18
|
end
|
24
19
|
|
25
20
|
def self.private_export(jwk)
|
@@ -30,8 +30,8 @@ module Decidim
|
|
30
30
|
def call
|
31
31
|
# arguments used inside the graphql operation
|
32
32
|
args = {
|
33
|
-
message_id
|
34
|
-
signed_data: sign_message(message_id, { polling_station_id:
|
33
|
+
message_id:,
|
34
|
+
signed_data: sign_message(message_id, { polling_station_id: })
|
35
35
|
}
|
36
36
|
|
37
37
|
begin
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-bulletin_board
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Morcillo
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2022-
|
14
|
+
date: 2022-11-11 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -67,14 +67,14 @@ dependencies:
|
|
67
67
|
requirements:
|
68
68
|
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 2.
|
70
|
+
version: 2.5.0
|
71
71
|
type: :runtime
|
72
72
|
prerelease: false
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - "~>"
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 2.
|
77
|
+
version: 2.5.0
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: wisper
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -197,7 +197,8 @@ files:
|
|
197
197
|
homepage: https://github.com/decidim/decidim-bulletin-board
|
198
198
|
licenses:
|
199
199
|
- AGPL-3.0
|
200
|
-
metadata:
|
200
|
+
metadata:
|
201
|
+
rubygems_mfa_required: 'true'
|
201
202
|
post_install_message:
|
202
203
|
rdoc_options: []
|
203
204
|
require_paths:
|
@@ -206,14 +207,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
206
207
|
requirements:
|
207
208
|
- - ">="
|
208
209
|
- !ruby/object:Gem::Version
|
209
|
-
version: 3.
|
210
|
+
version: 3.1.1
|
210
211
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
211
212
|
requirements:
|
212
213
|
- - ">="
|
213
214
|
- !ruby/object:Gem::Version
|
214
215
|
version: '0'
|
215
216
|
requirements: []
|
216
|
-
rubygems_version: 3.
|
217
|
+
rubygems_version: 3.3.25
|
217
218
|
signing_key:
|
218
219
|
specification_version: 4
|
219
220
|
summary: ''
|