File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 matrix :
88 ruby-version :
99 - 2.0
10- - 2.5
11- - 2.6
1210 - 2.7
1311 - 3.0
12+ - 3.4
1413 - ruby-head
15- - jruby-9.1
1614 - jruby-head
1715 name : Ruby ${{ matrix.ruby-version }} sample
1816 steps :
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ Gem::Specification.new do |gem|
88 gem . summary = %q{Detects language of given text. Returns detected language codes and scores.}
99 gem . homepage = "https://github.com/detectlanguage/detectlanguage-ruby"
1010
11- gem . files = `git ls-files` . split ( $\)
11+ gem . files = %w( LICENSE README.md detect_language.gemspec )
12+ gem . files += Dir . glob ( 'lib/**/*.{rb}' )
13+
1214 gem . executables = gem . files . grep ( %r{^bin/} ) . map { |f | File . basename ( f ) }
1315 gem . test_files = gem . files . grep ( %r{^(test|spec|features)/} )
1416 gem . name = "detect_language"
Original file line number Diff line number Diff line change 1+ [tools ]
2+ ruby = " 3.4.5"
You can’t perform that action at this time.
0 commit comments