luna-rspec-formatters 3.13.0 → 3.14.0

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: 05d536576eba557dcc0c417000b594811009315462bca4831dfa56d6e60cc530
4
- data.tar.gz: b0b06d7d5aeb748dd1cf1840a37653fabbde572ab91a5ff58c4247809922ca6a
3
+ metadata.gz: a9da1ca0e746deb01ba1fb8b585deed27e40ab1e1143d5c6825f292e0ea97202
4
+ data.tar.gz: bfcc860d34b4f24b81675677342e09a2844328fb5a9399691680972394033768
5
5
  SHA512:
6
- metadata.gz: 60c804b4c927669915778aeaa62c5bfc27ed81088996f239c98ecdad77926eaa04b071ba1fa114a9460eeef881f31c9f8791e6f6b2c1245d95a6bb0d458fec43
7
- data.tar.gz: 572f6991a5b54004c1a4bc61456ff710c3938b8c335f37058268d0dba99e32723a73c19c00f7f13c85861d8475693fb01eaa4d43eb0f2e2bda44284c5a53d18e
6
+ metadata.gz: 348321dedf85f1f3807ea975b4acbeedc66efd1bc92091dd27fa393ce6f30e41e8284b06b41e22f653dfd5a5b3cad79beca78a700e635dafe21071cff2b7f5f7
7
+ data.tar.gz: facb6786aad73916d39bca815cce629795244064f5b9fcd93c3f1ff6878912908435356b7eaa3ed4887d2039945fd2dc0d0921e0a918c396a0debfe19d290871
@@ -16,8 +16,9 @@ module Luna
16
16
  # --
17
17
  def example_passed(_)
18
18
  newline_or_addup
19
- output.print " ",
20
- success_color("\u2714")
19
+ output.print " ", success_color(
20
+ "\u2714"
21
+ )
21
22
  end
22
23
 
23
24
  # --
@@ -25,8 +26,9 @@ module Luna
25
26
  # --
26
27
  def example_failed(_)
27
28
  newline_or_addup
28
- output.print " ",
29
- failure_color("\u2718")
29
+ output.print " ", failure_color(
30
+ "\u2718"
31
+ )
30
32
  end
31
33
 
32
34
  # --
@@ -34,8 +36,9 @@ module Luna
34
36
  # --
35
37
  def example_pending(_)
36
38
  newline_or_addup
37
- output.print " ",
38
- pending_color("\u203D")
39
+ output.print " ", pending_color(
40
+ "\u203D"
41
+ )
39
42
  end
40
43
  end
41
44
  end
@@ -26,7 +26,7 @@ module Luna
26
26
  # The total columns we allow.
27
27
  # --
28
28
  def allowed_cols
29
- @cols ||= (IO.console.winsize.last / 6)
29
+ @cols ||= ((IO.console&.winsize&.last || Float::INFINITY) / 6)
30
30
  end
31
31
 
32
32
  # --
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Luna
7
7
  module Formatters
8
- VERSION = "3.13.0"
8
+ VERSION = "3.14.0"
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luna-rspec-formatters
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.13.0
4
+ version: 3.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordon Bedwell