serverkit-vscode 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea64eeeced58ede482bbaa1aec20f4000222ee5ec80e483ae0662766a5c250a7
4
- data.tar.gz: 9fae0570fbacbd471da9dbbf3f3a7ffa41aa3d41bd0d9d8f2a036d88eb575ca0
3
+ metadata.gz: 7278fd7ee4818aba1753d2a007eca63efed33500885da9fd8520ff343ff61749
4
+ data.tar.gz: '095b82b57fb2719e2a7d793cae411c3887c84c4a0c999f8a17e06ae095e22e81'
5
5
  SHA512:
6
- metadata.gz: 26fa6a785265392de2c2bfe3c4507aaafeeb78d72d63d5245142948fc36013aa2321be8f4b36d4de28dcbe048c98cb0937d8a223b4aeb9ed987ada693d49bf3d
7
- data.tar.gz: fe0f5e0df62926d9f924fd352d6f4046604284992661b3fda85bd7fa6fbaaed1c140f0432526301d758daaa581d9a2e17bb011406b4bba486a68d6d5e35f4987
6
+ metadata.gz: 02e46982601765ba3f7e202da6d902740c052d2e9f92901166d29ec467aaa105f558c2f8e2e546f6d42829410ce84dd5fe08541d125f915251d3e478e7d95dec
7
+ data.tar.gz: 60457faaebc287284ea256ddf012aa5b3d841663dfea7af043495f8e802a645ba552aad4eaa7000495d3895ef7993faab7d384591bc1de99222512a1feb7c9d2
@@ -0,0 +1,19 @@
1
+ name: Test
2
+ on:
3
+ push:
4
+ jobs:
5
+ test:
6
+ strategy:
7
+ matrix:
8
+ os: [ubuntu-latest, macos-latest]
9
+ ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "3.4"]
10
+ runs-on: ${{ matrix.os }}
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - name: Set up Ruby ${{ matrix.ruby }}
14
+ uses: ruby/setup-ruby@v1
15
+ with:
16
+ ruby-version: ${{ matrix.ruby }}
17
+ bundler-cache: true
18
+ - name: Run Test
19
+ run: bundle exec rake
data/Gemfile CHANGED
@@ -2,3 +2,6 @@ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in serverkit-vscode.gemspec
4
4
  gemspec
5
+
6
+ gem "rake"
7
+ gem "minitest"
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2019 toshimaru
3
+ Copyright (c) 2025 toshimaru
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,45 +1,43 @@
1
- [![Build Status](https://travis-ci.org/toshimaru/serverkit-vscode.svg?branch=master)](https://travis-ci.org/toshimaru/serverkit-vscode)
1
+ [![Test](https://github.com/serverkit/serverkit-vscode/actions/workflows/test.yml/badge.svg)](https://github.com/serverkit/serverkit-vscode/actions/workflows/test.yml)
2
+ [![Gem Version](https://badge.fury.io/rb/serverkit-vscode.svg)](https://badge.fury.io/rb/serverkit-vscode)
2
3
 
3
- # Serverkit::Vscode
4
+ # serverkit-vscode
4
5
 
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/serverkit/vscode`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+ [Serverkit](https://github.com/serverkit/serverkit) plug-in for [VSCode](https://code.visualstudio.com/).
6
7
 
7
- TODO: Delete this and the text above, and describe your gem
8
+ ## Install
8
9
 
9
- ## Installation
10
-
11
- Add this line to your application's Gemfile:
12
-
13
- ```ruby
14
- gem 'serverkit-vscode'
10
+ ```rb
11
+ # Gemfile
12
+ gem "serverkit-vscode"
15
13
  ```
16
14
 
17
- And then execute:
18
-
19
- $ bundle
20
-
21
- Or install it yourself as:
15
+ ## Resource
22
16
 
23
- $ gem install serverkit-vscode
17
+ ### vscode_package
24
18
 
25
- ## Usage
19
+ Install specified VSCode package.
26
20
 
27
- TODO: Write usage instructions here
21
+ #### Attributes
28
22
 
29
- ## Development
23
+ - `name` - package name (required)
24
+ - `version` - package version (optional)
30
25
 
31
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
26
+ #### Example
32
27
 
33
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28
+ ```yaml
29
+ resources:
30
+ - type: vscode_package
31
+ name: GitHub.vscode-pull-request-github
32
+ - type: vscode_package
33
+ name: github.copilot
34
+ version: 1.156.0
35
+ ```
34
36
 
35
37
  ## Contributing
36
38
 
37
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/serverkit-vscode. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
+ Bug reports and pull requests are welcome on GitHub at [serverkit/serverkit-vscode](https://github.com/serverkit/serverkit-vscode).
38
40
 
39
41
  ## License
40
42
 
41
43
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
42
-
43
- ## Code of Conduct
44
-
45
- 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/[USERNAME]/serverkit-vscode/blob/master/CODE_OF_CONDUCT.md).
data/bin/console CHANGED
@@ -6,9 +6,5 @@ require "serverkit/vscode"
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
8
8
 
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
9
  require "irb"
14
10
  IRB.start(__FILE__)
@@ -10,7 +10,7 @@ module Serverkit
10
10
 
11
11
  # @note Override
12
12
  def apply
13
- run_command("code -install-extension #{name_with_version}")
13
+ run_command("code --install-extension #{name_with_version}")
14
14
  end
15
15
 
16
16
  # @note Override
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Serverkit
4
4
  module Vscode
5
- VERSION = '0.1.0'
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'serverkit/vscode/version'
4
- require 'serverkit/resources/vscode_package'
3
+ require_relative 'vscode/version'
4
+ require_relative 'resources/vscode_package'
@@ -1,8 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path("../lib", __FILE__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require "serverkit/vscode/version"
3
+ require_relative "lib/serverkit/vscode/version"
6
4
 
7
5
  Gem::Specification.new do |spec|
8
6
  spec.name = "serverkit-vscode"
@@ -12,8 +10,13 @@ Gem::Specification.new do |spec|
12
10
 
13
11
  spec.summary = %q{Serverkit plug-in for VSCode.}
14
12
  spec.description = %q{Serverkit plug-in for VSCode.}
15
- spec.homepage = "https://github.com/toshimaru/serverkit-vscode"
13
+ spec.homepage = "https://github.com/serverkit/serverkit-vscode"
16
14
  spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 2.7.0"
16
+
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = "https://github.com/serverkit/serverkit-vscode"
19
+ spec.metadata["changelog_uri"] = "https://github.com/serverkit/serverkit-vscode/releases"
17
20
 
18
21
  # Specify which files should be added to the gem when it is released.
19
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -25,7 +28,4 @@ Gem::Specification.new do |spec|
25
28
  spec.require_paths = ["lib"]
26
29
 
27
30
  spec.add_runtime_dependency "serverkit"
28
- spec.add_development_dependency "bundler", "~> 2.0"
29
- spec.add_development_dependency "rake", "~> 10.0"
30
- spec.add_development_dependency "minitest", "~> 5.0"
31
31
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverkit-vscode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - toshimaru
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2019-07-08 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: serverkit
@@ -24,48 +23,6 @@ dependencies:
24
23
  - - ">="
25
24
  - !ruby/object:Gem::Version
26
25
  version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '2.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '2.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '10.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '10.0'
55
- - !ruby/object:Gem::Dependency
56
- name: minitest
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '5.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '5.0'
69
26
  description: Serverkit plug-in for VSCode.
70
27
  email:
71
28
  - me@toshimaru.net
@@ -73,9 +30,8 @@ executables: []
73
30
  extensions: []
74
31
  extra_rdoc_files: []
75
32
  files:
33
+ - ".github/workflows/test.yml"
76
34
  - ".gitignore"
77
- - ".travis.yml"
78
- - CODE_OF_CONDUCT.md
79
35
  - Gemfile
80
36
  - LICENSE.txt
81
37
  - README.md
@@ -86,11 +42,13 @@ files:
86
42
  - lib/serverkit/vscode.rb
87
43
  - lib/serverkit/vscode/version.rb
88
44
  - serverkit-vscode.gemspec
89
- homepage: https://github.com/toshimaru/serverkit-vscode
45
+ homepage: https://github.com/serverkit/serverkit-vscode
90
46
  licenses:
91
47
  - MIT
92
- metadata: {}
93
- post_install_message:
48
+ metadata:
49
+ homepage_uri: https://github.com/serverkit/serverkit-vscode
50
+ source_code_uri: https://github.com/serverkit/serverkit-vscode
51
+ changelog_uri: https://github.com/serverkit/serverkit-vscode/releases
94
52
  rdoc_options: []
95
53
  require_paths:
96
54
  - lib
@@ -98,15 +56,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
98
56
  requirements:
99
57
  - - ">="
100
58
  - !ruby/object:Gem::Version
101
- version: '0'
59
+ version: 2.7.0
102
60
  required_rubygems_version: !ruby/object:Gem::Requirement
103
61
  requirements:
104
62
  - - ">="
105
63
  - !ruby/object:Gem::Version
106
64
  version: '0'
107
65
  requirements: []
108
- rubygems_version: 3.0.3
109
- signing_key:
66
+ rubygems_version: 3.6.7
110
67
  specification_version: 4
111
68
  summary: Serverkit plug-in for VSCode.
112
69
  test_files: []
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.6.3
7
- before_install: gem install bundler -v 2.0.1
data/CODE_OF_CONDUCT.md DELETED
@@ -1,74 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at me@toshimaru.net. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
72
-
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/