From ee6b5b47f43bfcd37eced092daf487c31939a761 Mon Sep 17 00:00:00 2001 From: Toshimaru Date: Wed, 30 Apr 2025 00:33:37 +0900 Subject: [PATCH 1/7] Update LICENSE year --- LICENSE.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.txt b/LICENSE.txt index 9b158a2..edc815e 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019-2024 toshimaru +Copyright (c) 2025 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 cf975516cb5614b16511e2e3e604fe6d4ebe2ad0 Mon Sep 17 00:00:00 2001 From: Toshimaru Date: Wed, 30 Apr 2025 00:37:12 +0900 Subject: [PATCH 2/7] docs: Remove CODE_OF_CONDUCT, add Contributing --- CODE_OF_CONDUCT.md | 74 ---------------------------------------------- README.md | 9 +++--- 2 files changed, 5 insertions(+), 78 deletions(-) delete mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index 99fd12d..0000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,74 +0,0 @@ -# Contributor Covenant Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, gender identity and expression, level of experience, -nationality, personal appearance, race, religion, or sexual identity and -orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or -advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or -reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at me@toshimaru.net. All -complaints will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. - -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. - -## Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at [http://contributor-covenant.org/version/1/4][version] - -[homepage]: http://contributor-covenant.org -[version]: http://contributor-covenant.org/version/1/4/ diff --git a/README.md b/README.md index f94c6b4..0c5fba5 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ # Gemfile gem "serverkit-vscode" ``` + ## Resource ### vscode_package @@ -33,10 +34,10 @@ resources: version: 1.156.0 ``` -## License +## Contributing -The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). +Bug reports and pull requests are welcome on GitHub at [serverkit/serverkit-vscode](https://github.com/serverkit/serverkit-vscode). -## Code of Conduct +## License -Everyone interacting in the Serverkit::Vscode project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/toshimaru/serverkit-vscode/blob/master/CODE_OF_CONDUCT.md). +The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). From 4a82bd38ad10b17a4aa6785dd39fe6cb4be37ea2 Mon Sep 17 00:00:00 2001 From: Toshimaru Date: Wed, 30 Apr 2025 00:41:21 +0900 Subject: [PATCH 3/7] ci: CI against Ruby v3.4 rspec -> test --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 785c76c..62ebcd3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,11 +2,11 @@ name: Test on: push: jobs: - rspec: + test: strategy: matrix: os: [ubuntu-latest, macos-latest] - ruby: ['2.7', '3.0', '3.1', '3.2', '3.3'] + ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "3.4"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 From 90db9ad5367f9800377b68d497d3397041b8a6f0 Mon Sep 17 00:00:00 2001 From: Toshimaru Date: Wed, 30 Apr 2025 00:41:30 +0900 Subject: [PATCH 4/7] docs: Update CI badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0c5fba5..7dd55cb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Test](https://github.com/toshimaru/serverkit-vscode/actions/workflows/test.yml/badge.svg)](https://github.com/toshimaru/serverkit-vscode/actions/workflows/test.yml) +[![Test](https://github.com/serverkit/serverkit-vscode/actions/workflows/test.yml/badge.svg)](https://github.com/serverkit/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 From e2406895b04e96598641020b6a098462beceb59d Mon Sep 17 00:00:00 2001 From: Toshimaru Date: Wed, 30 Apr 2025 00:48:36 +0900 Subject: [PATCH 5/7] Update gem homepage link --- serverkit-vscode.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serverkit-vscode.gemspec b/serverkit-vscode.gemspec index 39f8702..7fe25cf 100644 --- a/serverkit-vscode.gemspec +++ b/serverkit-vscode.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |spec| spec.summary = %q{Serverkit plug-in for VSCode.} spec.description = %q{Serverkit plug-in for VSCode.} - spec.homepage = "https://github.com/toshimaru/serverkit-vscode" + spec.homepage = "https://github.com/serverkit/serverkit-vscode" spec.license = "MIT" # Specify which files should be added to the gem when it is released. From 7d747b8a44d51199422d4ee2aaa505949a859837 Mon Sep 17 00:00:00 2001 From: Toshimaru Date: Wed, 30 Apr 2025 00:50:10 +0900 Subject: [PATCH 6/7] refactor: Use `require_relative` --- lib/serverkit/vscode.rb | 4 ++-- serverkit-vscode.gemspec | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/serverkit/vscode.rb b/lib/serverkit/vscode.rb index 24a31ff..d1d077a 100644 --- a/lib/serverkit/vscode.rb +++ b/lib/serverkit/vscode.rb @@ -1,4 +1,4 @@ # frozen_string_literal: true -require 'serverkit/vscode/version' -require 'serverkit/resources/vscode_package' +require_relative 'vscode/version' +require_relative 'resources/vscode_package' diff --git a/serverkit-vscode.gemspec b/serverkit-vscode.gemspec index 7fe25cf..b632aed 100644 --- a/serverkit-vscode.gemspec +++ b/serverkit-vscode.gemspec @@ -1,8 +1,6 @@ # frozen_string_literal: true -lib = File.expand_path("../lib", __FILE__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "serverkit/vscode/version" +require_relative "lib/serverkit/vscode/version" Gem::Specification.new do |spec| spec.name = "serverkit-vscode" From a86a6416fffcb166e24c3b3abaa00329c6fa5e2b Mon Sep 17 00:00:00 2001 From: Toshimaru Date: Wed, 30 Apr 2025 00:57:04 +0900 Subject: [PATCH 7/7] chore: Remove pry comment --- bin/console | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/console b/bin/console index 4f7da38..cb31fc3 100755 --- a/bin/console +++ b/bin/console @@ -6,9 +6,5 @@ require "serverkit/vscode" # You can add fixtures and/or initialization code here to make experimenting # with your gem easier. You can also use a different console, if you like. -# (If you use this, don't forget to add pry to your Gemfile!) -# require "pry" -# Pry.start - require "irb" IRB.start(__FILE__)