vagrant-luccych-helloworld 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 36b36c27eaa40e236164585a55b52bb0b7870d45be1f64742d565662e81ce998
4
+ data.tar.gz: d45c282b083b00fb57f74ae0bb11286548fb3a6665e3d1c63c9b964ce361eaf1
5
+ SHA512:
6
+ metadata.gz: 03fbf17983642f3ad9f8bf42b243757041b72a7f5ba09ba8444460e6df65a94d930144ac6f234045bedfb82a5ef51d88a57d222e3cc6b1f66058955962bc270d
7
+ data.tar.gz: 82cf52ef4660e0a55e3ab88af6da34f8c2b244f796cbadeeeeb0fd3099062b623fe6c7555d81ba1440954cc713831ac78253c1458b6f27a321175ba233b5bb7d
data/.bundle/config ADDED
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_PATH: "vendor/bundle"
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # Vagrant::Luccych::Hello::World
2
+
3
+ TODO: Delete this and the text below, and describe your gem
4
+
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/vagrant/luccych/hello/world`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
9
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
+
11
+ Install the gem and add to the application's Gemfile by executing:
12
+
13
+ $ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
14
+
15
+ If bundler is not being used to manage dependencies, install the gem by executing:
16
+
17
+ $ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Development
24
+
25
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
26
+
27
+ 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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28
+
29
+ ## Contributing
30
+
31
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/vagrant-luccych-hello-world.
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ task default: %i[]
@@ -0,0 +1,6 @@
1
+ class Command < Vagrant.plugin(2, :command)
2
+ def execute
3
+ puts "Hello!"
4
+ 0
5
+ end
6
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Vagrant
4
+ module Luccych
5
+ module HelloWorld
6
+ VERSION = "0.1.3"
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "helloworld/version"
4
+
5
+ module Vagrant
6
+ module Luccych
7
+ module HelloWorld
8
+ class Error < StandardError; end
9
+ # Your code goes here...
10
+ class MyPlugin < Vagrant.plugin("2")
11
+ name "My Plugin"
12
+ command "run-my-plugin" do
13
+ require_relative "command"
14
+ Command
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
data/make.sh ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # gem yank -v 0.1.2 vagrant-luccych-hello-world
4
+ # gem unpack pkg/vagrant-luccych-hello-world-0.1.2.gem --target=tmp
5
+ rake build
6
+ rake release
metadata ADDED
@@ -0,0 +1,49 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vagrant-luccych-helloworld
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.3
5
+ platform: ruby
6
+ authors:
7
+ - renyaoxiang
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-01-11 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email:
15
+ - renyaoxiang@aliyun.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".bundle/config"
21
+ - README.md
22
+ - Rakefile
23
+ - lib/vagrant/luccych/command.rb
24
+ - lib/vagrant/luccych/helloworld.rb
25
+ - lib/vagrant/luccych/helloworld/version.rb
26
+ - make.sh
27
+ homepage:
28
+ licenses: []
29
+ metadata: {}
30
+ post_install_message:
31
+ rdoc_options: []
32
+ require_paths:
33
+ - lib
34
+ required_ruby_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: 2.6.0
39
+ required_rubygems_version: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ requirements: []
45
+ rubygems_version: 3.3.5
46
+ signing_key:
47
+ specification_version: 4
48
+ summary: Write a short summary, because RubyGems requires one.
49
+ test_files: []