ghazel-rack-bug 0.3.0.2 → 0.3.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,9 +17,9 @@ module Rack
17
17
  mem = wproc.WorkingSetSize
18
18
  end
19
19
  mem.to_i / 1000
20
- elsif pages = File.read("/proc/self/statm") rescue nil
20
+ elsif pages = ::File.read("/proc/self/statm") rescue nil
21
21
  pages.to_i * statm_page_size
22
- elsif proc_file = File.new("/proc/#{$$}/smaps") rescue nil
22
+ elsif proc_file = ::File.new("/proc/#{$$}/smaps") rescue nil
23
23
  proc_file.map do |line|
24
24
  size = line[/Size: *(\d+)/, 1] and size.to_i
25
25
  end.compact.sum
data/rack-bug.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ghazel-rack-bug}
5
- s.version = "0.3.0.2"
5
+ s.version = "0.3.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Bryan Helmkamp"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghazel-rack-bug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.2
4
+ version: 0.3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Helmkamp