feen 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/feen.rb +10 -10
- data/lib/feen/dumper.rb +5 -5
- data/lib/feen/parser.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3585266b1c9c0258b6d840ee53f531762cca31a2bb4ca10036fdb6df3a478438
|
4
|
+
data.tar.gz: acf62c61d0924632863e1b8058725a7217506dd9e5f674ec43f538d47cd47c7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20b20c66e7b912bb6837938d7bc33068b4ca1c953d09bfb92a6722fdc6b42d161d6a4afe7e1cfa0f90158e85bfd55365ac678095b3c34b754fe025f5518ac63b
|
7
|
+
data.tar.gz: dce69ca58ba69a3e8dab282bd16752b189e3707c8dc993bb2eba3e31c070afa4f9022a38df681340b24caa38142c370f2a15df58dff6331fc66d13c08b82e637
|
data/lib/feen.rb
CHANGED
@@ -20,11 +20,11 @@ module FEEN
|
|
20
20
|
# dump(
|
21
21
|
# "active_side_id": 0,
|
22
22
|
# "board": {
|
23
|
-
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
#
|
27
|
-
#
|
23
|
+
# 3 => "s",
|
24
|
+
# 4 => "k",
|
25
|
+
# 5 => "s",
|
26
|
+
# 22 => "+P",
|
27
|
+
# 43 => "+B"
|
28
28
|
# },
|
29
29
|
# "indexes": [9, 9],
|
30
30
|
# "pieces_in_hand_grouped_by_sides": [
|
@@ -53,11 +53,11 @@ module FEEN
|
|
53
53
|
# # => {
|
54
54
|
# # "active_side_id": 0,
|
55
55
|
# # "board": {
|
56
|
-
# #
|
57
|
-
# #
|
58
|
-
# #
|
59
|
-
# #
|
60
|
-
# #
|
56
|
+
# # 3 => "s",
|
57
|
+
# # 4 => "k",
|
58
|
+
# # 5 => "s",
|
59
|
+
# # 22 => "+P",
|
60
|
+
# # 43 => "+B"
|
61
61
|
# # },
|
62
62
|
# # "indexes": [9, 9],
|
63
63
|
# # "pieces_in_hand_grouped_by_sides": [
|
data/lib/feen/dumper.rb
CHANGED
@@ -19,11 +19,11 @@ module FEEN
|
|
19
19
|
# call(
|
20
20
|
# "active_side_id": 0,
|
21
21
|
# "board": {
|
22
|
-
#
|
23
|
-
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
#
|
22
|
+
# 3 => "s",
|
23
|
+
# 4 => "k",
|
24
|
+
# 5 => "s",
|
25
|
+
# 22 => "+P",
|
26
|
+
# 43 => "+B"
|
27
27
|
# },
|
28
28
|
# "indexes": [9, 9],
|
29
29
|
# "pieces_in_hand_grouped_by_sides": [
|
data/lib/feen/parser.rb
CHANGED
@@ -17,11 +17,11 @@ module FEEN
|
|
17
17
|
# # => {
|
18
18
|
# # "active_side_id": 0,
|
19
19
|
# # "board": {
|
20
|
-
# #
|
21
|
-
# #
|
22
|
-
# #
|
23
|
-
# #
|
24
|
-
# #
|
20
|
+
# # 3 => "s",
|
21
|
+
# # 4 => "k",
|
22
|
+
# # 5 => "s",
|
23
|
+
# # 22 => "+P",
|
24
|
+
# # 43 => "+B"
|
25
25
|
# # },
|
26
26
|
# # "indexes": [9, 9],
|
27
27
|
# # "pieces_in_hand_grouped_by_sides": [
|