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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f69760b825ea26b8df034a062aead175841853abe85aca95f696dbb6f3bc08f
4
- data.tar.gz: d2f78b191f2f7d8c4fd848e86c173267e6c863439d102866a0dc2a06e568df59
3
+ metadata.gz: 905722688ad1966dbe0fbc488425daaa15124c1181a136df59a6a92b99871751
4
+ data.tar.gz: 61b791a6c204dbddeec4e6d936bcf294e5a334ad2e836dd715b042580bd55f23
5
5
  SHA512:
6
- metadata.gz: c41234662b8463949fe63a0ce6aae3b277cb0ee64de945a0d593673fd65ecadb5f2e36b6b929363b5fa1a790290297c2e03d4600d28f65da410ebc9c27af27bf
7
- data.tar.gz: 74158326b96a5a6a08f8213e64033e8c1ae70504f6bc4be1b8238bb2d7839bdf55af0e5e3caa194510f9c1bebf59e5a6c9ee1e3df8852ef56cbba2bcbfb0184b
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: :compile do
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: :redo do
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tng
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
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 = ["claudiu.garba@gmail.com"]
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.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
- - claudiu.garba@gmail.com
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.2 โ”˜\n"
274
+ v0.2.3 โ”˜\n"
276
275
  rdoc_options: []
277
276
  require_paths:
278
277
  - lib
data/binaries/tng.so DELETED
Binary file