luna-rspec-formatters 3.5.0 → 3.6.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
  SHA1:
3
- metadata.gz: ad6f5b77993d5cba51446d7793e6626b24cdb28e
4
- data.tar.gz: ff2362897e52261f6bf921ddbf865050c5d1f01a
3
+ metadata.gz: 54213e7a9dc1f36b58abc6d10b66caa4dfa65ece
4
+ data.tar.gz: 8264856e93d164b8fcc469ab6c249042a40e9f38
5
5
  SHA512:
6
- metadata.gz: 7b564e2db5c45a7d254538eaf7c4c55b3aa175b542a6726b0fa84b0f40def80ae5ad5f35842c68ce476fb23b03d829339c533a2873dc9c8feb3e1cbfb38f987e
7
- data.tar.gz: cb6a7a05d7143f88fad3073d3da7aa162878487df5b9844c82f6ba78d3d5ec9d46a08b72e15d5532fa5deca97d213a3ebb36a782b4d314ec340ac79eb5820410
6
+ metadata.gz: 356261d9b6250deb14140bae244e1f894734dc594163b5f39a6bdfb67b6309b955c7140cf6a7a63015f82ba8091121b1502767f07b72defc7d6fd509b26da726
7
+ data.tar.gz: f80f7ecccfce971daba6558f243a2003bd5b3981325c31b98e888171a12dd23757edc05a20a9addc5befb416dc157033439009a55dbe44ef9d5a75321438bf24
@@ -24,7 +24,7 @@ module Luna
24
24
 
25
25
  def allowed_cols
26
26
  @cols ||= begin
27
- (`tput cols 2>/dev/null || 80`.to_i / 1.6).floor
27
+ (IO.console.winsize.last / 2).floor - 1
28
28
  end
29
29
  end
30
30
 
@@ -7,7 +7,7 @@
7
7
  module Luna
8
8
  module Rspec
9
9
  module Formatters
10
- VERSION = "3.5.0"
10
+ VERSION = "3.6.0"
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.5.0
4
+ version: 3.6.0
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-01-15 00:00:00.000000000 Z
11
+ date: 2016-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec