gem-skill 0.1.0 → 0.1.1
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/lib/gem/skill/version.rb +1 -1
- data/plugins.rb +8 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e549225e7af0a6d96b302304225a274d5f5aa6074e8546c64034b3aba056d675
|
|
4
|
+
data.tar.gz: f2791cd10d4e1483763a890bb864cb5169ab6fc1c5239ae697e104d70ec1d898
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a75fec793180d52a07e7eb42c84d79eca1ba720aec44c33ec13f6783678ec96770f0bbe0ce4789ecdfdafc6c7df882c392fcea9e48f55fb99d47877dff0b7b6
|
|
7
|
+
data.tar.gz: d605f135da72c0bcdf5cb5f85c42b1f40bc5d13f46330264fd420401faa43dc67503949592c3dd15cfba0b62115b8a14a97d1850072a32309ad10a1833cbfb9c
|
data/lib/gem/skill/version.rb
CHANGED
data/plugins.rb
CHANGED
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
require_relative "lib/gem/skill/cli/bundle_command"
|
|
7
7
|
|
|
8
|
-
Bundler
|
|
9
|
-
|
|
8
|
+
# Bundler invokes `@commands[command].new.exec(command, args)`, so the command
|
|
9
|
+
# is a Bundler::Plugin::API subclass that declares the command and implements exec.
|
|
10
|
+
class Gem::Skill::BundlerPlugin < Bundler::Plugin::API
|
|
11
|
+
command "skill"
|
|
12
|
+
|
|
13
|
+
def exec(_command, args)
|
|
14
|
+
Gem::Skill::BundlerCommand.run(args)
|
|
15
|
+
end
|
|
10
16
|
end
|