garbageman 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/garbageman.gemspec +1 -1
- data/lib/garbageman/collector.rb +10 -10
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/garbageman.gemspec
CHANGED
data/lib/garbageman/collector.rb
CHANGED
@@ -59,6 +59,16 @@ module GarbageMan
|
|
59
59
|
write_gc_yaml server_index, 'selected'
|
60
60
|
end
|
61
61
|
|
62
|
+
def logger; GarbageMan.logger; end
|
63
|
+
|
64
|
+
def debug(msg)
|
65
|
+
logger.debug msg
|
66
|
+
end
|
67
|
+
|
68
|
+
def info(msg)
|
69
|
+
logger.info msg
|
70
|
+
end
|
71
|
+
|
62
72
|
private
|
63
73
|
|
64
74
|
def server_index
|
@@ -131,16 +141,6 @@ module GarbageMan
|
|
131
141
|
def socket_file(index)
|
132
142
|
Config.thin_config['socket'].sub '.sock', ".#{index}.sock"
|
133
143
|
end
|
134
|
-
|
135
|
-
def logger; GarbageMan.logger; end
|
136
|
-
|
137
|
-
def debug(msg)
|
138
|
-
logger.debug msg
|
139
|
-
end
|
140
|
-
|
141
|
-
def info(msg)
|
142
|
-
logger.info msg
|
143
|
-
end
|
144
144
|
end
|
145
145
|
end
|
146
146
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: garbageman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -99,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
99
|
version: '0'
|
100
100
|
segments:
|
101
101
|
- 0
|
102
|
-
hash: -
|
102
|
+
hash: -932921230500805269
|
103
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
104
|
none: false
|
105
105
|
requirements:
|