nerd_dice 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a086e74cddc4f811d4146417623ad53837c8a2f56f6291e0c0295fd6b3387bea
4
- data.tar.gz: 37432c518be2914f6b5d6e257a1a1bb73b9d40bd14222140a54439eaa760415a
3
+ metadata.gz: 59cbf041543aa370bebe104866bb2101ddef377679a6d7729deb2019af2d835c
4
+ data.tar.gz: 1671cd3594e2129a0034bde27214e498e2ca1068e6b3c7f1096513fc6fee6117
5
5
  SHA512:
6
- metadata.gz: 85de9d05f7da38504c720b54a6e85ad2aa5525d3cf099356f406f2d89121084835e4e6f38c595432c1aa2bf8b21c958bd2f3b81cf524a70c9b4564ed0488bc04
7
- data.tar.gz: 6a76948d771aa1c2dd5fb53fbd9f943eddc77971a457fb8c59ee6e0bd33c91603a8569eaff6e390a728fca391447a377e8c6dc7889c1eee4a289f1f8e00101b6
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
@@ -191,30 +188,6 @@ Lint/UselessAssignment:
191
188
  Lint/DeprecatedClassMethods:
192
189
  Enabled: true
193
190
 
194
- Lint/DuplicateBranch: # (new in 1.3)
195
- Enabled: true
196
-
197
- Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
198
- Enabled: true
199
-
200
- Lint/EmptyBlock: # (new in 1.1)
201
- Enabled: true
202
-
203
- Lint/EmptyClass: # (new in 1.3)
204
- Enabled: true
205
-
206
- Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
207
- Enabled: true
208
-
209
- Lint/ToEnumArguments: # (new in 1.1)
210
- Enabled: true
211
-
212
- Lint/UnexpectedBlockArity: # (new in 1.5)
213
- Enabled: true
214
-
215
- Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
216
- Enabled: true
217
-
218
191
  Style/ParenthesesAroundCondition:
219
192
  Enabled: true
220
193
 
@@ -236,27 +209,6 @@ Style/ColonMethodCall:
236
209
  Style/TrivialAccessors:
237
210
  Enabled: true
238
211
 
239
- Style/ArgumentsForwarding: # (new in 1.1)
240
- Enabled: true
241
-
242
- Style/CollectionCompact: # (new in 1.2)
243
- Enabled: true
244
-
245
- Style/DocumentDynamicEvalDefinition: # (new in 1.1)
246
- Enabled: true
247
-
248
- Style/NegatedIfElseCondition: # (new in 1.2)
249
- Enabled: true
250
-
251
- Style/NilLambda: # (new in 1.3)
252
- Enabled: true
253
-
254
- Style/RedundantArgument: # (new in 1.4)
255
- Enabled: true
256
-
257
- Style/SwapValues: # (new in 1.1)
258
- Enabled: true
259
-
260
212
  Performance/FlatMap:
261
213
  Enabled: true
262
214
 
@@ -275,41 +227,9 @@ Performance/RegexpMatch:
275
227
  Performance/UnfreezeString:
276
228
  Enabled: true
277
229
 
278
- Performance/AncestorsInclude: # (new in 1.7)
279
- Enabled: true
280
-
281
- Performance/BigDecimalWithNumericArgument: # (new in 1.7)
282
- Enabled: true
230
+ RSpec/MessageSpies:
231
+ EnforcedStyle: receive
283
232
 
284
- Performance/BlockGivenWithExplicitBlock: # (new in 1.9)
285
- Enabled: true
286
-
287
- Performance/CollectionLiteralInLoop: # (new in 1.8)
288
- Enabled: true
289
-
290
- Performance/ConstantRegexp: # (new in 1.9)
291
- Enabled: true
292
-
293
- Performance/MethodObjectAsBlock: # (new in 1.9)
294
- Enabled: true
295
-
296
- Performance/RedundantSortBlock: # (new in 1.7)
297
- Enabled: true
298
-
299
- Performance/RedundantStringChars: # (new in 1.7)
300
- Enabled: true
301
-
302
- Performance/ReverseFirst: # (new in 1.7)
303
- Enabled: true
304
-
305
- Performance/SortReverse: # (new in 1.7)
306
- Enabled: true
307
-
308
- Performance/Squeeze: # (new in 1.7)
309
- Enabled: true
310
-
311
- Performance/StringInclude: # (new in 1.7)
312
- Enabled: true
313
-
314
- Performance/Sum: # (new in 1.8)
315
- Enabled: true
233
+ # Disable inclusive language cop. None of RuboCop's business
234
+ Naming/InclusiveLanguage:
235
+ Enabled: false
data/CHANGELOG.md CHANGED
@@ -1,13 +1,8 @@
1
1
  # Nerd Dice Changelog
2
2
 
3
- ## master \(unreleased\)
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
- ## 0.1.1 \(2020-12-12\)
6
- ### Bug Fixes
7
- * Fix broken link to CHANGELOG in gemspec
8
- * Fix rubocop offenses from 0.1.0 and refactor specs
5
+ ## Legacy Branch: See master
6
+ This is a legacy maintenance branch.
9
7
 
10
- ## 0.1.0 \(2020-12-07\)
11
-
12
- ### New Features
13
- * 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
@@ -5,5 +5,5 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in nerd_dice.gemspec
6
6
  gemspec
7
7
 
8
- gem "rake", "~> 12.0"
9
- gem "rspec", "~> 3.0"
8
+ gem "rake", "~> 13.0"
9
+ gem "rspec", "~> 3.12"
data/Gemfile.lock CHANGED
@@ -1,66 +1,93 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nerd_dice (0.1.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.1)
10
- diff-lcs (1.4.4)
11
- parallel (1.20.1)
12
- parser (2.7.2.0)
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.0.0)
15
- rake (12.3.3)
16
- regexp_parser (1.8.2)
17
- rexml (3.2.3)
18
- rspec (3.10.0)
19
- rspec-core (~> 3.10.0)
20
- rspec-expectations (~> 3.10.0)
21
- rspec-mocks (~> 3.10.0)
22
- rspec-core (3.10.0)
23
- rspec-support (~> 3.10.0)
24
- rspec-expectations (3.10.0)
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.10.0)
27
- rspec-mocks (3.10.0)
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.10.0)
30
- rspec-support (3.10.0)
31
- rubocop (1.5.2)
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.7.1.5)
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.2.0, < 2.0)
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 (>= 1.4.0, < 2.0)
40
- rubocop-ast (1.3.0)
41
- parser (>= 2.7.1.5)
42
- rubocop-performance (1.9.1)
43
- rubocop (>= 0.90.0, < 2.0)
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.5.1)
46
- rubocop
47
- rubocop-rspec (2.0.1)
56
+ rubocop-rake (0.6.0)
48
57
  rubocop (~> 1.0)
49
- rubocop-ast (>= 1.1.0)
50
- ruby-progressbar (1.10.1)
51
- unicode-display_width (1.7.0)
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 (~> 12.0)
59
- rspec (~> 3.0)
60
- rubocop (~> 1.5, >= 1.5.2)
61
- rubocop-performance (~> 1.9, >= 1.9.1)
62
- rubocop-rake (~> 0.5, >= 0.5.1)
63
- rubocop-rspec (~> 2.0, >= 2.0.1)
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.1.4
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](https://github.com/statelesscode/nerd_dice/blob/master/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
 
@@ -7,7 +7,7 @@ version = ARGV[0]
7
7
  built_gem_path = "pkg/nerd_dice-#{version}.gem"
8
8
  checksum = Digest::SHA512.new.hexdigest(File.read(built_gem_path))
9
9
  checksum_path = "checksum/nerd_dice-#{version}.gem.sha512"
10
- File.open(checksum_path, "w") { |f| f.write(checksum) }
10
+ File.write(checksum_path, checksum)
11
11
  sha256 = Digest::SHA256.new.hexdigest(File.read(built_gem_path))
12
12
  checksum_256_path = "checksum/nerd_dice-#{version}.gem.sha256"
13
- File.open(checksum_256_path, "w") { |f| f.write(sha256) }
13
+ File.write(checksum_256_path, sha256)
@@ -1,26 +1,27 @@
1
1
  -----BEGIN CERTIFICATE-----
2
- MIIETTCCArWgAwIBAgIBATANBgkqhkiG9w0BAQsFADAoMSYwJAYDVQQDDB1zdGF0
3
- ZWxlc3Njb2RlL0RDPWdtYWlsL0RDPWNvbTAeFw0yMDEyMDYyMzQ1NTZaFw0yMTEy
4
- MDYyMzQ1NTZaMCgxJjAkBgNVBAMMHXN0YXRlbGV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ed2387a04601c7db2c0e43404dd325de1d2fbe394858973e6d9bb214d9b0f602cead65b7dc4fbcb46b
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NerdDice
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
data/nerd_dice.gemspec CHANGED
@@ -28,6 +28,7 @@ Gem::Specification.new do |spec|
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
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.
@@ -43,8 +44,13 @@ Gem::Specification.new do |spec|
43
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.add_development_dependency "rubocop", "~> 1.5", ">= 1.5.2"
47
- spec.add_development_dependency "rubocop-performance", "~> 1.9", ">= 1.9.1"
48
- spec.add_development_dependency "rubocop-rake", "~> 0.5", ">= 0.5.1"
49
- spec.add_development_dependency "rubocop-rspec", "~> 2.0", ">= 2.0.1"
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.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
- MIIETTCCArWgAwIBAgIBATANBgkqhkiG9w0BAQsFADAoMSYwJAYDVQQDDB1zdGF0
14
- ZWxlc3Njb2RlL0RDPWdtYWlsL0RDPWNvbTAeFw0yMDEyMDYyMzQ1NTZaFw0yMTEy
15
- MDYyMzQ1NTZaMCgxJjAkBgNVBAMMHXN0YXRlbGVzc2NvZGUvREM9Z21haWwvREM9
16
- Y29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAyHIMJi0o3bwBZsx5
17
- TQ35XByFsdDRsro3T+0NY7EAILtOiU04o9C2NPOp/RQE7BXQgMjGebwp6bT6QvzN
18
- 6noV4jPL7Fi5pWw08QygG7f+73YUBb+8d8o+3xGrC+UO5h1PZEtVcZwUWUG18QBE
19
- fbDinQT6P4IDQoZwhfrPCB+aBfUyQp4Ok7oD7MEWqsq9SjrSxqxfk4+oZdXUySe7
20
- Vi5vnzVQ5uFf56NHwWnNKCzJzmH84mBO5MzHaQpHNzKGJPoUmzLU5RBlCH6YXqBG
21
- KhXTMUDBWKJmJ3RDry/FpGgJLKu4wzFRYjXla6IjeKozWGuPNNJ+2mesXKhsX7bo
22
- vVCzRxPEupbEg/0FkJiWpiGlSPOdd6oJiwX8E6rlEeV605xrbOQewkbovHkYTMtG
23
- +NH+u08x0z4Oj71kmDLwuj812uS0mtrCg2VhiYO0ZCQ4XrwBsBfK+/MtMlR+o6sG
24
- /zvz/vHVJKaLTQxRp5oGo4QH6HfbOnwzTkXdZnt5AlN31ErJAgMBAAGjgYEwfzAJ
25
- BgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdB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bFwoJqW7syrso2PParyMr4YcJwucXViRiL7
34
+ l5aVpYdz/RTqdB92Mmud5Hj5zkuEE4CHBh8L8AJC5kZu/YUXXDtuECSMVhg5O84h
35
+ QsdcuygyVASmw2aliMAFXfIBDYelduG0XwjdOREN3q4SDTKP+pfBxx6OdD1RfsYF
36
+ /9HhtVbKLq34iQftF4oIH66bYDEyG5y4CLKQ8Nq0WDWq50OcaP9KpDiS21BC43SW
37
+ t+NX7PDOWx4k
37
38
  -----END CERTIFICATE-----
38
- date: 2020-12-12 00:00:00.000000000 Z
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.5'
81
+ version: '1.46'
47
82
  - - ">="
48
83
  - !ruby/object:Gem::Version
49
- version: 1.5.2
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.5'
91
+ version: '1.46'
57
92
  - - ">="
58
93
  - !ruby/object:Gem::Version
59
- version: 1.5.2
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.9'
101
+ version: '1.16'
67
102
  - - ">="
68
103
  - !ruby/object:Gem::Version
69
- version: 1.9.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.9'
111
+ version: '1.16'
77
112
  - - ">="
78
113
  - !ruby/object:Gem::Version
79
- version: 1.9.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.5'
121
+ version: '0.6'
87
122
  - - ">="
88
123
  - !ruby/object:Gem::Version
89
- version: 0.5.1
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.5'
131
+ version: '0.6'
97
132
  - - ">="
98
133
  - !ruby/object:Gem::Version
99
- version: 0.5.1
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.0'
141
+ version: '2.18'
107
142
  - - ">="
108
143
  - !ruby/object:Gem::Version
109
- version: 2.0.1
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.0'
151
+ version: '2.18'
117
152
  - - ">="
118
153
  - !ruby/object:Gem::Version
119
- version: 2.0.1
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
@@ -150,6 +199,8 @@ files:
150
199
  - certs/msducheminjr.pem
151
200
  - checksum/nerd_dice-0.1.0.gem.sha256
152
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
153
204
  - lib/nerd_dice.rb
154
205
  - lib/nerd_dice/version.rb
155
206
  - nerd_dice.gemspec
@@ -165,6 +216,7 @@ metadata:
165
216
  bug_tracker_uri: https://github.com/statelesscode/nerd_dice/issues
166
217
  documentation_uri: https://github.com/statelesscode/nerd_dice/README.md
167
218
  github_repo: https://github.com/statelesscode/nerd_dice
219
+ rubygems_mfa_required: 'true'
168
220
  post_install_message:
169
221
  rdoc_options: []
170
222
  require_paths:
@@ -180,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
232
  - !ruby/object:Gem::Version
181
233
  version: '0'
182
234
  requirements: []
183
- rubygems_version: 3.1.4
235
+ rubygems_version: 3.4.7
184
236
  signing_key:
185
237
  specification_version: 4
186
238
  summary: A Ruby Gem for rolling polyhedral dice.
metadata.gz.sig CHANGED
Binary file