koushien 0.1.2 → 0.1.4
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/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/bin/koushien +23 -0
- data/koushien.gemspec +2 -3
- data/lib/koushien/version.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0be367b88f5604fe10d173040c3ff73d49763f0aa4905b52b7748fbd74982894
|
|
4
|
+
data.tar.gz: 0ad59d7b92da89ac1b363f88fdbc11b3b41ecf156e74f393e1df70bc491bef8d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e45bf7b4d35eb926811392ca7c5725b3a2f04db62e445c0d058581c493b8fabadbd127d0f3f82e112d1ce57f7f615dcf32d3fe80e04086def4fb02ffa8b9264e
|
|
7
|
+
data.tar.gz: 694758b3ba4ad1c7b29637d0745d7e5751e4f8a70c1d0abd30cb40c2a22b23aa7409a4a1cea9105b0a92201741cd2d7b55240ab2461c9478c45339ec98eacb54
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/bin/koushien
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require 'optparse'
|
|
4
|
+
require 'koushien/version'
|
|
5
|
+
require "koushien"
|
|
6
|
+
|
|
7
|
+
Version = Koushien::VERSION
|
|
8
|
+
|
|
9
|
+
# コマンド定義
|
|
10
|
+
ARGV.options do |opt|
|
|
11
|
+
opt.on('--greet [OPTIONAL]') {|v|
|
|
12
|
+
puts v ? v : 'hello!!'
|
|
13
|
+
exit
|
|
14
|
+
}
|
|
15
|
+
opt.on('-v', '--version') do
|
|
16
|
+
puts opt.ver
|
|
17
|
+
exit
|
|
18
|
+
end
|
|
19
|
+
opt.parse!
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# オプションに基づいて処理を実行
|
|
23
|
+
# Koushien::Command.exec(options)
|
data/koushien.gemspec
CHANGED
|
@@ -21,11 +21,10 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
22
22
|
spec.files = Dir.chdir(__dir__) do
|
|
23
23
|
`git ls-files -z`.split("\x0").reject do |f|
|
|
24
|
-
(File.expand_path(f) == __FILE__) || f.match(%r{\A(?:(?:
|
|
24
|
+
(File.expand_path(f) == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|circleci)|appveyor)})
|
|
25
25
|
end
|
|
26
26
|
end
|
|
27
|
-
spec.
|
|
28
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
27
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
29
28
|
spec.require_paths = ["lib"]
|
|
30
29
|
|
|
31
30
|
# Uncomment to register a new dependency of your gem
|
data/lib/koushien/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: koushien
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ms919
|
|
8
8
|
autorequire:
|
|
9
|
-
bindir:
|
|
9
|
+
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-03-
|
|
11
|
+
date: 2023-03-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email:
|
|
15
15
|
- koushien.gem@gmail.com
|
|
16
|
-
executables:
|
|
16
|
+
executables:
|
|
17
|
+
- koushien
|
|
17
18
|
extensions: []
|
|
18
19
|
extra_rdoc_files: []
|
|
19
20
|
files:
|
|
@@ -26,6 +27,7 @@ files:
|
|
|
26
27
|
- LICENSE.txt
|
|
27
28
|
- README.md
|
|
28
29
|
- Rakefile
|
|
30
|
+
- bin/koushien
|
|
29
31
|
- koushien.gemspec
|
|
30
32
|
- lib/koushien.rb
|
|
31
33
|
- lib/koushien/command.rb
|