File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 os : [ubuntu-latest, macos-latest, windows-latest]
1616 include :
1717 - os : ubuntu-latest
18- ruby : 2.7.1
18+ ruby : ' 2.7.1'
19+ - os : ubuntu-latest
20+ ruby : ' 2.4.2'
21+ - os : windows-latest
22+ ruby : ' 2.7.1'
1923 - os : windows-latest
20- ruby : 2.7.1
24+ ruby : ' 2.4.2 '
2125 runs-on : ${{ matrix.os }}
2226 name : Test with Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
2327 steps :
5862 shell : bash
5963 - os : windows-latest
6064 shell : cmd
65+ - ruby : ' 2.7.1'
66+ fluentd : ' 1.11.1'
6167 runs-on : ${{ matrix.os }}
6268 name : Gem test with Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
6369 steps :
6975 with :
7076 name : gem
7177 path : pkg
78+ - name : Install specific version Fluentd
79+ if : ${{ matrix.fluentd != '' }}
80+ run : gem install fluentd --version ${{ matrix.fluentd }}
7281 - name : Install gem
7382 run : gem install pkg/*
7483 - name : Test command (bash)
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def check
5050 ratio = collection_ratio ( entry . pos , size )
5151 if ratio < @collection_ratio_threshold
5252 unacceptable_collection_ratio_found = true
53- unacceptable_collection_ratio_path_and_ratio_list . append ( [ entry . path , ratio ] )
53+ unacceptable_collection_ratio_path_and_ratio_list . push ( [ entry . path , ratio ] )
5454 end
5555 end
5656
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def self.load_entries(path)
5050 end
5151
5252 def watching_entries
53- entries . filter do |entry |
53+ entries . select do |entry |
5454 not entry . unwatched?
5555 end
5656 end
You can’t perform that action at this time.
0 commit comments