padrino-rpm 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -11,6 +11,11 @@ Run `bundle install` and add a newrelic.yml to your project:
11
11
 
12
12
  If you are running your Padrino application on Heroku's Bamboo stack, running "newrelic install" is not necessary because Heroku adds newrelic.yml on your behalf.
13
13
 
14
+
15
+ ## Unicorn
16
+
17
+ If you are using unicorn, make sure that you read the following: http://newrelic.com/docs/troubleshooting/im-using-unicorn-and-i-dont-see-any-data
18
+
14
19
  ## Word of warning
15
20
 
16
21
  At the moment, this works for me. Any additions are welcome.
@@ -17,7 +17,7 @@ module PadrinoRpm
17
17
  module Padrino
18
18
  include NewRelic::Agent::Instrumentation::ControllerInstrumentation
19
19
 
20
- def route_eval(*args, &block)
20
+ def dispatch!(*args, &block)
21
21
  if @route
22
22
  name = @route.as_options[:name]
23
23
  short_name = name.to_s.split(/_/).last
@@ -25,7 +25,7 @@ module PadrinoRpm
25
25
  end
26
26
 
27
27
  perform_action_with_newrelic_trace(:category => :controller, :name => short_name, :params => request.params, :class_name => controller) do
28
- route_eval_without_newrelic(*args, &block) # RPM loads the sinatra plugin too eagerly
28
+ dispatch_without_newrelic#(*args, &block) # RPM loads the sinatra plugin too eagerly
29
29
  end
30
30
  end
31
31
 
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{padrino-rpm}
5
5
 
6
- s.version = "0.6.0"
6
+ s.version = "0.6.1"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.authors = ["Florian Gilcher"]
@@ -16,6 +16,6 @@ Gem::Specification.new do |s|
16
16
  s.summary = %q{Padrino Instrumentation for New Relic RPM}
17
17
  s.files = `git ls-files`.split("\n")
18
18
 
19
- s.add_dependency(%q<newrelic_rpm>, "~> 3.1.0")
19
+ s.add_dependency(%q<newrelic_rpm>, "~> 3.3.3")
20
20
  end
21
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-rpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,19 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-19 00:00:00.000000000Z
12
+ date: 2011-11-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: newrelic_rpm
16
- requirement: &2156380840 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 3.1.0
21
+ version: 3.3.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2156380840
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.3.3
25
30
  description: A gem for monitoring Padrino with newrelic rpm
26
31
  email: florian.gilcher@asquera.de
27
32
  executables: []
@@ -55,8 +60,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
60
  version: '0'
56
61
  requirements: []
57
62
  rubyforge_project:
58
- rubygems_version: 1.8.7
63
+ rubygems_version: 1.8.24
59
64
  signing_key:
60
65
  specification_version: 3
61
66
  summary: Padrino Instrumentation for New Relic RPM
62
67
  test_files: []
68
+ has_rdoc: