Skip to content

Commit

Permalink
Merge pull request #80 from BenMorganIO/thin-rails-deps
Browse files Browse the repository at this point in the history
Reduce Rails Dependency to Action View
  • Loading branch information
jumph4x authored Oct 18, 2023
2 parents 52fbad6 + 4dca1db commit 6b9f9e3
Show file tree
Hide file tree
Showing 36 changed files with 7 additions and 775 deletions.
4 changes: 0 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ source "http://rubygems.org"
# development dependencies will be added by default to the :development group.
gemspec

# jquery-rails is used by the dummy application
gem "jquery-rails"
gem 'sqlite3'

# Declare any dependencies that are still in development here instead of in
# your gemspec. These might include edge Rails or gems from your path or
# Git. Remember to move these dependencies to your gemspec before releasing
Expand Down
7 changes: 2 additions & 5 deletions canonical-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@ Gem::Specification.new do |s|

s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]

%w[actionmailer activerecord railties].each do |dep|
s.add_dependency dep, '>= 4.1', '<= 7.1'
end

s.add_dependency "sprockets-rails", '~> 3.0'
s.add_dependency 'actionview', '>= 4.1', '<= 7.1'

s.add_development_dependency 'actionpack', '>= 4.1', '<= 7.1'
s.add_development_dependency 'appraisal'
s.add_development_dependency 'rspec-rails', '~> 4.0.1'
s.add_development_dependency 'pry'
Expand Down
261 changes: 0 additions & 261 deletions spec/dummy/README.rdoc

This file was deleted.

7 changes: 0 additions & 7 deletions spec/dummy/Rakefile

This file was deleted.

15 changes: 0 additions & 15 deletions spec/dummy/app/assets/javascripts/application.js

This file was deleted.

13 changes: 0 additions & 13 deletions spec/dummy/app/assets/stylesheets/application.css

This file was deleted.

3 changes: 0 additions & 3 deletions spec/dummy/app/controllers/application_controller.rb

This file was deleted.

2 changes: 0 additions & 2 deletions spec/dummy/app/helpers/application_helper.rb

This file was deleted.

Empty file removed spec/dummy/app/mailers/.gitkeep
Empty file.
Empty file removed spec/dummy/app/models/.gitkeep
Empty file.
14 changes: 0 additions & 14 deletions spec/dummy/app/views/layouts/application.html.erb

This file was deleted.

4 changes: 0 additions & 4 deletions spec/dummy/config.ru

This file was deleted.

Loading

0 comments on commit 6b9f9e3

Please sign in to comment.