foobara-typescript-remote-command-generator 0.0.5 → 0.0.7

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: 0a7d35269e0cccd832d9f2273e87df63886b43653f8f3188c835f3d98b57bbb6
4
- data.tar.gz: 2a28d7e124c91342b41f598e2d83fde63f9a6d1a4a882d8865b68da39763773b
3
+ metadata.gz: 0e689d3af26a2cdbb1700275d5d1533f2830e906fa3da8902b8a8632a7fa233d
4
+ data.tar.gz: c4efa338d9bb3ee203a8fb00ec2a5191fd39f4164f85efee8af092af51d4e10e
5
5
  SHA512:
6
- metadata.gz: 221ffce09538be115791fd15ef205a4d381828974a8076fd693db489a749598edcdf68c5faafe21f570830c73f8ff3fb838af3b4a9c388ccf665282b6ce41952
7
- data.tar.gz: e3a47338014c6d6f819c6ac9e1b6269558cf2955ae1d4a709a4c000d03029de634617683566c3f6a6d3f3a056add55fc4ff8a039e4acb4115b4f13a6fbdb4780
6
+ metadata.gz: 55adef696b27cf8841be112e4b5988fa4610e3c859d7ce94522787f92592da1fa6a7c1826b5f79f2f59f90a5f206ad991ac3808cd6e0f8514fe3602eade0a5dc
7
+ data.tar.gz: 2a6603509a278a612c1494f6ae5158b138314a1fd7bf06caf7e3f3b7dd26c5c7ebb43cf4a3e8541c72f51b9039732146c603a9d16be31afba5a367a409834236
data/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
- ## [0.0.5] - 2024-08-23
1
+ ## [0.0.7] - 2025-01-06
2
+
3
+ - Bump Ruby to 3.4.1
4
+
5
+ ## [0.0.6] - 2024-08-22
6
+
7
+ - Fix remaining naming bug in model templates
8
+
9
+ ## [0.0.5] - 2024-08-22
2
10
 
3
11
  - Fix several naming/import issues in templates
4
12
 
@@ -26,6 +26,8 @@ module Foobara
26
26
 
27
27
  def model_generators
28
28
  types_depended_on.select(&:model?).map do |model|
29
+ # TODO: what about detached_entity? What is the difference in this context between entity and model and
30
+ # which is detached_entity more like?
29
31
  if model.entity?
30
32
  Services::AggregateEntityGenerator.new(model)
31
33
  else
@@ -23,7 +23,7 @@ module Foobara
23
23
  end
24
24
 
25
25
  def import_destructure
26
- "* as #{scoped_name}Errors"
26
+ "* as #{scoped_short_name}Errors"
27
27
  end
28
28
  end
29
29
  end
@@ -51,6 +51,7 @@ module Foobara
51
51
 
52
52
  def dependencies
53
53
  # Why don't we need models and custom types?
54
+ # what about detached_entity types?
54
55
  types_depended_on.select(&:entity?)
55
56
  end
56
57
 
@@ -146,7 +146,7 @@ module Foobara
146
146
  end
147
147
 
148
148
  def import_destructure
149
- "{ #{scoped_name} }"
149
+ "{ #{scoped_short_name} }"
150
150
  end
151
151
 
152
152
  def import_path_array
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-typescript-remote-command-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-08-23 00:00:00.000000000 Z
10
+ date: 2025-01-06 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: foobara
@@ -38,7 +37,6 @@ dependencies:
38
37
  - - ">="
39
38
  - !ruby/object:Gem::Version
40
39
  version: '0'
41
- description:
42
40
  email:
43
41
  - azimux@gmail.com
44
42
  executables: []
@@ -122,7 +120,6 @@ metadata:
122
120
  source_code_uri: https://github.com/foobara/typescript-remote-command-generator
123
121
  changelog_uri: https://github.com/foobara/typescript-remote-command-generator/CHANGELOG.md
124
122
  rubygems_mfa_required: 'true'
125
- post_install_message:
126
123
  rdoc_options: []
127
124
  require_paths:
128
125
  - lib
@@ -130,15 +127,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
130
127
  requirements:
131
128
  - - ">="
132
129
  - !ruby/object:Gem::Version
133
- version: 3.2.2
130
+ version: 3.4.0
134
131
  required_rubygems_version: !ruby/object:Gem::Requirement
135
132
  requirements:
136
133
  - - ">="
137
134
  - !ruby/object:Gem::Version
138
135
  version: '0'
139
136
  requirements: []
140
- rubygems_version: 3.4.10
141
- signing_key:
137
+ rubygems_version: 3.6.2
142
138
  specification_version: 4
143
139
  summary: Generates remote commands for Typescript from a foobara manifest
144
140
  test_files: []