jekyll-mahjong 1.0.2 → 1.0.4

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: 9ccbcdca26ed66d3b79deaf5f47849c036927dba4b1a31e8ffa4e425dbaff0be
4
- data.tar.gz: fbe2b5bbeed15cfc73d766772993a203e719b1274b35e98721cd0ab384dc9089
3
+ metadata.gz: e24085b6155c4e721508de715c3e41dc549c282968003708e1c68173ea3926cc
4
+ data.tar.gz: 259b5678a07dc1fc3238c1e551b19d7d8f789a9f0f1955f0e3e29a9d6f76519a
5
5
  SHA512:
6
- metadata.gz: 7aa867f94216c609dac21b80f6b0be3969aa0300a98ce24688929c3020418d4032cf67a4dad300f4703b4e5ad66fe42d0b55dee6b13955581ac482c0ec9ff99c
7
- data.tar.gz: 563bb08957584e6194b7510adc198e6bfcd18e37de4151fe305138604b026d0a2d298b62dfc7b5f95b01acaa9dcb364bf4b945d214f68e42c1a833653d6b33c4
6
+ metadata.gz: 84afbcf104d7d41417421f7d3e60a7a560d3ec4757d6c1384dfb9da943692ae43b24512ebf34b72a041eac22a6922f78fdf6fd6f5f327acf10419b2d64fb36f5
7
+ data.tar.gz: 6b3bc33c180decce7b90d655ef4c2600e23c6f3ef86215e2541e696196199ff110fdcc7d40c5f591f87643560a99674103481b10d0ba66fa0ffe7cf23dc5e53e
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ id="glyph4"
4
+ version="1.1"
5
+ sodipodi:docname="1x.svg"
6
+ width="71.625771"
7
+ height="100.00001"
8
+ inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
9
+ xml:space="preserve"
10
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
11
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ xmlns:svg="http://www.w3.org/2000/svg"><defs
14
+ id="defs3" /><sodipodi:namedview
15
+ id="namedview3"
16
+ pagecolor="#ffffff"
17
+ bordercolor="#000000"
18
+ borderopacity="0.25"
19
+ inkscape:showpageshadow="2"
20
+ inkscape:pageopacity="0.0"
21
+ inkscape:pagecheckerboard="0"
22
+ inkscape:deskcolor="#d1d1d1"
23
+ inkscape:zoom="2.7933333"
24
+ inkscape:cx="57.279237"
25
+ inkscape:cy="27.02864"
26
+ inkscape:window-width="1920"
27
+ inkscape:window-height="1009"
28
+ inkscape:window-x="-8"
29
+ inkscape:window-y="-8"
30
+ inkscape:window-maximized="1"
31
+ inkscape:current-layer="g3" /><g
32
+ transform="matrix(0,0.07668712,0.07668712,0,21.625768,0)"
33
+ id="g3"><path
34
+ fill="#ffffff"
35
+ d="M 1220,-234 H 1209 84 c -30,0 -36,17 -36,37 v 765 c 0,30 16,36 36,36 h 1135 c 30,0 37,-15 37,-35 v -767 c 0,-30 -16,-36 -36,-36 z"
36
+ id="path1"
37
+ style="fill:#f8a006;fill-opacity:1"
38
+ inkscape:label="path2" /><path
39
+ d="m 84,-282 c -55,0 -84,35 -84,85 v 765 c 0,55 34,84 84,84 h 1135 c 55,0 85,-35 85,-85 v -765 c 0,-55 -34,-84 -84,-84 z m 1136,48 c 20,0 36,6 36,36 v 767 c 0,20 -7,35 -37,35 H 84 c -20,0 -36,-6 -36,-36 v -765 c 0,-20 6,-37 36,-37 h 1125 z"
40
+ id="path3" /></g></svg>
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ id="glyph4"
4
+ version="1.1"
5
+ sodipodi:docname="c1x.svg"
6
+ width="100.00001"
7
+ height="71.625771"
8
+ inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
9
+ xml:space="preserve"
10
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
11
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ xmlns:svg="http://www.w3.org/2000/svg"><defs
14
+ id="defs3" /><sodipodi:namedview
15
+ id="namedview3"
16
+ pagecolor="#ffffff"
17
+ bordercolor="#000000"
18
+ borderopacity="0.25"
19
+ inkscape:showpageshadow="2"
20
+ inkscape:pageopacity="0.0"
21
+ inkscape:pagecheckerboard="0"
22
+ inkscape:deskcolor="#d1d1d1"
23
+ inkscape:zoom="2.7933333"
24
+ inkscape:cx="71.599046"
25
+ inkscape:cy="13.066826"
26
+ inkscape:window-width="1920"
27
+ inkscape:window-height="1009"
28
+ inkscape:window-x="-8"
29
+ inkscape:window-y="-8"
30
+ inkscape:window-maximized="1"
31
+ inkscape:current-layer="g3" /><g
32
+ transform="matrix(0,0.07668712,0.07668712,0,35.812885,-14.187117)"
33
+ id="g3"><path
34
+ fill="#ffffff"
35
+ d="M 1071,753 V 742 -383 c 0,-30 -17,-36 -37,-36 H 269 c -30,0 -36,16 -36,36 V 752 c 0,30 15,37 35,37 h 767 c 30,0 36,-16 36,-36 z"
36
+ id="path1"
37
+ style="fill:#f8a006;fill-opacity:1"
38
+ inkscape:label="path2" /><path
39
+ d="m 1119,-383 c 0,-55 -35,-84 -85,-84 H 269 c -55,0 -84,34 -84,84 V 752 c 0,55 35,85 85,85 h 765 c 55,0 84,-34 84,-84 z m -48,1136 c 0,20 -6,36 -36,36 H 268 c -20,0 -35,-7 -35,-37 V -383 c 0,-20 6,-36 36,-36 h 765 c 20,0 37,6 37,36 V 742 Z"
40
+ id="path3" /></g></svg>
@@ -53,7 +53,7 @@ module JekyllMahjong
53
53
  private
54
54
  def svg_for_tile_group(tile_group)
55
55
  # get the tile suit blocks: "12p78s45p" => ["12p", "78s", "45p"]
56
- tile_suit_blocks = tile_group.scan(/\d+[mspzMSPZ]/)
56
+ tile_suit_blocks = tile_group.scan(/\d+[mspzxMSPZX]/)
57
57
  # ["123p", "789s"] => ["<img />", "<img />" ...]
58
58
  svg_tiles = tile_suit_blocks.flat_map { |tile_suit_block| svg_for_tile_suit_block(tile_suit_block) }
59
59
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-mahjong
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Gao
@@ -24,6 +24,7 @@ files:
24
24
  - assets/tiles/1m.svg
25
25
  - assets/tiles/1p.svg
26
26
  - assets/tiles/1s.svg
27
+ - assets/tiles/1x.svg
27
28
  - assets/tiles/1z.svg
28
29
  - assets/tiles/2m.svg
29
30
  - assets/tiles/2p.svg
@@ -61,6 +62,7 @@ files:
61
62
  - assets/tiles/c1m.svg
62
63
  - assets/tiles/c1p.svg
63
64
  - assets/tiles/c1s.svg
65
+ - assets/tiles/c1x.svg
64
66
  - assets/tiles/c1z.svg
65
67
  - assets/tiles/c2m.svg
66
68
  - assets/tiles/c2p.svg