lib/jenkins/builder/secret.rb in jenkins-builder-0.1.6 vs lib/jenkins/builder/secret.rb in jenkins-builder-0.2.0
- old
+ new
@@ -1,5 +1,6 @@
-require 'security'
+$is_mac = `uname`.chomp == 'Darwin'
+require 'security' if $is_mac
module Jenkins
module Builder
class Secret