Sha256: d623ab396dc63d62c557cbb7e337e6ed10048e181f41b7aaffb850caed4c2392

Contents?: true

Size: 422 Bytes

Versions: 3

Compression:

Stored size: 422 Bytes

Contents

# encoding: utf-8

require 'one_apm/frameworks/rails3'

module OneApm
  class Probe
    module Frameworks
      class Rails4 < OneApm::Probe::Frameworks::Rails3
        def rails_gem_list
          Bundler.rubygems.all_specs.map do |gem|
            "#{gem.name} (#{gem.version})"
          end
        end

        def append_plugin_list
          # Rails 4 does not allow plugins
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
oneapm_rpm-1.1.2 lib/one_apm/frameworks/rails4.rb
oneapm_rpm-1.1.1 lib/one_apm/frameworks/rails4.rb
oneapm_rpm-1.1.0 lib/one_apm/frameworks/rails4.rb