cliutils 1.0.4 → 1.0.5
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/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/HISTORY.md +5 -0
- data/lib/cliutils/configuration.rb +3 -2
- data/lib/cliutils/messenging.rb +1 -1
- data/lib/cliutils/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: ca5b15c24edde2e480643aa5000e91a68943f766
|
4
|
+
data.tar.gz: d283212ce924d7ece2287cea5f9dc32c3afb15f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5b85729adf2be08e8855619f406dd68a2671292a0c90b2f8afab1669096929bf8a45a7ea54e0637ac299d4d59542be50b07bc5dfea22c0446969a305147bbcd
|
7
|
+
data.tar.gz: 74445a9470d3f3a226f15af32a678c4abfbd832b0ac7258c7e0d70278ca60bc3e38cb17797c6e253e939c5cecf7ee7e874d74772168f97dcff6dc601688681b2
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/HISTORY.md
CHANGED
@@ -16,7 +16,7 @@ module CLIUtils
|
|
16
16
|
# a Configurator.
|
17
17
|
# @return [Configurator]
|
18
18
|
def configuration
|
19
|
-
|
19
|
+
@@configuration ||= Configurator.new('~/.default-cliutils')
|
20
20
|
end
|
21
21
|
|
22
22
|
# Singleton method to return (or initialize, if needed)
|
@@ -24,7 +24,8 @@ module CLIUtils
|
|
24
24
|
# @param [String] path The filepath to use
|
25
25
|
# @return [void]
|
26
26
|
def load_configuration(path)
|
27
|
-
|
27
|
+
@@configuration = Configurator.new(path)
|
28
28
|
end
|
29
|
+
alias configuration= load_configuration
|
29
30
|
end
|
30
31
|
end
|
data/lib/cliutils/messenging.rb
CHANGED
data/lib/cliutils/version.rb
CHANGED