dyntool 0.0.19 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dyntool.rb +3 -3
  2. metadata +2 -2
data/lib/dyntool.rb CHANGED
@@ -58,9 +58,9 @@ class Utils
58
58
  return(@creds)
59
59
  end
60
60
  # check if dyn.yaml configuration is same as commited in svn
61
- def SvnChk
61
+ def SvnChk(uid)
62
62
  @rep_uid = `svn info | grep "Repository UUID" | awk '{ print $3 }' 2>/dev/null`
63
- if @rep_uid.chomp != "1d8c9d9d-1d0e-4ed3-8e48-d6f63a883ab4"
63
+ if @rep_uid.chomp != "#{uid}"
64
64
  abort("You are not in a directory that checkout to authorized SVN")
65
65
  end
66
66
  @svn_chk=`svn stat dyn.yml`
@@ -402,7 +402,7 @@ class Parameters
402
402
 
403
403
  * revert: Reverting a state of geo service to yaml state *
404
404
 
405
- revert geoservice example: dynamo.rb revert geo15
405
+ revert geoservice example: dynamo.rb revert geo15
406
406
 
407
407
 
408
408
  * get: Getting infotmation of geo services, geonodes, cname pointing to geo *
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 19
9
- version: 0.0.19
8
+ - 20
9
+ version: 0.0.20
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ariel Moskovich