logging 1.7.0 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +5 -0
  2. data/lib/logging/utils.rb +2 -1
  3. data/version.txt +1 -1
  4. metadata +10 -10
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 1.7.1 / 2012-03-05
2
+
3
+ Bug Fixes
4
+ - Fixed deprecated use of Config::* [issue #29]
5
+
1
6
  == 1.7.0 / 2012-02-18
2
7
 
3
8
  Enhancements
data/lib/logging/utils.rb CHANGED
@@ -166,7 +166,8 @@ class File
166
166
  end
167
167
 
168
168
  # :stopdoc:
169
- if Config::CONFIG['host_os'] =~ /mswin|windows|cygwin/i
169
+ conf = defined?(RbConfig) ? RbConfig::CONFIG : Config::CONFIG
170
+ if conf['host_os'] =~ /mswin|windows|cygwin/i
170
171
  # don't lock files on windows
171
172
  undef :flock?, :flock_sh
172
173
  def flock?() yield; end
data/version.txt CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.7.1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-19 00:00:00.000000000Z
12
+ date: 2012-03-05 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: little-plugger
16
- requirement: &2166299120 !ruby/object:Gem::Requirement
16
+ requirement: &2154814600 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.1.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2166299120
24
+ version_requirements: *2154814600
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: flexmock
27
- requirement: &2166298600 !ruby/object:Gem::Requirement
27
+ requirement: &2154814120 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.9.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2166298600
35
+ version_requirements: *2154814120
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bones-git
38
- requirement: &2166298000 !ruby/object:Gem::Requirement
38
+ requirement: &2154813700 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.2.4
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2166298000
46
+ version_requirements: *2154813700
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bones
49
- requirement: &2166297540 !ruby/object:Gem::Requirement
49
+ requirement: &2154813280 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 3.7.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2166297540
57
+ version_requirements: *2154813280
58
58
  description: ! 'Logging is a flexible logging library for use in Ruby programs based
59
59
  on the
60
60