serverkit-vscode 0.1.1 → 1.0.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: 8e605249923f9e8fb5cb06feb0935f8a2359507b2c399df5c7f31ea6f3f4e400
4
- data.tar.gz: 675ec0aa14a2dc3b8eca9b098baa206049e1c7b58337a89a8698c856c4266f52
3
+ metadata.gz: 327a7985ee1be09611019ca67e4c68db056de56a2720de57c5edd094e04f6592
4
+ data.tar.gz: 83176b97bb3c2f9b33acb280c5e4b8cdd50706f9415e20c7f6a4b3b6b26ce5bb
5
5
  SHA512:
6
- metadata.gz: e548d1527c58a5773c743f50a7c78ddb6639659b931351ea6aef46b1e12b713a9299e12f0169ecfb2bdc1c8193f666c8d8cd46d2df025fcfa83dd115aae23559
7
- data.tar.gz: 6ea1366c9c75a406eadae9d3c71f970039e874a58aa84de93a6b7c6db45ddd3e1d008290c8028f2f8eb7cfdf7ea9a23d85719abac27e3f688a362144323c372e
6
+ metadata.gz: 8bdbfe437dff5d028ad381c7b9d8f5232d3a1f9c06ce0b9d00760e93dbed4855cf50a6b0a3dae85db51d66f06ef00cbb0cbd73a02b3370678a59cf253746a4ba
7
+ data.tar.gz: 1593ec27d9dc2acfe66f7eeae5d040e63f7ba8ae24de634eb9ec8229e5c3a45f1497786f67f0ed527dd053bb10106ad8c39c9768534bf9b3c411f02daff87a30
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,15 +1,42 @@
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
4
  # serverkit-vscode
4
5
 
5
6
  [Serverkit](https://github.com/serverkit/serverkit) plug-in for [VSCode](https://code.visualstudio.com/).
6
7
 
7
- ## Install
8
+ ## Installation
8
9
 
9
10
  ```rb
10
11
  # Gemfile
11
12
  gem "serverkit-vscode"
12
13
  ```
14
+
15
+ ## Usage
16
+
17
+ ### Prerequisites
18
+
19
+ - Ensure you have [serverkit](https://github.com/serverkit/serverkit) gem installed
20
+ - Ensure you have [VSCode CLI](https://code.visualstudio.com/docs/configure/command-line) installed on your system
21
+
22
+ ### Basic Example
23
+
24
+ Create a recipe file that uses the vscode resources:
25
+
26
+ ```yaml
27
+ # recipe.yml
28
+ resources:
29
+ # Install GitHub Copilot extension
30
+ - type: vscode_package
31
+ name: github.copilot
32
+ ```
33
+
34
+ Then apply your recipe with Serverkit:
35
+
36
+ ```console
37
+ $ serverkit apply recipe.yml
38
+ ```
39
+
13
40
  ## Resource
14
41
 
15
42
  ### vscode_package
@@ -28,14 +55,14 @@ resources:
28
55
  - type: vscode_package
29
56
  name: GitHub.vscode-pull-request-github
30
57
  - type: vscode_package
31
- name: ms-vscode.Go
32
- version: 0.11.0
58
+ name: github.copilot
59
+ version: 1.156.0
33
60
  ```
34
61
 
35
- ## License
62
+ ## Contributing
36
63
 
37
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
64
+ Bug reports and pull requests are welcome on GitHub at [serverkit/serverkit-vscode](https://github.com/serverkit/serverkit-vscode).
38
65
 
39
- ## Code of Conduct
66
+ ## License
40
67
 
41
- 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).
68
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile CHANGED
@@ -1,10 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bundler/gem_tasks"
2
- require "rake/testtask"
4
+ require "minitest/test_task"
3
5
 
4
- Rake::TestTask.new(:test) do |t|
5
- t.libs << "test"
6
- t.libs << "lib"
7
- t.test_files = FileList["test/**/*_test.rb"]
8
- end
6
+ Minitest::TestTask.create
9
7
 
10
- task :default => :test
8
+ task default: :test
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Serverkit
4
4
  module Vscode
5
- VERSION = '0.1.1'
5
+ VERSION = '1.0.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'
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.1
4
+ version: 1.0.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,24 +30,19 @@ executables: []
73
30
  extensions: []
74
31
  extra_rdoc_files: []
75
32
  files:
76
- - ".gitignore"
77
- - ".travis.yml"
78
- - CODE_OF_CONDUCT.md
79
- - Gemfile
80
33
  - LICENSE.txt
81
34
  - README.md
82
35
  - Rakefile
83
- - bin/console
84
- - bin/setup
85
36
  - lib/serverkit/resources/vscode_package.rb
86
37
  - lib/serverkit/vscode.rb
87
38
  - lib/serverkit/vscode/version.rb
88
- - serverkit-vscode.gemspec
89
- homepage: https://github.com/toshimaru/serverkit-vscode
39
+ homepage: https://github.com/serverkit/serverkit-vscode
90
40
  licenses:
91
41
  - MIT
92
- metadata: {}
93
- post_install_message:
42
+ metadata:
43
+ homepage_uri: https://github.com/serverkit/serverkit-vscode
44
+ source_code_uri: https://github.com/serverkit/serverkit-vscode
45
+ changelog_uri: https://github.com/serverkit/serverkit-vscode/releases
94
46
  rdoc_options: []
95
47
  require_paths:
96
48
  - lib
@@ -98,15 +50,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
98
50
  requirements:
99
51
  - - ">="
100
52
  - !ruby/object:Gem::Version
101
- version: '0'
53
+ version: 2.7.0
102
54
  required_rubygems_version: !ruby/object:Gem::Requirement
103
55
  requirements:
104
56
  - - ">="
105
57
  - !ruby/object:Gem::Version
106
58
  version: '0'
107
59
  requirements: []
108
- rubygems_version: 3.0.3
109
- signing_key:
60
+ rubygems_version: 3.6.7
110
61
  specification_version: 4
111
62
  summary: Serverkit plug-in for VSCode.
112
63
  test_files: []
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
- /Gemfile.lock
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/
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- # Specify your gem's dependencies in serverkit-vscode.gemspec
4
- gemspec
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "serverkit/vscode"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
@@ -1,31 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- lib = File.expand_path("../lib", __FILE__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require "serverkit/vscode/version"
6
-
7
- Gem::Specification.new do |spec|
8
- spec.name = "serverkit-vscode"
9
- spec.version = Serverkit::Vscode::VERSION
10
- spec.authors = ["toshimaru"]
11
- spec.email = ["me@toshimaru.net"]
12
-
13
- spec.summary = %q{Serverkit plug-in for VSCode.}
14
- spec.description = %q{Serverkit plug-in for VSCode.}
15
- spec.homepage = "https://github.com/toshimaru/serverkit-vscode"
16
- spec.license = "MIT"
17
-
18
- # Specify which files should be added to the gem when it is released.
19
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
21
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
- end
23
- spec.bindir = "exe"
24
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
- spec.require_paths = ["lib"]
26
-
27
- 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
- end