fiksu-af 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/fiksu-af.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.name = 'fiksu-af'
8
8
  s.version = Af::VERSION
9
9
  s.license = 'New BSD License'
10
- s.date = '2013-10-11'
10
+ s.date = '2013-10-16'
11
11
  s.summary = "An application framework for ruby on rails based scripts."
12
12
  s.description = "Af groups together gems and provides some glue and helper classes to easily creating applications in a ruby on rails environment."
13
13
  s.authors = ["Keith Gabryelski", "Leonardo Meira"]
@@ -73,6 +73,7 @@ module Af
73
73
  opt :log_stdout, "set logfile for stdout (when daemonized)", :type => :string
74
74
  opt :log_stderr, "set logfile for stderr (when daemonized)", :type => :string
75
75
  opt :log_console, "force logging to console"
76
+ opt :log_configurate, "force logging to use configuration from yml files"
76
77
  opt :log_ignore_configuration, "ignore logging configuration files", :default => false
77
78
  end
78
79
 
@@ -113,7 +113,7 @@ module Af::Logging
113
113
  end
114
114
 
115
115
  def configurate
116
- if @@log_console || @@log_ignore_configuration
116
+ if (@@log_console || @@log_ignore_configuration) && !@@log_configurate
117
117
  Log4r::Logger.root.outputters << Log4r::Outputter.stdout
118
118
  else
119
119
  logging_load_configuration
@@ -1,4 +1,4 @@
1
1
  module Af
2
2
  # the current version of this gem
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.2"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fiksu-af
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-10-11 00:00:00.000000000 Z
13
+ date: 2013-10-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: pg_application_name