dr 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/dr +5 -1
  3. data/lib/dr/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7152f0b2feb895061b3cd201f69cb6985367bea0
4
- data.tar.gz: 8bab7e3387d2298a0b96c369cb10338ca260d81d
3
+ metadata.gz: 4f44788ac3e58518af64846a7daec83b0b1ea1c6
4
+ data.tar.gz: a3c379e9f0f1905c1d1f183c0fbc51990dc228d7
5
5
  SHA512:
6
- metadata.gz: 5609326e25fa0bcad0c26e6bbb600549e3e2a2b60ba0dbafd88494aa422b22979ed5d799f85f7e34602f23419a59df06359406abfbed1ebe51f88dae3c8815c6
7
- data.tar.gz: 594b8894e5224a9b71ae1f048be810971be5b966c2a110d756e0fbb01c8572fac84314729d859d96895fa28292f2b31f73f8502f88bc7700401b9a9cf79f69b2
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
- Dr::Repo.new options["repo"]
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]
@@ -2,5 +2,5 @@
2
2
  # License: http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
3
3
 
4
4
  module Dr
5
- VERSION = "1.3.0"
5
+ VERSION = "1.3.1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Radek Pazdera