grid_generator 0.1.3 → 0.1.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a0cceb87ba5689dc7511b62911469388ed135b71098c56347fd46a9c43931f6
4
- data.tar.gz: 7706d2ec322f0f4c7c25fe06ffc6d160576a10cd2abfd6c6610c1ec05c680d58
3
+ metadata.gz: f34702803c741397426d5272bc8e8ed3640d6a7742b17ab4e87507053375828b
4
+ data.tar.gz: 5bbc7b1d5ad4274a04a15a2a5c526b295dbabe36b13f426316c8b4dc19961104
5
5
  SHA512:
6
- metadata.gz: 99ed0ce52242914257a430b8b7852c4c4030c3042140833de6d5035031f83ad5c907db7a5af3878d2b0cc2b281cdcf1b36e6899110e0545a38720de70134d101
7
- data.tar.gz: 5a332f1ae83315d391604985b2fb9caf3b948886f5fe9b8353f53dbfc40eaeeae80036659b509f18611e189b72a4ecb105385c7063407bdf28c8f25867f1f732
6
+ metadata.gz: b60517eee3e40b2ab0321151a049f7912627fadc76201cb97dca08ac7799990f9660b42e1a9255f96306b4474f6591b263c75b906d520afbca0b26c3c829010c
7
+ data.tar.gz: 36e148ca472c8989db168dc251a9a1145945b5465dced8e3d68ed2d86d9a7024f225a2daba6187035b6392c3ea2ca6dd6e9ceb76b4d3e2c679e8f77bfe937c55
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grid_generator (0.1.3)
4
+ grid_generator (0.1.4)
5
5
  matrix (~> 0.4.2)
6
6
 
7
7
  GEM
@@ -8,87 +8,45 @@ module GridGenerator
8
8
 
9
9
  def arrow_start_point
10
10
  [
11
- [
12
- x,
13
- y+ARROW_SIDE
14
- ],
15
- [
16
- x,
17
- y
18
- ],
19
- [
20
- x+ARROW_SIDE,
21
- y
22
- ]
11
+ [ x, y+ARROW_SIDE ],
12
+ [ x, y ],
13
+ [ x+ARROW_SIDE, y ]
23
14
  ]
24
15
  end
25
16
 
26
17
  def arrow_start_flat
27
18
  [
28
- [
29
- x,
30
- y+ARROW_SIDE-(2*ARROW_OVERHANG)
31
- ],
32
- [
33
- x+ARROW_SIDE-(2*ARROW_OVERHANG),
34
- y
35
- ]
19
+ [ x, y+ARROW_SIDE-(2*ARROW_OVERHANG) ],
20
+ [ x+ARROW_SIDE-(2*ARROW_OVERHANG), y ]
36
21
  ]
37
22
  end
38
23
 
39
24
  def arrow_start_side
40
25
  [
41
- [
42
- x+ARROW_SIDE-ARROW_OVERHANG,
43
- y+ARROW_OVERHANG
44
- ],
45
- [
46
- x+(ARROW_SIDE-ARROW_OVERHANG)+length,
47
- y+length+ARROW_OVERHANG
48
- ]
26
+ [ x+ARROW_SIDE-ARROW_OVERHANG, y+ARROW_OVERHANG ],
27
+ [ x+(ARROW_SIDE-ARROW_OVERHANG)+length, y+length+ARROW_OVERHANG ]
49
28
  ]
50
29
  end
51
30
 
52
31
  def arrow_end_point
53
32
  [
54
- [
55
- x+ARROW_SIDE+length,
56
- y+length
57
- ],
58
- [
59
- x+ARROW_SIDE+length,
60
- y+ARROW_SIDE+length
61
- ],
62
- [
63
- x+length,
64
- y+ARROW_SIDE+length
65
- ]
33
+ [ x+ARROW_SIDE+length, y+length ],
34
+ [ x+ARROW_SIDE+length, y+ARROW_SIDE+length ],
35
+ [ x+length, y+ARROW_SIDE+length ]
66
36
  ]
67
37
  end
68
38
 
69
39
  def arrow_end_flat
70
40
  [
71
- [
72
- x+ARROW_SIDE+length,
73
- y+length+(2*ARROW_OVERHANG)
74
- ],
75
- [
76
- x+length+(2*ARROW_OVERHANG),
77
- y+ARROW_SIDE+length
78
- ]
41
+ [ x+ARROW_SIDE+length, y+length+(2*ARROW_OVERHANG) ],
42
+ [ x+length+(2*ARROW_OVERHANG), y+ARROW_SIDE+length ]
79
43
  ]
80
44
  end
81
45
 
82
46
  def arrow_end_side
83
47
  [
84
- [
85
- x+length+ARROW_OVERHANG,
86
- y+ARROW_SIDE+length-ARROW_OVERHANG
87
- ],
88
- [
89
- x+ARROW_OVERHANG,
90
- y+ARROW_SIDE-ARROW_OVERHANG
91
- ]
48
+ [ x+length+ARROW_OVERHANG, y+ARROW_SIDE+length-ARROW_OVERHANG ],
49
+ [ x+ARROW_OVERHANG, y+ARROW_SIDE-ARROW_OVERHANG ]
92
50
  ]
93
51
  end
94
52
 
@@ -8,87 +8,45 @@ module GridGenerator
8
8
 
9
9
  def arrow_start_point
10
10
  [
11
- [
12
- x+ARROW_SIDE,
13
- y+length+ARROW_SIDE
14
- ],
15
- [
16
- x,
17
- y+length+ARROW_SIDE
18
- ],
19
- [
20
- x,
21
- y+length
22
- ]
11
+ [ x+ARROW_SIDE, y+length+ARROW_SIDE ],
12
+ [ x, y+length+ARROW_SIDE ],
13
+ [ x, y+length ]
23
14
  ]
24
15
  end
25
16
 
26
17
  def arrow_start_flat
27
18
  [
28
- [
29
- x+ARROW_SIDE-(2*ARROW_OVERHANG),
30
- y+length+ARROW_SIDE
31
- ],
32
- [
33
- x,
34
- y+length+(2*ARROW_OVERHANG)
35
- ]
19
+ [ x+ARROW_SIDE-(2*ARROW_OVERHANG), y+length+ARROW_SIDE ],
20
+ [ x, y+length+(2*ARROW_OVERHANG) ]
36
21
  ]
37
22
  end
38
23
 
39
24
  def arrow_start_side
40
25
  [
41
- [
42
- x+ARROW_OVERHANG,
43
- y+length+ARROW_OVERHANG
44
- ],
45
- [
46
- x+length+ARROW_OVERHANG,
47
- y+ARROW_OVERHANG
48
- ]
26
+ [ x+ARROW_OVERHANG, y+length+ARROW_OVERHANG ],
27
+ [ x+length+ARROW_OVERHANG, y+ARROW_OVERHANG ]
49
28
  ]
50
29
  end
51
30
 
52
31
  def arrow_end_point
53
32
  [
54
- [
55
- x+length,
56
- y
57
- ],
58
- [
59
- x+length+ARROW_SIDE,
60
- y
61
- ],
62
- [
63
- x+length+ARROW_SIDE,
64
- y+ARROW_SIDE
65
- ]
33
+ [ x+length, y ],
34
+ [ x+length+ARROW_SIDE, y ],
35
+ [ x+length+ARROW_SIDE, y+ARROW_SIDE ]
66
36
  ]
67
37
  end
68
38
 
69
39
  def arrow_end_flat
70
40
  [
71
- [
72
- x+length+(2*ARROW_OVERHANG),
73
- y
74
- ],
75
- [
76
- x+length+ARROW_SIDE,
77
- y+ARROW_SIDE-(2*ARROW_OVERHANG)
78
- ]
41
+ [ x+length+(2*ARROW_OVERHANG), y ],
42
+ [ x+length+ARROW_SIDE, y+ARROW_SIDE-(2*ARROW_OVERHANG) ]
79
43
  ]
80
44
  end
81
45
 
82
46
  def arrow_end_side
83
47
  [
84
- [
85
- x+length+ARROW_SIDE-ARROW_OVERHANG,
86
- y+ARROW_SIDE-ARROW_OVERHANG
87
- ],
88
- [
89
- x+ARROW_SIDE-ARROW_OVERHANG,
90
- y+length+ARROW_SIDE-ARROW_OVERHANG
91
- ]
48
+ [ x+length+ARROW_SIDE-ARROW_OVERHANG, y+ARROW_SIDE-ARROW_OVERHANG ],
49
+ [ x+ARROW_SIDE-ARROW_OVERHANG, y+length+ARROW_SIDE-ARROW_OVERHANG ]
92
50
  ]
93
51
  end
94
52
 
@@ -9,87 +9,45 @@ module GridGenerator
9
9
 
10
10
  def arrow_start_point
11
11
  [
12
- [
13
- x+ARROW_LENGTH,
14
- y+ARROW_WIDTH
15
- ],
16
- [
17
- x,
18
- y+(ARROW_WIDTH/2)
19
- ],
20
- [
21
- x+ARROW_LENGTH,
22
- y
23
- ]
12
+ [ x+ARROW_LENGTH, y+ARROW_WIDTH ],
13
+ [ x, y+(ARROW_WIDTH/2) ],
14
+ [ x+ARROW_LENGTH, y ]
24
15
  ]
25
16
  end
26
17
 
27
18
  def arrow_start_flat
28
19
  [
29
- [
30
- x,
31
- y+(ARROW_WIDTH/2)+(LINE_WIDTH/2)
32
- ],
33
- [
34
- x,
35
- y+(ARROW_WIDTH/2)-(LINE_WIDTH/2)
36
- ]
20
+ [ x, y+(ARROW_WIDTH/2)+(LINE_WIDTH/2) ],
21
+ [ x, y+(ARROW_WIDTH/2)-(LINE_WIDTH/2) ]
37
22
  ]
38
23
  end
39
24
 
40
25
  def arrow_start_side
41
26
  [
42
- [
43
- x+ARROW_LENGTH,
44
- y+(ARROW_WIDTH/2)-(LINE_WIDTH/2)
45
- ],
46
- [
47
- x+ARROW_LENGTH+length,
48
- y+(ARROW_WIDTH/2)-(LINE_WIDTH/2)
49
- ]
27
+ [ x+ARROW_LENGTH, y+(ARROW_WIDTH/2)-(LINE_WIDTH/2) ],
28
+ [ x+ARROW_LENGTH+length, y+(ARROW_WIDTH/2)-(LINE_WIDTH/2) ]
50
29
  ]
51
30
  end
52
31
 
53
32
  def arrow_end_point
54
33
  [
55
- [
56
- x+ARROW_LENGTH+length,
57
- y
58
- ],
59
- [
60
- x+(2*ARROW_LENGTH)+length,
61
- y+(ARROW_WIDTH/2)
62
- ],
63
- [
64
- x+ARROW_LENGTH+length,
65
- y+ARROW_WIDTH
66
- ]
34
+ [ x+ARROW_LENGTH+length, y ],
35
+ [ x+(2*ARROW_LENGTH)+length, y+(ARROW_WIDTH/2) ],
36
+ [ x+ARROW_LENGTH+length, y+ARROW_WIDTH ]
67
37
  ]
68
38
  end
69
39
 
70
40
  def arrow_end_flat
71
41
  [
72
- [
73
- x+(2*ARROW_LENGTH)+length,
74
- y+(ARROW_WIDTH/2)-(LINE_WIDTH/2)
75
- ],
76
- [
77
- x+(2*ARROW_LENGTH)+length,
78
- y+(ARROW_WIDTH/2)+(LINE_WIDTH/2)
79
- ]
42
+ [ x+(2*ARROW_LENGTH)+length, y+(ARROW_WIDTH/2)-(LINE_WIDTH/2) ],
43
+ [ x+(2*ARROW_LENGTH)+length, y+(ARROW_WIDTH/2)+(LINE_WIDTH/2) ]
80
44
  ]
81
45
  end
82
46
 
83
47
  def arrow_end_side
84
48
  [
85
- [
86
- x+ARROW_LENGTH+length,
87
- y+(ARROW_WIDTH/2)+(LINE_WIDTH/2)
88
- ],
89
- [
90
- x+ARROW_LENGTH,
91
- y+(ARROW_WIDTH/2)+(LINE_WIDTH/2)
92
- ]
49
+ [ x+ARROW_LENGTH+length, y+(ARROW_WIDTH/2)+(LINE_WIDTH/2) ],
50
+ [ x+ARROW_LENGTH, y+(ARROW_WIDTH/2)+(LINE_WIDTH/2) ]
93
51
  ]
94
52
  end
95
53
 
@@ -9,87 +9,45 @@ module GridGenerator
9
9
 
10
10
  def arrow_start_point
11
11
  [
12
- [
13
- x,
14
- y+ARROW_LENGTH
15
- ],
16
- [
17
- x+(ARROW_WIDTH/2),
18
- y
19
- ],
20
- [
21
- x+ARROW_WIDTH,
22
- y+ARROW_LENGTH
23
- ]
12
+ [ x, y+ARROW_LENGTH ],
13
+ [ x+(ARROW_WIDTH/2), y ],
14
+ [ x+ARROW_WIDTH, y+ARROW_LENGTH ]
24
15
  ]
25
16
  end
26
17
 
27
18
  def arrow_start_flat
28
19
  [
29
- [
30
- x+(ARROW_WIDTH/2)-(LINE_WIDTH/2),
31
- y
32
- ],
33
- [
34
- x+(ARROW_WIDTH/2)+(LINE_WIDTH/2),
35
- y
36
- ]
20
+ [ x+(ARROW_WIDTH/2)-(LINE_WIDTH/2), y ],
21
+ [ x+(ARROW_WIDTH/2)+(LINE_WIDTH/2), y ]
37
22
  ]
38
23
  end
39
24
 
40
25
  def arrow_start_side
41
26
  [
42
- [
43
- x+(ARROW_WIDTH/2)+(LINE_WIDTH/2),
44
- y+ARROW_LENGTH
45
- ],
46
- [
47
- x+(ARROW_WIDTH/2)+(LINE_WIDTH/2),
48
- y+ARROW_LENGTH+length
49
- ]
27
+ [ x+(ARROW_WIDTH/2)+(LINE_WIDTH/2), y+ARROW_LENGTH ],
28
+ [ x+(ARROW_WIDTH/2)+(LINE_WIDTH/2), y+ARROW_LENGTH+length ]
50
29
  ]
51
30
  end
52
31
 
53
32
  def arrow_end_point
54
33
  [
55
- [
56
- x+ARROW_WIDTH,
57
- y+ARROW_LENGTH+length
58
- ],
59
- [
60
- x+(ARROW_WIDTH/2),
61
- y+(ARROW_LENGTH*2)+length
62
- ],
63
- [
64
- x,
65
- y+ARROW_LENGTH+length
66
- ]
34
+ [ x+ARROW_WIDTH, y+ARROW_LENGTH+length ],
35
+ [ x+(ARROW_WIDTH/2), y+(ARROW_LENGTH*2)+length ],
36
+ [ x, y+ARROW_LENGTH+length ]
67
37
  ]
68
38
  end
69
39
 
70
40
  def arrow_end_flat
71
41
  [
72
- [
73
- x+(ARROW_WIDTH/2)+(LINE_WIDTH/2),
74
- y+(2*ARROW_LENGTH)+length
75
- ],
76
- [
77
- x+(ARROW_WIDTH/2)-(LINE_WIDTH/2),
78
- y+(2*ARROW_LENGTH)+length
79
- ]
42
+ [ x+(ARROW_WIDTH/2)+(LINE_WIDTH/2), y+(2*ARROW_LENGTH)+length ],
43
+ [ x+(ARROW_WIDTH/2)-(LINE_WIDTH/2), y+(2*ARROW_LENGTH)+length ]
80
44
  ]
81
45
  end
82
46
 
83
47
  def arrow_end_side
84
48
  [
85
- [
86
- x+(ARROW_WIDTH/2)-(LINE_WIDTH/2),
87
- y+ARROW_LENGTH+length
88
- ],
89
- [
90
- x+(ARROW_WIDTH/2)-(LINE_WIDTH/2),
91
- y+ARROW_LENGTH
92
- ]
49
+ [ x+(ARROW_WIDTH/2)-(LINE_WIDTH/2), y+ARROW_LENGTH+length ],
50
+ [ x+(ARROW_WIDTH/2)-(LINE_WIDTH/2), y+ARROW_LENGTH ]
93
51
  ]
94
52
  end
95
53
 
@@ -1,18 +1,11 @@
1
1
  require_relative 'grid'
2
+ require_relative 'units_factory'
2
3
 
3
4
  module GridGenerator
4
5
  module Cubic
5
6
  class FrontGrid < GridGenerator::Cubic::Grid
6
- def width_unit
7
- @width_unit ||= Matrix.column_vector([units, units/2])
8
- end
9
-
10
- def height_unit
11
- @height_unit ||= Matrix.column_vector([0, units])
12
- end
13
-
14
- def offset_unit
15
- @offset_unit ||= Matrix.column_vector([0,0])
7
+ def side
8
+ :front
16
9
  end
17
10
 
18
11
  def line_offset_amount
@@ -34,6 +34,19 @@ module GridGenerator
34
34
  def height
35
35
  @height ||= squares.size
36
36
  end
37
+
38
+ # units
39
+ def width_unit
40
+ @width_unit ||= GridGenerator::Cubic::UnitsFactory.new(side: side, type: :width, units: units).build
41
+ end
42
+
43
+ def height_unit
44
+ @height_unit ||= GridGenerator::Cubic::UnitsFactory.new(side: side, type: :height, units: units).build
45
+ end
46
+
47
+ def offset_unit
48
+ @offset_unit ||= GridGenerator::Cubic::UnitsFactory.new(side: side, type: :offset, units: units).build
49
+ end
37
50
 
38
51
  # positioning squares
39
52
 
@@ -108,7 +121,6 @@ module GridGenerator
108
121
  GridGenerator::Cubic::SquareFactory.new(
109
122
  x: square_position(row_num, col_num)[0,0],
110
123
  y: square_position(row_num, col_num)[1,0],
111
- units: units,
112
124
  width_unit: width_unit,
113
125
  height_unit: height_unit,
114
126
  offset_unit: offset_unit,
@@ -3,18 +3,10 @@ require_relative 'grid'
3
3
  module GridGenerator
4
4
  module Cubic
5
5
  class RightGrid < Cubic::Grid
6
- def width_unit
7
- @width_unit ||= Matrix.column_vector([units, (units*-0.5).to_i])
6
+ def side
7
+ :right
8
8
  end
9
-
10
- def height_unit
11
- @height_unit ||= Matrix.column_vector([0, units])
12
- end
13
-
14
- def offset_unit
15
- @offset_unit ||= Matrix.column_vector([0,(units*0.5).to_i])
16
- end
17
-
9
+
18
10
  def line_offset_amount
19
11
  width
20
12
  end
@@ -1,17 +1,18 @@
1
1
  require_relative '../base_element'
2
+ require_relative 'units_factory'
2
3
 
3
4
  module GridGenerator
4
5
  module Cubic
5
6
  class SquareFactory
6
- def initialize(x:, y:, units:, width_unit:, height_unit:, offset_unit:, colour:, opacity:)
7
+ def initialize(x:, y:, width_unit:, height_unit:, offset_unit:, colour:, opacity:)
7
8
  @x, @y = x, y
8
- @units = units
9
- @width_unit, @height_unit = width_unit, height_unit
9
+ @width_unit = width_unit
10
+ @height_unit = height_unit
10
11
  @offset_unit = offset_unit
11
12
  @colour, @opacity = colour, opacity
12
13
  end
13
14
 
14
- attr_reader :x, :y, :units, :width_unit, :height_unit, :offset_unit, :colour, :opacity
15
+ attr_reader :x, :y, :width_unit, :height_unit, :offset_unit, :colour, :opacity
15
16
 
16
17
  def top_left
17
18
  Matrix.column_vector([x, y]) + offset_unit
@@ -1,18 +1,11 @@
1
1
  require_relative 'grid'
2
+ require_relative 'units_factory'
2
3
 
3
4
  module GridGenerator
4
5
  module Cubic
5
6
  class TopGrid < Cubic::Grid
6
- def width_unit
7
- @width_unit ||= Matrix.column_vector([units, units/2])
8
- end
9
-
10
- def height_unit
11
- @height_unit ||= Matrix.column_vector([-units, units/2])
12
- end
13
-
14
- def offset_unit
15
- @offset_unit ||= Matrix.column_vector([units,0])
7
+ def side
8
+ :top
16
9
  end
17
10
 
18
11
  def line_offset_amount
@@ -0,0 +1,60 @@
1
+ module GridGenerator
2
+ module Cubic
3
+ class UnitsFactory
4
+ def initialize(side:, type:, units:)
5
+ raise ArgumentError "Unknown Side" unless [:top, :front, :right].include?(side)
6
+ raise ArgumentError "Unknown Type" unless [:width, :height, :offset].include?(type)
7
+ @side = side
8
+ @type = type
9
+ @units = units
10
+ end
11
+
12
+ attr_reader :side, :type, :units
13
+
14
+ def top_unit
15
+ case type
16
+ when :width
17
+ Matrix.column_vector([units, units/2])
18
+ when :height
19
+ Matrix.column_vector([-units, units/2])
20
+ when :offset
21
+ Matrix.column_vector([units,0])
22
+ end
23
+ end
24
+
25
+ def front_unit
26
+ case type
27
+ when :width
28
+ Matrix.column_vector([units, units/2])
29
+ when :height
30
+ Matrix.column_vector([0, units])
31
+ when :offset
32
+ Matrix.column_vector([0,0])
33
+ end
34
+ end
35
+
36
+ def right_unit
37
+ case type
38
+ when :width
39
+ Matrix.column_vector([units, (units*-0.5).to_i])
40
+ when :height
41
+ Matrix.column_vector([0, units])
42
+ when :offset
43
+ Matrix.column_vector([0,(units*0.5).to_i])
44
+ end
45
+ end
46
+
47
+ def build
48
+ case side
49
+ when :top
50
+ top_unit
51
+ when :front
52
+ front_unit
53
+ when :right
54
+ right_unit
55
+ end
56
+ end
57
+ end
58
+ end
59
+ end
60
+
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GridGenerator
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
@@ -25,18 +25,6 @@ module GridGenerator
25
25
  Cubic::IsoView.new(**args)
26
26
  end
27
27
 
28
- def self.top_grid(args)
29
- Cubic::TopGrid.new(**args)
30
- end
31
-
32
- def self.front_grid(args)
33
- Cubic::FrontGrid.new(**args)
34
- end
35
-
36
- def self.right_grid(args)
37
- Cubic::RightGrid.new(**args)
38
- end
39
-
40
28
  def self.facing_grid(args)
41
29
  Cubic::FacingGrid.new(**args)
42
30
  end
@@ -45,19 +33,20 @@ module GridGenerator
45
33
  Cubic::BorderedGrid.new(**args)
46
34
  end
47
35
 
48
- def self.top_square(args)
49
- #??
50
- Cubic::TopSquareFactory.new(**args).build
51
- end
52
-
53
- def self.front_square(args)
54
- #??
55
- Cubic::FrontSquareFactory.new(**args).build
56
- end
57
-
58
- def self.right_square(args)
59
- #??
60
- Cubic::RightSquareFactory.new(**args).build
36
+ def self.square(args)
37
+ width_unit = GridGenerator::Cubic::UnitsFactory.new(side: args[:side], type: :width, units: args[:units]).build
38
+ height_unit = GridGenerator::Cubic::UnitsFactory.new(side: args[:side], type: :height, units: args[:units]).build
39
+ offset_unit = GridGenerator::Cubic::UnitsFactory.new(side: args[:side], type: :offset, units: args[:units]).build
40
+
41
+ GridGenerator::Cubic::SquareFactory.new(
42
+ x: args[:x],
43
+ y: args[:y],
44
+ width_unit: width_unit,
45
+ height_unit: height_unit,
46
+ offset_unit: offset_unit,
47
+ colour: args[:colour],
48
+ opacity: args[:opacity]
49
+ ).build
61
50
  end
62
51
 
63
52
  def self.top_skewb_grid(args)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grid_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Humphreys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-24 00:00:00.000000000 Z
11
+ date: 2023-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: matrix
@@ -56,6 +56,7 @@ files:
56
56
  - lib/grid_generator/cubic/right_grid.rb
57
57
  - lib/grid_generator/cubic/square_factory.rb
58
58
  - lib/grid_generator/cubic/top_grid.rb
59
+ - lib/grid_generator/cubic/units_factory.rb
59
60
  - lib/grid_generator/face_parser.rb
60
61
  - lib/grid_generator/megaminx/common.rb
61
62
  - lib/grid_generator/megaminx/element_factory.rb