barocert 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/barocert/kakaocert.rb +4 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 11a10600959bcc47684975b0aeb8c29871b1ee7483381b3ec1a0b30bb0dbcb57
4
- data.tar.gz: 3d80756b1790033367aea021eed609995362e013c9b5f51ba17cfb19e0f6944a
3
+ metadata.gz: 8b3803230c3249b189b39e5fab16d923ee02f45b2800aa214057e673b365f46f
4
+ data.tar.gz: 1c5e205db4f827aa43531981c8d72a419944efdbf22390ba6ee04bf02f597487
5
5
  SHA512:
6
- metadata.gz: a8bce3228161959005136eec4c2b59330f4590d88412cfd734eb4b2fb8872f099b8e1cc53e1a347a9581364cf00fa80ac53cd2b4a137371ad972e956fae1a62f
7
- data.tar.gz: 148a3dad697cda63e17dbb3f7b95ece30d0d8636e9d178139e41c7f557a997b872956a97916396e6f21648667a83a9bfe0f1be628e2a1848f32e7d3a6f708e5b
6
+ metadata.gz: 57de242aa52d067ca8604e4ddc0dffbe3a37f8f762ec5eda076b04f787b8612548da401a175ae6e5d3e5644f8fc368a914345b7e68c28406c207900782167c2b
7
+ data.tar.gz: c9da9f81b02ad020f16a1d905de64ff24fb32399cdb0f56800740cbbf72c82313c4ee5b9e92c6070949553491090e646de17d437781dbeabef6dc4d1f375aca2
@@ -46,7 +46,7 @@ class KakaocertService < BarocertService
46
46
  if token.nil?
47
47
  return true
48
48
  end
49
- if token["reqTitle"].to_s == ''
49
+ if token["signTitle"].to_s == '' && token["reqTitle"].to_s == ''
50
50
  return true
51
51
  end
52
52
  }
@@ -177,8 +177,8 @@ class KakaocertService < BarocertService
177
177
  raise BarocertException.new('-99999999', '생년월일이 입력되지 않았습니다.')
178
178
  end
179
179
 
180
- if sign["reqTitle"].to_s == ''
181
- raise BarocertException.new('-99999999', '인증요청 메시지 제목이 입력되지 않았습니다.')
180
+ if sign["signTitle"].to_s == '' && sign["reqTitle"].to_s == ''
181
+ raise BarocertException.new('-99999999', '서명 요청 제목이 입력되지 않았습니다.')
182
182
  end
183
183
 
184
184
  if sign["expireIn"].to_s == ''
@@ -273,7 +273,7 @@ class KakaocertService < BarocertService
273
273
  end
274
274
 
275
275
  if isNullorEmptyTitle(multiSign["tokens"])
276
- raise BarocertException.new('-99999999', '인증요청 메시지 제목이 입력되지 않았습니다.')
276
+ raise BarocertException.new('-99999999', '서명 요청 제목이 입력되지 않았습니다.')
277
277
  end
278
278
 
279
279
  if isNullorEmptyToken(multiSign["tokens"])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barocert
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linkhub Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-06 00:00:00.000000000 Z
11
+ date: 2023-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: linkhub