From 648bb5c46c7edad05bc837cdc1caa16befd24bf6 Mon Sep 17 00:00:00 2001 From: toshimaru Date: Sun, 4 Feb 2024 15:09:20 +0900 Subject: [PATCH 1/4] chore: Move development_dependency to `Gemfile` --- Gemfile | 3 +++ serverkit-vscode.gemspec | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 7cd6e45..182cb7c 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,6 @@ source "https://rubygems.org" # Specify your gem's dependencies in serverkit-vscode.gemspec gemspec + +gem "rake" +gem "minitest" diff --git a/serverkit-vscode.gemspec b/serverkit-vscode.gemspec index e0e2806..39f8702 100644 --- a/serverkit-vscode.gemspec +++ b/serverkit-vscode.gemspec @@ -25,7 +25,4 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.add_runtime_dependency "serverkit" - spec.add_development_dependency "bundler", "~> 2.0" - spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "minitest", "~> 5.0" end From 5d8c5ad248a0f8d76ce6e550ddec592599c1e5a9 Mon Sep 17 00:00:00 2001 From: toshimaru Date: Sun, 4 Feb 2024 15:14:03 +0900 Subject: [PATCH 2/4] ci: Migrate TravisCI to GitHub Actions - Create test.yml - Delete .travis.yml --- .github/workflows/test.yml | 19 +++++++++++++++++++ .travis.yml | 7 ------- 2 files changed, 19 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..785c76c --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +name: Test +on: + push: +jobs: + rspec: + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + ruby: ['2.7', '3.0', '3.1', '3.2', '3.3'] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - name: Set up Ruby ${{ matrix.ruby }} + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + - name: Run Test + run: bundle exec rake diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e469180..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -sudo: false -language: ruby -cache: bundler -rvm: - - 2.6.3 -before_install: gem install bundler -v 2.0.1 From 9b96e57618483b555b3c19b069b174544b7a3103 Mon Sep 17 00:00:00 2001 From: toshimaru Date: Sun, 4 Feb 2024 15:34:31 +0900 Subject: [PATCH 3/4] chore: Update year on LICENSE.txt --- LICENSE.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.txt b/LICENSE.txt index b3a4f37..9b158a2 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 toshimaru +Copyright (c) 2019-2024 toshimaru Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From c9bd4586cb49a1fda36b3f7a0cf36efd378f7fc0 Mon Sep 17 00:00:00 2001 From: toshimaru Date: Sun, 4 Feb 2024 15:35:56 +0900 Subject: [PATCH 4/4] chore: Updage badges on README --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3889f8d..f94c6b4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -[![Build Status](https://travis-ci.org/toshimaru/serverkit-vscode.svg?branch=master)](https://travis-ci.org/toshimaru/serverkit-vscode) +[![Test](https://github.com/toshimaru/serverkit-vscode/actions/workflows/test.yml/badge.svg)](https://github.com/toshimaru/serverkit-vscode/actions/workflows/test.yml) +[![Gem Version](https://badge.fury.io/rb/serverkit-vscode.svg)](https://badge.fury.io/rb/serverkit-vscode) # serverkit-vscode @@ -28,8 +29,8 @@ resources: - type: vscode_package name: GitHub.vscode-pull-request-github - type: vscode_package - name: ms-vscode.Go - version: 0.11.0 + name: github.copilot + version: 1.156.0 ``` ## License