Use sentry for error processing
This commit is contained in:
parent
df919db242
commit
9f07e3556d
1
Gemfile
1
Gemfile
|
@ -10,6 +10,7 @@ gem 'devise'
|
|||
gem 'omniauth-github'
|
||||
gem 'pundit'
|
||||
gem 'rbtrace'
|
||||
gem 'sentry-raven'
|
||||
|
||||
gem 'paperclip'
|
||||
gem 'sinatra', :require => nil
|
||||
|
|
|
@ -486,6 +486,8 @@ GEM
|
|||
activerecord (~> 4.2)
|
||||
schema_plus_core (~> 1.0)
|
||||
scrivener (0.0.3)
|
||||
sentry-raven (2.7.2)
|
||||
faraday (>= 0.7.6, < 1.0)
|
||||
sexp_processor (4.9.0)
|
||||
shotgun (0.9.2)
|
||||
rack (>= 1.0)
|
||||
|
@ -628,6 +630,7 @@ DEPENDENCIES
|
|||
russian
|
||||
sass-rails
|
||||
schema_plus
|
||||
sentry-raven
|
||||
shotgun
|
||||
shoulda
|
||||
shoulda-matchers
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
class Container < ActiveRecord::Base
|
||||
belongs_to :platform
|
||||
has_many :build_lists
|
||||
end
|
|
@ -0,0 +1,10 @@
|
|||
class CreateContainers < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :containers do |t|
|
||||
t.string :name
|
||||
t.references :platform, index: true, foreign_key: true
|
||||
|
||||
t.timestamps null: false
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
class AddContainerToBuildLists < ActiveRecord::Migration
|
||||
def change
|
||||
add_reference :build_lists, :container, index: true, foreign_key: true
|
||||
end
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Container, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
end
|
Loading…
Reference in New Issue