Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace squash with honeybadger #36

Merged
merged 1 commit into from Oct 11, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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