voting_schemes-dummy 0.22.3 → 0.23.0
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.lock +98 -82
- data/app/assets/javascripts/voting_schemes/dummy/dummy.js +1 -1
- data/lib/voting_schemes/dummy/version.rb +1 -1
- data/voting_schemes-dummy.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9aa05313870d4c3ae788d95b87d55f3d5be3b9238c212571c5d896340a84079
|
4
|
+
data.tar.gz: bf8108251df0c36878f40a71c078e395f3b365559bc0b363a73c715419779ce6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd8ea75b5924d342494ac5a1ce8713a0d074234ca3f79fa63df4dd7b5725302ff15bed232bda1191968afce295ce217228ef0c219eb5f6ec7e5356390a8af9ac
|
7
|
+
data.tar.gz: 5d45da9b476217cb5c5d323ae9a623295230df06ba6f92d96112d653fd3c5a1c2ee6dabd18c886cb58b32e0d604a51af5d3ffee8295dd3ab8cf30f4490437621
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.2
|
data/Gemfile.lock
CHANGED
@@ -1,134 +1,155 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
voting_schemes-dummy (0.
|
4
|
+
voting_schemes-dummy (0.23.0)
|
5
5
|
rails (>= 5.0.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (
|
11
|
-
actionpack (=
|
12
|
-
activesupport (=
|
10
|
+
actioncable (7.0.2.3)
|
11
|
+
actionpack (= 7.0.2.3)
|
12
|
+
activesupport (= 7.0.2.3)
|
13
13
|
nio4r (~> 2.0)
|
14
14
|
websocket-driver (>= 0.6.1)
|
15
|
-
actionmailbox (
|
16
|
-
actionpack (=
|
17
|
-
activejob (=
|
18
|
-
activerecord (=
|
19
|
-
activestorage (=
|
20
|
-
activesupport (=
|
15
|
+
actionmailbox (7.0.2.3)
|
16
|
+
actionpack (= 7.0.2.3)
|
17
|
+
activejob (= 7.0.2.3)
|
18
|
+
activerecord (= 7.0.2.3)
|
19
|
+
activestorage (= 7.0.2.3)
|
20
|
+
activesupport (= 7.0.2.3)
|
21
21
|
mail (>= 2.7.1)
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
22
|
+
net-imap
|
23
|
+
net-pop
|
24
|
+
net-smtp
|
25
|
+
actionmailer (7.0.2.3)
|
26
|
+
actionpack (= 7.0.2.3)
|
27
|
+
actionview (= 7.0.2.3)
|
28
|
+
activejob (= 7.0.2.3)
|
29
|
+
activesupport (= 7.0.2.3)
|
27
30
|
mail (~> 2.5, >= 2.5.4)
|
31
|
+
net-imap
|
32
|
+
net-pop
|
33
|
+
net-smtp
|
28
34
|
rails-dom-testing (~> 2.0)
|
29
|
-
actionpack (
|
30
|
-
actionview (=
|
31
|
-
activesupport (=
|
32
|
-
rack (~> 2.0, >= 2.0
|
35
|
+
actionpack (7.0.2.3)
|
36
|
+
actionview (= 7.0.2.3)
|
37
|
+
activesupport (= 7.0.2.3)
|
38
|
+
rack (~> 2.0, >= 2.2.0)
|
33
39
|
rack-test (>= 0.6.3)
|
34
40
|
rails-dom-testing (~> 2.0)
|
35
41
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
36
|
-
actiontext (
|
37
|
-
actionpack (=
|
38
|
-
activerecord (=
|
39
|
-
activestorage (=
|
40
|
-
activesupport (=
|
42
|
+
actiontext (7.0.2.3)
|
43
|
+
actionpack (= 7.0.2.3)
|
44
|
+
activerecord (= 7.0.2.3)
|
45
|
+
activestorage (= 7.0.2.3)
|
46
|
+
activesupport (= 7.0.2.3)
|
47
|
+
globalid (>= 0.6.0)
|
41
48
|
nokogiri (>= 1.8.5)
|
42
|
-
actionview (
|
43
|
-
activesupport (=
|
49
|
+
actionview (7.0.2.3)
|
50
|
+
activesupport (= 7.0.2.3)
|
44
51
|
builder (~> 3.1)
|
45
52
|
erubi (~> 1.4)
|
46
53
|
rails-dom-testing (~> 2.0)
|
47
54
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
48
|
-
activejob (
|
49
|
-
activesupport (=
|
55
|
+
activejob (7.0.2.3)
|
56
|
+
activesupport (= 7.0.2.3)
|
50
57
|
globalid (>= 0.3.6)
|
51
|
-
activemodel (
|
52
|
-
activesupport (=
|
53
|
-
activerecord (
|
54
|
-
activemodel (=
|
55
|
-
activesupport (=
|
56
|
-
activestorage (
|
57
|
-
actionpack (=
|
58
|
-
activejob (=
|
59
|
-
activerecord (=
|
60
|
-
activesupport (=
|
61
|
-
marcel (~> 1.0
|
58
|
+
activemodel (7.0.2.3)
|
59
|
+
activesupport (= 7.0.2.3)
|
60
|
+
activerecord (7.0.2.3)
|
61
|
+
activemodel (= 7.0.2.3)
|
62
|
+
activesupport (= 7.0.2.3)
|
63
|
+
activestorage (7.0.2.3)
|
64
|
+
actionpack (= 7.0.2.3)
|
65
|
+
activejob (= 7.0.2.3)
|
66
|
+
activerecord (= 7.0.2.3)
|
67
|
+
activesupport (= 7.0.2.3)
|
68
|
+
marcel (~> 1.0)
|
62
69
|
mini_mime (>= 1.1.0)
|
63
|
-
activesupport (
|
70
|
+
activesupport (7.0.2.3)
|
64
71
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
65
72
|
i18n (>= 1.6, < 2)
|
66
73
|
minitest (>= 5.1)
|
67
74
|
tzinfo (~> 2.0)
|
68
|
-
zeitwerk (~> 2.3)
|
69
75
|
ast (2.4.2)
|
70
76
|
builder (3.2.4)
|
71
|
-
concurrent-ruby (1.1.
|
77
|
+
concurrent-ruby (1.1.10)
|
72
78
|
crass (1.0.6)
|
73
79
|
diff-lcs (1.4.4)
|
80
|
+
digest (3.1.0)
|
74
81
|
erubi (1.10.0)
|
75
82
|
faker (2.15.1)
|
76
83
|
i18n (>= 1.6, < 2)
|
77
|
-
globalid (0.
|
84
|
+
globalid (1.0.0)
|
78
85
|
activesupport (>= 5.0)
|
79
|
-
i18n (1.
|
86
|
+
i18n (1.10.0)
|
80
87
|
concurrent-ruby (~> 1.0)
|
81
|
-
loofah (2.
|
88
|
+
loofah (2.16.0)
|
82
89
|
crass (~> 1.0.2)
|
83
90
|
nokogiri (>= 1.5.9)
|
84
91
|
mail (2.7.1)
|
85
92
|
mini_mime (>= 0.1.1)
|
86
|
-
marcel (1.0.
|
93
|
+
marcel (1.0.2)
|
87
94
|
method_source (1.0.0)
|
88
|
-
mini_mime (1.1.
|
89
|
-
mini_portile2 (2.
|
90
|
-
minitest (5.
|
95
|
+
mini_mime (1.1.2)
|
96
|
+
mini_portile2 (2.8.0)
|
97
|
+
minitest (5.15.0)
|
98
|
+
net-imap (0.2.3)
|
99
|
+
digest
|
100
|
+
net-protocol
|
101
|
+
strscan
|
102
|
+
net-pop (0.1.1)
|
103
|
+
digest
|
104
|
+
net-protocol
|
105
|
+
timeout
|
106
|
+
net-protocol (0.1.3)
|
107
|
+
timeout
|
108
|
+
net-smtp (0.3.1)
|
109
|
+
digest
|
110
|
+
net-protocol
|
111
|
+
timeout
|
91
112
|
nio4r (2.5.8)
|
92
|
-
nokogiri (1.
|
93
|
-
mini_portile2 (~> 2.
|
113
|
+
nokogiri (1.13.3)
|
114
|
+
mini_portile2 (~> 2.8.0)
|
94
115
|
racc (~> 1.4)
|
95
|
-
nokogiri (1.
|
116
|
+
nokogiri (1.13.3-x86_64-linux)
|
96
117
|
racc (~> 1.4)
|
97
118
|
parallel (1.20.1)
|
98
119
|
parser (3.0.0.0)
|
99
120
|
ast (~> 2.4.1)
|
100
|
-
racc (1.
|
121
|
+
racc (1.6.0)
|
101
122
|
rack (2.2.3)
|
102
123
|
rack-test (1.1.0)
|
103
124
|
rack (>= 1.0, < 3)
|
104
|
-
rails (
|
105
|
-
actioncable (=
|
106
|
-
actionmailbox (=
|
107
|
-
actionmailer (=
|
108
|
-
actionpack (=
|
109
|
-
actiontext (=
|
110
|
-
actionview (=
|
111
|
-
activejob (=
|
112
|
-
activemodel (=
|
113
|
-
activerecord (=
|
114
|
-
activestorage (=
|
115
|
-
activesupport (=
|
125
|
+
rails (7.0.2.3)
|
126
|
+
actioncable (= 7.0.2.3)
|
127
|
+
actionmailbox (= 7.0.2.3)
|
128
|
+
actionmailer (= 7.0.2.3)
|
129
|
+
actionpack (= 7.0.2.3)
|
130
|
+
actiontext (= 7.0.2.3)
|
131
|
+
actionview (= 7.0.2.3)
|
132
|
+
activejob (= 7.0.2.3)
|
133
|
+
activemodel (= 7.0.2.3)
|
134
|
+
activerecord (= 7.0.2.3)
|
135
|
+
activestorage (= 7.0.2.3)
|
136
|
+
activesupport (= 7.0.2.3)
|
116
137
|
bundler (>= 1.15.0)
|
117
|
-
railties (=
|
118
|
-
sprockets-rails (>= 2.0.0)
|
138
|
+
railties (= 7.0.2.3)
|
119
139
|
rails-dom-testing (2.0.3)
|
120
140
|
activesupport (>= 4.2.0)
|
121
141
|
nokogiri (>= 1.6)
|
122
142
|
rails-html-sanitizer (1.4.2)
|
123
143
|
loofah (~> 2.3)
|
124
|
-
railties (
|
125
|
-
actionpack (=
|
126
|
-
activesupport (=
|
144
|
+
railties (7.0.2.3)
|
145
|
+
actionpack (= 7.0.2.3)
|
146
|
+
activesupport (= 7.0.2.3)
|
127
147
|
method_source
|
128
|
-
rake (>=
|
148
|
+
rake (>= 12.2)
|
129
149
|
thor (~> 1.0)
|
150
|
+
zeitwerk (~> 2.5)
|
130
151
|
rainbow (3.0.0)
|
131
|
-
rake (13.0.
|
152
|
+
rake (13.0.6)
|
132
153
|
regexp_parser (2.1.1)
|
133
154
|
rexml (3.2.5)
|
134
155
|
rspec (3.10.0)
|
@@ -162,21 +183,16 @@ GEM
|
|
162
183
|
rubocop (~> 0.87)
|
163
184
|
rubocop-ast (>= 0.7.1)
|
164
185
|
ruby-progressbar (1.11.0)
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
sprockets-rails (3.2.2)
|
169
|
-
actionpack (>= 4.0)
|
170
|
-
activesupport (>= 4.0)
|
171
|
-
sprockets (>= 3.0.0)
|
172
|
-
thor (1.1.0)
|
186
|
+
strscan (3.0.1)
|
187
|
+
thor (1.2.1)
|
188
|
+
timeout (0.2.0)
|
173
189
|
tzinfo (2.0.4)
|
174
190
|
concurrent-ruby (~> 1.0)
|
175
191
|
unicode-display_width (1.7.0)
|
176
192
|
websocket-driver (0.7.5)
|
177
193
|
websocket-extensions (>= 0.1.0)
|
178
194
|
websocket-extensions (0.1.5)
|
179
|
-
zeitwerk (2.4
|
195
|
+
zeitwerk (2.5.4)
|
180
196
|
|
181
197
|
PLATFORMS
|
182
198
|
ruby
|
@@ -191,4 +207,4 @@ DEPENDENCIES
|
|
191
207
|
voting_schemes-dummy!
|
192
208
|
|
193
209
|
BUNDLED WITH
|
194
|
-
2.
|
210
|
+
2.3.10
|
@@ -1 +1 @@
|
|
1
|
-
(()=>{"use strict";var e={d:(t,s)=>{for(var r in s)e.o(s,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:s[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{TrusteeWrapperAdapter:()=>n,VoterWrapperAdapter:()=>a});const s="key_ceremony.step_1",r="tally.share";class i{constructor({trusteeId:e}){this.trusteeId=e,this.status=0,this.electionPublicKey=0,this.jointElectionKey=0,this.tallyCastMessage=null,this.quorum=0,this.trusteesKeys={},this.trusteesShares={}}processMessage(e,t){switch(this.status){case 0:"create_election"===e&&(this.quorum=t.scheme.quorum,this.status=1);break;case 1:if("start_key_ceremony"===e)return this.status=2,this.electionPublicKey=2*Math.floor(50+200*Math.random())+1,{messageType:s,content:JSON.stringify({election_public_key:this.electionPublicKey,owner_id:this.trusteeId})};break;case 2:if(e===s){const e=JSON.parse(t.content);this.trusteesKeys[e.owner_id]=e.election_public_key}else if("end_key_ceremony"===e){const e=JSON.parse(t.content);this.jointElectionKey=e.joint_election_key,this.status=3}break;case 3:"start_tally"===e&&(this.status=4);break;case 4:if("tally.cast"===e){this.tallyCastMessage=t.content;const e=JSON.parse(this.tallyCastMessage);for(const[t,s]of Object.entries(e))for(const[r,i]of Object.entries(s))e[t][r]=i%this.electionPublicKey*this.electionPublicKey;return{messageType:r,content:JSON.stringify({owner_id:this.trusteeId,contests:e})}}if(e===r){const e=JSON.parse(t.content);return this.trusteesShares[e.owner_id]=!0,this._compensate()}if("tally.missing_trustee"===e){if(!(t.trustee_id in this.trusteesShares))return this.trusteesShares[t.trustee_id]=!1,this._compensate()}else"end_tally"===e&&(this.status=5)}}isFresh(){return 0===this.status}backup(){return JSON.stringify(this)}restore(e){if(!this.isFresh())return console.warn("Restore not needed"),!1;const t=JSON.parse(e);if(t.trusteeId!==this.trusteeId)return console.warn("Invalid trustee id"),!1;if(1===t.status)return console.warn("Invalid restored status"),!1;try{Object.assign(this,t)}catch(e){return console.error(e),!1}return!0}isKeyCeremonyDone(){return this.status>=3}isTallyDone(){return this.status>=5}_compensate(){const e=Object.keys(this.trusteesKeys).length,t=Object.values(this.trusteesShares).filter((e=>!e)).length;if(t>0&&t<=e-this.quorum&&Object.keys(this.trusteesShares).length===e){const s=JSON.parse(this.tallyCastMessage);for(const[r,i]of Object.entries(s))for(const[n,o]of Object.entries(i))s[r][n]=Math.pow(o%this.electionPublicKey,t)/Math.pow(this.electionPublicKey,e-t);return{messageType:"tally.compensation",content:JSON.stringify({owner_id:this.trusteeId,contests:s})}}}}class n{constructor({trusteeId:e}){this.trusteeId=e,this.wrapper=new i({trusteeId:e})}setup(){}processMessage(e,t){return this.wrapper.processMessage(e,t)}isFresh(){return this.wrapper.isFresh()}backup(){return this.wrapper.backup()}restore(e){return this.wrapper.restore(e)}isKeyCeremonyDone(){return this.wrapper.isKeyCeremonyDone()}isTallyDone(){return this.wrapper.isTallyDone()}}class o{constructor({voterId:e,waitTime:t}){this.voterId=e,this.jointElectionKey=null,this.contests={},this.waitTime=t??500}processMessage(e,t){switch(e){case"create_election":this.contests=t.description.contests;break;case"end_key_ceremony":{const e=JSON.parse(t.content);this.jointElectionKey=e.joint_election_key;break}}}async encrypt(e,t){return new Promise((e=>setTimeout(e,500))).then((()=>{if(!this.jointElectionKey)return void console.warn("Invalid election status.");const t=this.createAuditableBallot(e);return{auditableData:t,encryptedData:JSON.stringify(this.createEncryptedData(JSON.parse(JSON.stringify(t))))}}))}createAuditableBallot(e){return{ballot_style:"ballot-style",contests:this.contests.map((({object_id:t,ballot_selections:s})=>({object_id:t,ballot_selections:s.map((s=>{const r=Math.random(),i=e[t]&&e[t].includes(s.object_id)?1:0;return{object_id:s.object_id,ciphertext:i+Math.floor(500*r)*this.jointElectionKey,random:r,plaintext:i}}))})))}}createEncryptedData(e){return this.removeAuditInformation(e)}removeAuditInformation(e){return e.contests.map((e=>e.ballot_selections.map((e=>(delete e.random,delete e.plaintext,e))))),e}}class a{constructor({voterId:e,waitTime:t}){this.voterId=e,this.wrapper=new o({voterId:e,waitTime:t})}setup(){}processMessage(e,t){return this.wrapper.processMessage(e,t)}encrypt(e,t){return this.wrapper.encrypt(e,t)}}window.dummyVotingScheme=t})();
|
1
|
+
(()=>{"use strict";var e={d:(t,s)=>{for(var r in s)e.o(s,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:s[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{TrusteeWrapperAdapter:()=>n,VoterWrapperAdapter:()=>a});const s="key_ceremony.step_1",r="tally.share";class i{constructor({trusteeId:e}){this.trusteeId=e,this.status=0,this.electionPublicKey=0,this.jointElectionKey=0,this.tallyCastMessage=null,this.quorum=0,this.trusteesKeys={},this.trusteesShares={}}processMessage(e,t){switch(this.status){case 0:"create_election"===e&&(this.quorum=t.scheme.quorum,this.status=1);break;case 1:if("start_key_ceremony"===e)return this.status=2,this.electionPublicKey=2*Math.floor(50+200*Math.random())+1,{messageType:s,content:JSON.stringify({election_public_key:this.electionPublicKey,owner_id:this.trusteeId})};break;case 2:if(e===s){const e=JSON.parse(t.content);this.trusteesKeys[e.owner_id]=e.election_public_key}else if("end_key_ceremony"===e){const e=JSON.parse(t.content);this.jointElectionKey=e.joint_election_key,this.status=3}break;case 3:"start_tally"===e&&(this.status=4);break;case 4:if("tally.cast"===e){this.tallyCastMessage=t.content;const e=JSON.parse(this.tallyCastMessage);for(const[t,s]of Object.entries(e))for(const[r,i]of Object.entries(s))e[t][r]=i%this.electionPublicKey*this.electionPublicKey;return{messageType:r,content:JSON.stringify({owner_id:this.trusteeId,contests:e})}}if(e===r){const e=JSON.parse(t.content);return this.trusteesShares[e.owner_id]=!0,this._compensate()}if("tally.missing_trustee"===e){if(!(t.trustee_id in this.trusteesShares))return this.trusteesShares[t.trustee_id]=!1,this._compensate()}else"end_tally"===e&&(this.status=5)}}isFresh(){return 0===this.status}backup(){return JSON.stringify(this)}restore(e){if(!this.isFresh())return console.warn("Restore not needed"),!1;const t=JSON.parse(e);if(t.trusteeId!==this.trusteeId)return console.warn("Invalid trustee id"),!1;if(1===t.status)return console.warn("Invalid restored status"),!1;try{Object.assign(this,t)}catch(e){return console.error(e),!1}return!0}isKeyCeremonyDone(){return this.status>=3}isTallyDone(){return this.status>=5}_compensate(){const e=Object.keys(this.trusteesKeys).length,t=Object.values(this.trusteesShares).filter((e=>!e)).length;if(t>0&&t<=e-this.quorum&&Object.keys(this.trusteesShares).length===e){const s=JSON.parse(this.tallyCastMessage);for(const[r,i]of Object.entries(s))for(const[n,o]of Object.entries(i))s[r][n]=Math.pow(o%this.electionPublicKey,t)/Math.pow(this.electionPublicKey,e-t);return{messageType:"tally.compensation",content:JSON.stringify({owner_id:this.trusteeId,contests:s})}}}}class n{constructor({trusteeId:e}){this.trusteeId=e,this.wrapper=new i({trusteeId:e})}setup(){}processMessage(e,t){return this.wrapper.processMessage(e,t)}isFresh(){return this.wrapper.isFresh()}backup(){return this.wrapper.backup()}restore(e){return this.wrapper.restore(e)}isKeyCeremonyDone(){return this.wrapper.isKeyCeremonyDone()}isTallyDone(){return this.wrapper.isTallyDone()}}class o{constructor({voterId:e,waitTime:t}){this.voterId=e,this.jointElectionKey=null,this.contests={},this.waitTime=t??500}processMessage(e,t){switch(e){case"create_election":this.contests=t.description.contests;break;case"end_key_ceremony":{const e=JSON.parse(t.content);this.jointElectionKey=e.joint_election_key;break}}}async encrypt(e,t){return new Promise((e=>setTimeout(e,500))).then((()=>{if(!this.jointElectionKey)return void console.warn("Invalid election status.");const t=this.createAuditableBallot(e);return{auditableData:t,encryptedData:JSON.stringify(this.createEncryptedData(JSON.parse(JSON.stringify(t))))}}))}createAuditableBallot(e){return{ballot_style:"ballot-style",contests:this.contests.map((({object_id:t,ballot_selections:s})=>({object_id:t,ballot_selections:s.map((s=>{const r=Math.random(),i=e[t]&&e[t].includes(s.object_id)?1:0;return{object_id:s.object_id,ciphertext:i+Math.floor(500*r+1)*this.jointElectionKey,random:r,plaintext:i}}))})))}}createEncryptedData(e){return this.removeAuditInformation(e)}removeAuditInformation(e){return e.contests.map((e=>e.ballot_selections.map((e=>(delete e.random,delete e.plaintext,e))))),e}}class a{constructor({voterId:e,waitTime:t}){this.voterId=e,this.wrapper=new o({voterId:e,waitTime:t})}setup(){}processMessage(e,t){return this.wrapper.processMessage(e,t)}encrypt(e,t){return this.wrapper.encrypt(e,t)}}window.dummyVotingScheme=t})();
|
@@ -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(">=
|
15
|
+
s.required_ruby_version = Gem::Requirement.new(">= 3.0.2")
|
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.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: voting_schemes-dummy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
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:
|
14
|
+
date: 2022-04-05 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -94,14 +94,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
94
|
requirements:
|
95
95
|
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
97
|
+
version: 3.0.2
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
|
-
rubygems_version: 3.
|
104
|
+
rubygems_version: 3.2.22
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: ''
|