rpm_contrib 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG +4 -0
  2. data/lib/rpm_contrib.rb +2 -2
  3. metadata +4 -4
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ * Version 2.0.1
2
+
3
+ Fixed an error with Bundler and RubyGems 1.8.2 which caused the gem to always fail to load
4
+
1
5
  * Version 2.0.0
2
6
 
3
7
  Updated to use the latest version of the Ruby Agent
data/lib/rpm_contrib.rb CHANGED
@@ -18,8 +18,8 @@ module RPMContrib
18
18
  end
19
19
  # Perform any framework/dispatcher detection before loading the rpm gem.
20
20
  require 'rpm_contrib/detection'
21
- raise "The rpm_contrib gem must be loaded before the newrelic_rpm gem." unless require 'newrelic_rpm'
22
-
21
+ puts "Warning! The rpm_contrib gem should be loaded before the newrelic_rpm gem if you are using Resque or Camping." if defined?(::NewRelic) && defined?(::NewRelic::Control)
22
+ require 'newrelic_rpm'
23
23
  if defined? Rails
24
24
  # Rails 3.x+
25
25
  if Rails.respond_to?(:version) && Rails.version =~ /^3/
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpm_contrib
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 0
10
- version: 2.0.0
9
+ - 1
10
+ version: 2.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bill Kayser
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-11 00:00:00 -07:00
18
+ date: 2011-05-12 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency