nerd_dice 0.1.0 → 0.1.1

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: 9829d6b43a9548f57a3c8ed8d9bb37955b7d78c3a96216b337184fc56271c6e7
4
- data.tar.gz: 42143651b8e4feb48321f088de10adae1e2b16fcf5c945421017d81d8824e353
3
+ metadata.gz: a086e74cddc4f811d4146417623ad53837c8a2f56f6291e0c0295fd6b3387bea
4
+ data.tar.gz: 37432c518be2914f6b5d6e257a1a1bb73b9d40bd14222140a54439eaa760415a
5
5
  SHA512:
6
- metadata.gz: 87fd79c32d6b160705ab428273553e4d805bdfdd537f5b9695425701f1db281e6cd557c3266fc49148b1567126c1ef741178d42be0a64e08750db773cc25edd8
7
- data.tar.gz: 891670ff69791edb4c72008e112c4a11eb681bad56b1d914571466c94630ad4c1b3cafeb17811f1d75c81c7969e221e3b6b9ff5d2baf52521617008b7c9d8059
6
+ metadata.gz: 85de9d05f7da38504c720b54a6e85ad2aa5525d3cf099356f406f2d89121084835e4e6f38c595432c1aa2bf8b21c958bd2f3b81cf524a70c9b4564ed0488bc04
7
+ data.tar.gz: 6a76948d771aa1c2dd5fb53fbd9f943eddc77971a457fb8c59ee6e0bd33c91603a8569eaff6e390a728fca391447a377e8c6dc7889c1eee4a289f1f8e00101b6
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -161,6 +161,14 @@ Layout/TrailingWhitespace:
161
161
  Style/RedundantPercentQ:
162
162
  Enabled: true
163
163
 
164
+ # exclude spec from block length
165
+ Metrics/BlockLength:
166
+ Exclude:
167
+ - 'Rakefile'
168
+ - '**/*.rake'
169
+ - 'spec/**/*.rb'
170
+ - 'nerd_dice.gemspec'
171
+
164
172
  Lint/ErbNewArguments:
165
173
  Enabled: true
166
174
 
@@ -2,7 +2,12 @@
2
2
 
3
3
  ## master \(unreleased\)
4
4
 
5
- ## 0.1.0 \(2020-12-06\)
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
9
+
10
+ ## 0.1.0 \(2020-12-07\)
6
11
 
7
12
  ### New Features
8
13
  * Add NerdDice.total_dice class method with the ability to roll multiple polyhedral dice and add a bonus
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nerd_dice (0.1.0)
4
+ nerd_dice (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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.open(checksum_path, "w") { |f| f.write(checksum) }
11
+ sha256 = Digest::SHA256.new.hexdigest(File.read(built_gem_path))
12
+ checksum_256_path = "checksum/nerd_dice-#{version}.gem.sha256"
13
+ File.open(checksum_256_path, "w") { |f| f.write(sha256) }
@@ -0,0 +1,26 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIETTCCArWgAwIBAgIBATANBgkqhkiG9w0BAQsFADAoMSYwJAYDVQQDDB1zdGF0
3
+ ZWxlc3Njb2RlL0RDPWdtYWlsL0RDPWNvbTAeFw0yMDEyMDYyMzQ1NTZaFw0yMTEy
4
+ MDYyMzQ1NTZaMCgxJjAkBgNVBAMMHXN0YXRlbGVzc2NvZGUvREM9Z21haWwvREM9
5
+ Y29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAyHIMJi0o3bwBZsx5
6
+ TQ35XByFsdDRsro3T+0NY7EAILtOiU04o9C2NPOp/RQE7BXQgMjGebwp6bT6QvzN
7
+ 6noV4jPL7Fi5pWw08QygG7f+73YUBb+8d8o+3xGrC+UO5h1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+ dkij2eQ9M8bzWWmW+A7RNaI0CzLl967bKGBSaMVCsZGBarggWD8UwJnBhTuOPZGR
24
+ WQ4faXJSevxT+x9TgyUNJINPkz/KqreClzdL83cwxPzFFQto7zF6zMCsj0slqJjW
25
+ EQ==
26
+ -----END CERTIFICATE-----
@@ -0,0 +1 @@
1
+ 39c9724b0b40e17b309b71343c5b6838f401fa9660ac53c4be8d4b0050904da3
@@ -0,0 +1 @@
1
+ 58f15bb3c270b530f3620afd53d17981c48871aba61b205c8cb012ae8f396bbac905d46d32f657399f787b4c8aaf3572aab030a4bfa81c1b7d9ff1b060aa5b82
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NerdDice
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -24,10 +24,10 @@ 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["documentation_uri"] = "https://github.com/statelesscode/nerd_dice/README.md"
30
+ spec.metadata["github_repo"] = "https://github.com/statelesscode/nerd_dice"
31
31
 
32
32
  # Specify which files should be added to the gem when it is released.
33
33
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -40,7 +40,7 @@ Gem::Specification.new do |spec|
40
40
 
41
41
  # Certs and signing
42
42
  spec.cert_chain = ["certs/msducheminjr.pem"]
43
- spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $PROGRAM_NAME.match?(/gem\z/)
43
+ spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $PROGRAM_NAME.end_with?("gem")
44
44
 
45
45
  # Dependencies
46
46
  spec.add_development_dependency "rubocop", "~> 1.5", ">= 1.5.2"
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Duchemin
@@ -35,7 +35,7 @@ cert_chain:
35
35
  WQ4faXJSevxT+x9TgyUNJINPkz/KqreClzdL83cwxPzFFQto7zF6zMCsj0slqJjW
36
36
  EQ==
37
37
  -----END CERTIFICATE-----
38
- date: 2020-12-07 00:00:00.000000000 Z
38
+ date: 2020-12-12 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rubocop
@@ -127,6 +127,7 @@ email:
127
127
  - statelesscode@gmail.com
128
128
  executables:
129
129
  - console
130
+ - generate_checksums
130
131
  - setup
131
132
  extensions: []
132
133
  extra_rdoc_files: []
@@ -144,7 +145,11 @@ files:
144
145
  - Rakefile
145
146
  - UNLICENSE.txt
146
147
  - bin/console
148
+ - bin/generate_checksums
147
149
  - bin/setup
150
+ - certs/msducheminjr.pem
151
+ - checksum/nerd_dice-0.1.0.gem.sha256
152
+ - checksum/nerd_dice-0.1.0.gem.sha512
148
153
  - lib/nerd_dice.rb
149
154
  - lib/nerd_dice/version.rb
150
155
  - nerd_dice.gemspec
@@ -156,9 +161,10 @@ metadata:
156
161
  allowed_push_host: https://rubygems.org
157
162
  homepage_uri: https://github.com/statelesscode/nerd_dice
158
163
  source_code_uri: https://github.com/statelesscode/nerd_dice
159
- changelog_uri: https://github.com/statelesscode/nerd_dice/CHANGELOG.md
164
+ changelog_uri: https://github.com/statelesscode/nerd_dice/blob/master/CHANGELOG.md
160
165
  bug_tracker_uri: https://github.com/statelesscode/nerd_dice/issues
161
166
  documentation_uri: https://github.com/statelesscode/nerd_dice/README.md
167
+ github_repo: https://github.com/statelesscode/nerd_dice
162
168
  post_install_message:
163
169
  rdoc_options: []
164
170
  require_paths:
metadata.gz.sig CHANGED
Binary file