egov_utils 1.5.0.alpha4 → 1.5.0.alpha5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e9f48c4a226521a80af25765e7eeb2b133c0112300560d9cb2f37cec56f34e2
4
- data.tar.gz: 87565bb066e01ac9605fdc5ad1f3308ef9fcfbaa7c5f132b54c07427e4d0fad1
3
+ metadata.gz: 046c5759eba0d80446d93f8a3c3b8ce4dc18a83aa7fd5c562a5f5cb4dcac7359
4
+ data.tar.gz: b8b0bbb2f87977252bca9a46a14d62149ecd9bee5d153b54e4fd6aae3dbbcda3
5
5
  SHA512:
6
- metadata.gz: bc7af836fdcab121db08350c450908e2df069f784d9283fdc407d8fef509b079bcccb215e5f8212e2f944cdcaebea49eecc3eca97afcf0f91741620a6c2e2262
7
- data.tar.gz: 23587f1c431273f0f1d4161ddb2f865fb54094845e3f35d424041222a77cc37a8f5de3c8f1408d50262f9f66c45832d255d67c29418ed519be25138786612b93
6
+ metadata.gz: 80a826cb596f3add692963cc1b6b3924138c48409b0c3e91a0459ecd6712573de12f8ca22f2969c54828a89e69889ba9dc8f8bcd8a09fbfa064d96d7fae2e97f
7
+ data.tar.gz: 44ce23500051b01ac765299531ff15f9fed61ea7fd11c04056939a5fa0419103d0fb8902e3fc25783880737b9e222ac91a709768142412936512c9002c31483e
@@ -4,14 +4,10 @@ module EgovUtils
4
4
  module Iszr
5
5
  class Client
6
6
  def initialize(message)
7
- @client = Savon.client(wsdl: config['endpoint'], log: true, log_level: :info, ssl_verify_mode: :none)
7
+ @client = Savon.client(wsdl: EgovUtils::Settings['iszr']['endpoint'], log: true, log_level: :info, ssl_verify_mode: :none)
8
8
  @message = message
9
9
  end
10
10
 
11
- def self.config
12
- EgovUtils::Settings['iszr']
13
- end
14
-
15
11
  def call
16
12
  client.call(
17
13
  :get_data,
@@ -4,7 +4,7 @@ module EgovUtils
4
4
  class Search < ActiveInteraction::Base
5
5
  string :firstname
6
6
  string :lastname
7
- date :birth_date, converter: :parse
7
+ string :birth_date
8
8
  string :birth_place, default: nil
9
9
 
10
10
  validates :firstname, :lastname, :birth_date, presence: true
@@ -20,7 +20,7 @@ module EgovUtils
20
20
 
21
21
  def find_person_service
22
22
  if Rails.env.production?
23
- EgovUtils::Iszr::NaturalPeople::ProdSearch
23
+ EgovUtils::Iszr::NaturalPeople::CreateRequest
24
24
  else
25
25
  EgovUtils::Iszr::NaturalPeople::DevSearch
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module EgovUtils
2
- VERSION = '1.5.0.alpha4'
2
+ VERSION = '1.5.0.alpha5'
3
3
  end
data/lib/egov_utils.rb CHANGED
@@ -7,6 +7,7 @@ require 'bootstrap'
7
7
  require 'bootstrap_form'
8
8
  require 'momentjs-rails'
9
9
  require 'bootstrap4-datetime-picker-rails'
10
+ require 'savon'
10
11
 
11
12
  require 'egov_utils/fileuid'
12
13
  require 'egov_utils/model_permissions'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: egov_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0.alpha4
4
+ version: 1.5.0.alpha5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondřej Ezr
@@ -416,6 +416,20 @@ dependencies:
416
416
  - - ">="
417
417
  - !ruby/object:Gem::Version
418
418
  version: '0'
419
+ - !ruby/object:Gem::Dependency
420
+ name: savon
421
+ requirement: !ruby/object:Gem::Requirement
422
+ requirements:
423
+ - - ">="
424
+ - !ruby/object:Gem::Version
425
+ version: '0'
426
+ type: :runtime
427
+ prerelease: false
428
+ version_requirements: !ruby/object:Gem::Requirement
429
+ requirements:
430
+ - - ">="
431
+ - !ruby/object:Gem::Version
432
+ version: '0'
419
433
  - !ruby/object:Gem::Dependency
420
434
  name: azahara_schema
421
435
  requirement: !ruby/object:Gem::Requirement