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

Stacy's Media Ranker submission #45

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
fab24b5
Initial Rails Setup
StacyLundquist Nov 13, 2020
fdfc6db
Set up controllers and homepage
StacyLundquist Nov 13, 2020
975d47d
changed homepage
StacyLundquist Nov 13, 2020
47f589f
CSV file and seed file
StacyLundquist Nov 13, 2020
e070d2f
created models, seeded file
StacyLundquist Nov 13, 2020
a418a2b
Works_controller && work.rb
StacyLundquist Nov 13, 2020
78ca4b7
added votes, updated users_controller, user.rb
StacyLundquist Nov 15, 2020
a2a2e86
more user_controller, user.rb
StacyLundquist Nov 15, 2020
c136a62
works_controller, work.rb update
StacyLundquist Nov 15, 2020
43a5022
updated votes_controller and vote.rb to include helper.
StacyLundquist Nov 15, 2020
d0d9a90
connected work and votes. localhost running again, yay
StacyLundquist Nov 15, 2020
6164380
basic homepage styling
StacyLundquist Nov 15, 2020
73899e7
barebone tests, all around
StacyLundquist Nov 15, 2020
771ae5e
added fixtures
StacyLundquist Nov 16, 2020
86a8c46
vote model test
StacyLundquist Nov 16, 2020
55dc31b
additional tests
StacyLundquist Nov 16, 2020
a9ad81d
homepage, styling, partial form, index pages
StacyLundquist Nov 16, 2020
c71604e
erb file framework, views#user/show, connected votes to user
StacyLundquist Nov 16, 2020
c7b1f05
works show, added not found files (is it possible to have one file on…
StacyLundquist Nov 16, 2020
3ddb634
new and edit html.erb works, users
StacyLundquist Nov 16, 2020
f64c815
added sessions, trying to fix view all media bug
StacyLundquist Nov 16, 2020
bac87f5
all_works changes
StacyLundquist Nov 16, 2020
1772edb
fixed find_work in works_controller
StacyLundquist Nov 16, 2020
ea5ef56
multiple, so many tests
StacyLundquist Nov 29, 2020
6137114
styling to mimic website
StacyLundquist Nov 29, 2020
3109b77
fixed one, a couple others went wonky
StacyLundquist Nov 30, 2020
28c1e63
yikes, am I making it worse?
StacyLundquist Nov 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
defaults
36 changes: 36 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config.
/.bundle

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

# Ignore pidfiles, but keep the directory.
/tmp/pids/*
!/tmp/pids/
!/tmp/pids/.keep

# Ignore uploaded files in development.
/storage/*
!/storage/.keep

/public/assets
.byebug_history

# Ignore master key for decrypting credentials and more.
/config/master.key

/public/packs
/public/packs-test
/node_modules
/yarn-error.log
yarn-debug.log*
.yarn-integrity
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.6.5
79 changes: 79 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.6.5'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 6.0.3', '>= 6.0.3.4'
# Use postgresql as the database for Active Record
gem 'pg', '>= 0.18', '< 2.0'
# Use Puma as the app server
gem 'puma', '~> 4.1'
# Use SCSS for stylesheets
gem 'sass-rails', '>= 6'
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
gem 'webpacker', '~> 4.0'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.7'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use Active Model has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Active Storage variant
# gem 'image_processing', '~> 1.2'

# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.4.2', require: false

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

group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem 'web-console', '>= 3.3.0'
gem 'listen', '~> 3.2'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
end

group :test do
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '>= 2.15'
gem 'selenium-webdriver'
# Easy installation and use of web drivers to run system tests with browsers
gem 'webdrivers'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

gem 'jquery-rails'
gem 'jquery-turbolinks'
gem 'bootstrap'
group :development, :test do
gem 'pry-rails'
end

group :development do
gem 'guard'
gem 'guard-minitest'
gem 'debase', '>= 0.2.4.1'
gem 'ruby-debug-ide', '>= 0.7.0'
end

group :development do
gem 'better_errors'
gem 'binding_of_caller'
end

group :test do
gem 'minitest-rails'
gem 'minitest-reporters'
gem 'simplecov', require: false, group: :test
end
Loading