foobara-typescript-remote-command-generator 1.1.0 → 1.1.1
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +9 -0
- data/src/remote_generator/services/error_generator.rb +14 -10
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 265c685d5ad8b7cf3aeea1b469a82769efe696b03344ccef3953d99876bd8ce9
|
4
|
+
data.tar.gz: ddbc74ac856ac6b1b24a23ff562a274aaa5f0f3ab487e2e4b30b6ad0b4f95cdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ed2865200374f3684b7862a105f3fdfd3c7a92f161ae924f27e7a6159402a672eddb526a05de5517f92ae49fa520c174710fdf0a20a2f64e1ccf408d3256d29
|
7
|
+
data.tar.gz: 8681e6eb77cea62297a3c0366aa6a2278fc28616b4e7495c4ac0ee6ed6a503291ec2e8df93615e58b2a4e480ce449d90775188d55a9ead47833ee2dc782b0285
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -44,6 +44,15 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
44
44
|
version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version,
|
45
45
|
push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
46
46
|
|
47
|
+
### Updating the test fixture manifest JSON files
|
48
|
+
|
49
|
+
* answer-bot-manifest.json is created from the ai-rack project
|
50
|
+
* auth-manifest.json is created from the blog-rails project
|
51
|
+
* foobara-manifest is created from the playground-be project
|
52
|
+
* detached-manifest is created from the todo-list-backend
|
53
|
+
|
54
|
+
These were generated with http://localhost:9292/manifest?include_processors=true (or port 3000 for the rails ones)
|
55
|
+
|
47
56
|
## Contributing
|
48
57
|
|
49
58
|
Bug reports and pull requests are welcome on GitHub
|
@@ -11,16 +11,20 @@ module Foobara
|
|
11
11
|
|
12
12
|
basename = "#{error_name}.ts".split("::")
|
13
13
|
|
14
|
-
case
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
14
|
+
prefix = case p
|
15
|
+
when OrganizationGenerator, DomainGenerator, CommandGenerator
|
16
|
+
[*p.target_dir, "errors"]
|
17
|
+
when TypeGenerator
|
18
|
+
[*p.target_dir, p.type_short_name, "errors"]
|
19
|
+
when nil
|
20
|
+
# :nocov:
|
21
|
+
raise "Expected #{error_name} to have a parent but it did not"
|
22
|
+
# :nocov:
|
23
|
+
else
|
24
|
+
p.target_dir
|
25
|
+
end
|
26
|
+
|
27
|
+
[*prefix, *basename]
|
24
28
|
end
|
25
29
|
|
26
30
|
def error_base_class
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foobara-typescript-remote-command-generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Georgi
|
@@ -15,7 +15,7 @@ dependencies:
|
|
15
15
|
requirements:
|
16
16
|
- - ">="
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 0.1.
|
18
|
+
version: 0.1.4
|
19
19
|
- - "<"
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 2.0.0
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.1.
|
28
|
+
version: 0.1.4
|
29
29
|
- - "<"
|
30
30
|
- !ruby/object:Gem::Version
|
31
31
|
version: 2.0.0
|