Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
3bb12ea
created the initial rails prokect
nbrandolini May 2, 2018
bb886a6
added gems
nbrandolini May 2, 2018
96ccf70
added two lib files for recipe and wrapper class
nbrandolini May 2, 2018
068ccff
added app keys and id from edamam
nbrandolini May 2, 2018
c985e2b
created recipe controller and added config path
nbrandolini May 2, 2018
ee6c15b
added routes, the wrapper, and modified recipe.rb
nbrandolini May 2, 2018
ad763e8
got search to work but having issues with the wrapper
nbrandolini May 3, 2018
666ca81
deleted and created new file for wrapper, fixed search_recipe error a…
nbrandolini May 3, 2018
45ef8d0
UGHHH Show is not working WHY???
nbrandolini May 4, 2018
442cce0
OMG Show worksgit add .
nbrandolini May 4, 2018
4c5da7a
Added configeager to application.rb
nbrandolini May 4, 2018
a023bba
Show page and links work
nbrandolini May 4, 2018
82b56d0
created the test config in test helper
nbrandolini May 4, 2018
a45308d
add require gems to test_helper.rb
nbrandolini May 4, 2018
979dcfb
added first test
nbrandolini May 4, 2018
c323d5d
got will_paginate file to work
nbrandolini May 5, 2018
71cf062
change method in wrapper to not rely on class variable
nbrandolini May 5, 2018
6d9b093
added tests for recipe.rb
nbrandolini May 6, 2018
e62b626
added tests for apimuncherwrapper.rb
nbrandolini May 6, 2018
6319038
added tests for recipescontrollers.rb
nbrandolini May 6, 2018
7a7d921
added style
nbrandolini May 6, 2018
abd9ab3
fixed css for heroku
nbrandolini May 7, 2018
6e79d85
last styling, pictures still not show
nbrandolini May 7, 2018
3d257b3
fixed hash in #fnd method for wrapper
nbrandolini May 7, 2018
a10d946
change color to blue to show ingredients
nbrandolini May 7, 2018
2a44159
trying to fix the style
nbrandolini May 10, 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
Binary file added .DS_Store
Binary file not shown.
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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
.env

# Ignore master key for decrypting credentials and more.
/config/master.key
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.5.0
89 changes: 89 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.5.0'
gem 'will_paginate', '~> 3.1.0'
gem 'httparty'
gem 'awesome_print'

# 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 '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'
gem 'dotenv-rails'

end

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

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