summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorirregulator <irregulator@riseup.net>2014-05-22 03:48:32 +0300
committerirregulator <irregulator@riseup.net>2014-05-22 03:48:32 +0300
commit91f32c7261a4c1d5a8a2e00100fbc8ee577aa0ac (patch)
tree111e28477cca567d730487d01869e8a0f1324070 /lib
parentf59706a4b1a309f6c3e614ded7cbd359335e7960 (diff)
Change macro name to rand_range, add base32 gem dependency
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/config/macros.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/config/macros.rb b/lib/leap_cli/config/macros.rb
index 241a2a4..b5dc3b8 100644
--- a/lib/leap_cli/config/macros.rb
+++ b/lib/leap_cli/config/macros.rb
@@ -138,7 +138,7 @@ module LeapCli; module Config
end
# Picks a random obfsproxy port from given range
- def obfs_port(name, range)
+ def rand_range(name, range)
@manager.secrets.set(name, rand(range), @node[:environment])
end