rfmt 1.2.1 → 1.2.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/Cargo.lock +1 -1
- data/ext/rfmt/Cargo.toml +1 -1
- data/lib/rfmt/cache.rb +2 -2
- data/lib/rfmt/rfmt.so +0 -0
- data/lib/rfmt/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: fe87cc473fd52b077095eda7b037967f646a97575fb4b9ad8ade73eb33052340
|
|
4
|
+
data.tar.gz: 8793f7c0480e2a4bc6b62b8274887993f38932a3a17d712a4e4f91f1eec02eee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da28021fbcabc8218b212797e5c6343b1f87b5769f30aeecacbf664788e82763d87c74a4edfc1db98e224b7980961c88267fc7e047e124c7bf5b195e802146e2
|
|
7
|
+
data.tar.gz: 2d22d732bfdfc34b4a9c53db73a5117735b93ef02c6a724c379f5c54c3fd0600bd8e6ba6de9306dc5c157ecbc480b869b78903ba58f3e3ee5cfd6a973ed15dc2
|
data/CHANGELOG.md
CHANGED
data/Cargo.lock
CHANGED
data/ext/rfmt/Cargo.toml
CHANGED
data/lib/rfmt/cache.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require '
|
|
3
|
+
require 'openssl'
|
|
4
4
|
require 'json'
|
|
5
5
|
require 'fileutils'
|
|
6
6
|
|
|
@@ -105,7 +105,7 @@ module Rfmt
|
|
|
105
105
|
|
|
106
106
|
def file_hash(file_path)
|
|
107
107
|
content = File.read(file_path)
|
|
108
|
-
Digest::
|
|
108
|
+
OpenSSL::Digest::SHA256.hexdigest(content)
|
|
109
109
|
rescue StandardError => e
|
|
110
110
|
raise CacheError, "Failed to read file #{file_path}: #{e.message}"
|
|
111
111
|
end
|
data/lib/rfmt/rfmt.so
CHANGED
|
Binary file
|
data/lib/rfmt/version.rb
CHANGED