oink 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. data/Rakefile +17 -13
  2. data/lib/oink/base.rb +1 -1
  3. metadata +31 -6
data/Rakefile CHANGED
@@ -4,21 +4,25 @@ require "rake/clean"
4
4
  require "spec/rake/spectask"
5
5
  require './lib/oink/base.rb'
6
6
 
7
- require 'jeweler'
8
- Jeweler::Tasks.new do |s|
9
- s.name = "oink"
10
- s.version = Oink::Base::VERSION
11
- s.author = "Noah Davis"
12
- s.email = "noahd1" + "@" + "yahoo.com"
13
- s.homepage = "http://github.com/noahd1/oink"
14
- s.summary = "Log parser to identify actions which significantly increase VM heap size"
15
- s.description = s.summary
16
- s.executables = "oink"
17
- s.files = %w[History.txt MIT-LICENSE README.rdoc Rakefile] + Dir["bin/*"] + Dir["lib/**/*"]
7
+ begin
8
+ require 'jeweler'
9
+ Jeweler::Tasks.new do |s|
10
+ s.name = "oink"
11
+ s.version = Oink::Base::VERSION
12
+ s.author = "Noah Davis"
13
+ s.email = "noahd1" + "@" + "yahoo.com"
14
+ s.homepage = "http://github.com/noahd1/oink"
15
+ s.summary = "Log parser to identify actions which significantly increase VM heap size"
16
+ s.description = s.summary
17
+ s.executables = "oink"
18
+ s.files = %w[History.txt MIT-LICENSE README.rdoc Rakefile] + Dir["bin/*"] + Dir["lib/**/*"]
19
+ s.add_dependency 'hodel_3000_compliant_logger'
20
+ end
21
+ Jeweler::GemcutterTasks.new
22
+ rescue LoadError
23
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
18
24
  end
19
25
 
20
- Jeweler::GemcutterTasks.new
21
-
22
26
  Spec::Rake::SpecTask.new do |t|
23
27
  t.spec_opts == ["--color"]
24
28
  end
data/lib/oink/base.rb CHANGED
@@ -2,7 +2,7 @@ module Oink
2
2
 
3
3
  class Base
4
4
 
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  FORMATS = %w[verbose short-summary summary]
7
7
  FORMAT_ALIASES = { "v" => "verbose", "ss" => "short-summary", "s" => "summary" }
8
8
  HODEL_LOG_FORMAT_REGEX = /^(\w+ \d{2} \d{2}:\d{2}:\d{2})/
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oink
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 25
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
- - 0
9
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Noah Davis
@@ -14,10 +15,23 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-08-10 00:00:00 -04:00
18
+ date: 2010-09-30 00:00:00 -04:00
18
19
  default_executable: oink
19
- dependencies: []
20
-
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: hodel_3000_compliant_logger
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :runtime
34
+ version_requirements: *id001
21
35
  description: Log parser to identify actions which significantly increase VM heap size
22
36
  email: noahd1@yahoo.com
23
37
  executables:
@@ -44,6 +58,13 @@ files:
44
58
  - lib/oink/rails.rb
45
59
  - lib/oink/rails/instance_type_counter.rb
46
60
  - lib/oink/rails/memory_usage_logger.rb
61
+ - spec/oink/active_record_instantiation_reporter_spec.rb
62
+ - spec/oink/memory_usage_reporter_spec.rb
63
+ - spec/oinked_request/oinked_request_spec.rb
64
+ - spec/priority_queue/priority_queue_spec.rb
65
+ - spec/rails/instance_type_counter_spec.rb
66
+ - spec/rails/memory_usage_logger_spec.rb
67
+ - spec/spec_helper.rb
47
68
  has_rdoc: true
48
69
  homepage: http://github.com/noahd1/oink
49
70
  licenses: []
@@ -54,23 +75,27 @@ rdoc_options:
54
75
  require_paths:
55
76
  - lib
56
77
  required_ruby_version: !ruby/object:Gem::Requirement
78
+ none: false
57
79
  requirements:
58
80
  - - ">="
59
81
  - !ruby/object:Gem::Version
82
+ hash: 3
60
83
  segments:
61
84
  - 0
62
85
  version: "0"
63
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
+ none: false
64
88
  requirements:
65
89
  - - ">="
66
90
  - !ruby/object:Gem::Version
91
+ hash: 3
67
92
  segments:
68
93
  - 0
69
94
  version: "0"
70
95
  requirements: []
71
96
 
72
97
  rubyforge_project:
73
- rubygems_version: 1.3.6
98
+ rubygems_version: 1.3.7
74
99
  signing_key:
75
100
  specification_version: 3
76
101
  summary: Log parser to identify actions which significantly increase VM heap size