tinycert 0.1.2 → 0.1.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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/tinycert/certs.rb +0 -1
- data/lib/tinycert/request.rb +4 -2
- data/lib/tinycert/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69c0bb347db168ce7091c9cbdb6774f2b9c521dc
|
4
|
+
data.tar.gz: 47a6253aa174fb8cb030d06e62e9676e46b0aafd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 565080a0835817068cc69cec2922c43ccb16453681193babf4c7e54300982f07f7ab224ffd0284271ae39297a703149fb462b746a3667133c5a5b357936f2006
|
7
|
+
data.tar.gz: 26bf62cf7926f9c677267117f2f7d3bc3d20771f8f66770de570ed84bf2237f009aaefc0a29b45ed0180355a599792514778302fa15aaa33332752f0bad78146
|
data/Gemfile.lock
CHANGED
data/lib/tinycert/certs.rb
CHANGED
data/lib/tinycert/request.rb
CHANGED
@@ -20,9 +20,11 @@ module Tinycert
|
|
20
20
|
|
21
21
|
# Sort the params consistently
|
22
22
|
def prepare_params params
|
23
|
+
results = {}
|
24
|
+
# Build a new hash with string keys
|
25
|
+
params.each { |k, v| results[k.to_s] = v }
|
23
26
|
# Sort nested structures
|
24
|
-
|
25
|
-
params.sort.to_h
|
27
|
+
results.sort.to_h
|
26
28
|
end
|
27
29
|
|
28
30
|
def digest
|
data/lib/tinycert/version.rb
CHANGED