Skip to content

Commit

Permalink
Remove unused methods to get back to 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
azimux committed Aug 23, 2024
1 parent b6a5db5 commit b2aca3b
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 21 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.0.5] - 2024-08-23

- Fix several naming/import issues in templates

## [0.0.4] - 2024-08-22

- Add type generators to command result generator
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
foobara-typescript-remote-command-generator (0.0.4)
foobara-typescript-remote-command-generator (0.0.5)
foobara
foobara-files-generator

Expand Down
5 changes: 0 additions & 5 deletions src/remote_generator/services/aggregate_model_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ def attributes_type_ts_type
aggregate_attributes_ts_type
end

def ts_instance_path
*prefix, name = scoped_path
[*prefix, "#{name}Aggregate"]
end

def ts_instance_full_path
*prefix, name = scoped_full_path
[*prefix, "#{name}Aggregate"]
Expand Down
5 changes: 0 additions & 5 deletions src/remote_generator/services/atom_model_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ def model_generators
end
end

def ts_instance_path
*prefix, name = scoped_path
[*prefix, "#{name}Atom"]
end

def ts_instance_full_path
*prefix, name = scoped_full_path
[*prefix, "#{name}Atom"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,6 @@ def dependency_roots
dependency_group.non_colliding_dependency_roots.sort_by(&:scoped_full_name)
end

def ts_instance_name
ts_instance_path.join(".")
end

def ts_instance_path
scoped_path
end
Expand Down
5 changes: 0 additions & 5 deletions src/remote_generator/services/unloaded_entity_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ def template_path
["Entity", "Unloaded.ts.erb"]
end

def ts_instance_path
*prefix, name = super
[*prefix, "Unloaded#{name}"]
end

def ts_instance_full_path
*prefix, name = super
[*prefix, "Unloaded#{name}"]
Expand Down
2 changes: 1 addition & 1 deletion version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Foobara
module TypescriptRemoteCommandGenerator
module Version
VERSION = "0.0.4".freeze
VERSION = "0.0.5".freeze
end
end
end

0 comments on commit b2aca3b

Please sign in to comment.