easy_app_helper 3.0.3 → 3.0.4

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: 1eabee8a47d8e885e876bf39a0a6845220af667b
4
- data.tar.gz: 8e1629646a645c9ab5abcb211f14b91ec9538777
3
+ metadata.gz: 7f4443f1cdb30d24aada6452122f88dbe830e519
4
+ data.tar.gz: 9260f0652ee524f5b9620e8cd486130bf5ef9012
5
5
  SHA512:
6
- metadata.gz: 14d6c11ce2ef9d8248bebfddb6a7d2d1b1b6d64af6bf29d279add1f9020ba0fc7e366d8ef1ede3ed71ffd00cfc742fac40d84b6a957919e9ff7787c42d6d40f9
7
- data.tar.gz: 0997366f8d8b1d2a214fcea597b8eb9c1679b8f4ee619705869107c67d928568ae3c223a9c03ec9275c883b900be037c97b613b07ed532cd9a6a0ccb918d469c
6
+ metadata.gz: 38ba305030898465455bc024576aa5fb385012ac20dcae1fa33a5ef5c68961845b3e39ea1bd2b506fe0162f47ec80772d86ee3eb9d80d929b5bd2094c331a227
7
+ data.tar.gz: df414622d47e3e190671ff1a7ed10409e42d86c76f8cf9d573624003bc99856669b9bd07f3f5849daf8371f9ef35eaf53f3a49af21be4738f5a6a1612a9bc65a
data/.travis.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.2
3
+ - 2.0.0-p648
4
+ - 2.2.4
4
5
  script:
5
- - bundle exec rspec -f d 2> /dev/null
6
+ - bundle exec rspec -f d 2> /dev/null
@@ -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
@@ -1,3 +1,3 @@
1
1
  module EasyAppHelper
2
- VERSION = '3.0.3'
2
+ VERSION = '3.0.4 '
3
3
  end
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.3
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-02-23 00:00:00.000000000 Z
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.2
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