Sha256: 70d26c48180c56ae73005b791cb83901e006accacca49b2b05f2774388edfdb8

Contents?: true

Size: 531 Bytes

Versions: 17

Compression:

Stored size: 531 Bytes

Contents

# Template to get Hoptoad on Padrino
# prereqs:
# sudo gem install rack_hoptoad
# http://github.com/atmos/rack_hoptoad
HOPTOAD = <<-HOPTOAD
    app.use Rack::Hoptoad, 'API_KEY_HERE' do |notifier|
      #notifier.report_under        << 'custom'
      #notifier.environment_filters << %w(MY_SECRET_KEY MY_SECRET_TOKEN)
    end
HOPTOAD
require_dependencies 'rack_hoptoad', :require => 'rack/hoptoad'
initializer :hoptoad,HOPTOAD
inject_into_file destination_root('/app/app.rb'),"    enable :raise_errors\n", :after => "configure do\n"

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
padrino-gen-0.10.1 test/fixtures/plugin_template.rb
padrino-gen-0.10.0 test/fixtures/plugin_template.rb
padrino-gen-0.9.29 test/fixtures/plugin_template.rb
padrino-gen-0.9.28 test/fixtures/plugin_template.rb
padrino-gen-0.9.27 test/fixtures/plugin_template.rb
padrino-gen-0.9.26 test/fixtures/plugin_template.rb
padrino-gen-0.9.24 test/fixtures/plugin_template.rb
padrino-gen-0.9.25 test/fixtures/plugin_template.rb
padrino-gen-0.9.23 test/fixtures/plugin_template.rb
padrino-gen-0.9.22 test/fixtures/plugin_template.rb
padrino-gen-0.9.21 test/fixtures/plugin_template.rb
padrino-gen-0.9.20 test/fixtures/plugin_template.rb
padrino-gen-0.9.19 test/fixtures/plugin_template.rb
padrino-gen-0.9.18 test/fixtures/plugin_template.rb
padrino-gen-0.9.17 test/fixtures/plugin_template.rb
padrino-gen-0.9.16 test/fixtures/plugin_template.rb
padrino-gen-0.9.15 test/fixtures/plugin_template.rb