summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-05-05 15:28:58 -0600
committermo khan <mo.khan@gmail.com>2020-05-05 16:14:51 -0600
commit60ac0f2df85e4e4655b96b358dcc1ba40fe61a3e (patch)
tree426602110fc42533d35b12c4a24557510faa4b95 /lib
parent8e427c7987e90a028e6d9f344a9f70bb13b6eee4 (diff)
Specify npm cafile setting
* [cafile](https://docs.npmjs.com/using-npm/config#cafile) * Use host network for development scripts * Specify path to JAVA keystore in list command * Add CHANGELOG entry
Diffstat (limited to 'lib')
-rw-r--r--lib/license/management/shell.rb7
-rw-r--r--lib/license/management/version.rb2
2 files changed, 7 insertions, 2 deletions
diff --git a/lib/license/management/shell.rb b/lib/license/management/shell.rb
index 9ff59c4..fcf8188 100644
--- a/lib/license/management/shell.rb
+++ b/lib/license/management/shell.rb
@@ -44,6 +44,7 @@ module License
Dir.chdir custom_certificate_path.dirname do
execute([:awk, SPLIT_SCRIPT, '<', custom_certificate_path])
execute('update-ca-certificates -v')
+ execute([:npm, :config, :set, :cafile, custom_certificate_path])
Dir.glob('custom.*.crt').each do |path|
full_path = File.expand_path(path)
@@ -58,7 +59,11 @@ module License
'-storepass', 'changeit',
'-keystore', "#{ENV['JAVA_HOME']}/jre/lib/security/cacerts"
])
- execute(["keytool -list -v -storepass changeit"])
+ execute([
+ :keytool, '-list', '-v',
+ '-storepass changeit',
+ '-keystore', "#{ENV['JAVA_HOME']}/jre/lib/security/cacerts"
+ ])
end
end
end
diff --git a/lib/license/management/version.rb b/lib/license/management/version.rb
index cfb570e..881fa37 100644
--- a/lib/license/management/version.rb
+++ b/lib/license/management/version.rb
@@ -2,6 +2,6 @@
module License
module Management
- VERSION = '3.7.6'
+ VERSION = '3.8.0'
end
end