tng 0.5.2 → 0.5.4
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/README.md +4 -4
- data/bin/tng +158 -42
- data/binaries/go-ui-darwin-amd64 +0 -0
- data/binaries/go-ui-darwin-arm64 +0 -0
- data/binaries/go-ui-linux-amd64 +0 -0
- data/binaries/go-ui-linux-arm64 +0 -0
- data/binaries/tng-darwin-arm64.bundle +0 -0
- data/binaries/tng-darwin-x86_64.bundle +0 -0
- data/binaries/tng-linux-arm64.so +0 -0
- data/binaries/tng-linux-x86_64.so +0 -0
- data/binaries/tng.bundle +0 -0
- data/lib/generators/tng/install_generator.rb +4 -0
- data/lib/tng/analyzers/controller.rb +17 -2
- data/lib/tng/analyzers/model.rb +5 -3
- data/lib/tng/analyzers/other.rb +1 -1
- data/lib/tng/analyzers/service.rb +12 -10
- data/lib/tng/api/http_client.rb +4 -4
- data/lib/tng/services/direct_generation.rb +19 -1
- data/lib/tng/services/extract_methods.rb +3 -3
- data/lib/tng/services/file_type_detector.rb +50 -14
- data/lib/tng/services/test_generator.rb +67 -78
- data/lib/tng/ui/go_ui_session.rb +4 -4
- data/lib/tng/ui/post_install_box.rb +12 -12
- data/lib/tng/ui/theme.rb +22 -0
- data/lib/tng/utils.rb +63 -0
- data/lib/tng/version.rb +1 -1
- data/lib/tng.rb +19 -1
- metadata +5 -26
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tng
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ralucab
|
|
@@ -198,31 +198,10 @@ metadata:
|
|
|
198
198
|
homepage_uri: https://tng.sh/
|
|
199
199
|
source_code_uri: https://github.com/tng-sh/tng-rails-public
|
|
200
200
|
license_uri: https://github.com/tng-sh/tng-rails-public/blob/main/LICENSE.md
|
|
201
|
-
post_install_message:
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
\ │\n│ 1. Generate
|
|
206
|
-
configuration: │\n│ rails g tng:install
|
|
207
|
-
\ │\n│ │\n│
|
|
208
|
-
\ 2. Edit configuration file: │\n│ config/initializers/tng.rb
|
|
209
|
-
\ │\n│ │\n│
|
|
210
|
-
\ 3. Add your license key: │\n│ config.api_key
|
|
211
|
-
= 'your-license-key-here' │\n│ │\n│
|
|
212
|
-
\ \U0001F4CB Check documentation for the correct authentication setup │\n│
|
|
213
|
-
\ │\n│ \U0001F680
|
|
214
|
-
Usage: │\n│ │\n│
|
|
215
|
-
\ Interactive mode: │\n│ • bundle
|
|
216
|
-
exec tng - Interactive CLI with method selection │\n│ │\n│
|
|
217
|
-
\ Features: │\n│ • Test
|
|
218
|
-
20+ file types: Controllers, Models, Services + Jobs, │\n│ Helpers, Lib, Policies,
|
|
219
|
-
Presenters, Mailers, GraphQL, and more │\n│ • Select specific methods to test
|
|
220
|
-
\ │\n│ • Search and filter through methods │\n│
|
|
221
|
-
\ │\n│ Help:
|
|
222
|
-
\ │\n│ • bundle exec
|
|
223
|
-
tng --help - Show help information │\n│ │\n│
|
|
224
|
-
\ \U0001F4A1 Generate tests for individual methods with precision │\n└────────────────────────────────────────────────────────────
|
|
225
|
-
v0.5.2 ┘\n"
|
|
201
|
+
post_install_message: |-
|
|
202
|
+
TNG v0.5.4 installed successfully!
|
|
203
|
+
Run 'rails g tng:install' to get started.
|
|
204
|
+
Use 'bundle exec tng --help' for usage information.
|
|
226
205
|
rdoc_options: []
|
|
227
206
|
require_paths:
|
|
228
207
|
- lib
|