luna-rspec-formatters 3.7.0 → 3.7.2

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
  SHA1:
3
- metadata.gz: 880afa1a9b854fb32d971de96572c3d356c7871e
4
- data.tar.gz: 5a88f1b3e848b03018b7c77a0142e9ac66f9d823
3
+ metadata.gz: 4b20e6cd28ec986ffb213472c0931adb78389190
4
+ data.tar.gz: 8034b8ce79e7807c463cf5b45e5c3ba1c77e7360
5
5
  SHA512:
6
- metadata.gz: cf623d3bbc7914de60f2a129d57bf78fdea54283666da49d6f077ce94136b870abb89dae163c3d27a2139f620ff7f30446870f11b38abef76092ed920556ddac
7
- data.tar.gz: 523140a7e9cb9d7572ffaacca6d62546cb5d2f442b20a579ea8eb5beb3c65a9192ca422abba07bca76e1528b67c0ea6bd79694b0868a5adaafb3a47e6fde6104
6
+ metadata.gz: 5b9d5f0755509b222b7706de96bcdc2c3e792180318dc7ee06e8468a1c479705f9a85ad7e1ca51574e4d0f3c43a329a59767f63ec33c6c583e9352a3a36525fe
7
+ data.tar.gz: 5d25ab6e05656cc15c6bfe80cd9ba4d87a2dc2c58703058b403641da6a944ba5f2bb17cf31ca9f52ddc9516d90fbe12f6782f9d7b7ad0cc73c26c8ecb98398d4
@@ -24,10 +24,7 @@ module Luna
24
24
 
25
25
  def allowed_cols
26
26
  @cols ||= begin
27
- val = IO.console.winsize.last / 4
28
- val = Float::INFINITY unless val >= 24
29
- val = val.floor if val >= 24
30
- val
27
+ (val = IO.console.winsize.last / 4) >= 24 ? val.floor : Float::INFINITY
31
28
  end
32
29
  end
33
30
 
@@ -7,7 +7,7 @@
7
7
  module Luna
8
8
  module Rspec
9
9
  module Formatters
10
- VERSION = "3.7.0"
10
+ VERSION = "3.7.2"
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luna-rspec-formatters
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordon Bedwell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-16 00:00:00.000000000 Z
11
+ date: 2016-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec