-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit fe34171
Showing
59 changed files
with
1,398 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# This is a common gitignore which includes many files | ||
# That could be included by various Rails dependencies | ||
# This file is maintained by GitHub: https://github.com/github/gitignore | ||
|
||
*.rbc | ||
capybara-*.html | ||
.rspec | ||
/db/*.sqlite3 | ||
/db/*.sqlite3-journal | ||
/db/*.sqlite3-[0-9]* | ||
/public/system | ||
/coverage/ | ||
/spec/tmp | ||
*.orig | ||
rerun.txt | ||
pickle-email-*.html | ||
|
||
# Ignore all logfiles and tempfiles. | ||
/log/* | ||
/tmp/* | ||
!/log/.keep | ||
!/tmp/.keep | ||
|
||
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo | ||
config/initializers/secret_token.rb | ||
config/master.key | ||
|
||
# Only include if you have production secrets in this file, which is no longer a Rails default | ||
# config/secrets.yml | ||
|
||
# dotenv, dotenv-rails | ||
# TODO Comment out these rules if environment variables can be committed | ||
.env | ||
.env*.local | ||
|
||
## Environment normalization: | ||
/.bundle | ||
/vendor/bundle | ||
|
||
# these should all be checked in to normalize the environment: | ||
# Gemfile.lock, .ruby-version, .ruby-gemset | ||
|
||
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this: | ||
.rvmrc | ||
|
||
# if using bower-rails ignore default bower_components path bower.json files | ||
/vendor/assets/bower_components | ||
*.bowerrc | ||
bower.json | ||
|
||
# Ignore pow environment settings | ||
.powenv | ||
|
||
# Ignore Byebug command history file. | ||
.byebug_history | ||
|
||
# Ignore node_modules | ||
node_modules/ | ||
|
||
# Ignore precompiled javascript packs | ||
/public/packs | ||
/public/packs-test | ||
/public/assets | ||
|
||
# Ignore yarn files | ||
/yarn-error.log | ||
yarn-debug.log* | ||
.yarn-integrity | ||
|
||
# Ignore uploaded files in development | ||
/storage/* | ||
!/storage/.keep | ||
/public/uploads |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.6.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
source 'https://rubygems.org' | ||
|
||
ruby '2.6.6' | ||
|
||
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | ||
gem 'rails', '4.2.11' | ||
|
||
# Use SCSS for stylesheets | ||
gem 'sass-rails', '~> 5.0' | ||
# Use Uglifier as compressor for JavaScript assets | ||
gem 'uglifier', '>= 1.3.0' | ||
# Use jquery as the JavaScript library | ||
gem 'jquery-rails' | ||
|
||
# Use Unicorn as the app server | ||
# gem 'unicorn' | ||
|
||
gem 'themoviedb' | ||
|
||
# Window support | ||
gem 'tzinfo' | ||
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw] | ||
|
||
group :development, :test do | ||
# Call 'byebug' anywhere in the code to stop execution and get a debugger console | ||
gem 'byebug' | ||
|
||
gem 'rspec-rails' | ||
gem 'guard-rspec' | ||
|
||
# Use sqlite3 as the database for Active Record | ||
gem 'sqlite3', '~> 1.3.6' | ||
|
||
# Access an IRB console on exception pages or by using <%= console %> in views | ||
gem 'web-console', '~> 2.0' | ||
end | ||
|
||
group :production do | ||
gem 'pg', '~> 0.21' # for Heroku deployment | ||
gem 'rails_12factor' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,221 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actionmailer (4.2.11) | ||
actionpack (= 4.2.11) | ||
actionview (= 4.2.11) | ||
activejob (= 4.2.11) | ||
mail (~> 2.5, >= 2.5.4) | ||
rails-dom-testing (~> 1.0, >= 1.0.5) | ||
actionpack (4.2.11) | ||
actionview (= 4.2.11) | ||
activesupport (= 4.2.11) | ||
rack (~> 1.6) | ||
rack-test (~> 0.6.2) | ||
rails-dom-testing (~> 1.0, >= 1.0.5) | ||
rails-html-sanitizer (~> 1.0, >= 1.0.2) | ||
actionview (4.2.11) | ||
activesupport (= 4.2.11) | ||
builder (~> 3.1) | ||
erubis (~> 2.7.0) | ||
rails-dom-testing (~> 1.0, >= 1.0.5) | ||
rails-html-sanitizer (~> 1.0, >= 1.0.3) | ||
activejob (4.2.11) | ||
activesupport (= 4.2.11) | ||
globalid (>= 0.3.0) | ||
activemodel (4.2.11) | ||
activesupport (= 4.2.11) | ||
builder (~> 3.1) | ||
activerecord (4.2.11) | ||
activemodel (= 4.2.11) | ||
activesupport (= 4.2.11) | ||
arel (~> 6.0) | ||
activesupport (4.2.11) | ||
i18n (~> 0.7) | ||
minitest (~> 5.1) | ||
thread_safe (~> 0.3, >= 0.3.4) | ||
tzinfo (~> 1.1) | ||
arel (6.0.4) | ||
binding_of_caller (1.0.0) | ||
debug_inspector (>= 0.0.1) | ||
builder (3.2.4) | ||
byebug (11.1.3) | ||
coderay (1.1.3) | ||
concurrent-ruby (1.1.8) | ||
crass (1.0.6) | ||
debug_inspector (1.0.0) | ||
diff-lcs (1.4.4) | ||
erubis (2.7.0) | ||
execjs (2.7.0) | ||
ffi (1.14.2) | ||
formatador (0.2.5) | ||
globalid (0.4.2) | ||
activesupport (>= 4.2.0) | ||
guard (2.16.2) | ||
formatador (>= 0.2.4) | ||
listen (>= 2.7, < 4.0) | ||
lumberjack (>= 1.0.12, < 2.0) | ||
nenv (~> 0.1) | ||
notiffany (~> 0.0) | ||
pry (>= 0.9.12) | ||
shellany (~> 0.0) | ||
thor (>= 0.18.1) | ||
guard-compat (1.2.1) | ||
guard-rspec (4.7.3) | ||
guard (~> 2.1) | ||
guard-compat (~> 1.1) | ||
rspec (>= 2.99.0, < 4.0) | ||
httparty (0.18.1) | ||
mime-types (~> 3.0) | ||
multi_xml (>= 0.5.2) | ||
i18n (0.9.5) | ||
concurrent-ruby (~> 1.0) | ||
jquery-rails (4.4.0) | ||
rails-dom-testing (>= 1, < 3) | ||
railties (>= 4.2.0) | ||
thor (>= 0.14, < 2.0) | ||
listen (3.4.1) | ||
rb-fsevent (~> 0.10, >= 0.10.3) | ||
rb-inotify (~> 0.9, >= 0.9.10) | ||
loofah (2.9.0) | ||
crass (~> 1.0.2) | ||
nokogiri (>= 1.5.9) | ||
lumberjack (1.2.8) | ||
mail (2.7.1) | ||
mini_mime (>= 0.1.1) | ||
method_source (1.0.0) | ||
mime-types (3.3.1) | ||
mime-types-data (~> 3.2015) | ||
mime-types-data (3.2021.0212) | ||
mini_mime (1.0.2) | ||
mini_portile2 (2.5.0) | ||
minitest (5.14.3) | ||
multi_xml (0.6.0) | ||
nenv (0.3.0) | ||
nokogiri (1.11.1) | ||
mini_portile2 (~> 2.5.0) | ||
racc (~> 1.4) | ||
notiffany (0.1.3) | ||
nenv (~> 0.1) | ||
shellany (~> 0.0) | ||
pg (0.21.0) | ||
pry (0.14.0) | ||
coderay (~> 1.1) | ||
method_source (~> 1.0) | ||
racc (1.5.2) | ||
rack (1.6.13) | ||
rack-test (0.6.3) | ||
rack (>= 1.0) | ||
rails (4.2.11) | ||
actionmailer (= 4.2.11) | ||
actionpack (= 4.2.11) | ||
actionview (= 4.2.11) | ||
activejob (= 4.2.11) | ||
activemodel (= 4.2.11) | ||
activerecord (= 4.2.11) | ||
activesupport (= 4.2.11) | ||
bundler (>= 1.3.0, < 2.0) | ||
railties (= 4.2.11) | ||
sprockets-rails | ||
rails-deprecated_sanitizer (1.0.4) | ||
activesupport (>= 4.2.0.alpha) | ||
rails-dom-testing (1.0.9) | ||
activesupport (>= 4.2.0, < 5.0) | ||
nokogiri (~> 1.6) | ||
rails-deprecated_sanitizer (>= 1.0.1) | ||
rails-html-sanitizer (1.3.0) | ||
loofah (~> 2.3) | ||
rails_12factor (0.0.3) | ||
rails_serve_static_assets | ||
rails_stdout_logging | ||
rails_serve_static_assets (0.0.5) | ||
rails_stdout_logging (0.0.5) | ||
railties (4.2.11) | ||
actionpack (= 4.2.11) | ||
activesupport (= 4.2.11) | ||
rake (>= 0.8.7) | ||
thor (>= 0.18.1, < 2.0) | ||
rake (13.0.3) | ||
rb-fsevent (0.10.4) | ||
rb-inotify (0.10.1) | ||
ffi (~> 1.0) | ||
rspec (3.10.0) | ||
rspec-core (~> 3.10.0) | ||
rspec-expectations (~> 3.10.0) | ||
rspec-mocks (~> 3.10.0) | ||
rspec-core (3.10.1) | ||
rspec-support (~> 3.10.0) | ||
rspec-expectations (3.10.1) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.10.0) | ||
rspec-mocks (3.10.2) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.10.0) | ||
rspec-rails (4.0.2) | ||
actionpack (>= 4.2) | ||
activesupport (>= 4.2) | ||
railties (>= 4.2) | ||
rspec-core (~> 3.10) | ||
rspec-expectations (~> 3.10) | ||
rspec-mocks (~> 3.10) | ||
rspec-support (~> 3.10) | ||
rspec-support (3.10.2) | ||
sass (3.7.4) | ||
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) | ||
shellany (0.0.1) | ||
sprockets (3.7.2) | ||
concurrent-ruby (~> 1.0) | ||
rack (> 1, < 3) | ||
sprockets-rails (3.2.2) | ||
actionpack (>= 4.0) | ||
activesupport (>= 4.0) | ||
sprockets (>= 3.0.0) | ||
sqlite3 (1.3.13) | ||
themoviedb (1.0.1) | ||
httparty | ||
thor (1.1.0) | ||
thread_safe (0.3.6) | ||
tilt (2.0.10) | ||
tzinfo (1.2.9) | ||
thread_safe (~> 0.1) | ||
uglifier (4.2.0) | ||
execjs (>= 0.3.0, < 3) | ||
web-console (2.3.0) | ||
activemodel (>= 4.0) | ||
binding_of_caller (>= 0.7.2) | ||
railties (>= 4.0) | ||
sprockets-rails (>= 2.0, < 4.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
byebug | ||
guard-rspec | ||
jquery-rails | ||
pg (~> 0.21) | ||
rails (= 4.2.11) | ||
rails_12factor | ||
rspec-rails | ||
sass-rails (~> 5.0) | ||
sqlite3 (~> 1.3.6) | ||
themoviedb | ||
tzinfo | ||
tzinfo-data | ||
uglifier (>= 1.3.0) | ||
web-console (~> 2.0) | ||
|
||
RUBY VERSION | ||
ruby 2.6.6p146 | ||
|
||
BUNDLED WITH | ||
1.17.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# RottenPotatoes demo app: getting started | ||
|
||
This app is associated with the [online | ||
course](http://www.saas-class.org) and free | ||
[textbook](http://www.saasbook.info) Engineering Software as a Service. | ||
|
||
This repo contains starter code related to specific assignments. | ||
Please go to the specific assignment for instructions. | ||
If you're taking this course on edX or if your classroom is using | ||
Codio, the assignments are linked from there. Alternatively, you can | ||
follow links to the assignment GitHub repos from the textbook. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Add your own tasks in files placed in lib/tasks ending in .rake, | ||
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | ||
|
||
require File.expand_path('config/application', __dir__) | ||
|
||
Rails.application.load_tasks |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// This is a manifest file that'll be compiled into application.js, which will include all the files | ||
// listed below. | ||
// | ||
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, | ||
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path. | ||
// | ||
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the | ||
// compiled file. | ||
// | ||
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details | ||
// about supported directives. | ||
// | ||
//= require jquery | ||
//= require jquery_ujs | ||
//= require_tree . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* This is a manifest file that'll be compiled into application.css, which will include all the files | ||
* listed below. | ||
* | ||
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, | ||
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path. | ||
* | ||
* You're free to add application-wide styles to this file and they'll appear at the bottom of the | ||
* compiled file so the styles you add here take precedence over styles defined in any styles | ||
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new | ||
* file per style scope. | ||
* | ||
*= require_tree . | ||
*= require_self | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class ApplicationController < ActionController::Base | ||
# Prevent CSRF attacks by raising an exception. | ||
# For APIs, you may want to use :null_session instead. | ||
protect_from_forgery with: :exception | ||
end |
Empty file.
Oops, something went wrong.