rusty_json_schema 0.3.1 → 0.3.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1e9da4b27f62c9eff44103b3eeacefdd83f2c3831c569c450f25348d268b464
|
4
|
+
data.tar.gz: 934abcfc7eaebfc9354fb9b5c65ad8be406421969cd6ae9df185dcd90c57020c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 053f4b712ddda62db5cac62d834feaab370b076d89674c5d858b31c5a863740c0742e6ff0bd073cc87ffe296ee7b6e74cf26e74486669a37fdb832da4381d644
|
7
|
+
data.tar.gz: b8619fa8cf4d1caa53a8a0418b51e57c10cafaa1c4589e384903667a4e08c02116f98d3314015d46853231e993988848d063e0065c8575c2fcf505fed8dc8113
|
data/README.md
CHANGED
data/ext/Rakefile
CHANGED
@@ -8,10 +8,19 @@ thermite = Thermite::Tasks.new(cargo_project_path: project_dir,
|
|
8
8
|
ruby_project_path: project_dir,
|
9
9
|
optional_rust_extension: true)
|
10
10
|
|
11
|
-
namespace :thermite do
|
11
|
+
namespace :thermite do # rubocop:disable Metrics/BlockLength
|
12
|
+
desc "Clean up default binaries"
|
13
|
+
task :clean_binnaries do
|
14
|
+
puts "Cleaning up"
|
15
|
+
Dir["#{thermite.config.ruby_extension_path}.*.default"].each do |file|
|
16
|
+
FileUtils.rm(file)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
12
20
|
desc "Try to build extension if cargo is available or setup default lib"
|
13
21
|
task :build_or_default do
|
14
|
-
|
22
|
+
platform = "#{Gem::Platform.local.cpu}-#{Gem::Platform.local.os}"
|
23
|
+
default_ext_path = "#{thermite.config.ruby_extension_path}.#{platform}.default"
|
15
24
|
|
16
25
|
if thermite.cargo
|
17
26
|
profile = ENV.fetch("CARGO_PROFILE", "release")
|
@@ -39,4 +48,4 @@ namespace :thermite do
|
|
39
48
|
end
|
40
49
|
end
|
41
50
|
|
42
|
-
task default: %w[thermite:build_or_default thermite:cargo_clean]
|
51
|
+
task default: %w[thermite:build_or_default thermite:cargo_clean thermite:clean_binnaries]
|
Binary file
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rusty_json_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leszek Zalewski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thermite
|
@@ -67,7 +67,7 @@ files:
|
|
67
67
|
- README.md
|
68
68
|
- ext/Rakefile
|
69
69
|
- ext/json_schema.so.x64-mingw32.default
|
70
|
-
- ext/json_schema.so.x86_64-darwin
|
70
|
+
- ext/json_schema.so.x86_64-darwin.default
|
71
71
|
- ext/json_schema.so.x86_64-linux.default
|
72
72
|
- lib/rusty_json_schema.rb
|
73
73
|
- lib/rusty_json_schema/binding.rb
|