ruby_aem 2.2.0 → 2.2.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd11af37ca8e9013b07f8ad6aa2b68d9920cbeb4
4
- data.tar.gz: 95ed3e49a24c45cc43c7859eec883c17fe21240d
3
+ metadata.gz: 7b288255493d6fb0fc5db64fa648a90a35f0c88e
4
+ data.tar.gz: 728998f3481fa6d9c6f4bbcdbfd434e7a212154c
5
5
  SHA512:
6
- metadata.gz: 274b7be5c5e4672805ba5af13f695c09fd4531533050c8cbcce2601faf2375fc13af8cdd7c4d3ff05bacc6bc9907d351902e0e1584b8c6e071805620a3f1a623
7
- data.tar.gz: 06a4bea0b79068ac69e207572c9d8a9c30f80b1198c1552dcec35f8a054e738405d29a9e3d6ee97205704afe6e9b42982315e3f03dfe26961bd9beb56f591ede
6
+ metadata.gz: 27814000d6de67c9d1320b60ef3ccdc414b6fc899f5c9911d6c4a9ca4cb065db3dabc2be70dfa6e2e211bd6ae46eb21bb307cd4e3a7524e34ff1fcfa0b2ec1ea
7
+ data.tar.gz: 0d4c0fb25df92ac234632374b05fc0159ca13bdc6d0a60eaa8e50a44fbae69bfa6ba169cb78561e15e432e99d3935864a52698ef8901fcc44c7690a4af45d2ec
data/conf/spec.yaml CHANGED
@@ -702,7 +702,7 @@ configproperty:
702
702
  - org_apache_felix_https_keystore_key_type_hint
703
703
  - org_apache_felix_https_keystore_key_password
704
704
  - org_apache_felix_https_keystore_key_password_type_hint
705
- - org_apache_felix_https_
705
+ - org_apache_felix_https_truststore
706
706
  - org_apache_felix_https_truststore_key_type_hint
707
707
  - org_apache_felix_https_truststore_password
708
708
  - org_apache_felix_https_truststore_password_type_hint
@@ -55,6 +55,7 @@ module RubyAem
55
55
  result = RubyAem::Result.new(message, response)
56
56
 
57
57
  return result if json['success'] == true
58
+
58
59
  raise RubyAem::Error.new(message, result)
59
60
  end
60
61
 
@@ -56,16 +56,6 @@ module RubyAem
56
56
  @client.call(self.class, __callee__.to_s, @call_params)
57
57
  end
58
58
 
59
- # Read an authorizable keystore in PKCS#12 Format
60
- #
61
- # @param file_path local file path to Keystore PKCS12 file
62
- # @param password Password of the Keystore PKCS12 File
63
- # @return OpenSSL::PKCS12
64
- def read(file_path, password)
65
- authorizable_keystore_raw = File.read file_path
66
- OpenSSL::PKCS12.new(authorizable_keystore_raw, password)
67
- end
68
-
69
59
  # Download the AEM Keystore to a specified directory.
70
60
  #
71
61
  # @param file_path the directory where the Keystore will be downloaded to
@@ -93,6 +93,7 @@ module RubyAem
93
93
  def delete
94
94
  result = exists
95
95
  raise RubyAem::Error.new('Certificate not found', result) if result.data == false
96
+
96
97
  @call_params[:cert_alias] = @cert_alias
97
98
  @client.call(self.class, __callee__.to_s, @call_params)
98
99
  end
@@ -67,6 +67,7 @@ module RubyAem
67
67
  def delete
68
68
  result = exists
69
69
  raise RubyAem::Error.new('Certificate chain not found', result) if result.data == false
70
+
70
71
  @client.call(self.class, __callee__.to_s, @call_params)
71
72
  end
72
73
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_aem
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shine Solutions
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-11-23 00:00:00.000000000 Z
12
+ date: 2018-12-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri