Skip to content

Commit ec22efb

Browse files
committed
Remove a couple seemingly no-longer-unused methods
1 parent 3893451 commit ec22efb

File tree

6 files changed

+30
-30
lines changed

6 files changed

+30
-30
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [1.2.2] - 2026-01-24
2+
3+
- Add support for an app model named Model, which collide's with Foobara's Model
4+
- Fixes a bug when the superclass we import collides with dependencies
5+
- Fixes a bug where a dependency collides with something we're generating
6+
17
## [1.2.1] - 2025-12-19
28

39
- Handle some .foobara_delegate and #path deprecation warnings

Gemfile

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,25 @@ gemspec
88
# gem "foobara", path: "../foobara"
99
# gem "foobara-files-generator", path: "../files-generator"
1010

11-
# Development dependencies go here
12-
gem "foobara-rubocop-rules", ">= 1.0.0" # , path: "../rubocop-rules"
13-
gem "foobara-spec-helpers", "< 2.0.0"
14-
gem "guard-rspec"
15-
gem "pry"
16-
gem "pry-byebug"
1711
gem "rake"
18-
gem "rspec"
19-
gem "rspec-its"
20-
gem "rubocop"
21-
gem "rubocop-rake"
22-
gem "rubocop-rspec"
23-
gem "ruby-prof"
24-
gem "simplecov"
12+
13+
group :development do
14+
gem "foobara-rubocop-rules", ">= 1.0.0" # , path: "../rubocop-rules"
15+
gem "guard-rspec"
16+
gem "rspec"
17+
gem "rubocop"
18+
gem "rubocop-rake"
19+
gem "rubocop-rspec"
20+
end
21+
22+
group :development, :test do
23+
gem "pry"
24+
gem "pry-byebug"
25+
gem "ruby-prof"
26+
end
27+
28+
group :test do
29+
gem "foobara-spec-helpers", "< 2.0.0"
30+
gem "rspec-its"
31+
gem "simplecov"
32+
end

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
foobara-typescript-remote-command-generator (1.2.1)
4+
foobara-typescript-remote-command-generator (1.2.2)
55
foobara (>= 0.1.16, < 2.0.0)
66
foobara-files-generator (< 2.0.0)
77

@@ -17,7 +17,7 @@ GEM
1717
diff-lcs (1.6.2)
1818
docile (1.4.1)
1919
ffi (1.17.3-x86_64-linux-gnu)
20-
foobara (0.4.4)
20+
foobara (0.4.5)
2121
bigdecimal
2222
foobara-lru-cache (< 2.0.0)
2323
foobara-util (< 2.0.0)

src/remote_generator/services/error_generator.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,6 @@ def context_ts_type
5858
def dependencies
5959
@dependencies ||= types_depended_on.select { |type| type.detached_entity? || type.custom? || type.model? }
6060
end
61-
62-
def ts_type_full_path
63-
if parent.is_a?(CommandGenerator)
64-
p = super.dup
65-
p[-2] += "Errors"
66-
p
67-
else
68-
super
69-
end
70-
end
7161
end
7262
end
7363
end

src/remote_generator/services/typescript_from_manifest_base_generator.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,6 @@ def ts_instance_full_path
159159
[*parent&.scoped_full_path, *ts_instance_path]
160160
end
161161

162-
def ts_type_full_path
163-
ts_instance_full_path
164-
end
165-
166162
def organization_name = relevant_manifest.organization_name
167163
def domain_name = relevant_manifest.domain_name
168164

version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Foobara
22
module TypescriptRemoteCommandGenerator
33
module Version
4-
VERSION = "1.2.1".freeze
4+
VERSION = "1.2.2".freeze
55
MINIMUM_RUBY_VERSION = ">= 3.4.0".freeze
66
end
77
end

0 commit comments

Comments
 (0)