zoi 0.1.4 → 0.1.6
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 +4 -4
- data/.github/workflows/install.yml +23 -0
- data/.github/workflows/test.yml +2 -2
- data/CHANGELOG.adoc +9 -0
- data/Rakefile +10 -3
- data/exe/zoi +2 -0
- data/lib/zoi/cli.rb +5 -0
- data/lib/zoi/version.rb +1 -1
- data/zoi.gemspec +2 -0
- metadata +22 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 189f16f0a7ad1b98f1723771304920492f9f5ea4ecc6147090abfaac98c0e434
|
4
|
+
data.tar.gz: 2f8f3ed55c04865215382b5a20486435230f1afe9441b164560c72962ea906dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d423864f45562eac7c3b9fe61a9f727aaee7ea2be4f58b2ad01660422fe2da322a3f0cc24c98d6351c7cefe3a6d789155086c1bad10288aa78e4ab6c50d9cb3e
|
7
|
+
data.tar.gz: 6c8dbc1e188244986dc10fcadc1f88c24f357d640afc5ab73ff69ade80dfe8be78e767ea32d7411f41b2b233e68c557dd89bdce9539adbf0be6558a4f7490a7f
|
@@ -0,0 +1,23 @@
|
|
1
|
+
name: Install
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- main
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
test:
|
10
|
+
strategy:
|
11
|
+
matrix:
|
12
|
+
os: [macos-latest, ubuntu-latest]
|
13
|
+
ruby: [3.0]
|
14
|
+
runs-on: ${{ matrix.os }}
|
15
|
+
steps:
|
16
|
+
- name: Set up Ruby
|
17
|
+
uses: ruby/setup-ruby@v1
|
18
|
+
with:
|
19
|
+
ruby-version: ${{ matrix.ruby }}
|
20
|
+
- name: Install and run
|
21
|
+
run: |
|
22
|
+
gem install zoi
|
23
|
+
zoi version
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.adoc
CHANGED
data/Rakefile
CHANGED
@@ -1,8 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "bundler/gem_tasks"
|
4
|
-
require "
|
4
|
+
require "rake/testtask"
|
5
|
+
require "rubocop/rake_task"
|
5
6
|
|
6
|
-
|
7
|
+
task default: [:"rubocop:auto_correct", :test]
|
7
8
|
|
8
|
-
|
9
|
+
Rake::TestTask.new do |test|
|
10
|
+
test.test_files = FileList["./test/*.rb"]
|
11
|
+
# Display detail information.
|
12
|
+
test.verbose = true
|
13
|
+
end
|
14
|
+
|
15
|
+
RuboCop::RakeTask.new
|
data/exe/zoi
CHANGED
data/lib/zoi/cli.rb
CHANGED
@@ -13,6 +13,11 @@ module Zoi
|
|
13
13
|
CONFIG_FILE_NAME = ".zoirc.json"
|
14
14
|
|
15
15
|
class CLI < Thor
|
16
|
+
desc "version", "Show version."
|
17
|
+
def version
|
18
|
+
puts Zoi::VERSION
|
19
|
+
end
|
20
|
+
|
16
21
|
desc "create <filepath>", "Create a new file under zoi root directory."
|
17
22
|
def create(file_path)
|
18
23
|
return if file_path.nil?
|
data/lib/zoi/version.rb
CHANGED
data/zoi.gemspec
CHANGED
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zoi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 9sako6
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
12
|
-
dependencies:
|
11
|
+
date: 2022-11-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
description: management snippets
|
14
28
|
email:
|
15
29
|
- 31821663+9sako6@users.noreply.github.com
|
@@ -18,6 +32,7 @@ executables:
|
|
18
32
|
extensions: []
|
19
33
|
extra_rdoc_files: []
|
20
34
|
files:
|
35
|
+
- ".github/workflows/install.yml"
|
21
36
|
- ".github/workflows/test.yml"
|
22
37
|
- ".gitignore"
|
23
38
|
- ".rubocop.yml"
|
@@ -37,7 +52,7 @@ metadata:
|
|
37
52
|
homepage_uri: https://github.com/9sako6/zoi
|
38
53
|
source_code_uri: https://github.com/9sako6/zoi
|
39
54
|
changelog_uri: https://github.com/9sako6/zoi
|
40
|
-
post_install_message:
|
55
|
+
post_install_message:
|
41
56
|
rdoc_options: []
|
42
57
|
require_paths:
|
43
58
|
- lib
|
@@ -52,8 +67,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
67
|
- !ruby/object:Gem::Version
|
53
68
|
version: '0'
|
54
69
|
requirements: []
|
55
|
-
rubygems_version: 3.
|
56
|
-
signing_key:
|
70
|
+
rubygems_version: 3.2.15
|
71
|
+
signing_key:
|
57
72
|
specification_version: 4
|
58
73
|
summary: management snippets
|
59
74
|
test_files: []
|