cliutils 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7d9fdba4ade5e475660b1e5403ba10c27b11d49
4
- data.tar.gz: c433c12ec3c28b525a2ac4dd889592753c58473a
3
+ metadata.gz: ca5b15c24edde2e480643aa5000e91a68943f766
4
+ data.tar.gz: d283212ce924d7ece2287cea5f9dc32c3afb15f6
5
5
  SHA512:
6
- metadata.gz: cd0495d72585e2e6176e58312bbfa9390443bbfb3e4c3906c2aa12096b735d92e058bbc853bb1410990b2b0323a922985d43e44c0a8d391e12d2ad1f78022579
7
- data.tar.gz: a88ae22aa1b2e936ff8986714e545e9a8f3e3b9dfaabd68e1999d31ea96df64caa228c7106bd663a3e459bf5e73f6a29231e8320375d818b21d04b2c071a94b9
6
+ metadata.gz: a5b85729adf2be08e8855619f406dd68a2671292a0c90b2f8afab1669096929bf8a45a7ea54e0637ac299d4d59542be50b07bc5dfea22c0446969a305147bbcd
7
+ data.tar.gz: 74445a9470d3f3a226f15af32a678c4abfbd832b0ac7258c7e0d70278ca60bc3e38cb17797c6e253e939c5cecf7ee7e874d74772168f97dcff6dc601688681b2
data/.gitignore CHANGED
@@ -3,3 +3,4 @@ doc
3
3
  pkg
4
4
  .yardoc
5
5
  bin
6
+ .tmp
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cliutils (1.0.4)
4
+ cliutils (1.0.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/HISTORY.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 1.0.5 (2014-03-30)
2
+
3
+ * Fixed a bug with Configuration singleton
4
+ * Fixed a bug with Messenging singleton
5
+
1
6
  # 1.0.4 (2014-03-29)
2
7
 
3
8
  * Fixed several bugs
@@ -16,7 +16,7 @@ module CLIUtils
16
16
  # a Configurator.
17
17
  # @return [Configurator]
18
18
  def configuration
19
- @configuration ||= Configurator.new('~/.default-cliutils')
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
- @configuration = Configurator.new(path)
27
+ @@configuration = Configurator.new(path)
28
28
  end
29
+ alias configuration= load_configuration
29
30
  end
30
31
  end
@@ -29,7 +29,7 @@ module CLIUtils
29
29
  # a LoggerDelegator.
30
30
  # @return [LoggerDelegator]
31
31
  def messenger
32
- @messenger ||= default_instance
32
+ @@messenger ||= default_instance
33
33
  end
34
34
  end
35
35
  end
@@ -1,4 +1,4 @@
1
1
  module CLIUtils
2
2
  # The current version of the gem
3
- VERSION = "1.0.4"
3
+ VERSION = "1.0.5"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cliutils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Bach