Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
- rails 6 app as API-APP
- default credentials set up
- ServiceModel für API Requests integrated
- model Record added for logging purpose
- gem ‚audited‘ for vita Steps on ‚record‘ added
- test system rspec with guard set up
  • Loading branch information
marcometz committed May 15, 2019
1 parent 29dc988 commit 8a81ec7
Show file tree
Hide file tree
Showing 70 changed files with 1,592 additions and 42 deletions.
65 changes: 23 additions & 42 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,49 +1,30 @@
*.rbc
capybara-*.html
.rspec
/log
/tmp
/db/*.sqlite3
/db/*.sqlite3-journal
/public/system
/coverage/
/spec/tmp
*.orig
rerun.txt
pickle-email-*.html

# 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
# TODO Comment out this rule if environment variables can be committed
.env
# 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'

## Environment normalization:
# Ignore bundler config.
/.bundle
/vendor/bundle

# these should all be checked in to normalize the environment:
# Gemfile.lock, .ruby-version, .ruby-gemset
# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

# 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.
# Ignore uploaded files in development.
/storage/*
!/storage/.keep
.byebug_history

# Ignore node_modules
node_modules/
# Ignore master key for decrypting credentials and more.
/config/master.key
/config/database.yml
/tmp
/db/githook_dumps

/config/credentials/staging.key
/config/credentials/production.key
/config/credentials/test.key
/config/credentials/development.key
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.6.3
58 changes: 58 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.6.3'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 6.0.0.rc1'
# Use postgresql as the database for Active Record
gem 'pg', '>= 0.18', '< 2.0'
# Use Puma as the app server
gem 'puma', '~> 3.11'
# 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 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

gem 'addressable'
gem "audited", github: "collectiveidea/audited"

# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible
# gem 'rack-cors'

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
gem 'annotate'
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'rb-readline'
gem 'spring-watcher-listen', '~> 2.0.0'
gem 'spring'
gem "byebug", platforms: %i[mri mingw x64_mingw]
gem "codeclimate-test-reporter"
gem "database_cleaner"
gem "factory_bot_rails"
gem "factory_bot"
gem "guard-rspec"
gem "guard"
gem "linter", git: "https://github.com/ikuseiGmbH/linters.git", tag: "rubocop-0.63.1"
gem "rails-controller-testing"
gem "rspec-rails"
gem "shoulda-matchers"
gem "simplecov"
end


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

0 comments on commit 8a81ec7

Please sign in to comment.