grid_generator 0.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 (45) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +5 -0
  3. data/CODE_OF_CONDUCT.md +84 -0
  4. data/Gemfile +10 -0
  5. data/Gemfile.lock +23 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +39 -0
  8. data/Rakefile +12 -0
  9. data/grid_generator.gemspec +36 -0
  10. data/lib/grid_generator/arrows/arrow.rb +29 -0
  11. data/lib/grid_generator/arrows/diagonal_down_arrow.rb +107 -0
  12. data/lib/grid_generator/arrows/diagonal_up_arrow.rb +108 -0
  13. data/lib/grid_generator/arrows/horizontal_arrow.rb +108 -0
  14. data/lib/grid_generator/arrows/vertical_arrow.rb +108 -0
  15. data/lib/grid_generator/base_element.rb +30 -0
  16. data/lib/grid_generator/cubic/bordered_grid.rb +129 -0
  17. data/lib/grid_generator/cubic/facing_grid.rb +109 -0
  18. data/lib/grid_generator/cubic/facing_square_factory.rb +38 -0
  19. data/lib/grid_generator/cubic/front_grid.rb +27 -0
  20. data/lib/grid_generator/cubic/grid.rb +146 -0
  21. data/lib/grid_generator/cubic/iso_view.rb +30 -0
  22. data/lib/grid_generator/cubic/right_grid.rb +27 -0
  23. data/lib/grid_generator/cubic/square_factory.rb +46 -0
  24. data/lib/grid_generator/cubic/top_grid.rb +27 -0
  25. data/lib/grid_generator/face_parser.rb +43 -0
  26. data/lib/grid_generator/megaminx/common.rb +94 -0
  27. data/lib/grid_generator/megaminx/element_factory.rb +52 -0
  28. data/lib/grid_generator/megaminx/face.rb +79 -0
  29. data/lib/grid_generator/pyraminx/grid.rb +83 -0
  30. data/lib/grid_generator/pyraminx/triangle_factory.rb +45 -0
  31. data/lib/grid_generator/skewb/left_element_factory.rb +90 -0
  32. data/lib/grid_generator/skewb/left_skewb_grid.rb +43 -0
  33. data/lib/grid_generator/skewb/right_element_factory.rb +90 -0
  34. data/lib/grid_generator/skewb/right_skewb_grid.rb +43 -0
  35. data/lib/grid_generator/skewb/skewb_grid.rb +62 -0
  36. data/lib/grid_generator/skewb/top_element_factory.rb +90 -0
  37. data/lib/grid_generator/skewb/top_skewb_grid.rb +43 -0
  38. data/lib/grid_generator/square_one/element.rb +60 -0
  39. data/lib/grid_generator/square_one/element_factory.rb +89 -0
  40. data/lib/grid_generator/square_one/face.rb +82 -0
  41. data/lib/grid_generator/square_one_face_parser.rb +61 -0
  42. data/lib/grid_generator/version.rb +5 -0
  43. data/lib/grid_generator.rb +107 -0
  44. data/sig/grid_generator.rbs +4 -0
  45. metadata +103 -0
metadata ADDED
@@ -0,0 +1,103 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: grid_generator
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Mark Humphreys
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-02-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: matrix
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.4.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.4.2
27
+ description:
28
+ email:
29
+ - mark@mrlhumphreys.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - CHANGELOG.md
35
+ - CODE_OF_CONDUCT.md
36
+ - Gemfile
37
+ - Gemfile.lock
38
+ - LICENSE.txt
39
+ - README.md
40
+ - Rakefile
41
+ - grid_generator.gemspec
42
+ - lib/grid_generator.rb
43
+ - lib/grid_generator/arrows/arrow.rb
44
+ - lib/grid_generator/arrows/diagonal_down_arrow.rb
45
+ - lib/grid_generator/arrows/diagonal_up_arrow.rb
46
+ - lib/grid_generator/arrows/horizontal_arrow.rb
47
+ - lib/grid_generator/arrows/vertical_arrow.rb
48
+ - lib/grid_generator/base_element.rb
49
+ - lib/grid_generator/cubic/bordered_grid.rb
50
+ - lib/grid_generator/cubic/facing_grid.rb
51
+ - lib/grid_generator/cubic/facing_square_factory.rb
52
+ - lib/grid_generator/cubic/front_grid.rb
53
+ - lib/grid_generator/cubic/grid.rb
54
+ - lib/grid_generator/cubic/iso_view.rb
55
+ - lib/grid_generator/cubic/right_grid.rb
56
+ - lib/grid_generator/cubic/square_factory.rb
57
+ - lib/grid_generator/cubic/top_grid.rb
58
+ - lib/grid_generator/face_parser.rb
59
+ - lib/grid_generator/megaminx/common.rb
60
+ - lib/grid_generator/megaminx/element_factory.rb
61
+ - lib/grid_generator/megaminx/face.rb
62
+ - lib/grid_generator/pyraminx/grid.rb
63
+ - lib/grid_generator/pyraminx/triangle_factory.rb
64
+ - lib/grid_generator/skewb/left_element_factory.rb
65
+ - lib/grid_generator/skewb/left_skewb_grid.rb
66
+ - lib/grid_generator/skewb/right_element_factory.rb
67
+ - lib/grid_generator/skewb/right_skewb_grid.rb
68
+ - lib/grid_generator/skewb/skewb_grid.rb
69
+ - lib/grid_generator/skewb/top_element_factory.rb
70
+ - lib/grid_generator/skewb/top_skewb_grid.rb
71
+ - lib/grid_generator/square_one/element.rb
72
+ - lib/grid_generator/square_one/element_factory.rb
73
+ - lib/grid_generator/square_one/face.rb
74
+ - lib/grid_generator/square_one_face_parser.rb
75
+ - lib/grid_generator/version.rb
76
+ - sig/grid_generator.rbs
77
+ homepage: https://github.com/mrlhumphreys/grid_generator
78
+ licenses:
79
+ - MIT
80
+ metadata:
81
+ homepage_uri: https://github.com/mrlhumphreys/grid_generator
82
+ source_code_uri: https://github.com/mrlhumphreys/grid_generator
83
+ changelog_uri: https://github.com/mrlhumphreys/grid_generator/CHANGELOG.md
84
+ post_install_message:
85
+ rdoc_options: []
86
+ require_paths:
87
+ - lib
88
+ required_ruby_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 2.6.0
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ requirements: []
99
+ rubygems_version: 3.3.7
100
+ signing_key:
101
+ specification_version: 4
102
+ summary: Generating grids of shapes based on twisty puzzles
103
+ test_files: []