nerd_dice 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.rubocop.yml +24 -96
- data/CHANGELOG.md +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +69 -42
- data/README.md +1 -2
- data/bin/generate_checksums +13 -0
- data/certs/msducheminjr.pem +27 -0
- data/checksum/nerd_dice-0.1.0.gem.sha256 +1 -0
- data/checksum/nerd_dice-0.1.0.gem.sha512 +1 -0
- data/checksum/nerd_dice-0.1.1.gem.sha256 +1 -0
- data/checksum/nerd_dice-0.1.1.gem.sha512 +1 -0
- data/lib/nerd_dice/version.rb +1 -1
- data/nerd_dice.gemspec +13 -7
- data.tar.gz.sig +0 -0
- metadata +102 -44
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59cbf041543aa370bebe104866bb2101ddef377679a6d7729deb2019af2d835c
|
4
|
+
data.tar.gz: 1671cd3594e2129a0034bde27214e498e2ca1068e6b3c7f1096513fc6fee6117
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74c5833bb18c567d482e6e093ac50cf19ad5d1d63003e2431505f5b0f82259ef353a9ae9259ee8d2fb331dc4fe72d69f2f7dfe0cc603f18a53e4287c33412092
|
7
|
+
data.tar.gz: e3e2a4ca90c468183c2eed3490ec36c4efc038494aaeaeaecb73e288a6d66e9b37a51bf9c42adb762ef8b04e645fbe52315570ebb9d1249be2bedfd964e500ad
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/.rubocop.yml
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# RuboCop configuration file for NerdDice gem
|
2
|
+
#
|
3
|
+
# This is the RuboCop configuration for the gem. By default new cops are enabled
|
4
|
+
# by default when the RuboCop gems are updated in the bundle. Before the would
|
5
|
+
# show up as warnings until they were added to the configuration file. Now they
|
6
|
+
# will be enabled by default, and a case-by-case descision can be made whether
|
7
|
+
# to exclude new violations in the configuration explicitly or update the
|
8
|
+
# codebase to the gem to conform to the new standard.
|
1
9
|
require:
|
2
10
|
- rubocop-performance
|
3
11
|
- rubocop-rake
|
@@ -8,14 +16,12 @@ AllCops:
|
|
8
16
|
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
|
9
17
|
# to ignore them, so only the ones explicitly set in this file are enabled.
|
10
18
|
#DisabledByDefault: true
|
19
|
+
|
20
|
+
# New cops are now enabled by default as of 2023-02-20
|
21
|
+
NewCops: enable
|
11
22
|
Exclude:
|
12
23
|
- '**/templates/**/*'
|
13
24
|
- '**/vendor/**/*'
|
14
|
-
- 'node_modules/**/*'
|
15
|
-
|
16
|
-
Performance:
|
17
|
-
Exclude:
|
18
|
-
- '**/test/**/*'
|
19
25
|
|
20
26
|
# Prefer &&/|| over and/or.
|
21
27
|
Style/AndOr:
|
@@ -111,15 +117,6 @@ Style/MethodDefParentheses:
|
|
111
117
|
Style/FrozenStringLiteralComment:
|
112
118
|
Enabled: true
|
113
119
|
EnforcedStyle: always
|
114
|
-
Exclude:
|
115
|
-
- 'actionview/test/**/*.builder'
|
116
|
-
- 'actionview/test/**/*.ruby'
|
117
|
-
- 'actionpack/test/**/*.builder'
|
118
|
-
- 'actionpack/test/**/*.ruby'
|
119
|
-
- 'activestorage/db/migrate/**/*.rb'
|
120
|
-
- 'activestorage/db/update_migrate/**/*.rb'
|
121
|
-
- 'actionmailbox/db/migrate/**/*.rb'
|
122
|
-
- 'actiontext/db/migrate/**/*.rb'
|
123
120
|
|
124
121
|
Style/RedundantFreeze:
|
125
122
|
Enabled: true
|
@@ -161,6 +158,14 @@ Layout/TrailingWhitespace:
|
|
161
158
|
Style/RedundantPercentQ:
|
162
159
|
Enabled: true
|
163
160
|
|
161
|
+
# exclude spec from block length
|
162
|
+
Metrics/BlockLength:
|
163
|
+
Exclude:
|
164
|
+
- 'Rakefile'
|
165
|
+
- '**/*.rake'
|
166
|
+
- 'spec/**/*.rb'
|
167
|
+
- 'nerd_dice.gemspec'
|
168
|
+
|
164
169
|
Lint/ErbNewArguments:
|
165
170
|
Enabled: true
|
166
171
|
|
@@ -183,30 +188,6 @@ Lint/UselessAssignment:
|
|
183
188
|
Lint/DeprecatedClassMethods:
|
184
189
|
Enabled: true
|
185
190
|
|
186
|
-
Lint/DuplicateBranch: # (new in 1.3)
|
187
|
-
Enabled: true
|
188
|
-
|
189
|
-
Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
|
190
|
-
Enabled: true
|
191
|
-
|
192
|
-
Lint/EmptyBlock: # (new in 1.1)
|
193
|
-
Enabled: true
|
194
|
-
|
195
|
-
Lint/EmptyClass: # (new in 1.3)
|
196
|
-
Enabled: true
|
197
|
-
|
198
|
-
Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
|
199
|
-
Enabled: true
|
200
|
-
|
201
|
-
Lint/ToEnumArguments: # (new in 1.1)
|
202
|
-
Enabled: true
|
203
|
-
|
204
|
-
Lint/UnexpectedBlockArity: # (new in 1.5)
|
205
|
-
Enabled: true
|
206
|
-
|
207
|
-
Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
|
208
|
-
Enabled: true
|
209
|
-
|
210
191
|
Style/ParenthesesAroundCondition:
|
211
192
|
Enabled: true
|
212
193
|
|
@@ -228,27 +209,6 @@ Style/ColonMethodCall:
|
|
228
209
|
Style/TrivialAccessors:
|
229
210
|
Enabled: true
|
230
211
|
|
231
|
-
Style/ArgumentsForwarding: # (new in 1.1)
|
232
|
-
Enabled: true
|
233
|
-
|
234
|
-
Style/CollectionCompact: # (new in 1.2)
|
235
|
-
Enabled: true
|
236
|
-
|
237
|
-
Style/DocumentDynamicEvalDefinition: # (new in 1.1)
|
238
|
-
Enabled: true
|
239
|
-
|
240
|
-
Style/NegatedIfElseCondition: # (new in 1.2)
|
241
|
-
Enabled: true
|
242
|
-
|
243
|
-
Style/NilLambda: # (new in 1.3)
|
244
|
-
Enabled: true
|
245
|
-
|
246
|
-
Style/RedundantArgument: # (new in 1.4)
|
247
|
-
Enabled: true
|
248
|
-
|
249
|
-
Style/SwapValues: # (new in 1.1)
|
250
|
-
Enabled: true
|
251
|
-
|
252
212
|
Performance/FlatMap:
|
253
213
|
Enabled: true
|
254
214
|
|
@@ -267,41 +227,9 @@ Performance/RegexpMatch:
|
|
267
227
|
Performance/UnfreezeString:
|
268
228
|
Enabled: true
|
269
229
|
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
Performance/BigDecimalWithNumericArgument: # (new in 1.7)
|
274
|
-
Enabled: true
|
275
|
-
|
276
|
-
Performance/BlockGivenWithExplicitBlock: # (new in 1.9)
|
277
|
-
Enabled: true
|
278
|
-
|
279
|
-
Performance/CollectionLiteralInLoop: # (new in 1.8)
|
280
|
-
Enabled: true
|
281
|
-
|
282
|
-
Performance/ConstantRegexp: # (new in 1.9)
|
283
|
-
Enabled: true
|
284
|
-
|
285
|
-
Performance/MethodObjectAsBlock: # (new in 1.9)
|
286
|
-
Enabled: true
|
287
|
-
|
288
|
-
Performance/RedundantSortBlock: # (new in 1.7)
|
289
|
-
Enabled: true
|
290
|
-
|
291
|
-
Performance/RedundantStringChars: # (new in 1.7)
|
292
|
-
Enabled: true
|
293
|
-
|
294
|
-
Performance/ReverseFirst: # (new in 1.7)
|
295
|
-
Enabled: true
|
230
|
+
RSpec/MessageSpies:
|
231
|
+
EnforcedStyle: receive
|
296
232
|
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
Performance/Squeeze: # (new in 1.7)
|
301
|
-
Enabled: true
|
302
|
-
|
303
|
-
Performance/StringInclude: # (new in 1.7)
|
304
|
-
Enabled: true
|
305
|
-
|
306
|
-
Performance/Sum: # (new in 1.8)
|
307
|
-
Enabled: true
|
233
|
+
# Disable inclusive language cop. None of RuboCop's business
|
234
|
+
Naming/InclusiveLanguage:
|
235
|
+
Enabled: false
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Nerd Dice Changelog
|
2
2
|
|
3
|
-
|
3
|
+
<img src="https://i.kym-cdn.com/photos/images/newsfeed/000/186/610/thankyou.png?1318726198" alt="Our CHANGELOG is in another castle" />
|
4
4
|
|
5
|
-
##
|
5
|
+
## Legacy Branch: See master
|
6
|
+
This is a legacy maintenance branch.
|
6
7
|
|
7
|
-
|
8
|
-
* Add NerdDice.total_dice class method with the ability to roll multiple polyhedral dice and add a bonus
|
8
|
+
The [authoritative version of the CHANGELOG](https://github.com/statelesscode/nerd_dice/blob/master/CHANGELOG.md) is found on the master branch. All other release and maintenance branches are updated to point to master after being created.
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,66 +1,93 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
nerd_dice (0.1.
|
4
|
+
nerd_dice (0.1.2)
|
5
|
+
securerandom (~> 0.2, >= 0.2.2)
|
5
6
|
|
6
7
|
GEM
|
7
8
|
remote: https://rubygems.org/
|
8
9
|
specs:
|
9
|
-
ast (2.4.
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
ast (2.4.2)
|
11
|
+
coveralls_reborn (0.27.0)
|
12
|
+
simplecov (~> 0.22.0)
|
13
|
+
term-ansicolor (~> 1.7)
|
14
|
+
thor (~> 1.2)
|
15
|
+
tins (~> 1.32)
|
16
|
+
diff-lcs (1.5.0)
|
17
|
+
docile (1.4.0)
|
18
|
+
json (2.6.3)
|
19
|
+
parallel (1.22.1)
|
20
|
+
parser (3.2.1.0)
|
13
21
|
ast (~> 2.4.1)
|
14
|
-
rainbow (3.
|
15
|
-
rake (
|
16
|
-
regexp_parser (
|
17
|
-
rexml (3.2.
|
18
|
-
rspec (3.
|
19
|
-
rspec-core (~> 3.
|
20
|
-
rspec-expectations (~> 3.
|
21
|
-
rspec-mocks (~> 3.
|
22
|
-
rspec-core (3.
|
23
|
-
rspec-support (~> 3.
|
24
|
-
rspec-expectations (3.
|
22
|
+
rainbow (3.1.1)
|
23
|
+
rake (13.0.6)
|
24
|
+
regexp_parser (2.7.0)
|
25
|
+
rexml (3.2.5)
|
26
|
+
rspec (3.12.0)
|
27
|
+
rspec-core (~> 3.12.0)
|
28
|
+
rspec-expectations (~> 3.12.0)
|
29
|
+
rspec-mocks (~> 3.12.0)
|
30
|
+
rspec-core (3.12.1)
|
31
|
+
rspec-support (~> 3.12.0)
|
32
|
+
rspec-expectations (3.12.2)
|
25
33
|
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
-
rspec-support (~> 3.
|
27
|
-
rspec-mocks (3.
|
34
|
+
rspec-support (~> 3.12.0)
|
35
|
+
rspec-mocks (3.12.3)
|
28
36
|
diff-lcs (>= 1.2.0, < 2.0)
|
29
|
-
rspec-support (~> 3.
|
30
|
-
rspec-support (3.
|
31
|
-
rubocop (1.
|
37
|
+
rspec-support (~> 3.12.0)
|
38
|
+
rspec-support (3.12.0)
|
39
|
+
rubocop (1.46.0)
|
40
|
+
json (~> 2.3)
|
32
41
|
parallel (~> 1.10)
|
33
|
-
parser (>= 2.
|
42
|
+
parser (>= 3.2.0.0)
|
34
43
|
rainbow (>= 2.2.2, < 4.0)
|
35
44
|
regexp_parser (>= 1.8, < 3.0)
|
36
|
-
rexml
|
37
|
-
rubocop-ast (>= 1.
|
45
|
+
rexml (>= 3.2.5, < 4.0)
|
46
|
+
rubocop-ast (>= 1.26.0, < 2.0)
|
38
47
|
ruby-progressbar (~> 1.7)
|
39
|
-
unicode-display_width (>=
|
40
|
-
rubocop-ast (1.
|
41
|
-
parser (>= 2.
|
42
|
-
rubocop-
|
43
|
-
rubocop (
|
48
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
49
|
+
rubocop-ast (1.26.0)
|
50
|
+
parser (>= 3.2.1.0)
|
51
|
+
rubocop-capybara (2.17.1)
|
52
|
+
rubocop (~> 1.41)
|
53
|
+
rubocop-performance (1.16.0)
|
54
|
+
rubocop (>= 1.7.0, < 2.0)
|
44
55
|
rubocop-ast (>= 0.4.0)
|
45
|
-
rubocop-rake (0.
|
46
|
-
rubocop
|
47
|
-
rubocop-rspec (2.0.1)
|
56
|
+
rubocop-rake (0.6.0)
|
48
57
|
rubocop (~> 1.0)
|
49
|
-
|
50
|
-
|
51
|
-
|
58
|
+
rubocop-rspec (2.18.1)
|
59
|
+
rubocop (~> 1.33)
|
60
|
+
rubocop-capybara (~> 2.17)
|
61
|
+
ruby-progressbar (1.11.0)
|
62
|
+
securerandom (0.2.2)
|
63
|
+
simplecov (0.22.0)
|
64
|
+
docile (~> 1.1)
|
65
|
+
simplecov-html (~> 0.11)
|
66
|
+
simplecov_json_formatter (~> 0.1)
|
67
|
+
simplecov-html (0.12.3)
|
68
|
+
simplecov-lcov (0.8.0)
|
69
|
+
simplecov_json_formatter (0.1.4)
|
70
|
+
sync (0.5.0)
|
71
|
+
term-ansicolor (1.7.1)
|
72
|
+
tins (~> 1.0)
|
73
|
+
thor (1.2.1)
|
74
|
+
tins (1.32.1)
|
75
|
+
sync
|
76
|
+
unicode-display_width (2.4.2)
|
52
77
|
|
53
78
|
PLATFORMS
|
54
79
|
ruby
|
55
80
|
|
56
81
|
DEPENDENCIES
|
82
|
+
coveralls_reborn (~> 0.27.0)
|
57
83
|
nerd_dice!
|
58
|
-
rake (~>
|
59
|
-
rspec (~> 3.
|
60
|
-
rubocop (~> 1.
|
61
|
-
rubocop-performance (~> 1.
|
62
|
-
rubocop-rake (~> 0.
|
63
|
-
rubocop-rspec (~> 2.
|
84
|
+
rake (~> 13.0)
|
85
|
+
rspec (~> 3.12)
|
86
|
+
rubocop (~> 1.46, >= 1.46.0)
|
87
|
+
rubocop-performance (~> 1.16, >= 1.16.0)
|
88
|
+
rubocop-rake (~> 0.6, >= 0.6.0)
|
89
|
+
rubocop-rspec (~> 2.18, >= 2.18.1)
|
90
|
+
simplecov-lcov (~> 0.8.0)
|
64
91
|
|
65
92
|
BUNDLED WITH
|
66
|
-
2.
|
93
|
+
2.4.7
|
data/README.md
CHANGED
@@ -39,8 +39,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
39
39
|
|
40
40
|
## Contributing
|
41
41
|
|
42
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/statelesscode/nerd_dice/issues. We welcome and encourage your participation in this open-source project. We welcome those of all backgrounds and abilities, but we refuse to adopt the Contributor Covenant for reasons outlined in [BURN_THE_CONTRIBUTOR_COVENANT_WITH_FIRE.md](
|
43
|
-
|
42
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/statelesscode/nerd_dice/issues. We welcome and encourage your participation in this open-source project. We welcome those of all backgrounds and abilities, but we refuse to adopt the Contributor Covenant for reasons outlined in [BURN_THE_CONTRIBUTOR_COVENANT_WITH_FIRE.md](BURN_THE_CONTRIBUTOR_COVENANT_WITH_FIRE.md)
|
44
43
|
|
45
44
|
## Unlicense, License, and Copyright
|
46
45
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require "digest/sha2"
|
5
|
+
|
6
|
+
version = ARGV[0]
|
7
|
+
built_gem_path = "pkg/nerd_dice-#{version}.gem"
|
8
|
+
checksum = Digest::SHA512.new.hexdigest(File.read(built_gem_path))
|
9
|
+
checksum_path = "checksum/nerd_dice-#{version}.gem.sha512"
|
10
|
+
File.write(checksum_path, checksum)
|
11
|
+
sha256 = Digest::SHA256.new.hexdigest(File.read(built_gem_path))
|
12
|
+
checksum_256_path = "checksum/nerd_dice-#{version}.gem.sha256"
|
13
|
+
File.write(checksum_256_path, sha256)
|
@@ -0,0 +1,27 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIEhTCCAu2gAwIBAgIBATANBgkqhkiG9w0BAQsFADBEMRYwFAYDVQQDDA1zdGF0
|
3
|
+
ZWxlc3Njb2RlMRUwEwYKCZImiZPyLGQBGRY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taR6OV7p1IJOsvVgGQzVg88NIOeXrfOaEDUPb6eg4JMOSL0Cvvl
|
19
|
+
2F7lB/ykbQcO4Oe7NucuavC7ClyG3c/V5eQ5TtPNWkMbVN9ESVR8wk5SjhiI8L35
|
20
|
+
MBxJ6YU27eyDmazQJ7eCYcRJkuyWt3KcqgsEh7JyNnKcJ/3rgf1QW0IyJiGsXM1I
|
21
|
+
SssQ/t7Ia2tVMrVMsvs834v9FRpVbO3dHdCO4t7zQBIADVcj4NqCDV10D6aji/Aa
|
22
|
+
35YJHwlkhuZH6AYC45QHt9dW0/OLmbFwoJqW7syrso2PParyMr4YcJwucXViRiL7
|
23
|
+
l5aVpYdz/RTqdB92Mmud5Hj5zkuEE4CHBh8L8AJC5kZu/YUXXDtuECSMVhg5O84h
|
24
|
+
QsdcuygyVASmw2aliMAFXfIBDYelduG0XwjdOREN3q4SDTKP+pfBxx6OdD1RfsYF
|
25
|
+
/9HhtVbKLq34iQftF4oIH66bYDEyG5y4CLKQ8Nq0WDWq50OcaP9KpDiS21BC43SW
|
26
|
+
t+NX7PDOWx4k
|
27
|
+
-----END CERTIFICATE-----
|
@@ -0,0 +1 @@
|
|
1
|
+
39c9724b0b40e17b309b71343c5b6838f401fa9660ac53c4be8d4b0050904da3
|
@@ -0,0 +1 @@
|
|
1
|
+
58f15bb3c270b530f3620afd53d17981c48871aba61b205c8cb012ae8f396bbac905d46d32f657399f787b4c8aaf3572aab030a4bfa81c1b7d9ff1b060aa5b82
|
@@ -0,0 +1 @@
|
|
1
|
+
3b8e94b12954afbeb9c08746c57a19e06dc2405cb0e74f500d0111ef99e97f72
|
@@ -0,0 +1 @@
|
|
1
|
+
469f2104263dbf07ab0e83e04a3b08087b3f64a7702143ed2387a04601c7db2c0e43404dd325de1d2fbe394858973e6d9bb214d9b0f602cead65b7dc4fbcb46b
|
data/lib/nerd_dice/version.rb
CHANGED
data/nerd_dice.gemspec
CHANGED
@@ -24,10 +24,11 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.metadata["homepage_uri"] = spec.homepage
|
26
26
|
spec.metadata["source_code_uri"] = "https://github.com/statelesscode/nerd_dice"
|
27
|
-
spec.metadata["changelog_uri"] = "https://github.com/statelesscode/nerd_dice/CHANGELOG.md"
|
27
|
+
spec.metadata["changelog_uri"] = "https://github.com/statelesscode/nerd_dice/blob/master/CHANGELOG.md"
|
28
28
|
spec.metadata["bug_tracker_uri"] = "https://github.com/statelesscode/nerd_dice/issues"
|
29
29
|
spec.metadata["documentation_uri"] = "https://github.com/statelesscode/nerd_dice/README.md"
|
30
|
-
spec.metadata["
|
30
|
+
spec.metadata["github_repo"] = "https://github.com/statelesscode/nerd_dice"
|
31
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
31
32
|
|
32
33
|
# Specify which files should be added to the gem when it is released.
|
33
34
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -40,11 +41,16 @@ Gem::Specification.new do |spec|
|
|
40
41
|
|
41
42
|
# Certs and signing
|
42
43
|
spec.cert_chain = ["certs/msducheminjr.pem"]
|
43
|
-
spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $PROGRAM_NAME.
|
44
|
+
spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $PROGRAM_NAME.end_with?("gem")
|
44
45
|
|
45
46
|
# Dependencies
|
46
|
-
spec.
|
47
|
-
|
48
|
-
|
49
|
-
spec.add_development_dependency "
|
47
|
+
spec.add_dependency "securerandom", "~> 0.2", ">= 0.2.2"
|
48
|
+
|
49
|
+
# Development Dependencies
|
50
|
+
spec.add_development_dependency "coveralls_reborn", "~> 0.27.0"
|
51
|
+
spec.add_development_dependency "rubocop", "~> 1.46", ">= 1.46.0"
|
52
|
+
spec.add_development_dependency "rubocop-performance", "~> 1.16", ">= 1.16.0"
|
53
|
+
spec.add_development_dependency "rubocop-rake", "~> 0.6", ">= 0.6.0"
|
54
|
+
spec.add_development_dependency "rubocop-rspec", "~> 2.18", ">= 2.18.1"
|
55
|
+
spec.add_development_dependency "simplecov-lcov", "~> 0.8.0"
|
50
56
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nerd_dice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Duchemin
|
@@ -10,113 +10,162 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
/
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
13
|
+
MIIEhTCCAu2gAwIBAgIBATANBgkqhkiG9w0BAQsFADBEMRYwFAYDVQQDDA1zdGF0
|
14
|
+
ZWxlc3Njb2RlMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZ
|
15
|
+
FgNjb20wHhcNMjMwMjIzMjMyMTQwWhcNMjQwMjIzMjMyMTQwWjBEMRYwFAYDVQQD
|
16
|
+
DA1zdGF0ZWxlc3Njb2RlMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJ
|
17
|
+
k/IsZAEZFgNjb20wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCxVzHS
|
18
|
+
gYszan//tjTSO0z59UO1rUiT5G0//iyhiaYIiuwxhYFbfD+wOCou4M18pQtEb4qx
|
19
|
+
o67tPfGimBAVak6fGfo8fo1ByHiKCvx3jgOjxNifT9pRFlBSr6ZvyXeu7zA0ddLr
|
20
|
+
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UXXDtuECSMVhg5O84h
|
35
|
+
QsdcuygyVASmw2aliMAFXfIBDYelduG0XwjdOREN3q4SDTKP+pfBxx6OdD1RfsYF
|
36
|
+
/9HhtVbKLq34iQftF4oIH66bYDEyG5y4CLKQ8Nq0WDWq50OcaP9KpDiS21BC43SW
|
37
|
+
t+NX7PDOWx4k
|
37
38
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
39
|
+
date: 2023-02-24 00:00:00.000000000 Z
|
39
40
|
dependencies:
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: securerandom
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.2'
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 0.2.2
|
51
|
+
type: :runtime
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '0.2'
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.2.2
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: coveralls_reborn
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 0.27.0
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 0.27.0
|
40
75
|
- !ruby/object:Gem::Dependency
|
41
76
|
name: rubocop
|
42
77
|
requirement: !ruby/object:Gem::Requirement
|
43
78
|
requirements:
|
44
79
|
- - "~>"
|
45
80
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
81
|
+
version: '1.46'
|
47
82
|
- - ">="
|
48
83
|
- !ruby/object:Gem::Version
|
49
|
-
version: 1.
|
84
|
+
version: 1.46.0
|
50
85
|
type: :development
|
51
86
|
prerelease: false
|
52
87
|
version_requirements: !ruby/object:Gem::Requirement
|
53
88
|
requirements:
|
54
89
|
- - "~>"
|
55
90
|
- !ruby/object:Gem::Version
|
56
|
-
version: '1.
|
91
|
+
version: '1.46'
|
57
92
|
- - ">="
|
58
93
|
- !ruby/object:Gem::Version
|
59
|
-
version: 1.
|
94
|
+
version: 1.46.0
|
60
95
|
- !ruby/object:Gem::Dependency
|
61
96
|
name: rubocop-performance
|
62
97
|
requirement: !ruby/object:Gem::Requirement
|
63
98
|
requirements:
|
64
99
|
- - "~>"
|
65
100
|
- !ruby/object:Gem::Version
|
66
|
-
version: '1.
|
101
|
+
version: '1.16'
|
67
102
|
- - ">="
|
68
103
|
- !ruby/object:Gem::Version
|
69
|
-
version: 1.
|
104
|
+
version: 1.16.0
|
70
105
|
type: :development
|
71
106
|
prerelease: false
|
72
107
|
version_requirements: !ruby/object:Gem::Requirement
|
73
108
|
requirements:
|
74
109
|
- - "~>"
|
75
110
|
- !ruby/object:Gem::Version
|
76
|
-
version: '1.
|
111
|
+
version: '1.16'
|
77
112
|
- - ">="
|
78
113
|
- !ruby/object:Gem::Version
|
79
|
-
version: 1.
|
114
|
+
version: 1.16.0
|
80
115
|
- !ruby/object:Gem::Dependency
|
81
116
|
name: rubocop-rake
|
82
117
|
requirement: !ruby/object:Gem::Requirement
|
83
118
|
requirements:
|
84
119
|
- - "~>"
|
85
120
|
- !ruby/object:Gem::Version
|
86
|
-
version: '0.
|
121
|
+
version: '0.6'
|
87
122
|
- - ">="
|
88
123
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
124
|
+
version: 0.6.0
|
90
125
|
type: :development
|
91
126
|
prerelease: false
|
92
127
|
version_requirements: !ruby/object:Gem::Requirement
|
93
128
|
requirements:
|
94
129
|
- - "~>"
|
95
130
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0.
|
131
|
+
version: '0.6'
|
97
132
|
- - ">="
|
98
133
|
- !ruby/object:Gem::Version
|
99
|
-
version: 0.
|
134
|
+
version: 0.6.0
|
100
135
|
- !ruby/object:Gem::Dependency
|
101
136
|
name: rubocop-rspec
|
102
137
|
requirement: !ruby/object:Gem::Requirement
|
103
138
|
requirements:
|
104
139
|
- - "~>"
|
105
140
|
- !ruby/object:Gem::Version
|
106
|
-
version: '2.
|
141
|
+
version: '2.18'
|
107
142
|
- - ">="
|
108
143
|
- !ruby/object:Gem::Version
|
109
|
-
version: 2.
|
144
|
+
version: 2.18.1
|
110
145
|
type: :development
|
111
146
|
prerelease: false
|
112
147
|
version_requirements: !ruby/object:Gem::Requirement
|
113
148
|
requirements:
|
114
149
|
- - "~>"
|
115
150
|
- !ruby/object:Gem::Version
|
116
|
-
version: '2.
|
151
|
+
version: '2.18'
|
117
152
|
- - ">="
|
118
153
|
- !ruby/object:Gem::Version
|
119
|
-
version: 2.
|
154
|
+
version: 2.18.1
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: simplecov-lcov
|
157
|
+
requirement: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - "~>"
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: 0.8.0
|
162
|
+
type: :development
|
163
|
+
prerelease: false
|
164
|
+
version_requirements: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - "~>"
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: 0.8.0
|
120
169
|
description: |2
|
121
170
|
Nerd dice allows you to roll polyhedral dice and add bonuses as you would in
|
122
171
|
a tabletop roleplaying game. You can choose to roll multiple dice and keep a
|
@@ -127,6 +176,7 @@ email:
|
|
127
176
|
- statelesscode@gmail.com
|
128
177
|
executables:
|
129
178
|
- console
|
179
|
+
- generate_checksums
|
130
180
|
- setup
|
131
181
|
extensions: []
|
132
182
|
extra_rdoc_files: []
|
@@ -144,7 +194,13 @@ files:
|
|
144
194
|
- Rakefile
|
145
195
|
- UNLICENSE.txt
|
146
196
|
- bin/console
|
197
|
+
- bin/generate_checksums
|
147
198
|
- bin/setup
|
199
|
+
- certs/msducheminjr.pem
|
200
|
+
- checksum/nerd_dice-0.1.0.gem.sha256
|
201
|
+
- checksum/nerd_dice-0.1.0.gem.sha512
|
202
|
+
- checksum/nerd_dice-0.1.1.gem.sha256
|
203
|
+
- checksum/nerd_dice-0.1.1.gem.sha512
|
148
204
|
- lib/nerd_dice.rb
|
149
205
|
- lib/nerd_dice/version.rb
|
150
206
|
- nerd_dice.gemspec
|
@@ -156,9 +212,11 @@ metadata:
|
|
156
212
|
allowed_push_host: https://rubygems.org
|
157
213
|
homepage_uri: https://github.com/statelesscode/nerd_dice
|
158
214
|
source_code_uri: https://github.com/statelesscode/nerd_dice
|
159
|
-
changelog_uri: https://github.com/statelesscode/nerd_dice/CHANGELOG.md
|
215
|
+
changelog_uri: https://github.com/statelesscode/nerd_dice/blob/master/CHANGELOG.md
|
160
216
|
bug_tracker_uri: https://github.com/statelesscode/nerd_dice/issues
|
161
217
|
documentation_uri: https://github.com/statelesscode/nerd_dice/README.md
|
218
|
+
github_repo: https://github.com/statelesscode/nerd_dice
|
219
|
+
rubygems_mfa_required: 'true'
|
162
220
|
post_install_message:
|
163
221
|
rdoc_options: []
|
164
222
|
require_paths:
|
@@ -174,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
232
|
- !ruby/object:Gem::Version
|
175
233
|
version: '0'
|
176
234
|
requirements: []
|
177
|
-
rubygems_version: 3.
|
235
|
+
rubygems_version: 3.4.7
|
178
236
|
signing_key:
|
179
237
|
specification_version: 4
|
180
238
|
summary: A Ruby Gem for rolling polyhedral dice.
|
metadata.gz.sig
CHANGED
Binary file
|