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

Dynamic Models for Petergate #35

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
language: ruby

rvm:
- "2.5.1"
before_script: "bundle install && cd dummy && rake db:create && rake db:migrate"
script: "bundle exec rake test"

script:
- "cd test/user && bundle install && rake db:create && rake db:migrate && bundle exec rake test"
- "cd .."
- "cd employee && bundle install && rake db:create && rake db:migrate && bundle exec rake test"
74 changes: 49 additions & 25 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,45 +1,69 @@
source 'https://rubygems.org'

ruby '2.5.1'

# Specify your gem's dependencies in petergate.gemspec
gemspec
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.2.1'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.2.2'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use Puma as the app server
gem 'puma', '~> 3.11'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0.4'
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.2.2'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
gem "minitest-rails", "~> 3.0.0"
gem "minitest-reporters"
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc

# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'devise'
# 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 unicorn as the app server
# gem 'unicorn'
# Use ActiveStorage variant
# gem 'mini_magick', '~> 4.8'

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

# Use debugger
# gem 'debugger', group: [:development, :test]
# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.1.0', require: false
gem 'devise'

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 'pry', 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.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'
gem 'selenium-webdriver'
# Easy installation and use of chromedriver to run system tests with Chrome
gem 'chromedriver-helper'
gem "minitest-rails"
gem "minitest-reporters"
end

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

3 changes: 0 additions & 3 deletions dummy/app/assets/javascripts/blogs.js.coffee

This file was deleted.

3 changes: 0 additions & 3 deletions dummy/app/assets/stylesheets/blogs.css.scss

This file was deleted.

69 changes: 0 additions & 69 deletions dummy/app/assets/stylesheets/scaffolds.css.scss

This file was deleted.

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

This file was deleted.

2 changes: 0 additions & 2 deletions dummy/app/models/blog.rb

This file was deleted.

4 changes: 0 additions & 4 deletions dummy/app/views/blogs/index.json.jbuilder

This file was deleted.

1 change: 0 additions & 1 deletion dummy/app/views/blogs/show.json.jbuilder

This file was deleted.

14 changes: 0 additions & 14 deletions dummy/app/views/layouts/application.html.erb

This file was deleted.

3 changes: 0 additions & 3 deletions dummy/bin/bundle

This file was deleted.

8 changes: 0 additions & 8 deletions dummy/bin/rails

This file was deleted.

8 changes: 0 additions & 8 deletions dummy/bin/rake

This file was deleted.

18 changes: 0 additions & 18 deletions dummy/bin/spring

This file was deleted.

30 changes: 0 additions & 30 deletions dummy/config/application.rb

This file was deleted.

4 changes: 0 additions & 4 deletions dummy/config/boot.rb

This file was deleted.

37 changes: 0 additions & 37 deletions dummy/config/environments/development.rb

This file was deleted.

8 changes: 0 additions & 8 deletions dummy/config/initializers/assets.rb

This file was deleted.

3 changes: 0 additions & 3 deletions dummy/config/initializers/session_store.rb

This file was deleted.

22 changes: 0 additions & 22 deletions dummy/config/secrets.yml

This file was deleted.

7 changes: 0 additions & 7 deletions dummy/db/seeds.rb

This file was deleted.

Binary file removed dummy/public/logo_square.png
Binary file not shown.
Binary file removed dummy/public/petergate.png
Binary file not shown.
5 changes: 0 additions & 5 deletions dummy/public/robots.txt

This file was deleted.

Loading