dr 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dr +5 -1
- data/lib/dr/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f44788ac3e58518af64846a7daec83b0b1ea1c6
|
4
|
+
data.tar.gz: a3c379e9f0f1905c1d1f183c0fbc51990dc228d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a9b05be19afad950949fde88e25f27c20cc75763151baffd60b68bc05883bc76094aa3cbc6bc21c0206419dc216420a34ece00ba1933453a9bc4544bf3f1734
|
7
|
+
data.tar.gz: 2d21e02eee385db4a52f654efe44511d73bb73abb0edb301b7e327a70aa0d00f854d50e0b5d60eaa8cbf20b86135361a04ec10efc1fd4f1d4823ed458a6b18f2
|
data/bin/dr
CHANGED
@@ -37,7 +37,11 @@ class ExtendedThor < Thor
|
|
37
37
|
|
38
38
|
def get_repo_handle
|
39
39
|
if options.has_key? "repo"
|
40
|
-
|
40
|
+
if Dr.config.repositories.has_key? options["repo"]
|
41
|
+
Dr::Repo.new Dr.config.repositories[options["repo"]][:location]
|
42
|
+
else
|
43
|
+
Dr::Repo.new options["repo"]
|
44
|
+
end
|
41
45
|
else
|
42
46
|
if Dr.config.default_repo != nil
|
43
47
|
Dr::Repo.new Dr.config.repositories[Dr.config.default_repo][:location]
|
data/lib/dr/version.rb
CHANGED