geny 1.0.0 → 1.0.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/geny/command.rb +5 -0
- data/lib/geny/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd2c052d9f741cbe22bc07f6a332f9cff359f1b8
|
4
|
+
data.tar.gz: a6d6c1a14bebd8595fd9f7728884d47a5051d4d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3dc0a083fa1b61ace358d50698763c0d9f230b4d4b7fa9e3ecb6e04d9e8520e99e0a7ace4813627fbc44f6dd9571f552e77165d8a8a73c21c8b4984b9bca41c
|
7
|
+
data.tar.gz: 4038ffaab463379e9ec4db8b9fe625e019ad3c15fc94ef7ea897358553d58932b0714aefb480da022eadf0dd1cb2275555015192a883a6e2ad818a30d306e54a
|
data/lib/geny/command.rb
CHANGED
@@ -17,6 +17,10 @@ module Geny
|
|
17
17
|
# @return [String]
|
18
18
|
attr_reader :root
|
19
19
|
|
20
|
+
# The registry that was used to find this command
|
21
|
+
# @return [Registry]
|
22
|
+
attr_reader :registry
|
23
|
+
|
20
24
|
# Create a new command
|
21
25
|
# @param registry [Registry] registry used to find this command
|
22
26
|
# @param name [String] name of the command
|
@@ -24,6 +28,7 @@ module Geny
|
|
24
28
|
def initialize(name:, root:, registry:)
|
25
29
|
@name = name
|
26
30
|
@root = root
|
31
|
+
@registry = registry
|
27
32
|
end
|
28
33
|
|
29
34
|
# The path where the command is located
|
data/lib/geny/version.rb
CHANGED