voting_schemes-electionguard 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.rspec +3 -0
- data/.rubocop.yml +9 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +194 -0
- data/README.md +35 -0
- data/Rakefile +12 -0
- data/app/assets/config/manifest.js +1 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/voting_schemes/electionguard.rb +11 -0
- data/lib/voting_schemes/electionguard/engine.rb +15 -0
- data/lib/voting_schemes/electionguard/version.rb +7 -0
- data/voting_schemes-electionguard.gemspec +30 -0
- metadata +106 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9b25f7f193ae42a2d3cebcdf58fa0e4e23a0803c1048815cc26fb38c901664fb
|
4
|
+
data.tar.gz: fe67072e503373a9f12887b899dc3e6316bb19df38debc55b2d4697451430eb7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a2830b353d541e4e19f5fe5850174eae5ba0a74d3b04683413017c3f1b741b881ce1ed512174beadba7570a1eca0184ce7bb8f6ea575c312096b2503c32f1d16
|
7
|
+
data.tar.gz: cd03d72a620dacacaa8489bfd4c36bb8a9184fd8f2ef126723dc61e726ac552b8a886bff3ac93a6039a837634da1a89a8c43e0b0ba9efa5efac065e1b70b844d
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,194 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
voting_schemes-electionguard (0.15.1)
|
5
|
+
rails (>= 5.0.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actioncable (6.1.3)
|
11
|
+
actionpack (= 6.1.3)
|
12
|
+
activesupport (= 6.1.3)
|
13
|
+
nio4r (~> 2.0)
|
14
|
+
websocket-driver (>= 0.6.1)
|
15
|
+
actionmailbox (6.1.3)
|
16
|
+
actionpack (= 6.1.3)
|
17
|
+
activejob (= 6.1.3)
|
18
|
+
activerecord (= 6.1.3)
|
19
|
+
activestorage (= 6.1.3)
|
20
|
+
activesupport (= 6.1.3)
|
21
|
+
mail (>= 2.7.1)
|
22
|
+
actionmailer (6.1.3)
|
23
|
+
actionpack (= 6.1.3)
|
24
|
+
actionview (= 6.1.3)
|
25
|
+
activejob (= 6.1.3)
|
26
|
+
activesupport (= 6.1.3)
|
27
|
+
mail (~> 2.5, >= 2.5.4)
|
28
|
+
rails-dom-testing (~> 2.0)
|
29
|
+
actionpack (6.1.3)
|
30
|
+
actionview (= 6.1.3)
|
31
|
+
activesupport (= 6.1.3)
|
32
|
+
rack (~> 2.0, >= 2.0.9)
|
33
|
+
rack-test (>= 0.6.3)
|
34
|
+
rails-dom-testing (~> 2.0)
|
35
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
36
|
+
actiontext (6.1.3)
|
37
|
+
actionpack (= 6.1.3)
|
38
|
+
activerecord (= 6.1.3)
|
39
|
+
activestorage (= 6.1.3)
|
40
|
+
activesupport (= 6.1.3)
|
41
|
+
nokogiri (>= 1.8.5)
|
42
|
+
actionview (6.1.3)
|
43
|
+
activesupport (= 6.1.3)
|
44
|
+
builder (~> 3.1)
|
45
|
+
erubi (~> 1.4)
|
46
|
+
rails-dom-testing (~> 2.0)
|
47
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
48
|
+
activejob (6.1.3)
|
49
|
+
activesupport (= 6.1.3)
|
50
|
+
globalid (>= 0.3.6)
|
51
|
+
activemodel (6.1.3)
|
52
|
+
activesupport (= 6.1.3)
|
53
|
+
activerecord (6.1.3)
|
54
|
+
activemodel (= 6.1.3)
|
55
|
+
activesupport (= 6.1.3)
|
56
|
+
activestorage (6.1.3)
|
57
|
+
actionpack (= 6.1.3)
|
58
|
+
activejob (= 6.1.3)
|
59
|
+
activerecord (= 6.1.3)
|
60
|
+
activesupport (= 6.1.3)
|
61
|
+
marcel (~> 0.3.1)
|
62
|
+
mimemagic (~> 0.3.2)
|
63
|
+
activesupport (6.1.3)
|
64
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
65
|
+
i18n (>= 1.6, < 2)
|
66
|
+
minitest (>= 5.1)
|
67
|
+
tzinfo (~> 2.0)
|
68
|
+
zeitwerk (~> 2.3)
|
69
|
+
ast (2.4.2)
|
70
|
+
builder (3.2.4)
|
71
|
+
concurrent-ruby (1.1.8)
|
72
|
+
crass (1.0.6)
|
73
|
+
diff-lcs (1.4.4)
|
74
|
+
erubi (1.10.0)
|
75
|
+
faker (2.15.1)
|
76
|
+
i18n (>= 1.6, < 2)
|
77
|
+
globalid (0.4.2)
|
78
|
+
activesupport (>= 4.2.0)
|
79
|
+
i18n (1.8.9)
|
80
|
+
concurrent-ruby (~> 1.0)
|
81
|
+
loofah (2.9.0)
|
82
|
+
crass (~> 1.0.2)
|
83
|
+
nokogiri (>= 1.5.9)
|
84
|
+
mail (2.7.1)
|
85
|
+
mini_mime (>= 0.1.1)
|
86
|
+
marcel (0.3.3)
|
87
|
+
mimemagic (~> 0.3.2)
|
88
|
+
method_source (1.0.0)
|
89
|
+
mimemagic (0.3.5)
|
90
|
+
mini_mime (1.0.2)
|
91
|
+
mini_portile2 (2.5.0)
|
92
|
+
minitest (5.14.4)
|
93
|
+
nio4r (2.5.7)
|
94
|
+
nokogiri (1.11.2)
|
95
|
+
mini_portile2 (~> 2.5.0)
|
96
|
+
racc (~> 1.4)
|
97
|
+
parallel (1.20.1)
|
98
|
+
parser (3.0.0.0)
|
99
|
+
ast (~> 2.4.1)
|
100
|
+
racc (1.5.2)
|
101
|
+
rack (2.2.3)
|
102
|
+
rack-test (1.1.0)
|
103
|
+
rack (>= 1.0, < 3)
|
104
|
+
rails (6.1.3)
|
105
|
+
actioncable (= 6.1.3)
|
106
|
+
actionmailbox (= 6.1.3)
|
107
|
+
actionmailer (= 6.1.3)
|
108
|
+
actionpack (= 6.1.3)
|
109
|
+
actiontext (= 6.1.3)
|
110
|
+
actionview (= 6.1.3)
|
111
|
+
activejob (= 6.1.3)
|
112
|
+
activemodel (= 6.1.3)
|
113
|
+
activerecord (= 6.1.3)
|
114
|
+
activestorage (= 6.1.3)
|
115
|
+
activesupport (= 6.1.3)
|
116
|
+
bundler (>= 1.15.0)
|
117
|
+
railties (= 6.1.3)
|
118
|
+
sprockets-rails (>= 2.0.0)
|
119
|
+
rails-dom-testing (2.0.3)
|
120
|
+
activesupport (>= 4.2.0)
|
121
|
+
nokogiri (>= 1.6)
|
122
|
+
rails-html-sanitizer (1.3.0)
|
123
|
+
loofah (~> 2.3)
|
124
|
+
railties (6.1.3)
|
125
|
+
actionpack (= 6.1.3)
|
126
|
+
activesupport (= 6.1.3)
|
127
|
+
method_source
|
128
|
+
rake (>= 0.8.7)
|
129
|
+
thor (~> 1.0)
|
130
|
+
rainbow (3.0.0)
|
131
|
+
rake (13.0.3)
|
132
|
+
regexp_parser (2.1.1)
|
133
|
+
rexml (3.2.4)
|
134
|
+
rspec (3.10.0)
|
135
|
+
rspec-core (~> 3.10.0)
|
136
|
+
rspec-expectations (~> 3.10.0)
|
137
|
+
rspec-mocks (~> 3.10.0)
|
138
|
+
rspec-core (3.10.1)
|
139
|
+
rspec-support (~> 3.10.0)
|
140
|
+
rspec-expectations (3.10.1)
|
141
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
142
|
+
rspec-support (~> 3.10.0)
|
143
|
+
rspec-mocks (3.10.2)
|
144
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
145
|
+
rspec-support (~> 3.10.0)
|
146
|
+
rspec-support (3.10.2)
|
147
|
+
rubocop (0.92.0)
|
148
|
+
parallel (~> 1.10)
|
149
|
+
parser (>= 2.7.1.5)
|
150
|
+
rainbow (>= 2.2.2, < 4.0)
|
151
|
+
regexp_parser (>= 1.7)
|
152
|
+
rexml
|
153
|
+
rubocop-ast (>= 0.5.0)
|
154
|
+
ruby-progressbar (~> 1.7)
|
155
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
156
|
+
rubocop-ast (1.4.1)
|
157
|
+
parser (>= 2.7.1.5)
|
158
|
+
rubocop-faker (1.1.0)
|
159
|
+
faker (>= 2.12.0)
|
160
|
+
rubocop (>= 0.82.0)
|
161
|
+
rubocop-rspec (1.44.1)
|
162
|
+
rubocop (~> 0.87)
|
163
|
+
rubocop-ast (>= 0.7.1)
|
164
|
+
ruby-progressbar (1.11.0)
|
165
|
+
sprockets (4.0.2)
|
166
|
+
concurrent-ruby (~> 1.0)
|
167
|
+
rack (> 1, < 3)
|
168
|
+
sprockets-rails (3.2.2)
|
169
|
+
actionpack (>= 4.0)
|
170
|
+
activesupport (>= 4.0)
|
171
|
+
sprockets (>= 3.0.0)
|
172
|
+
thor (1.1.0)
|
173
|
+
tzinfo (2.0.4)
|
174
|
+
concurrent-ruby (~> 1.0)
|
175
|
+
unicode-display_width (1.7.0)
|
176
|
+
websocket-driver (0.7.3)
|
177
|
+
websocket-extensions (>= 0.1.0)
|
178
|
+
websocket-extensions (0.1.5)
|
179
|
+
zeitwerk (2.4.2)
|
180
|
+
|
181
|
+
PLATFORMS
|
182
|
+
ruby
|
183
|
+
x86_64-linux
|
184
|
+
|
185
|
+
DEPENDENCIES
|
186
|
+
rake (~> 13.0)
|
187
|
+
rspec (~> 3.7)
|
188
|
+
rubocop (~> 0.92.0)
|
189
|
+
rubocop-faker (~> 1.1.0)
|
190
|
+
rubocop-rspec (~> 1.44.1)
|
191
|
+
voting_schemes-electionguard!
|
192
|
+
|
193
|
+
BUNDLED WITH
|
194
|
+
2.2.13
|
data/README.md
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# VotingSchemes::Electionguard
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/voting_schemes/electionguard`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'voting_schemes-electionguard'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle install
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install voting_schemes-electionguard
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/voting_schemes-electionguard.
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
//= link voting_schemes/electionguard/electionguard.js
|
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require "bundler/setup"
|
5
|
+
require "voting_schemes/electionguard"
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
# Pry.start
|
13
|
+
|
14
|
+
require "irb"
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "rails"
|
4
|
+
|
5
|
+
module VotingSchemes
|
6
|
+
module Electionguard
|
7
|
+
class Engine < ::Rails::Engine
|
8
|
+
isolate_namespace VotingSchemes::Electionguard
|
9
|
+
|
10
|
+
initializer "static assets" do |app|
|
11
|
+
app.middleware.insert_after(::Rack::Sendfile, ::ActionDispatch::Static, "#{root}/public")
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/voting_schemes/electionguard/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "voting_schemes-electionguard"
|
7
|
+
s.version = VotingSchemes::Electionguard::VERSION
|
8
|
+
s.authors = ["David Morcillo", "Svenja Schäfer", "Leonardo Diez", "Agustí B.R."]
|
9
|
+
s.email = ["david@codegram.com", "svenja@codegram.com", "leo@codegram.com", "agusti@codegram.com"]
|
10
|
+
|
11
|
+
s.summary = ""
|
12
|
+
s.description = ""
|
13
|
+
s.homepage = "https://github.com/decidim/decidim-bulletin-board"
|
14
|
+
s.license = "AGPL-3.0"
|
15
|
+
s.required_ruby_version = Gem::Requirement.new(">= 2.6.6")
|
16
|
+
|
17
|
+
# Specify which files should be added to the gem when it is released.
|
18
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
19
|
+
s.files = Dir.chdir(File.expand_path(__dir__)) do
|
20
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
21
|
+
end
|
22
|
+
s.bindir = "exe"
|
23
|
+
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
|
+
s.require_paths = ["lib"]
|
25
|
+
|
26
|
+
s.add_dependency "rails", ">= 5.0.0"
|
27
|
+
|
28
|
+
s.add_development_dependency "rake", "~> 13.0"
|
29
|
+
s.add_development_dependency "rspec", "~> 3.7"
|
30
|
+
end
|
metadata
ADDED
@@ -0,0 +1,106 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: voting_schemes-electionguard
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.15.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- David Morcillo
|
8
|
+
- Svenja Schäfer
|
9
|
+
- Leonardo Diez
|
10
|
+
- Agustí B.R.
|
11
|
+
autorequire:
|
12
|
+
bindir: exe
|
13
|
+
cert_chain: []
|
14
|
+
date: 2021-03-19 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: rails
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 5.0.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 5.0.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - "~>"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '13.0'
|
37
|
+
type: :development
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '13.0'
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: rspec
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - "~>"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '3.7'
|
51
|
+
type: :development
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '3.7'
|
58
|
+
description: ''
|
59
|
+
email:
|
60
|
+
- david@codegram.com
|
61
|
+
- svenja@codegram.com
|
62
|
+
- leo@codegram.com
|
63
|
+
- agusti@codegram.com
|
64
|
+
executables: []
|
65
|
+
extensions: []
|
66
|
+
extra_rdoc_files: []
|
67
|
+
files:
|
68
|
+
- ".gitignore"
|
69
|
+
- ".rspec"
|
70
|
+
- ".rubocop.yml"
|
71
|
+
- CHANGELOG.md
|
72
|
+
- Gemfile
|
73
|
+
- Gemfile.lock
|
74
|
+
- README.md
|
75
|
+
- Rakefile
|
76
|
+
- app/assets/config/manifest.js
|
77
|
+
- bin/console
|
78
|
+
- bin/setup
|
79
|
+
- lib/voting_schemes/electionguard.rb
|
80
|
+
- lib/voting_schemes/electionguard/engine.rb
|
81
|
+
- lib/voting_schemes/electionguard/version.rb
|
82
|
+
- voting_schemes-electionguard.gemspec
|
83
|
+
homepage: https://github.com/decidim/decidim-bulletin-board
|
84
|
+
licenses:
|
85
|
+
- AGPL-3.0
|
86
|
+
metadata: {}
|
87
|
+
post_install_message:
|
88
|
+
rdoc_options: []
|
89
|
+
require_paths:
|
90
|
+
- lib
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: 2.6.6
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0'
|
101
|
+
requirements: []
|
102
|
+
rubygems_version: 3.1.2
|
103
|
+
signing_key:
|
104
|
+
specification_version: 4
|
105
|
+
summary: ''
|
106
|
+
test_files: []
|