grid_generator 0.5.2 → 0.6.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd51350c99559a869e29c7869469588cbbda4bb0336804b8f20c956451b3136c
4
- data.tar.gz: 633dbd93675dea1a10b49ed0353bd172c734574672687bca120b1f3d9bce3250
3
+ metadata.gz: 32332f081145a2b5a5ba1299d8a93c89fbc6e6be3b23fe4301f32b9a1f9e4a2f
4
+ data.tar.gz: '08e65a6f0281a264029f16f92933bdce480dd777be4f85ac901789f5599bd47b'
5
5
  SHA512:
6
- metadata.gz: c81ffc2bcd159761c35e554b038d42a66c477c9030ca0a9d1b2aa944d03eb506a50a8df249a41b2c32a3557f324b4365844d7e7a9462739bf323fec0bce8593c
7
- data.tar.gz: 3ef2e17855b8663c19a6ebc568a173c5c3b7dc30d70982d23c2335007047c7d82844e7511a96e90f8b16d0599c12248c16df25ff4923dde3497761aa5ccc9eef
6
+ metadata.gz: fc2ee0d6b12a72db1801797faecdc1ecca069a8dec56d47b0220081f1e6dae5f38869b378ed25aead56aba4587ab62361545196e78cdc5aee7478718205d782e
7
+ data.tar.gz: d9d2f71871d739b751229e53af86320a8122d444707bf8f298a6529d4f3346fbce6ffbb84a0e8e0fe6f8263a9cffefae7e642f119909c87887e2d783da6c6b8a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grid_generator (0.5.2)
4
+ grid_generator (0.6.0)
5
5
  matrix (~> 0.4.2)
6
6
 
7
7
  GEM
@@ -31,13 +31,13 @@ module GridGenerator
31
31
  anchors[:center],
32
32
  anchors[:bottom_left_corner]
33
33
  ]
34
- when [0, 1] # right
34
+ when [1, 1] # right
35
35
  [
36
36
  anchors[:top_right_corner],
37
37
  anchors[:bottom_right_corner],
38
38
  anchors[:center]
39
39
  ]
40
- when [1, 0] # bottom
40
+ when [2, 0] # bottom
41
41
  [
42
42
  anchors[:center],
43
43
  anchors[:bottom_right_corner],
@@ -4,7 +4,7 @@ require_relative 'left_element_factory'
4
4
 
5
5
  module GridGenerator
6
6
  module Skewb
7
- class LeftSkewbGrid < Skewb::SkewbGrid
7
+ class LeftGrid < Skewb::SkewbGrid
8
8
  def factory_class
9
9
  GridGenerator::Skewb::LeftElementFactory
10
10
  end
@@ -5,7 +5,7 @@ require_relative 'right_element_factory.rb'
5
5
 
6
6
  module GridGenerator
7
7
  module Skewb
8
- class RightSkewbGrid < Skewb::SkewbGrid
8
+ class RightGrid < Skewb::SkewbGrid
9
9
  def factory_class
10
10
  GridGenerator::Skewb::RightElementFactory
11
11
  end
@@ -5,7 +5,7 @@ require_relative 'top_element_factory'
5
5
 
6
6
  module GridGenerator
7
7
  module Skewb
8
- class TopSkewbGrid < Skewb::SkewbGrid
8
+ class TopGrid < Skewb::SkewbGrid
9
9
  def factory_class
10
10
  GridGenerator::Skewb::TopElementFactory
11
11
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GridGenerator
4
- VERSION = "0.5.2"
4
+ VERSION = "0.6.0"
5
5
  end
@@ -9,9 +9,9 @@ require_relative 'grid_generator/cubic/right_grid'
9
9
  require_relative 'grid_generator/cubic/facing_grid'
10
10
  require_relative 'grid_generator/cubic/bordered_grid'
11
11
  require_relative 'grid_generator/cubic/square_factory'
12
- require_relative 'grid_generator/skewb/top_skewb_grid'
13
- require_relative 'grid_generator/skewb/left_skewb_grid'
14
- require_relative 'grid_generator/skewb/right_skewb_grid'
12
+ require_relative 'grid_generator/skewb/top_grid'
13
+ require_relative 'grid_generator/skewb/left_grid'
14
+ require_relative 'grid_generator/skewb/right_grid'
15
15
  require_relative 'grid_generator/curvy_copter/top_grid'
16
16
  require_relative 'grid_generator/curvy_copter/left_grid'
17
17
  require_relative 'grid_generator/curvy_copter/right_grid'
@@ -50,16 +50,16 @@ module GridGenerator
50
50
  ).build
51
51
  end
52
52
 
53
- def self.top_skewb_grid(args)
54
- Skewb::TopSkewbGrid.new(**args)
53
+ def self.skewb_top_grid(args)
54
+ Skewb::TopGrid.new(**args)
55
55
  end
56
56
 
57
- def self.left_skewb_grid(args)
58
- Skewb::LeftSkewbGrid.new(**args)
57
+ def self.skewb_left_grid(args)
58
+ Skewb::LeftGrid.new(**args)
59
59
  end
60
60
 
61
- def self.right_skewb_grid(args)
62
- Skewb::RightSkewbGrid.new(**args)
61
+ def self.skewb_right_grid(args)
62
+ Skewb::RightGrid.new(**args)
63
63
  end
64
64
 
65
65
  def self.curvy_copter_top_grid(args)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grid_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Humphreys
@@ -78,12 +78,12 @@ files:
78
78
  - lib/grid_generator/scaler.rb
79
79
  - lib/grid_generator/skewb/element_factory.rb
80
80
  - lib/grid_generator/skewb/left_element_factory.rb
81
- - lib/grid_generator/skewb/left_skewb_grid.rb
81
+ - lib/grid_generator/skewb/left_grid.rb
82
82
  - lib/grid_generator/skewb/right_element_factory.rb
83
- - lib/grid_generator/skewb/right_skewb_grid.rb
83
+ - lib/grid_generator/skewb/right_grid.rb
84
84
  - lib/grid_generator/skewb/skewb_grid.rb
85
85
  - lib/grid_generator/skewb/top_element_factory.rb
86
- - lib/grid_generator/skewb/top_skewb_grid.rb
86
+ - lib/grid_generator/skewb/top_grid.rb
87
87
  - lib/grid_generator/square_one/element_factory.rb
88
88
  - lib/grid_generator/square_one/face.rb
89
89
  - lib/grid_generator/square_one_face_parser.rb