easy_app_helper 3.0.3 → 3.0.4
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.
- checksums.yaml +4 -4
- data/.travis.yml +3 -2
- data/lib/easy_app_helper/logger/initializer.rb +7 -1
- data/lib/easy_app_helper/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f4443f1cdb30d24aada6452122f88dbe830e519
|
|
4
|
+
data.tar.gz: 9260f0652ee524f5b9620e8cd486130bf5ef9012
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 38ba305030898465455bc024576aa5fb385012ac20dcae1fa33a5ef5c68961845b3e39ea1bd2b506fe0162f47ec80772d86ee3eb9d80d929b5bd2094c331a227
|
|
7
|
+
data.tar.gz: df414622d47e3e190671ff1a7ed10409e42d86c76f8cf9d573624003bc99856669b9bd07f3f5849daf8371f9ef35eaf53f3a49af21be4738f5a6a1612a9bc65a
|
data/.travis.yml
CHANGED
|
@@ -21,7 +21,13 @@ module EasyAppHelper
|
|
|
21
21
|
def self.build_logger
|
|
22
22
|
log_device = if EasyAppHelper.config[:debug]
|
|
23
23
|
if EasyAppHelper.config[:'log-file']
|
|
24
|
-
EasyAppHelper.config[:'log-file']
|
|
24
|
+
if File.writable? EasyAppHelper.config[:'log-file']
|
|
25
|
+
EasyAppHelper.config[:'log-file']
|
|
26
|
+
else
|
|
27
|
+
puts STDERR "WARNING: Log file '#{EasyAppHelper.config[:'log-file']}' is not writable. Switching to STDERR..."
|
|
28
|
+
EasyAppHelper.config[:'log-file'] = nil
|
|
29
|
+
STDERR
|
|
30
|
+
end
|
|
25
31
|
elsif EasyAppHelper.config[:'debug-on-err']
|
|
26
32
|
STDERR
|
|
27
33
|
else
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: easy_app_helper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- L.Briais
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
152
152
|
version: '0'
|
|
153
153
|
requirements: []
|
|
154
154
|
rubyforge_project:
|
|
155
|
-
rubygems_version: 2.5.
|
|
155
|
+
rubygems_version: 2.4.5.1
|
|
156
156
|
signing_key:
|
|
157
157
|
specification_version: 4
|
|
158
158
|
summary: Provides cool helpers to your application, including configuration and logging
|