Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
e3dd50b
initialial set up of rails new . in project folder
kcforsman May 2, 2018
b9cea95
set up files and gems for using .env to store application id and key,…
kcforsman May 2, 2018
6cbbba6
set-up cassettes and files needed for testing code in the lib directory
kcforsman May 2, 2018
e555472
added monkeypatch to test helper because rails 5.2.0 was giving error…
kcforsman May 2, 2018
55faaa5
generated schema to make rails happy
kcforsman May 2, 2018
ca08d08
wrote first test for the edamam api wrapper and got it to pass which …
kcforsman May 2, 2018
36085c3
added necessary attributes to the recipe class and wrote tests that a…
kcforsman May 3, 2018
672856a
adjusted test for wrapper to account for find_recipes to return a lis…
kcforsman May 3, 2018
90753b1
added routes to routes.rb for the root, index, and show paths
kcforsman May 3, 2018
e494b2e
added logic to the recipe controller for the index action, added a fo…
kcforsman May 3, 2018
1ad36e1
added initital logic to show action in recipe controller, links to re…
kcforsman May 3, 2018
a44b027
changed routes to fit the content of the params better, from recipe t…
kcforsman May 3, 2018
ad94dad
changed instantiatiation of recipe to split the uri and set id equal …
kcforsman May 3, 2018
528a010
added logic to find_recipe method in edamam api wrapper to return on …
kcforsman May 3, 2018
db1c9b9
added logic to the recipe show action to find the specific instance o…
kcforsman May 3, 2018
f58f679
added attribution to the index.html.erb and last modifications to the…
kcforsman May 4, 2018
83e21d9
updated index.html.erb with links for pagenation, updated recipe_cont…
kcforsman May 4, 2018
e9963b0
restructured pagination to show numbers and take into account account…
kcforsman May 4, 2018
e2dbcd1
changed application.rb in confic to eager paths to hopefully fixing h…
kcforsman May 4, 2018
fb94acf
moved search bar logic to a partial view and added a render to the ro…
kcforsman May 4, 2018
05e7a03
added tests for self.return_recipe in wrapper and added edge case tes…
kcforsman May 5, 2018
e23e470
updated lib tests for recipe class, and added a few more edge cases t…
kcforsman May 6, 2018
a4fc8bf
added tests for the recipe controller, and modified controller and ap…
kcforsman May 6, 2018
6f0a29e
first round of styling added
kcforsman May 7, 2018
d020214
dealt with flash messages and there display
kcforsman May 8, 2018
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
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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 uploaded files in development
/storage/*

/node_modules
/yarn-error.log

/public/assets
.byebug_history

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

.env
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.5.0
85 changes: 85 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

gem 'httparty'

ruby '2.5.0'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.2.0'
# Use postgresql as the database for Active Record
gem 'pg', '>= 0.18', '< 2.0'
# Use Puma as the app server
gem 'puma', '~> 3.11'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'mini_racer', platforms: :ruby

# Use CoffeeScript for .coffee assets and views
# gem 'coffee-rails', '~> 4.2'
# 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.5'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use ActiveStorage variant
# gem 'mini_magick', '~> 4.8'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.1.0', 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]
gem 'dotenv-rails'
gem 'minitest-vcr'
gem 'webmock'
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.0.5', '< 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', '< 4.0'
gem 'selenium-webdriver'
# Easy installation and use of chromedriver to run system tests with Chrome
gem 'chromedriver-helper'
end

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

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

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

group :test do
gem 'minitest-rails'
gem 'minitest-reporters'
end
Loading