rbs 4.0.0.dev.3 → 4.0.0.dev.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/Rakefile +8 -0
- data/ext/rbs_extension/extconf.rb +7 -3
- data/lib/rbs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d6c17a1d8371e7d529d224fcf5654f338e078e576275c214754573bb852a3f1
|
4
|
+
data.tar.gz: 181a52dc722b34752019e38fcbf1b7b001cbdc3fd0ff3ceadeeefeb2813a5a5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bee9898c24cd2cfe577fd693a60daa364c0769f815f684170e123fa7f2dc7932799fbf9b99aba19e83a17d373c8eedf5007e3934338b1ecd052a85c2f7ad986b
|
7
|
+
data.tar.gz: 5cd52e73fbbd3680d049a3c116da321d6e98825121216d33cd365737bd5405e1bb32dd3f3d33842a7a5db7ca9442c27a107682430cbafbce78dbfc0dc24be06e
|
data/Rakefile
CHANGED
@@ -11,6 +11,14 @@ bin = File.join(__dir__, "bin")
|
|
11
11
|
|
12
12
|
Rake::ExtensionTask.new("rbs_extension")
|
13
13
|
|
14
|
+
compile_task = Rake::Task[:compile]
|
15
|
+
|
16
|
+
task :setup_extconf_compile_commands_json do
|
17
|
+
ENV["COMPILE_COMMANDS_JSON"] = "1"
|
18
|
+
end
|
19
|
+
|
20
|
+
compile_task.prerequisites.unshift(:setup_extconf_compile_commands_json)
|
21
|
+
|
14
22
|
test_config = lambda do |t|
|
15
23
|
t.libs << "test"
|
16
24
|
t.libs << "lib"
|
@@ -26,6 +26,10 @@ end
|
|
26
26
|
|
27
27
|
create_makefile 'rbs_extension'
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
# Only generate compile_commands.json when compiling through Rake tasks
|
30
|
+
# This is to avoid adding extconf_compile_commands_json as a runtime dependency
|
31
|
+
if ENV["COMPILE_COMMANDS_JSON"]
|
32
|
+
require 'extconf_compile_commands_json'
|
33
|
+
ExtconfCompileCommandsJson.generate!
|
34
|
+
ExtconfCompileCommandsJson.symlink!
|
35
|
+
end
|
data/lib/rbs/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.dev.
|
4
|
+
version: 4.0.0.dev.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soutaro Matsumoto
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-05-
|
10
|
+
date: 2025-05-20 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: logger
|