Skip to content

Commit 5f3beb3

Browse files
authored
Merge pull request #7 from detectlanguage/feature/mise
Adjust ruby versions & add mise
2 parents ba17466 + 12a7985 commit 5f3beb3

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ jobs:
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:

detect_language.gemspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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"

mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
ruby = "3.4.5"

0 commit comments

Comments
 (0)