marktable 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 752bef02f6a6d806e4ce4988eb172380fcaf332110c040c83d7ebb6824bf97b7
4
- data.tar.gz: fa401c6a0db324c8cf159705b9381bf1d03d3beb518b9a334a3cec4f23a6cb96
3
+ metadata.gz: 1784dd519b087a312b16b62a5b562b4e96c6d9b2b8d2120fbedfbd26610c9b08
4
+ data.tar.gz: dbdd8c041ff3601a869bd1645ff040b3727272475742573d31c9e9b0f4be0c3c
5
5
  SHA512:
6
- metadata.gz: 5f3ca20b1dd27504f60d34491bad7ba3b70b97b7eea97864a5290c22c7df31f1fe9574ec000049c8c121937ca306ec211352c98d49ed7e32683823c27865c195
7
- data.tar.gz: f57711c3f2e3900ddb52fa6b6a62a03e79acb242f43557b7fd0ca32d8a9f56087c2f79fc274a96a8b2d87a9f3e120ebc17080d423f16d83c11987aede0975821
6
+ metadata.gz: 80378878aca4a4aac40969c76c007ba82073bf6ddb4a3ec601fe2b73f904c0d09efef2212b7a4e396dbedb215402e71563f1de84ca6f9c8861fe3bb7ce6eb282
7
+ data.tar.gz: 3bc02122e8896440a1fa5c959e344db546dedcca04355e142509b39ffd605e2d71ecb00b6d0d4d9b868088c2b85e8b1fb3ac00da63a4fcedfc2a2efbc83c1938
@@ -72,10 +72,8 @@ if defined?(RSpec)
72
72
  :csv
73
73
  when Marktable::Table
74
74
  :markdown
75
- when html?(data)
76
- :html
77
75
  else
78
- :markdown
76
+ html?(data) ? :html : :markdown
79
77
  end
80
78
  end
81
79
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Marktable
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marktable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francois Gaspard