Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
Merge pull request #63 from sul-dlss/without_assets
Browse files Browse the repository at this point in the history
Disable assets, this is a webservice
  • Loading branch information
jcoyne committed Oct 1, 2018
2 parents 9eb1424 + e5413a0 commit 18d7499
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 115 deletions.
14 changes: 0 additions & 14 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,16 @@ gem 'rails', '~> 5.0.0', '>= 5.0.0.1'

# Use Puma as the app server
gem 'puma', '~> 3.0'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.2'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.5'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platform: :mri
end

group :development do
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
gem 'web-console'
gem 'listen', '~> 3.0.5'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
Expand Down
49 changes: 1 addition & 48 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ GEM
sshkit (>= 1.6.1, != 1.7.0)
arel (7.1.4)
awesome_print (1.8.0)
bindex (0.5.0)
binding_of_caller (0.8.0)
debug_inspector (>= 0.0.1)
builder (3.2.3)
Expand Down Expand Up @@ -84,13 +83,6 @@ GEM
rack-test (>= 0.6.3)
xpath (~> 3.1)
coderay (1.1.2)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
railties (>= 4.0.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
coveralls (0.8.22)
json (>= 1.8, < 3)
Expand All @@ -114,7 +106,6 @@ GEM
unf (>= 0.0.5, < 1.0.0)
erubis (2.7.0)
eventmachine (1.2.7)
execjs (2.7.0)
faraday (0.15.3)
multipart-post (>= 1.2, < 3)
ffi (1.9.25)
Expand All @@ -133,14 +124,9 @@ GEM
jbuilder (2.7.0)
activesupport (>= 4.2.0)
multi_json (>= 1.2)
jquery-rails (4.3.3)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (2.1.0)
launchy (2.4.3)
addressable (~> 2.3)
libv8 (3.16.14.19)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
Expand Down Expand Up @@ -210,7 +196,6 @@ GEM
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
ref (2.0.0)
rest-client (2.0.2)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
Expand Down Expand Up @@ -239,17 +224,6 @@ GEM
ruby-progressbar (1.10.0)
rubyzip (1.2.2)
safe_yaml (1.0.4)
sass (3.6.0)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (5.0.7)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
Expand Down Expand Up @@ -278,33 +252,19 @@ GEM
net-ssh (>= 2.8.0)
term-ansicolor (1.6.0)
tins (~> 1.0)
therubyracer (0.12.3)
libv8 (~> 3.16.14.15)
ref
thin (1.7.2)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thor (0.19.4)
thread_safe (0.3.6)
tilt (2.0.8)
tins (1.16.3)
turbolinks (5.2.0)
turbolinks-source (~> 5.2)
turbolinks-source (5.2.0)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uglifier (4.1.19)
execjs (>= 0.3.0, < 3)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.5)
vcr (4.0.0)
web-console (3.7.0)
actionview (>= 5.0)
activemodel (>= 5.0)
bindex (>= 0.4.0)
railties (>= 5.0)
webmock (3.4.2)
addressable (>= 2.3.6)
crack (>= 0.3.2)
Expand All @@ -329,13 +289,11 @@ DEPENDENCIES
capistrano-rails
capistrano-rvm
capybara
coffee-rails (~> 4.2)
coveralls
dlss-capistrano
honeybadger (~> 2.0)
is_it_working
jbuilder (~> 2.5)
jquery-rails
launchy
listen (~> 3.0.5)
meta_request
Expand All @@ -346,20 +304,15 @@ DEPENDENCIES
rest-client
rsolr (>= 1.0.10)
rspec-rails (~> 3.1)
sass-rails (~> 5.0)
solr_wrapper (~> 1.0)
spring
spring-watcher-listen (~> 2.0.0)
sqlite3
therubyracer
thin
turbolinks (~> 5)
tzinfo-data
uglifier (>= 1.3.0)
vcr
web-console
webmock
yard

BUNDLED WITH
1.16.3
1.16.4
3 changes: 0 additions & 3 deletions app/assets/javascripts/apo.js.coffee

This file was deleted.

16 changes: 0 additions & 16 deletions app/assets/javascripts/application.js

This file was deleted.

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

This file was deleted.

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

This file was deleted.

3 changes: 0 additions & 3 deletions app/assets/stylesheets/apo.css.scss

This file was deleted.

15 changes: 0 additions & 15 deletions app/assets/stylesheets/application.css

This file was deleted.

3 changes: 0 additions & 3 deletions app/assets/stylesheets/collection.css.scss

This file was deleted.

3 changes: 0 additions & 3 deletions app/assets/stylesheets/tag.css.scss

This file was deleted.

4 changes: 2 additions & 2 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
# Debug mode disables concatenation and preprocessing of assets.
# This option may cause significant delays in view rendering with a large
# number of complex assets.
config.assets.debug = true
# config.assets.debug = true

# Suppress logger output for asset requests.
config.assets.quiet = true
# config.assets.quiet = true

# Raises error for missing translations
# config.action_view.raise_on_missing_translations = true
Expand Down
4 changes: 2 additions & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?

# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
# config.assets.js_compressor = :uglifier
# config.assets.css_compressor = :sass

# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false
# config.assets.compile = false

# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb

Expand Down

0 comments on commit 18d7499

Please sign in to comment.