Skip to content

Commit

Permalink
Remove unneeded dependencies & files
Browse files Browse the repository at this point in the history
  • Loading branch information
swrobel committed May 23, 2017
1 parent b2badf4 commit f0a1994
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 128 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ AllCops:
- bin/*
- db/schema.rb
- db/migrate/*
- node_modules/**/*
- test/test_helper.rb
- vendor/**/*

Expand Down
4 changes: 0 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,10 @@ gem 'rails', '5.1.1'

gem 'bootstrap', '~> 4.0.0.alpha3'
gem 'chartkick'
gem 'coffee-rails', '~> 4.2.0'
gem 'friendly_id'
gem 'jquery-rails'
gem 'nokogiri'
gem 'pg', '~> 0.18'
gem 'puma'
gem 'slim-rails'
gem 'sprockets', '~> 4.0.0.beta2'
gem 'turbolinks'
gem 'uglifier', '>= 1.3.0'

Expand Down
17 changes: 1 addition & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@ GEM
builder (3.2.3)
chartkick (2.2.4)
coderay (1.1.1)
coffee-rails (4.2.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.2.x)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
dotenv (2.2.1)
dotenv-rails (2.2.1)
Expand Down Expand Up @@ -108,10 +101,6 @@ GEM
rubydns (~> 0.8.5)
thor (~> 0.19)
uuid (~> 2.3)
jquery-rails (4.3.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
Expand Down Expand Up @@ -206,7 +195,7 @@ GEM
slop (3.6.0)
spring (2.0.2)
activesupport (>= 4.2)
sprockets (4.0.0.beta4)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.0)
Expand Down Expand Up @@ -245,16 +234,13 @@ PLATFORMS
DEPENDENCIES
bootstrap (~> 4.0.0.alpha3)
chartkick
coffee-rails (~> 4.2.0)
dotenv-rails
friendly_id
guard
guard-bundler
guard-rubocop
invoker
jquery-rails
newrelic_rpm
nokogiri
pg (~> 0.18)
puma
rack-toolbar
Expand All @@ -263,7 +249,6 @@ DEPENDENCIES
rubocop (~> 0.47.1)
slim-rails
spring
sprockets (~> 4.0.0.beta2)
terminal-notifier-guard
turbolinks
uglifier (>= 1.3.0)
Expand Down
4 changes: 0 additions & 4 deletions app/assets/javascripts/analytics.coffee

This file was deleted.

6 changes: 6 additions & 0 deletions app/assets/javascripts/analytics.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
document.addEventListener('turbolinks:load', function(event) {
if (typeof ga === 'function') {
ga('set', 'location', event.data.url);
return ga('send', 'pageview');
}
});
2 changes: 0 additions & 2 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery2
//= require jquery_ujs
//= require turbolinks
//= require highcharts
//= require chartkick
Expand Down
11 changes: 0 additions & 11 deletions app/assets/javascripts/cable.coffee

This file was deleted.

3 changes: 0 additions & 3 deletions app/assets/javascripts/spots.coffee

This file was deleted.

84 changes: 0 additions & 84 deletions app/assets/stylesheets/scaffold.css

This file was deleted.

4 changes: 0 additions & 4 deletions app/assets/stylesheets/spots.css

This file was deleted.

0 comments on commit f0a1994

Please sign in to comment.