vigiles 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vigiles/utilities/json.rb +5 -1
- data/lib/vigiles/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: 9c7da56eb222eab7028b219abca2ba0e58d07e6ea839e8cf128e2f06899e8369
|
4
|
+
data.tar.gz: 5cf3f8e95434d3db95d2fecf235e9887f13418999d67419428714054b5971816
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fab3769857951735aa3d586eb6cb1de7793f2687396cac8503d2804f22a75b6e786d96f68ecfff112f15ce7f7e152362c146f9c14f9af77f370d671918848c5
|
7
|
+
data.tar.gz: 7751d30f849eb16247aa8a23c7c7d07825b10080fa5689954d2493d2a9602fdfd2436c94ba64bacee1d455af9edfd9333a7fe6a11bd17d8dd583f6465cd6c2e8
|
@@ -6,7 +6,11 @@ require "json"
|
|
6
6
|
module Vigies
|
7
7
|
module Utilities
|
8
8
|
module JSON
|
9
|
-
|
9
|
+
extend T::Sig
|
10
|
+
|
11
|
+
UntypedHash = Vigiles::Types::UntypedHash
|
12
|
+
|
13
|
+
sig { params(text: String).returns(T.any(String, UntypedHash)) }
|
10
14
|
def self.parse_benignly(text)
|
11
15
|
::JSON.parse(text)
|
12
16
|
rescue StandardError
|
data/lib/vigiles/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vigiles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yaw Boakye
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sorbet-runtime
|