Skip to content

Commit

Permalink
Replace squash with honeybadger
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Oct 11, 2016
1 parent 995dfe9 commit a8a3140
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 26 deletions.
3 changes: 2 additions & 1 deletion Capfile
Expand Up @@ -24,7 +24,8 @@ require 'capistrano/bundler'
# require 'capistrano/rails' # most rails apps need this, but this one doesn't because there's no db to migrate, and there are no assets to precompile (https://github.com/capistrano/rails#usage)
require 'capistrano/passenger'
require 'dlss/capistrano'
require 'squash/rails/capistrano3'

# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }

require 'capistrano/honeybadger'
3 changes: 1 addition & 2 deletions Gemfile
Expand Up @@ -2,8 +2,7 @@ source 'https://rubygems.org'

gem 'config'
gem 'rails', '4.2.7.1'
gem 'squash_rails'
gem 'squash_ruby'
gem 'honeybadger', '~> 2.0'
gem 'rack-timeout'

gem 'dor-services', '>= 5.11.1', '< 6'
Expand Down
8 changes: 2 additions & 6 deletions Gemfile.lock
Expand Up @@ -147,6 +147,7 @@ GEM
fastercsv (1.5.5)
globalid (0.3.7)
activesupport (>= 4.1.0)
honeybadger (2.6.1)
hooks (0.3.6)
uber (~> 0.0.4)
http-cookie (1.0.3)
Expand Down Expand Up @@ -306,10 +307,6 @@ GEM
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
squash_rails (1.3.4)
squash_ruby
squash_ruby (2.0.1)
json
sshkit (1.11.3)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
Expand Down Expand Up @@ -345,12 +342,11 @@ DEPENDENCIES
coveralls
dlss-capistrano (~> 3.0)
dor-services (>= 5.11.1, < 6)
honeybadger (~> 2.0)
is_it_working-cbeer
rack-timeout
rails (= 4.2.7.1)
rspec-rails (~> 3.0)
squash_rails
squash_ruby

BUNDLED WITH
1.13.2
4 changes: 1 addition & 3 deletions config/deploy.rb
Expand Up @@ -11,6 +11,4 @@
set :deploy_to, "#{fetch(:home_directory)}/#{fetch(:application)}"

set :linked_dirs, %w(log config/settings tmp/pids tmp/cache tmp/sockets vendor/bundle)
set :linked_files, %w(config/secrets.yml)

before 'deploy:publishing', 'squash:write_revision'
set :linked_files, %w(config/secrets.yml config/honeybadger.yml)
8 changes: 0 additions & 8 deletions config/initializers/squash_exceptions.rb

This file was deleted.

6 changes: 0 additions & 6 deletions config/settings.yml
Expand Up @@ -22,12 +22,6 @@ METADATA:
EXIST_URL: 'https://user:password@metadata.example.com/exist/rest'
CATALOG_URL: 'https://catalog.example.com/catalog/mods'

# Squash
SQUASH:
API_HOST: 'https://squash-host.example.com'
API_KEY: 'squash-api-key'
DISABLE: <%= (Rails.env.development? || Rails.env.test?) %>

# SSL
SSL:
CERT_FILE: 'cert_name.crt'
Expand Down

0 comments on commit a8a3140

Please sign in to comment.