sord 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f23de5349a9a01e6a4f4f4282b30197bb2bfa41714350da2223019ad7760f375
4
- data.tar.gz: d99869924be64e52ac543c8a376c906aef074932c912a403992d79728cf638de
3
+ metadata.gz: 3e12cbfdebd498098bf0c5b788427151a4c213f4f8767dc670b5629d104d00f4
4
+ data.tar.gz: 4344e6cb822d1ca3c98961948915ee67244c093ab6a1f9f248cdeb51f439dbe2
5
5
  SHA512:
6
- metadata.gz: 9db224cd69010f54a30282612e5e0e37eada990376c8016abacd36d9ce4c7a6e6d8154b50d1aabc226700acde74dc342b152d8085d15943700954df24e0bc024
7
- data.tar.gz: 0a3ea8a0215c79a975e792291446422f65646ec8153340e045639ea0d166a2fd91febf806e9315168166915c800e0e832477c49d78021728ead6c6bc44e2b734
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.1.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 || false
16
+ @@silent
14
17
  end
15
18
 
16
19
  # Sets whether log messages should be printed or not.
data/lib/sord/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # typed: strong
2
2
  module Sord
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
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.0
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-21 00:00:00.000000000 Z
11
+ date: 2019-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yard