logger_extension 0.0.3 → 0.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 CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MmNmMzYwYWVhMzlkNjZlYTk0ZTY0ZTQ4ZDc5NmIzMTRiNzI1OWE4NQ==
5
- data.tar.gz: !binary |-
6
- NjExNWQzZmY2YTI3YzAwMTY2YWVjNjE3YWVhZjI1NTE4MDM1YjkwNg==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- MzM2ZmY4YmRmZWI0MDRlNDA3NmY4YjFjOTkxYjlkZGQ2ZDFlOTdmMjk3NWM3
10
- ZTNhODRjZTUxN2RjMzI5NDNmZWNkMTIxYmJjZjU5YmVjMmJmYjVjZDQ3Yzky
11
- NGM3MzA5OTA4NGQ3MmJmNmNkMDM0MzI4YmZjMzdjYzI0NjBjYTc=
12
- data.tar.gz: !binary |-
13
- N2E4YjBlZTYyOWI4ZWI3NzhlYjI1YzRhNGI0MTk2ZjVhNmEyNjY1OGViY2Zi
14
- MGQ2OGM1NWFkMWE2MWU1NzRkNmIzMzc3MmIyOGE3Njg0ZTljODI0ZjA5N2Ix
15
- NmY3ZjYxYzllYzBhOTFkOWJlODk3YTg1YWEyMjJiZWU2YjVmNTU=
2
+ SHA1:
3
+ metadata.gz: e08d9f3684ef89d37670cff104edfd97c852245a
4
+ data.tar.gz: fc9aa38691c2ba3f47a5c9cb4ca9444ea63127c2
5
+ SHA512:
6
+ metadata.gz: 572ac67ea64dd7ce25c51aa1d1fb7327b4124976843a58d5493b9f14ccc5ffd572122f4f0cfbfabee94d916757c6ddc56b15246c81afa6e233917e63a22dc336
7
+ data.tar.gz: d3faa7087b272637800111aba3e3d95db7310d69a0086d5b8834131274d27f9cebff69c3e788f0677f96d64d1070f91f2258fb77e93a40f49093537e54e7587a
@@ -11,7 +11,7 @@ module LoggerExtension
11
11
  attr_accessor :default_progname
12
12
 
13
13
  def initialize(*targets)
14
- @targets = targets
14
+ @targets = targets.each { |target| target.sync = true if target.respond_to?(:sync=) }
15
15
  @default_formatter = ::LoggerExtension::Formatter.new
16
16
  @mutex = LogDeviceMutex.new
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module LoggerExtension
2
- VERSION = "0.0.3".freeze
2
+ VERSION = "0.0.4".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logger_extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - kuldeepaggarwal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-01 00:00:00.000000000 Z
11
+ date: 2014-09-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A utility for logging on multiple files for rack applications
14
14
  email:
@@ -17,7 +17,7 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
- - .gitignore
20
+ - ".gitignore"
21
21
  - Gemfile
22
22
  - LICENSE.txt
23
23
  - README.md
@@ -37,18 +37,19 @@ require_paths:
37
37
  - lib
38
38
  required_ruby_version: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ! '>='
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  required_rubygems_version: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  requirements: []
49
49
  rubyforge_project:
50
- rubygems_version: 2.0.5
50
+ rubygems_version: 2.2.2
51
51
  signing_key:
52
52
  specification_version: 4
53
53
  summary: A utility for logging on multiple files for rack applications.
54
54
  test_files: []
55
+ has_rdoc: