voting_schemes-dummy 0.15.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c4c5caf50c17e7ac196968eb14c2fbfc8359c9a1ec2b0341dab7d4f481bf6686
4
+ data.tar.gz: 2d522b13ead1f95cf95b76ebaa0c7659f8788c836405716895755a8b90386957
5
+ SHA512:
6
+ metadata.gz: 182290e97474233d0603c493fbb814e1f7033bd23a7dc638f97c5fc2fe2038d0737891034ead48acfa0f23d3450423001abe97b173b412d6f73589e1d96ca115
7
+ data.tar.gz: 0553a16342bc6c2a381ade9671f3e917e947c37471c98ac3d01e92cee1a4eee1cf67402a7f38b0fc94871646d3634a805118a2bd41ae1ac9735988234627507e
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+
13
+ # artifacts
14
+ /app/assets/javascripts/voting_schemes/dummy/dummy.js
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,9 @@
1
+ inherit_from: https://raw.githubusercontent.com/decidim/decidim/develop/.rubocop_ruby.yml
2
+
3
+ AllCops:
4
+ Include:
5
+ - "**/*.rb"
6
+ - "**/*.rake"
7
+ - "**/*.ru"
8
+ - "**/Gemfile"
9
+ - "**/Rakefile"
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2021-03-10
4
+
5
+ - Initial release
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in decidim-bulletin_board-dummy.gemspec
6
+ gemspec
7
+
8
+ gem "rubocop", "~> 0.92.0"
9
+ gem "rubocop-faker", "~> 1.1.0"
10
+ gem "rubocop-rspec", "~> 1.44.1"
data/Gemfile.lock ADDED
@@ -0,0 +1,194 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ voting_schemes-dummy (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-dummy!
192
+
193
+ BUNDLED WITH
194
+ 2.2.13
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # VotingSchemes::Dummy
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/dummy`. 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-dummy'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install voting_schemes-dummy
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-dummy.
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: [:spec, :rubocop]
@@ -0,0 +1 @@
1
+ //= link voting_schemes/dummy/dummy.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/dummy"
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,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "voting_schemes/dummy/version"
4
+ require "voting_schemes/dummy/engine"
5
+
6
+ module VotingSchemes
7
+ module Dummy
8
+ class Error < StandardError; end
9
+ # Your code goes here...
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rails"
4
+
5
+ module VotingSchemes
6
+ module Dummy
7
+ class Engine < ::Rails::Engine
8
+ isolate_namespace VotingSchemes::Dummy
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module VotingSchemes
4
+ module Dummy
5
+ VERSION = "0.15.1"
6
+ end
7
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/voting_schemes/dummy/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "voting_schemes-dummy"
7
+ s.version = VotingSchemes::Dummy::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-dummy
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/dummy.rb
80
+ - lib/voting_schemes/dummy/engine.rb
81
+ - lib/voting_schemes/dummy/version.rb
82
+ - voting_schemes-dummy.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: []