fiksu-af 1.1.1 → 1.1.2
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/fiksu-af.gemspec +1 -1
- data/lib/fiksu-af/application.rb +1 -0
- data/lib/fiksu-af/logging/configurator.rb +1 -1
- data/lib/fiksu-af/version.rb +1 -1
- metadata +2 -2
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-
|
|
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"]
|
data/lib/fiksu-af/application.rb
CHANGED
|
@@ -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
|
data/lib/fiksu-af/version.rb
CHANGED
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.
|
|
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-
|
|
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
|