Sha256: 70198a0e590f126e60899b84f169d34473f901217c59604c7093d85a08a29940

Contents?: true

Size: 638 Bytes

Versions: 53

Compression:

Stored size: 638 Bytes

Contents

# frozen_string_literal: true

module RailsAppGenerator
  # Custom add-ons for RailsAppGenerator
  module AddOns
    # Add Honeybadger to rails application
    class Honeybadger < RailsAppGenerator::Addon
      required_gem gem.version('honeybadger', '4.12.1', 'Make managing application errors a more pleasant experience.')

      def apply
        run('bundle exec honeybadger install 1111')
        say 'Update the honeybadger.yml file with your API key.'

        copy_file('honeybadger.sample.yml', 'config/honeybadger.sample.yml')
        append_to_file('config/locales/en.yml', read_template('en.yml'))
      end
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.3.5 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.3.4 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.3.3 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.3.2 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.3.1 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.3.0 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.2.43 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.2.42 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.2.41 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.2.40 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.2.39 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.2.38 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.2.37 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.2.36 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.2.35 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.2.34 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.2.33 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.2.32 lib/rails_app_generator/addons/honeybadger.rb
rails_app_generator-0.2.31 lib/rails_app_generator/addons/honeybadger.rb