tng 0.2.2 โ 0.2.3
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/Rakefile +13 -2
- data/binaries/tng.bundle +0 -0
- data/lib/tng/version.rb +1 -1
- data/tng.gemspec +1 -1
- metadata +3 -4
- data/binaries/tng.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 905722688ad1966dbe0fbc488425daaa15124c1181a136df59a6a92b99871751
|
4
|
+
data.tar.gz: 61b791a6c204dbddeec4e6d936bcf294e5a334ad2e836dd715b042580bd55f23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee626a2d20b0d20ce0b412ee564e83f72326f2434a0065e66848a6f44b6d89e1d98453a6c311bff01ff551aa8634c60afdf586e5a5b1f538cd09ad63a3ff28e1
|
7
|
+
data.tar.gz: 1f7ae4397fd988a72e13642f2d5a5a824d5694e7a8991c5b33073962b33b03fdf48b2c976130ab14f03839265a8a683a4141b2288d7aeb2461692fbc061e27a0
|
data/Rakefile
CHANGED
@@ -22,7 +22,11 @@ end
|
|
22
22
|
task default: %i[compile test rubocop]
|
23
23
|
|
24
24
|
desc "Recompile Rust code and copy the binary for packaging"
|
25
|
-
task redo
|
25
|
+
task :redo do
|
26
|
+
puts "Compiling Rust code..."
|
27
|
+
Rake::Task[:compile].reenable
|
28
|
+
Rake::Task[:compile].invoke
|
29
|
+
|
26
30
|
puts "Copying compiled binary to binaries/ directory..."
|
27
31
|
binary_name = RUBY_PLATFORM.include?("darwin") ? "tng.bundle" : "tng.so"
|
28
32
|
source_file = File.join("lib", "tng", binary_name)
|
@@ -85,7 +89,14 @@ task :build_both do
|
|
85
89
|
end
|
86
90
|
|
87
91
|
desc "Development build: compile for current OS and build gem"
|
88
|
-
task dev
|
92
|
+
task :dev do
|
93
|
+
puts "๐งน Cleaning binaries directory..."
|
94
|
+
FileUtils.rm_rf("binaries")
|
95
|
+
FileUtils.mkdir_p("binaries")
|
96
|
+
puts "โ
Binaries directory cleaned"
|
97
|
+
|
98
|
+
Rake::Task[:redo].invoke
|
99
|
+
|
89
100
|
puts "Building gem..."
|
90
101
|
system("gem build tng.gemspec") || (puts "โ Gem build failed"
|
91
102
|
exit 1)
|
data/binaries/tng.bundle
CHANGED
Binary file
|
data/lib/tng/version.rb
CHANGED
data/tng.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "tng"
|
7
7
|
spec.version = Tng::VERSION
|
8
8
|
spec.authors = ["ralucab"]
|
9
|
-
spec.email = ["
|
9
|
+
spec.email = ["raluca@tng.sh"]
|
10
10
|
|
11
11
|
spec.summary = "TNG generates tests using static code analysis and LLM"
|
12
12
|
spec.description = "TNG (Test Next Generation) is a Rails gem that automatically generates comprehensive test files by analyzing your Ruby code using static analysis and AI. It supports models, controllers, and services with intelligent test case generation."
|
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.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ralucab
|
@@ -195,7 +195,7 @@ description: TNG (Test Next Generation) is a Rails gem that automatically genera
|
|
195
195
|
comprehensive test files by analyzing your Ruby code using static analysis and AI.
|
196
196
|
It supports models, controllers, and services with intelligent test case generation.
|
197
197
|
email:
|
198
|
-
-
|
198
|
+
- raluca@tng.sh
|
199
199
|
executables:
|
200
200
|
- load_dev
|
201
201
|
- tng
|
@@ -209,7 +209,6 @@ files:
|
|
209
209
|
- bin/load_dev
|
210
210
|
- bin/tng
|
211
211
|
- binaries/tng.bundle
|
212
|
-
- binaries/tng.so
|
213
212
|
- lib/generators/tng/install_generator.rb
|
214
213
|
- lib/tng.rb
|
215
214
|
- lib/tng/analyzers/controller.rb
|
@@ -272,7 +271,7 @@ post_install_message: "โ TNG โโโโโโโโโโโโโโโโ
|
|
272
271
|
\ โ\nโ โข bundle exec
|
273
272
|
tng --help - Show help information โ\nโ โ\nโ
|
274
273
|
\ \U0001F4A1 Generate tests for individual methods with precision โ\nโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
275
|
-
v0.2.
|
274
|
+
v0.2.3 โ\n"
|
276
275
|
rdoc_options: []
|
277
276
|
require_paths:
|
278
277
|
- lib
|
data/binaries/tng.so
DELETED
Binary file
|