diff --git a/.circleci/config.yml b/.circleci/config.yml index 40921cd8..9633e759 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ docker: &docker docker: - - image: circleci/ruby:2.5.1-node-browsers + - image: circleci/ruby:2.5.3-node-browsers environment: TZ: '/usr/share/zoneinfo/Asia/Istanbul' RAILS_ENV: beta @@ -87,4 +87,4 @@ workflows: - karma filters: branches: - only: master \ No newline at end of file + only: master diff --git a/.ruby-version b/.ruby-version index 4fd0fe3c..aedc15bb 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.5.1 \ No newline at end of file +2.5.3 diff --git a/Gemfile b/Gemfile index 89aa50e9..81c8a644 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby '2.5.1' +ruby '2.5.3' gem 'active_model_serializers' gem 'bootsnap', '>= 1.1.0', require: false diff --git a/Gemfile.lock b/Gemfile.lock index c2c6c080..51c549a6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -24,7 +24,7 @@ GEM erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.3) - active_model_serializers (0.10.7) + active_model_serializers (0.10.8) actionpack (>= 4.1, < 6) activemodel (>= 4.1, < 6) case_transform (>= 0.2) @@ -74,7 +74,7 @@ GEM coderay (1.1.2) coercible (1.0.0) descendants_tracker (~> 0.0.1) - concurrent-ruby (1.0.5) + concurrent-ruby (1.1.3) crack (0.4.3) safe_yaml (~> 1.0.0) crass (1.0.4) @@ -101,14 +101,14 @@ GEM rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) ruby_dep (~> 1.2) - loofah (2.2.2) + loofah (2.2.3) crass (~> 1.0.2) nokogiri (>= 1.5.9) mail (2.7.1) mini_mime (>= 0.1.1) marcel (0.3.3) mimemagic (~> 0.3.2) - method_source (0.9.0) + method_source (0.9.1) mimemagic (0.3.2) mini_mime (1.0.1) mini_portile2 (2.3.0) @@ -120,18 +120,18 @@ GEM mini_portile2 (~> 2.3.0) nori (2.6.0) parallel (1.12.1) - parser (2.5.1.2) + parser (2.5.3.0) ast (~> 2.4.0) pg (0.18.4) powerpack (0.1.2) - pry (0.11.3) + pry (0.12.0) coderay (~> 1.1.0) method_source (~> 0.9.0) - pry-rails (0.3.6) + pry-rails (0.3.7) pry (>= 0.10.4) public_suffix (3.0.3) puma (3.12.0) - rack (2.0.5) + rack (2.0.6) rack-test (1.1.0) rack (>= 1.0, < 3) rails (5.2.1) @@ -170,14 +170,14 @@ GEM rainbow (>= 2.0, < 4.0) rollbar (2.18.0) multi_json - rubocop (0.59.2) + rubocop (0.60.0) jaro_winkler (~> 1.5.1) parallel (~> 1.10) parser (>= 2.5, != 2.5.1.1) powerpack (~> 0.1) rainbow (>= 2.2.2, < 4.0) ruby-progressbar (~> 1.7) - unicode-display_width (~> 1.0, >= 1.0.1) + unicode-display_width (~> 1.4.0) ruby-progressbar (1.10.0) ruby_dep (1.5.0) safe_yaml (1.0.4) @@ -197,7 +197,7 @@ GEM actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) - thor (0.20.0) + thor (0.20.3) thread_safe (0.3.6) tzinfo (1.2.5) thread_safe (~> 0.1) @@ -247,7 +247,7 @@ DEPENDENCIES webmock RUBY VERSION - ruby 2.5.1p57 + ruby 2.5.3p105 BUNDLED WITH - 1.16.6 + 1.17.1 diff --git a/app/controllers/kps/verifications_controller.rb b/app/controllers/kps/verifications_controller.rb index 0bcd164f..1d1ef3b3 100644 --- a/app/controllers/kps/verifications_controller.rb +++ b/app/controllers/kps/verifications_controller.rb @@ -8,9 +8,9 @@ class VerificationsController < ApplicationController def identities render_as_json @verifications.identities( - id_number: identities_params.require(:id_number), - first_name: identities_params.require(:first_name), - last_name: identities_params.require(:last_name), + id_number: identities_params.require(:id_number), + first_name: identities_params.require(:first_name), + last_name: identities_params.require(:last_name), year_of_birth: identities_params.require(:year_of_birth) ) end diff --git a/app/controllers/osym/examination_controller.rb b/app/controllers/osym/examination_controller.rb index 07b519f9..b874eb81 100644 --- a/app/controllers/osym/examination_controller.rb +++ b/app/controllers/osym/examination_controller.rb @@ -13,8 +13,8 @@ def groups def result_informations render_as_json @examination.result_informations( id_number: secure_params.require(:id_number), - year: secure_params.require(:year), - group_id: secure_params.require(:group_id) + year: secure_params.require(:year), + group_id: secure_params.require(:group_id) ) end diff --git a/app/services/lib/services/osym/examination.rb b/app/services/lib/services/osym/examination.rb index 4146732a..90d69dd7 100644 --- a/app/services/lib/services/osym/examination.rb +++ b/app/services/lib/services/osym/examination.rb @@ -10,7 +10,7 @@ def initialize(username, password) WSDL_URL, savon_options: { basic_auth: [username, password], - wsse_auth: [username, password] + wsse_auth: [username, password] } ) end diff --git a/doc/development/img/application.png b/doc/development/img/application.png index d3f59f9e..08a51884 100644 Binary files a/doc/development/img/application.png and b/doc/development/img/application.png differ diff --git a/doc/development/img/architecture.png b/doc/development/img/architecture.png index a883e76a..d86727e4 100644 Binary files a/doc/development/img/architecture.png and b/doc/development/img/architecture.png differ