sashite-pin 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/sashite/pin.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f69bdd89484b5fc844f13c7cedbbdf2efe15f75620fe1eb695d0258120cf16d6
4
- data.tar.gz: 38c51ef6f22d3267c26f5baa425306645e2a17f8448575da6759112a6b71f115
3
+ metadata.gz: e469a5469a29de49338f5066b5b5743860459709ab2e771209d1c55ab7e7ff0d
4
+ data.tar.gz: 680f65379ee7ea0ead2238ed646a29ee54d673a80de7f0c54f1c56a11cf8f98f
5
5
  SHA512:
6
- metadata.gz: c98b8c1e383c0414341be4ea7ea9f3f5f5864330f16f3faed608a315cd46a52e039f539c4d45f45d8b84aa6965d999560f0d0d937cf4743ec6c05655e9b6470d
7
- data.tar.gz: 847ca5d4e6c6bd5697d665bebc103e01f876fc2a5f8c0947a27ef3589de94bd9d482bb69322817985e9dc6d23a3588801c8021ab54467b70bda49929cd62aef4
6
+ metadata.gz: 1a4b4ce38433cdf1cd9a26baaba13fa8e48ff21676976287422ac917d3a41bc67e7eb688bf347a94cefb294542e98fa7d2bd292f923b7a8c6b66d73edfaebdd2
7
+ data.tar.gz: 5da68a02154b85ab6a9b1070954f14be0a4f79e11e07c54448c0aae40772e4664c2b3368067a44c8fdef5a43b122a3c868e2cc8c6df5ed52f46afa2a2b65f021
data/README.md CHANGED
@@ -18,7 +18,7 @@ This gem implements the [PIN Specification v1.0.0](https://sashite.dev/specs/pin
18
18
  ```ruby
19
19
  # In your Gemfile
20
20
  gem "sashite-pin"
21
- ````
21
+ ```
22
22
 
23
23
  Or install manually:
24
24
 
data/lib/sashite/pin.rb CHANGED
@@ -18,7 +18,7 @@ module Sashite
18
18
  # "+R" - First player rook (enhanced state)
19
19
  # "-p" - Second player pawn (diminished state)
20
20
  #
21
- # See: https://sashite.dev/specs/pin/1.0.0/
21
+ # @see https://sashite.dev/specs/pin/1.0.0/
22
22
  module Pin
23
23
  # Check if a string is a valid PIN notation
24
24
  #
@@ -59,7 +59,7 @@ module Sashite
59
59
  # Sashite::Pin.identifier(:K, :first, :normal) # => #<Pin::Identifier type=:K side=:first state=:normal>
60
60
  # Sashite::Pin.identifier(:R, :first, :enhanced) # => #<Pin::Identifier type=:R side=:first state=:enhanced>
61
61
  # Sashite::Pin.identifier(:P, :second, :diminished) # => #<Pin::Identifier type=:P side=:second state=:diminished>
62
- def self.identifier(type, side, state = :normal)
62
+ def self.identifier(type, side, state)
63
63
  Identifier.new(type, side, state)
64
64
  end
65
65
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sashite-pin
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Kato