global_sign 2.1.0 → 2.1.1

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
  SHA1:
3
- metadata.gz: 916c05af61f1d1c2044bf3470e77bd4a47e120fe
4
- data.tar.gz: 3d6bae04c691a34ab72f7d69fb658e4e8d018fd2
3
+ metadata.gz: fbcae30a715ef2e699e49e0c732728e96a8b5aca
4
+ data.tar.gz: 98581a1532b91a4c6880847b5689835e84ac08fe
5
5
  SHA512:
6
- metadata.gz: 11f5cdc7182ab5affc64af5d05327b56551bb2152742d783230506267be3e5405271331bbc68dabf577dc6594347a6ba9ca0bcecd8c4fc8fbeb9ede0395ee0db
7
- data.tar.gz: 52d4a09e9fb441cd04974b2b6687abb35306581743cea59bc01ba3817ae7d7d6a35cf77378325fc9d85f3d8e021207e5f3f16a93e9cb75d75e0b8bdb2c1568ce
6
+ metadata.gz: 944d5c6940f2d781456666ab0d999d46798fd7b4e44bf3e898eeb1118d0d21ebcae50a4e5c7f0fa00c6f401692ba006ac1ef349960618e83376a28ba9bed813b
7
+ data.tar.gz: 8085a95b81bb0ccbacd9e5b0732275a4c987ddbe46248103bb245dd5dd9ae8034cb79ac3e4e061023639f14c010154bf6e1c5ab0add3ce47133ce153b097f8d2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 2.1.1
2
+ - Fixed bug: `GlobalSign::OrderGetterByOrderId::Request` NoMethodError: undefined method `text` for nil:NilClass
3
+
1
4
  ## 2.1.0
2
5
 
3
6
  - Support GlobalSign API: DecodeCSR
@@ -28,18 +28,18 @@ module GlobalSign
28
28
  # options
29
29
  _params[:certificate_info] = {
30
30
  certificate_status: certificate_info.at('CertificateStatus').text,
31
- start_date: certificate_info.at('StartDate').text,
32
- end_date: certificate_info.at('EndDate').text,
33
31
  common_name: certificate_info.at('CommonName').text,
34
- subject_name: certificate_info.at('SubjectName').text,
32
+ start_date: certificate_info.at('StartDate').try(:text),
33
+ end_date: certificate_info.at('EndDate').try(:text),
34
+ subject_name: certificate_info.at('SubjectName').try(:text),
35
35
  } if certificate_info.text.present?
36
36
 
37
37
  _params[:fulfillment] = {
38
- ca_certificates: ca_certificates_list,
39
- server_certificate: {
40
- x509_cert: server_certificate.at('X509Cert').text,
41
- pkcs7_cert: server_certificate.at('PKCS7Cert').text,
42
- }
38
+ ca_certificates: ca_certificates_list,
39
+ server_certificate: {
40
+ x509_cert: server_certificate.at('X509Cert').text,
41
+ pkcs7_cert: server_certificate.at('PKCS7Cert').text,
42
+ }
43
43
  } if fulfillment.text.present?
44
44
 
45
45
  @params = _params
@@ -1,3 +1,3 @@
1
1
  module GlobalSign
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: global_sign
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ku00
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-22 00:00:00.000000000 Z
11
+ date: 2017-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  version: '0'
230
230
  requirements: []
231
231
  rubyforge_project:
232
- rubygems_version: 2.6.7
232
+ rubygems_version: 2.4.5.1
233
233
  signing_key:
234
234
  specification_version: 4
235
235
  summary: A Ruby interface to the GlobalSign API.