sord 0.2.0 → 0.2.1
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 +9 -1
- data/lib/sord/logging.rb +4 -1
- data/lib/sord/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: 3e12cbfdebd498098bf0c5b788427151a4c213f4f8767dc670b5629d104d00f4
|
|
4
|
+
data.tar.gz: 4344e6cb822d1ca3c98961948915ee67244c093ab6a1f9f248cdeb51f439dbe2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ab1acfb5ca6537b46304e2dfb3e57d199668b475ea30d1519c4af19b9d088880d9518f531f9f8355dbdb21aa1774793f56b8665984691fe977aaf9ac2afb575
|
|
7
|
+
data.tar.gz: b1db635647176c5771478b8465d127f1f1e15212163490cdf616921c2aced669a2d76d8cad08188ed4e79a76f50b270abf0e2edb3e6c2972bd3aafe11dcd0e7e
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
sord (0.
|
|
4
|
+
sord (0.2.0)
|
|
5
5
|
colorize
|
|
6
6
|
sorbet-runtime
|
|
7
7
|
yard
|
|
@@ -11,6 +11,8 @@ GEM
|
|
|
11
11
|
specs:
|
|
12
12
|
colorize (0.8.1)
|
|
13
13
|
diff-lcs (1.3)
|
|
14
|
+
docile (1.3.2)
|
|
15
|
+
json (2.2.0)
|
|
14
16
|
rake (10.5.0)
|
|
15
17
|
rspec (3.8.0)
|
|
16
18
|
rspec-core (~> 3.8.0)
|
|
@@ -25,6 +27,11 @@ GEM
|
|
|
25
27
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
26
28
|
rspec-support (~> 3.8.0)
|
|
27
29
|
rspec-support (3.8.2)
|
|
30
|
+
simplecov (0.16.1)
|
|
31
|
+
docile (~> 1.1)
|
|
32
|
+
json (>= 1.8, < 3)
|
|
33
|
+
simplecov-html (~> 0.10.0)
|
|
34
|
+
simplecov-html (0.10.2)
|
|
28
35
|
sorbet (0.4.4254)
|
|
29
36
|
sorbet-static (= 0.4.4254)
|
|
30
37
|
sorbet-runtime (0.4.4254)
|
|
@@ -38,6 +45,7 @@ DEPENDENCIES
|
|
|
38
45
|
bundler (~> 2.0)
|
|
39
46
|
rake (~> 10.0)
|
|
40
47
|
rspec (~> 3.0)
|
|
48
|
+
simplecov
|
|
41
49
|
sorbet
|
|
42
50
|
sord!
|
|
43
51
|
|
data/lib/sord/logging.rb
CHANGED
|
@@ -7,10 +7,13 @@ module Sord
|
|
|
7
7
|
# The callables should take three parameters: (kind, msg, item).
|
|
8
8
|
@@hooks = []
|
|
9
9
|
|
|
10
|
+
# Whether log messages should be printed or not.
|
|
11
|
+
@@silent = false
|
|
12
|
+
|
|
10
13
|
# @return [Boolean] Whether log messages should be printed or not. This is
|
|
11
14
|
# used for testing.
|
|
12
15
|
def self.silent?
|
|
13
|
-
@@silent
|
|
16
|
+
@@silent
|
|
14
17
|
end
|
|
15
18
|
|
|
16
19
|
# Sets whether log messages should be printed or not.
|
data/lib/sord/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sord
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aaron Christiansen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-06-
|
|
11
|
+
date: 2019-06-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: yard
|