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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.rubocop.yml +8 -0
- data/CHANGELOG.md +6 -1
- data/Gemfile.lock +1 -1
- data/bin/generate_checksums +13 -0
- data/certs/msducheminjr.pem +26 -0
- data/checksum/nerd_dice-0.1.0.gem.sha256 +1 -0
- data/checksum/nerd_dice-0.1.0.gem.sha512 +1 -0
- data/lib/nerd_dice/version.rb +1 -1
- data/nerd_dice.gemspec +3 -3
- metadata +9 -3
- 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: a086e74cddc4f811d4146417623ad53837c8a2f56f6291e0c0295fd6b3387bea
|
4
|
+
data.tar.gz: 37432c518be2914f6b5d6e257a1a1bb73b9d40bd14222140a54439eaa760415a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85de9d05f7da38504c720b54a6e85ad2aa5525d3cf099356f406f2d89121084835e4e6f38c595432c1aa2bf8b21c958bd2f3b81cf524a70c9b4564ed0488bc04
|
7
|
+
data.tar.gz: 6a76948d771aa1c2dd5fb53fbd9f943eddc77971a457fb8c59ee6e0bd33c91603a8569eaff6e390a728fca391447a377e8c6dc7889c1eee4a289f1f8e00101b6
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.rubocop.yml
CHANGED
@@ -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
|
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,12 @@
|
|
2
2
|
|
3
3
|
## master \(unreleased\)
|
4
4
|
|
5
|
-
## 0.1.
|
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
|
data/Gemfile.lock
CHANGED
@@ -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
|
+
MDYyMzQ1NTZaMCgxJjAkBgNVBAMMHXN0YXRl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0qH2pw5WPfWcKYlDehMXqOP+a4udYsz0YSNiI8qEfkDCSqTJN11d5kSjVjwGB
|
20
|
+
xkauxDT68j1JZRjPmQl3dl+DCgxkoziWX2mFTPLfGg5vZ0t6gmhdUtLvJtNIo0IX
|
21
|
+
477E5UjmE1+rULQp/fsH6n5+H+t2eCED41ST+gkKbaQBUfIuUaCmdHz9sJaIIBw2
|
22
|
+
6ordFa1nrLV4w5Uf6qYFnWVhIWX4GToyZSPO2s0DPYp3PWFJ4VtzKa2vp1TR5ZEA
|
23
|
+
dkij2eQ9M8bzWWmW+A7RNaI0CzLl967bKGBSaMVCsZGBarggWD8UwJnBhTuOPZGR
|
24
|
+
WQ4faXJSevxT+x9TgyUNJINPkz/KqreClzdL83cwxPzFFQto7zF6zMCsj0slqJjW
|
25
|
+
EQ==
|
26
|
+
-----END CERTIFICATE-----
|
@@ -0,0 +1 @@
|
|
1
|
+
39c9724b0b40e17b309b71343c5b6838f401fa9660ac53c4be8d4b0050904da3
|
@@ -0,0 +1 @@
|
|
1
|
+
58f15bb3c270b530f3620afd53d17981c48871aba61b205c8cb012ae8f396bbac905d46d32f657399f787b4c8aaf3572aab030a4bfa81c1b7d9ff1b060aa5b82
|
data/lib/nerd_dice/version.rb
CHANGED
data/nerd_dice.gemspec
CHANGED
@@ -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["
|
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.
|
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.
|
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-
|
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
|