Skip to content
This repository was archived by the owner on Jun 16, 2021. It is now read-only.

Commit 9735958

Browse files
authored
Merge pull request #880 from omu/develop
Merge develop into master
2 parents 55812ee + f9b0ff9 commit 9735958

File tree

374 files changed

+29982
-3758
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

374 files changed

+29982
-3758
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ repository: &repository
3232
# build image
3333
ruby_2_6: &ruby_2_6
3434
docker:
35-
- image: circleci/ruby:2.6.1-node-browsers
35+
- image: circleci/ruby:2.6.2-node-browsers
3636
<<: *rails_environment
3737
- image: circleci/postgres:11.1-alpine
3838
<<: *postgres_environment

.env.sample

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Organizasyon sırları kurumsal bir `keepass` hesabında tutulmaktadır. Bu sır
4040

4141
- Master.key ve API Anahtarları
4242

43-
Proje sırları `credentials.yml.enc` dosyasında tutulmaktadır. Bu dosyaya erişim bilgilerini [sistem grubu](https://github.com/orgs/omu/teams/ops)'ndan veya `keepass` üzerinden edindikten sonra RAILS_MASTER_KEY isimli bir ortam değişkeni ile anahtarı sisteminize tanımlayın.
43+
Proje sırları `credentials.yml.enc` dosyasında tutulmaktadır. Bu dosyaya erişim bilgilerini [sistem grubu](https://github.com/orgs/omu/teams/ops)'ndan veya `keepass` üzerinden edindikten sonra RAILS_MASTER_KEY ve TENANT_MASTER_KEY ortam değişkenlerini sisteminize tanımlayın.
4444

4545
- VPN
4646

.gitignore

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
# or operating system, you probably want to add a global ignore instead:
55
# git config --global core.excludesfile '~/.gitignore_global'
66

7-
# Ignore bundler config.
7+
# Ignore bundler config and vendor directory
88
/.bundle
9+
/vendor/*
910

1011
# Ignore the default SQLite database.
1112
/db/*.sqlite3
@@ -16,25 +17,20 @@
1617
/tmp/*
1718
!/log/.keep
1819
!/tmp/.keep
20+
.byebug_history
1921

2022
# Ignore uploaded files in development.
2123
/storage/*
2224
!/storage/.keep
2325

24-
/public/assets
25-
.byebug_history
26-
27-
# Ignore master key for decrypting credentials and more.
28-
/config/master.key
26+
# Ignore yarn dependencies and assets
2927
/public/packs
3028
/public/packs-test
3129
/node_modules
3230
/yarn-error.log
3331
yarn-debug.log*
3432
.yarn-integrity
35-
36-
# Ignore local bundler directory
37-
/vendor/*
33+
/public/assets
3834

3935
# Ignore misc.
4036
/bin/dokku
@@ -44,8 +40,9 @@ yarn-debug.log*
4440
.envrc
4541
/.local/
4642

47-
# Ignore dokku deploy key
43+
# Ignore sensitives
4844
config/deploy_key
45+
/config/master.key
4946

5047
# Ignore auto-generated PDFs of markdown files
5148
.pdf

.hound.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.markdownlintrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"default": true,
3+
"MD003": {
4+
"style": "setext_with_atx"
5+
},
6+
"MD004": {
7+
"style": "sublist"
8+
},
9+
"MD013": {
10+
"code_blocks": false,
11+
"tables": false,
12+
},
13+
"MD024": {
14+
"allow_different_nesting": true
15+
},
16+
"MD029": {
17+
"style": "ordered"
18+
}
19+
}

.rubocop.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,38 @@ Style/AsciiComments:
44
Enabled: false
55
Style/Lambda:
66
Enabled: false
7+
Style/FormatStringToken:
8+
EnforcedStyle: template
79
Documentation:
810
Enabled: false
911
Rails/UnknownEnv:
1012
Environments:
11-
- production
1213
- development
14+
- production
1315
- test
14-
- beta
1516
Metrics/LineLength:
1617
Max: 120
1718
Exclude:
1819
- app/validators/employee_validator.rb # Won't fix
1920
Metrics/BlockLength:
2021
Exclude:
2122
- config/routes/**/*
22-
- lib/tasks/**/*.rake # Won't fix
23+
- lib/tasks/**/*.rake
2324
Metrics/ClassLength:
2425
Exclude:
2526
- test/**/*.rb
2627
AllCops:
2728
TargetRubyVersion: 2.6
2829
# Do not exclude files from ALL COPS unless it's really necessary!
2930
Exclude:
30-
- app/controllers/concerns/reference_resource.rb
31+
- app/controllers/concerns/yoksis_resource.rb
3132
- bin/**/*
32-
- vendor/bundle/**/*
33-
- node_modules/**/*
3433
- db/schema.rb
3534
- db/migrate/*.rb
3635
- config/initializers/simple_form.rb
3736
- config/initializers/simple_form_bootstrap.rb
3837
- config/environments/*.rb
3938
- config/routes.rb
39+
- node_modules/**/*
4040
- Vagrantfile
41+
- vendor/bundle/**/*

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.1
1+
2.6.2

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
FROM ondokuz/ruby-stretch:1.16.1
1+
FROM ondokuz/ruby-stretch:1.17.1
22

33
ENV PATH=/app/bin:$PATH
44

55
ARG NOKUL_TENANT=omu
66
ENV NOKUL_TENANT=$NOKUL_TENANT
77

8-
ARG RAILS_ENV=beta
8+
ARG RAILS_ENV=development
99
ENV RAILS_ENV=$RAILS_ENV
1010

1111
ARG RAILS_MASTER_KEY
1212
ENV RAILS_MASTER_KEY=$RAILS_MASTER_KEY
1313

14+
ARG TENANT_MASTER_KEY
15+
ENV TENANT_MASTER_KEY=$TENANT_MASTER_KEY
16+
1417
ENV RAILS_SERVE_STATIC_FILES=enabled
1518
ENV RAILS_LOG_TO_STDOUT=enabled
1619

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ gem 'webpacker'
3939
gem 'chartkick'
4040
gem 'cocoon'
4141
gem 'font-awesome-rails'
42-
gem 'groupdate' # for chartkick
42+
gem 'groupdate'
4343
gem 'pagy'
4444
gem 'simple_form'
4545
gem 'wicked_pdf'

0 commit comments

Comments
 (0)