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 CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/garbageman.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "garbageman"
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Doug Youch"]
@@ -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.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: -664374349812690077
102
+ hash: -932921230500805269
103
103
  required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  none: false
105
105
  requirements: