From c7ab6465e453aabd02de90200c3dbb0ef1f1d5da Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Mon, 10 Feb 2020 15:08:51 +0100 Subject: [PATCH] Hidden files --- .document | 5 +++++ .env.test | 7 +++++++ .gitignore | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ .rspec | 1 + .rubocop.yml | 31 ++++++++++++++++++++++++++++++ .ruby-version | 1 + 6 files changed, 98 insertions(+) create mode 100644 .document create mode 100644 .env.test create mode 100644 .gitignore create mode 100644 .rspec create mode 100644 .rubocop.yml create mode 100644 .ruby-version diff --git a/.document b/.document new file mode 100644 index 0000000..3d618dd --- /dev/null +++ b/.document @@ -0,0 +1,5 @@ +lib/**/*.rb +bin/* +- +features/**/*.feature +LICENSE.txt diff --git a/.env.test b/.env.test new file mode 100644 index 0000000..41e6075 --- /dev/null +++ b/.env.test @@ -0,0 +1,7 @@ +# Postgres +DATABASE_NAME=pg_searchable_test +DATABASE_HOST= +DATABASE_PORT=5432 +DATABASE_POOL=10 +DATABASE_USERNAME=postgres +DATABASE_PASSWORD= diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e7dc19e --- /dev/null +++ b/.gitignore @@ -0,0 +1,53 @@ +# rcov generated +coverage +coverage.data + +# rdoc generated +rdoc + +# yard generated +doc +.yardoc + +# bundler +.bundle +.env.local +.env.test.local +*.gem +*.gemspec + +# juwelier generated +pkg + +# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore: +# +# * Create a file at ~/.gitignore +# * Include files you want ignored +# * Run: git config --global core.excludesfile ~/.gitignore +# +# After doing this, these files will be ignored in all your git projects, +# saving you from having to 'pollute' every project you touch with them +# +# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line) +# +# For MacOS: +# +#.DS_Store + +# For TextMate +#*.tmproj +#tmtags + +# For emacs: +#*~ +#\#* +#.\#* + +# For vim: +#*.swp + +# For redcar: +#.redcar + +# For rubinius: +#*.rbc diff --git a/.rspec b/.rspec new file mode 100644 index 0000000..c99d2e7 --- /dev/null +++ b/.rspec @@ -0,0 +1 @@ +--require spec_helper diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000..525b711 --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,31 @@ +require: rubocop-rspec + +AllCops: + TargetRubyVersion: 2.1 + +Layout/AccessModifierIndentation: + EnforcedStyle: outdent + +Layout/EmptyLinesAroundAccessModifier: + Enabled: false + +Style/Documentation: + Enabled: false + +Metrics/LineLength: + Max: 120 + +Metrics/MethodLength: + Max: 15 + +Metrics/ParameterLists: + Enabled: false + +Metrics/BlockLength: + Enabled: false + +Style/StringLiterals: + EnforcedStyle: single_quotes + +RSpec/NestedGroups: + Max: 5 diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..cd57a8b --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.1.5