code_healer 0.1.32 → 0.1.33
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 +5 -0
- data/lib/code_healer/healing_workspace_manager.rb +15 -17
- data/lib/code_healer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c3a36c401bef8aaddaf43a1b582bd0d398dc3f6d02e1618bc913327110eff02
|
4
|
+
data.tar.gz: 55375ba10a91f2c3ec1bea92c77034d1d5e7044c0a9bb6ca1f0a260531d03732
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34d758a6ec20dda236e9a7631d2520fb4e6cd8a08c5d5dfdb758b15238a8453003d7c8ccb677a2d3f813e5597e09c4808fc0ffbbb402f010a8ebcc6b90508ed1
|
7
|
+
data.tar.gz: 2a67d461d89c20515538510106a0eb544a8294954d61b152e95a6d92722553c062b9c5ce05a72a974579c96f84206d79e7fdd57a4317ad1ec3162c40a4e31cb6
|
data/CHANGELOG.md
CHANGED
@@ -119,26 +119,24 @@ module CodeHealer
|
|
119
119
|
end
|
120
120
|
|
121
121
|
# Run tests if available
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
PresentationLogger.detail("Test preparation: #{test_result ? 'passed' : 'skipped'}")
|
135
|
-
end
|
122
|
+
if File.exist?('Gemfile')
|
123
|
+
bundle_check = system("bundle check >/dev/null 2>&1")
|
124
|
+
unless bundle_check
|
125
|
+
PresentationLogger.error("Bundle check failed")
|
126
|
+
return false
|
127
|
+
end
|
128
|
+
|
129
|
+
# Run tests if RSpec is available
|
130
|
+
if File.exist?('spec') || File.exist?('test')
|
131
|
+
test_result = system("bundle exec rspec --dry-run >/dev/null 2>&1") ||
|
132
|
+
system("bundle exec rake test:prepare >/dev/null 2>&1")
|
133
|
+
PresentationLogger.detail("Test preparation: #{test_result ? 'passed' : 'skipped'}")
|
136
134
|
end
|
137
135
|
end
|
138
|
-
|
139
|
-
PresentationLogger.success("Validation passed")
|
140
|
-
true
|
141
136
|
end
|
137
|
+
|
138
|
+
PresentationLogger.success("Validation passed")
|
139
|
+
true
|
142
140
|
rescue => e
|
143
141
|
PresentationLogger.error("Validation failed: #{e.message}")
|
144
142
|
false
|
data/lib/code_healer/version.rb
CHANGED