pushyd 0.7.0 → 0.7.1

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: de49b896a3b942b2babca81aa547804008fe7e39
4
- data.tar.gz: b31568f729c9bf37c5b423f578c94a68ffaef429
3
+ metadata.gz: 233f9d4980695f14bed64169729254e8913307cb
4
+ data.tar.gz: 224431587e789f97fe31facb2bef49366b06db83
5
5
  SHA512:
6
- metadata.gz: 73bafb1821c8c3d52f59c5202f24ee18c367c472eb2b80c082e5b81a5b7f2fa1b7568a882b46c1b4d9558b013cb99de8090dc2a30a054f57e685a08454148a77
7
- data.tar.gz: bcd83b4f5351c6eee60798bf37fcf2d85f5c9ada8a7d0bcce64907aa32cf8ec347140f2e8cc2de56f3f055685eedd354e6c4b17c726bf2a0911514b92934f304
6
+ metadata.gz: d22640997b653d2494ec69c50120e75b5724d8d7e55a2fc6a71ec5eed43a90f76e6c961e7957deb4d352a65185c910dbcb45dcfdea7f6c66e1b47d76909962d7
7
+ data.tar.gz: 01cb61c001a925882533d08ebf75a8449581cc849227378a509607e57494a429d6773fd3af3f2599c61d9142ae57860a86150bc3081b2a05e636c93f4d586ff0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pushyd (0.7.0)
4
+ pushyd (0.7.1)
5
5
  api-auth
6
6
  bunny (~> 2.3)
7
7
  chamber (~> 2.9)
data/bin/pushyd CHANGED
@@ -25,8 +25,8 @@ begin
25
25
  # Parse options and check compliance
26
26
  parser = OptionParser.new do |opts|
27
27
  opts.banner = "Usage: #{File.basename $PROGRAM_NAME} [options] start|stop"
28
- opts.on("-l", "--log LOGFILE") { |path| cmd_logfile = File.expand_path(path)}
29
- opts.on("-c", "--config CONFIGFILE") { |path| cmd_config = File.expand_path(path)}
28
+ opts.on("-l", "--log LOGFILE") { |path| cmd_logfile = File.expand_path(path.to_s)}
29
+ opts.on("-c", "--config CONFIGFILE") { |path| cmd_config = File.expand_path(path.to_s)}
30
30
  opts.on("-e", "--environment ENV") { |env| Conf.app_env = env }
31
31
  opts.on("", "--dev") { Conf.app_env = "development" }
32
32
  end
data/defaults.yml CHANGED
@@ -6,13 +6,14 @@ bus:
6
6
  pass: guest
7
7
 
8
8
  logs:
9
+ path: '/tmp/'
9
10
  file: null
10
11
  newrelic: null
11
12
  level: debug
12
13
 
13
14
  shout:
14
15
  topic: pushyd
15
- period: 2
16
+ period: 10
16
17
  # keys:
17
18
  # - tic
18
19
  # - tac
data/lib/shared/conf.rb CHANGED
@@ -77,7 +77,7 @@ module Shared
77
77
  Encoding.default_external = "utf-8"
78
78
 
79
79
  # Init New Relic
80
- newrelic_logfile = File.expand_path(Conf[:logs][:newrelic], Conf[:logs][:path])
80
+ newrelic_logfile = File.expand_path(Conf[:logs][:newrelic].to_s, Conf[:logs][:path].to_s)
81
81
  prepare_newrelic self[:newrelic], newrelic_logfile
82
82
 
83
83
  # Try to access any key to force parsing of the files
data/pushyd.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |spec|
3
3
  # Project version
4
- spec.version = "0.7.0"
4
+ spec.version = "0.7.1"
5
5
 
6
6
  # Project description
7
7
  spec.name = "pushyd"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pushyd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno MEDICI