lib/sentry/rails.rb in sentry-rails-4.1.1 vs lib/sentry/rails.rb in sentry-rails-4.1.2
- old
+ new
@@ -1,14 +1,12 @@
require "sentry-ruby"
+require "sentry/integrable"
require "sentry/rails/configuration"
require "sentry/rails/railtie"
require "sentry/rails/tracing"
module Sentry
module Rails
- META = { "name" => "sentry.ruby.rails", "version" => Sentry::Rails::VERSION }.freeze
- end
-
- def self.sdk_meta
- Sentry::Rails::META
+ extend Integrable
+ register_integration name: "rails", version: Sentry::Rails::VERSION
end
end