metrix 0.0.8 → 0.0.9

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.
data/lib/metrix/cli.rb CHANGED
@@ -20,6 +20,7 @@ module Metrix
20
20
  @interval = 10
21
21
  require "syslog/logger"
22
22
  Metrix.logger = Syslog::Logger.new("metrix")
23
+ Metrix.logger.level = Logger::INFO
23
24
  end
24
25
 
25
26
  def parse!
@@ -1,3 +1,3 @@
1
1
  module Metrix
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -4,6 +4,7 @@ require "metrix/cli"
4
4
  describe "Metrix::CLI" do
5
5
  subject(:cli) { Metrix::CLI.new([]) }
6
6
  it { should_not be_nil }
7
+ it { cli.logger.level.should eq(Logger::INFO) }
7
8
 
8
9
  it { cli.pid_path.should eq("/var/run/metrix.pid") }
9
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metrix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: