tabulo 2.6.3 → 2.7.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: cdf2e4da09cd06510108899c38ddd3c144b04daa4b8f54f3a45593a78aee4f92
4
- data.tar.gz: fb604197bd38a80a74b1282ca693903fd6a064502410e13ad4b1022b64f3adcc
3
+ metadata.gz: 632d2d2d3b7d0120410d0afd2b8f1d1b341fd1b6daa7802b15b6f791640d409e
4
+ data.tar.gz: f5720b528f1c4384118196619ea923b317ec3ff7d374fa87d79808361031e7cc
5
5
  SHA512:
6
- metadata.gz: ee8a6b465a79fef67af10a08c7affc5c83a804b959aaa326202f24efe96aa189dfdd27c31650104f7e80c7eaccbf06ec04374f06f4e76fbdf381151356f438d5
7
- data.tar.gz: 18b13fd6d50be85f7e18c98ef23f4d0e3ce035a89ddc494589d5419fec94a85a99d323da969c111455de4890fd4ad8f34ee091da0ceeda320e69621dfc6cef92
6
+ metadata.gz: 283e3ac39971cfdf9df9968fe0e40b00d049865fe7f49ef0403d71e35ea8f49a43d85579cb9f12d080e0bacafa48c943d2e57176309be99809272983cd9db2d7
7
+ data.tar.gz: 32256e95de32d81a65d64e49a6f1eb42c33d7ccca2c76a5d6ce5cb6d0beee8c9d5588aa6d5df2c68a59ac8805e5b5048851a0959ddf281eaf891771ee162158c
@@ -0,0 +1,58 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Tests
9
+
10
+ on:
11
+ push:
12
+ branches: [master]
13
+ pull_request:
14
+ branches: [master]
15
+
16
+ jobs:
17
+ test:
18
+ runs-on: ubuntu-latest
19
+ strategy:
20
+ matrix:
21
+ ruby-version: [
22
+ '2.2.10',
23
+ '2.3.8',
24
+ '2.4.10',
25
+ '2.5.9',
26
+ '2.6.7',
27
+ '2.7.3',
28
+ '3.0.1',
29
+ ]
30
+ steps:
31
+ - uses: actions/checkout@v2
32
+ - name: Set up Ruby
33
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
34
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
35
+ uses: ruby/setup-ruby@v1 # Was: uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
36
+ with:
37
+ ruby-version: ${{ matrix.ruby-version }}
38
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
39
+ - name: Run tests
40
+ run: bundle exec rspec
41
+
42
+ - name: Report to Coveralls
43
+ uses: coverallsapp/github-action@v1.1.2
44
+ with:
45
+ github-token: ${{ secrets.github_token }}
46
+ flag-name: test-${{ matrix.ruby }}-${{ matrix.gemfile }}
47
+ parallel: true
48
+
49
+ finish:
50
+ needs: test
51
+ runs-on: ubuntu-latest
52
+ steps:
53
+
54
+ - name: Report completion to Coveralls
55
+ uses: coverallsapp/github-action@v1.1.2
56
+ with:
57
+ github-token: ${{ secrets.github_token }}
58
+ parallel-finished: true
data/.simplecov ADDED
File without changes
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ### v2.7.0
4
+
5
+ * Add `wrap_preserve` option, allowing whole words to be preserved when wrapping.
6
+ * Internal: Use GitHub actions instead of Travis
7
+
3
8
  ### v2.6.3
4
9
 
5
10
  * Update dependency versions
data/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  [![Gem Version][GV img]][Gem Version]
4
4
  [![Documentation][DC img]][Documentation]
5
- [![Coverage Status][CS img]][Coverage Status]
6
5
  [![Build Status][BS img]][Build Status]
6
+ [![Coverage Status][CS img]][Coverage Status]
7
7
  [![Code Climate][CC img]][Code Climate]
8
8
  [![Awesome][AR img]][Awesome Ruby]
9
9
 
@@ -63,6 +63,7 @@ end
63
63
  * The header row can be [repeated](#repeating-headers) at arbitrary intervals
64
64
  * Newlines within cell content are correctly handled
65
65
  * Multibyte Unicode characters are correctly handled
66
+ * Option to [preserve whole words](#preserve-words) when wrapping content
66
67
  * Apply [colours](#colours-and-styling) and other styling to table content and borders, without breaking the table
67
68
  * Easily [transpose](#transposition) the table, so that rows are swapped with columns
68
69
  * Choose from multiple [border configurations](#borders), including Markdown, “ASCII”, and smoothly
@@ -596,6 +597,46 @@ table = Tabulo::Table.new(
596
597
  The character used to indicate truncation, which defaults to `~`, can be configured using the
597
598
  `truncation_indicator` option passed to `Table.new`.
598
599
 
600
+ <a name="preserve-words"></a>
601
+ #### Wrapping at word boundaries [&#x2191;](#contents)
602
+
603
+ By passing `:word` to the `wrap_preserve` option on either table initialization (for all columns),
604
+ or when calling `add_column` (for an individual column), whole words can be preserved when wrapping:
605
+
606
+ ```ruby
607
+ sentences = [
608
+ "Words are preserved.",
609
+ "Excessively long words may still be split to fit into the configured column width.",
610
+ ]
611
+ table = Tabulo::Table.new(sentences, :itself, :length, column_width: 10, wrap_preserve: :word)
612
+ ```
613
+
614
+ ```
615
+ > puts table
616
+ +------------+------------+
617
+ | itself | length |
618
+ +------------+------------+
619
+ | Words are | 20 |
620
+ | preserved. | |
621
+ | Excessivel | 82 |
622
+ | y long | |
623
+ | words may | |
624
+ | still be | |
625
+ | split to | |
626
+ | fit into | |
627
+ | the | |
628
+ | configured | |
629
+ | column | |
630
+ | width. | |
631
+ +------------+------------+
632
+ ```
633
+
634
+ When wrapping cell content, Tabulo will never insert hyphens itself, although it will recognize existing
635
+ hyphens, m-dashes and n-dashes as word boundaries.
636
+
637
+ The `wrap_preserve` option defaults to the value `:rune`, meaning by default it will _not_ respect word
638
+ boundaries when wrapping (although it will always preserve whole multibyte Unicode characters).
639
+
599
640
  <a name="manual-wrapping"></a>
600
641
  #### Manual cell wrapping [&#x2191;](#contents)
601
642
 
@@ -688,7 +729,7 @@ the table.
688
729
  The `formatter` callback also has an alternative, 2-parameter version. If `formatter` is passed
689
730
  a 2-parameter callable, the second parameter will be given a `CellData` instance,
690
731
  containing additional information about the cell that may be useful in determining how to format
691
- it&mdash;see the [documentation](https://www.rubydoc.info/gems/tabulo/2.6.3/Tabulo/CellData.html)
732
+ it&mdash;see the [documentation](https://www.rubydoc.info/gems/tabulo/2.7.0/Tabulo/CellData.html)
692
733
  for details.
693
734
 
694
735
  <a name="colours-and-styling"></a>
@@ -734,7 +775,7 @@ number is even). The second parameter represents the formatted string value of t
734
775
  content after any processing by the [formatter](#formatting-cell-values). The third and fourth
735
776
  parameters are optional, and contain further information about the cell and its contents that may be useful in
736
777
  determining how to style it. See the
737
- [documentation](https://www.rubydoc.info/gems/tabulo/2.6.3/Tabulo/Table#add_column-instance_method) for details.
778
+ [documentation](https://www.rubydoc.info/gems/tabulo/2.7.0/Tabulo/Table#add_column-instance_method) for details.
738
779
 
739
780
  If the content of a cell is wrapped over multiple lines, then the `styler` will be called once
740
781
  per line, so that each line of the cell will have the escape sequence applied to it separately
@@ -754,7 +795,7 @@ table.add_column(:even?, header_styler: -> (s) { "\033[32m#{s}\033[0m" })
754
795
  ```
755
796
 
756
797
  The `header_styler` option accepts a 1-, 2- or 3-parameter callable. See the
757
- [documentation](https://www.rubydoc.info/gems/tabulo/2.6.3/Tabulo/Table#add_column-instance_method)
798
+ [documentation](https://www.rubydoc.info/gems/tabulo/2.7.0/Tabulo/Table#add_column-instance_method)
758
799
  for details.
759
800
 
760
801
  <a name="styling-title"></a>
@@ -768,7 +809,7 @@ table = Tabulo::Table.new(1..5, :itself, :even?, :odd?, title: "Numbers", title_
768
809
  ```
769
810
 
770
811
  The `title_styler` option accepts a 1- or 2-parameter callable. See the
771
- [documentation](https://www.rubydoc.info/gems/tabulo/2.6.3/Tabulo/Table#initialize-instance_method)
812
+ [documentation](https://www.rubydoc.info/gems/tabulo/2.7.0/Tabulo/Table#initialize-instance_method)
772
813
  for details.
773
814
 
774
815
  <a name="styling-borders"></a>
@@ -963,7 +1004,7 @@ a new table in which the rows and columns are swapped:
963
1004
  By default, a header row is added to the new table, showing the string value of the element
964
1005
  represented in that column. This can be configured, however, along with other aspects of
965
1006
  `transpose`&#8217;s behaviour. For details, see the
966
- [documentation](https://www.rubydoc.info/gems/tabulo/2.6.3/Tabulo/Table#transpose-instance_method).
1007
+ [documentation](https://www.rubydoc.info/gems/tabulo/2.7.0/Tabulo/Table#transpose-instance_method).
967
1008
 
968
1009
  <a name="borders"></a>
969
1010
  ### Configuring borders [&#x2191;](#contents)
@@ -1354,15 +1395,15 @@ The gem is available as open source under the terms of the [MIT
1354
1395
  License](http://opensource.org/licenses/MIT).
1355
1396
 
1356
1397
  [Gem Version]: https://rubygems.org/gems/tabulo
1357
- [Documentation]: http://www.rubydoc.info/gems/tabulo/2.6.3
1358
- [Build Status]: https://travis-ci.org/matt-harvey/tabulo
1359
- [Coverage Status]: https://coveralls.io/r/matt-harvey/tabulo
1398
+ [Documentation]: http://www.rubydoc.info/gems/tabulo/2.7.0
1399
+ [Build Status]: https://github.com/matt-harvey/tabulo/actions/workflows/tests.yml
1400
+ [Coverage Status]: https://coveralls.io/github/matt-harvey/tabulo
1360
1401
  [Code Climate]: https://codeclimate.com/github/matt-harvey/tabulo
1361
1402
  [Awesome Ruby]: https://github.com/markets/awesome-ruby#cli-utilities
1362
1403
 
1363
1404
  [GV img]: https://img.shields.io/gem/v/tabulo.svg
1364
- [DC img]: https://img.shields.io/badge/documentation-v2.6.3-blue.svg
1365
- [BS img]: https://img.shields.io/travis/matt-harvey/tabulo.svg
1405
+ [DC img]: https://img.shields.io/badge/documentation-v2.7.0-blue.svg
1406
+ [BS img]: https://github.com/matt-harvey/tabulo/actions/workflows/tests.yml/badge.svg
1366
1407
  [CS img]: https://img.shields.io/coveralls/matt-harvey/tabulo.svg
1367
1408
  [CC img]: https://codeclimate.com/github/matt-harvey/tabulo/badges/gpa.svg
1368
1409
  [AR img]: https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.6.3
1
+ 2.7.0
data/lib/tabulo/cell.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  require "unicode/display_width"
2
4
 
3
5
  module Tabulo
@@ -19,6 +21,7 @@ module Tabulo
19
21
  styler:,
20
22
  truncation_indicator:,
21
23
  value:,
24
+ wrap_preserve:,
22
25
  width:)
23
26
 
24
27
  @alignment = alignment
@@ -30,6 +33,7 @@ module Tabulo
30
33
  @styler = styler
31
34
  @truncation_indicator = truncation_indicator
32
35
  @value = value
36
+ @wrap_preserve = wrap_preserve
33
37
  @width = width
34
38
  end
35
39
 
@@ -100,30 +104,86 @@ module Tabulo
100
104
  end
101
105
 
102
106
  def calculate_subcells
103
- line_index = 0
104
- formatted_content.split(Util::NEWLINE, -1).flat_map do |substr|
105
- subsubcells, subsubcell, subsubcell_width = [], String.new(""), 0
106
-
107
- substr.scan(/\X/).each do |grapheme_cluster|
108
- grapheme_cluster_width = Unicode::DisplayWidth.of(grapheme_cluster)
109
- if subsubcell_width + grapheme_cluster_width > @width
110
- subsubcells << style_and_align_cell_content(subsubcell, line_index)
111
- subsubcell_width = 0
112
- subsubcell.clear
113
- line_index += 1
107
+ case @wrap_preserve
108
+ when :rune
109
+ line_index = 0
110
+ formatted_content.split(Util::NEWLINE, -1).flat_map do |substr|
111
+ subsubcells, subsubcell, subsubcell_width = [], String.new(""), 0
112
+
113
+ substr.scan(/\X/).each do |rune|
114
+ rune_width = Unicode::DisplayWidth.of(rune)
115
+ if subsubcell_width + rune_width > @width
116
+ subsubcells << style_and_align_cell_content(subsubcell, line_index)
117
+ subsubcell_width = 0
118
+ subsubcell.clear
119
+ line_index += 1
120
+ end
121
+
122
+ subsubcell << rune
123
+ subsubcell_width += rune_width
114
124
  end
115
125
 
116
- subsubcell << grapheme_cluster
117
- subsubcell_width += grapheme_cluster_width
126
+ subsubcells << style_and_align_cell_content(subsubcell, line_index)
127
+ line_index += 1
128
+ subsubcells
118
129
  end
130
+ when :word
131
+ line_index = 0
132
+ formatted_content.split(Util::NEWLINE, -1).flat_map do |substr|
133
+ subsubcells, subsubcell, subsubcell_width = [], String.new(""), 0
134
+
135
+ substr.split(/(?<= |\-|\—|\–⁠)\b/).each do |word|
136
+ # Each word looks like "this " or like "this-".
137
+ word_width = Unicode::DisplayWidth.of(word)
138
+ combined_width = subsubcell_width + word_width
139
+ if combined_width - 1 == @width && word[-1] == " "
140
+ # do nothing, as we're on the final word of the line and
141
+ # the space at the end will be chopped off.
142
+ elsif combined_width > @width
143
+ content = style_and_align_cell_content(subsubcell, line_index)
144
+ if content.strip.length != 0
145
+ subsubcells << content
146
+ subsubcell_width = 0
147
+ subsubcell.clear
148
+ line_index += 1
149
+ end
150
+ end
151
+
152
+ if word_width >= @width
153
+ word.scan(/\X/).each do |rune|
154
+ rune_width = Unicode::DisplayWidth.of(rune)
155
+ if subsubcell_width + rune_width > @width
156
+ if rune != " "
157
+ content = style_and_align_cell_content(subsubcell, line_index)
158
+ subsubcells << content
159
+ subsubcell_width = 0
160
+ subsubcell.clear
161
+ line_index += 1
162
+ end
163
+ end
164
+
165
+ subsubcell << rune
166
+ subsubcell_width += rune_width
167
+ end
168
+ else
169
+ subsubcell << word
170
+ subsubcell_width += word_width
171
+ end
172
+ end
119
173
 
120
- subsubcells << style_and_align_cell_content(subsubcell, line_index)
121
- line_index += 1
122
- subsubcells
174
+ content = style_and_align_cell_content(subsubcell, line_index)
175
+ subsubcells << content
176
+ line_index += 1
177
+ subsubcells
178
+ end
123
179
  end
124
180
  end
125
181
 
126
182
  def style_and_align_cell_content(content, line_index)
183
+ if @wrap_preserve == :word
184
+ content.strip!
185
+ end
186
+
127
187
  padding = Util.max(@width - Unicode::DisplayWidth.of(content), 0)
128
188
  left_padding, right_padding =
129
189
  case real_alignment
data/lib/tabulo/column.rb CHANGED
@@ -22,6 +22,7 @@ module Tabulo
22
22
  right_padding:,
23
23
  styler:,
24
24
  truncation_indicator:,
25
+ wrap_preserve:,
25
26
  width:)
26
27
 
27
28
  @align_body = align_body
@@ -50,6 +51,7 @@ module Tabulo
50
51
  @padding_character = padding_character
51
52
  @styler = styler || -> (_, s) { s }
52
53
  @truncation_indicator = truncation_indicator
54
+ @wrap_preserve = wrap_preserve
53
55
  @width = width
54
56
  end
55
57
 
@@ -67,6 +69,7 @@ module Tabulo
67
69
  styler: @header_styler,
68
70
  truncation_indicator: @truncation_indicator,
69
71
  value: @header,
72
+ wrap_preserve: @wrap_preserve,
70
73
  width: @width,
71
74
  )
72
75
  end
@@ -85,6 +88,7 @@ module Tabulo
85
88
  styler: @styler,
86
89
  truncation_indicator: @truncation_indicator,
87
90
  value: body_cell_value(source, row_index: row_index, column_index: column_index),
91
+ wrap_preserve: @wrap_preserve,
88
92
  width: @width,
89
93
  )
90
94
  end
data/lib/tabulo/table.rb CHANGED
@@ -124,6 +124,16 @@ module Tabulo
124
124
  # cell's content has been truncated. If omitted or passed <tt>nil</tt>,
125
125
  # defaults to {DEFAULT_TRUNCATION_INDICATOR}. If passed something other than <tt>nil</tt> or
126
126
  # a single-character String, raises {InvalidTruncationIndicatorError}.
127
+ # @param [Symbol] wrap_preserve Specifies what unit of text the wrapping mechanism will try to
128
+ # preserve intact when wrapping column content when the column width is reached.
129
+ # * If passed `:rune` (the default), then it will wrap at the "character" level (approximately
130
+ # speaking, the Unicode grapheme cluster level). This means the maximum number of what
131
+ # readers usually think of as "characters" will be fit on each line, within the column's allocated
132
+ # width, before contininuing to a new line, even if it means splitting a word in the middle.
133
+ # * If passed `:word`, then it will wrap in such a way as to avoid splitting words, where
134
+ # "words" are defined as units of text separated by spaces or dashes (hyphens, m-dashes and
135
+ # n-dashes). Whitespace will be used to pad lines as required. Already-hyphenated may will be split
136
+ # at the hyphen, however hyphens will not be inserted in non-hyphenated words.
127
137
  # @param [nil, Integer] wrap_body_cells_to Controls wrapping behaviour for table cells (excluding
128
138
  # headers), if their content is longer than the column's fixed width. If passed <tt>nil</tt>, content will
129
139
  # be wrapped for as many rows as required to accommodate it. If passed an Integer N (> 0), content will be
@@ -141,7 +151,7 @@ module Tabulo
141
151
  def initialize(sources, *columns, align_body: :auto, align_header: :center, align_title: :center,
142
152
  border: nil, border_styler: nil, column_padding: nil, column_width: nil, formatter: :to_s.to_proc,
143
153
  header_frequency: :start, header_styler: nil, row_divider_frequency: nil, styler: nil,
144
- title: nil, title_styler: nil, truncation_indicator: nil, wrap_body_cells_to: nil,
154
+ title: nil, title_styler: nil, truncation_indicator: nil, wrap_preserve: :rune, wrap_body_cells_to: nil,
145
155
  wrap_header_cells_to: nil)
146
156
 
147
157
  @sources = sources
@@ -167,6 +177,7 @@ module Tabulo
167
177
  @title_styler = title_styler
168
178
  @truncation_indicator = validate_character(truncation_indicator,
169
179
  DEFAULT_TRUNCATION_INDICATOR, InvalidTruncationIndicatorError, "truncation indicator")
180
+ @wrap_preserve = wrap_preserve
170
181
  @wrap_body_cells_to = wrap_body_cells_to
171
182
  @wrap_header_cells_to = wrap_header_cells_to
172
183
 
@@ -291,6 +302,11 @@ module Tabulo
291
302
  # @param [Integer] width Specifies the width of the column, excluding padding. If
292
303
  # nil, then the column will take the width provided by the `column_width` param
293
304
  # with which the Table was initialized.
305
+ # @param [Symbol] wrap_preserve Specifies how to wrap column content when the column width is reached.
306
+ # * If passed `nil`, or not provided, then the value passed to the `wrap_preserve` param of
307
+ # {#initialize} will be used.
308
+ # * If passed `rune` or word, then the option passed to {#initialize} will be overridden for
309
+ # this column. See the documentation under {#initialize} for the behaviour of each option.
294
310
  # @param [#to_proc] extractor A block or other callable that will be passed each of the {Table}
295
311
  # sources to determine the value in each cell of this column.
296
312
  # * If this is not provided, then the column label will be treated as a method to be called on
@@ -305,7 +321,7 @@ module Tabulo
305
321
  # Table. (This is case-sensitive, but is insensitive to whether a String or Symbol is passed
306
322
  # to the label parameter.)
307
323
  def add_column(label, align_body: nil, align_header: nil, before: nil, formatter: nil,
308
- header: nil, header_styler: nil, padding: nil, styler: nil, width: nil, &extractor)
324
+ header: nil, header_styler: nil, padding: nil, styler: nil, width: nil, wrap_preserve: nil, &extractor)
309
325
 
310
326
  column_label = normalize_column_label(label)
311
327
 
@@ -333,6 +349,7 @@ module Tabulo
333
349
  right_padding: right_padding,
334
350
  styler: styler || @styler,
335
351
  truncation_indicator: @truncation_indicator,
352
+ wrap_preserve: wrap_preserve || @wrap_preserve,
336
353
  width: width || @column_width,
337
354
  )
338
355
 
@@ -651,7 +668,8 @@ module Tabulo
651
668
  styler: styler,
652
669
  truncation_indicator: @truncation_indicator,
653
670
  value: @title,
654
- width: title_cell_width
671
+ width: title_cell_width,
672
+ wrap_preserve: @wrap_preserve,
655
673
  )
656
674
  cells = [title_cell]
657
675
  max_cell_height = cells.map(&:height).max
@@ -1,3 +1,3 @@
1
1
  module Tabulo
2
- VERSION = "2.6.3"
2
+ VERSION = "2.7.0"
3
3
  end
data/tabulo.gemspec CHANGED
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
35
35
  spec.add_development_dependency "rake", "~> 12.3.3"
36
36
  spec.add_development_dependency "rspec", "~> 3.9"
37
37
  spec.add_development_dependency "simplecov"
38
- spec.add_development_dependency "coveralls"
38
+ spec.add_development_dependency "simplecov-lcov"
39
39
  spec.add_development_dependency "yard"
40
40
  spec.add_development_dependency "redcarpet"
41
41
  spec.add_development_dependency "github-markup"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tabulo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.3
4
+ version: 2.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Harvey
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-30 00:00:00.000000000 Z
11
+ date: 2021-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-screen
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: coveralls
98
+ name: simplecov-lcov
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -172,10 +172,11 @@ extensions: []
172
172
  extra_rdoc_files: []
173
173
  files:
174
174
  - ".ackrc"
175
+ - ".github/workflows/tests.yml"
175
176
  - ".gitignore"
176
177
  - ".rdoc_options"
177
178
  - ".rspec"
178
- - ".travis.yml"
179
+ - ".simplecov"
179
180
  - ".yardopts"
180
181
  - CHANGELOG.md
181
182
  - Gemfile
data/.travis.yml DELETED
@@ -1,11 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.1.10
5
- - 2.2.10
6
- - 2.3.8
7
- - 2.4.10
8
- - 2.5.9
9
- - 2.6.7
10
- - 2.7.3
11
- - 3.0.1