Sha256: e32910f4e604727eca67c1f4d718be6e58e97aee30a0e093dd440b7527d865e8

Contents?: true

Size: 532 Bytes

Versions: 58

Compression:

Stored size: 532 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

58 entries across 58 versions & 1 rubygems

Version Path
padrino-gen-0.16.0.pre3 test/fixtures/plugin_template.rb
padrino-gen-0.16.0.pre2 test/fixtures/plugin_template.rb
padrino-gen-0.15.3 test/fixtures/plugin_template.rb
padrino-gen-0.15.2 test/fixtures/plugin_template.rb
padrino-gen-0.15.1 test/fixtures/plugin_template.rb
padrino-gen-0.15.0 test/fixtures/plugin_template.rb
padrino-gen-0.14.4 test/fixtures/plugin_template.rb
padrino-gen-0.14.3 test/fixtures/plugin_template.rb
padrino-gen-0.12.9 test/fixtures/plugin_template.rb
padrino-gen-0.14.2 test/fixtures/plugin_template.rb
padrino-gen-0.13.3.4 test/fixtures/plugin_template.rb
padrino-gen-0.14.1.1 test/fixtures/plugin_template.rb
padrino-gen-0.14.1 test/fixtures/plugin_template.rb
padrino-gen-0.14.0.2 test/fixtures/plugin_template.rb
padrino-gen-0.14.0.1 test/fixtures/plugin_template.rb
padrino-gen-0.14.0 test/fixtures/plugin_template.rb
padrino-gen-0.14.0.rc2 test/fixtures/plugin_template.rb
padrino-gen-0.14.0.rc1 test/fixtures/plugin_template.rb
padrino-gen-0.13.3.3 test/fixtures/plugin_template.rb
padrino-gen-0.13.3.2 test/fixtures/plugin_template.rb