linux_admin 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  class LinuxAdmin
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
@@ -25,7 +25,7 @@ class LinuxAdmin
25
25
  FileUtils.mkdir_p(path)
26
26
 
27
27
  cmd = case options[:mirror_type]
28
- when :package; "yum repotrack"
28
+ when :package; "repotrack"
29
29
  else; raise ArgumentError, "mirror_type unsupported"
30
30
  end
31
31
  params = {"-p" => path}
data/spec/yum_spec.rb CHANGED
@@ -19,7 +19,7 @@ describe LinuxAdmin::Yum do
19
19
 
20
20
  context ".download_packages" do
21
21
  it "with valid input" do
22
- described_class.should_receive(:run!).once.with("yum repotrack", {:params=>{"-p"=>"some/path", nil=>"pkg_a pkg_b"}})
22
+ described_class.should_receive(:run!).once.with("repotrack", {:params=>{"-p"=>"some/path", nil=>"pkg_a pkg_b"}})
23
23
  described_class.download_packages("some/path", "pkg_a pkg_b")
24
24
  end
25
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linux_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-10-09 00:00:00.000000000 Z
15
+ date: 2013-10-10 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bundler