foobara-type-generator 0.0.2 → 0.0.3

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: 371ff772daf8be10634ada53169fb375c2de6af3a4eff19107fe98e85649caf1
4
- data.tar.gz: 10051cda28cf201af43a7b7a1764c950f4cb5d165c9def9949c6412934a54f2f
3
+ metadata.gz: 126f6261950296f8bc45c48d39ddd459cf88bedc7b2c85fbb2f2ce4b442783a0
4
+ data.tar.gz: a70e0eacdc4d8842bb1adc3034f4c9e4cda4071da3968f72596e9da86dcf0a8b
5
5
  SHA512:
6
- metadata.gz: e94df421ed933c4890e1f22c54b2089a168c1ae0dfa7e03a12d6b8d04a11ac447476dee5aab388c201aed62fbe973b89642dc7e1d0077540df6039c1f24c055f
7
- data.tar.gz: 446904fbefa29fd63375476e0cbd6e052fe1cab0ee7d426e9a3876bc17cef3e5cd26791d1afbd1c099dc811c166cc85b79a0ac37763bcee33da323d25ef409ab
6
+ metadata.gz: 78e47752fb709fa805a794d9fc08d52ce517a1007c3c9967717fcd02e3ab81c86d824cca657be84c05c2f1083d673032f02ed3d38685959d097d2acbaf2767ef
7
+ data.tar.gz: c38da20f811ba1683f5b2a184767aaf1bd32d7e1ed944e6f509691303fbfff2e54fab3b85f57c1f5d33f896ac5d02bdec104c6fa890a506b1682bc186a8a101a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.3] - 2024-08-14
2
+
3
+ - Fix syntax error in type.rb.erb output
4
+
1
5
  ## [0.0.2] - 2024-08-13
2
6
 
3
7
  - Scope types/ under domain if one is given
@@ -1,9 +1,11 @@
1
- <% module_path[..-2].each do |part| %>
1
+ <% containing_module_path = module_path[..-2] %>
2
+
3
+ <% containing_module_path.each do |part| %>
2
4
  module <%= part %>
3
5
  <% end %>
4
6
 
5
7
  foobara_register_type :<%= Util.underscore(module_path.last) %>, :string, :downcase
6
8
 
7
- <% module_path.size.times do %>
9
+ <% containing_module_path.size.times do %>
8
10
  end
9
11
  <% end %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-type-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-13 00:00:00.000000000 Z
11
+ date: 2024-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foobara
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description:
41
+ description:
42
42
  email:
43
43
  - azimux@gmail.com
44
44
  executables: []
@@ -67,7 +67,7 @@ metadata:
67
67
  source_code_uri: https://github.com/foobara/generators-type-generator
68
68
  changelog_uri: https://github.com/foobara/generators-type-generator/blob/main/CHANGELOG.md
69
69
  rubygems_mfa_required: 'true'
70
- post_install_message:
70
+ post_install_message:
71
71
  rdoc_options: []
72
72
  require_paths:
73
73
  - lib
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  version: '0'
84
84
  requirements: []
85
85
  rubygems_version: 3.4.10
86
- signing_key:
86
+ signing_key:
87
87
  specification_version: 4
88
88
  summary: Generates Foobara types
89
89
  test_files: []