linux_admin 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,7 @@ require 'linux_admin/registration_system'
6
6
 
7
7
  require 'linux_admin/common'
8
8
  require 'linux_admin/exceptions'
9
+ require 'linux_admin/package'
9
10
  require 'linux_admin/rpm'
10
11
  require 'linux_admin/deb'
11
12
  require 'linux_admin/version'
@@ -4,7 +4,7 @@
4
4
  # Licensed under the MIT License
5
5
 
6
6
  class LinuxAdmin
7
- class Deb
7
+ class Deb < Package
8
8
  APT_CACHE_CMD = '/usr/bin/apt-cache'
9
9
 
10
10
  def self.from_line(apt_cache_line, in_description=false)
@@ -0,0 +1,4 @@
1
+ class LinuxAdmin
2
+ class Package < LinuxAdmin
3
+ end
4
+ end
@@ -1,5 +1,5 @@
1
1
  class LinuxAdmin
2
- class Rpm
2
+ class Rpm < Package
3
3
  def self.rpm_cmd
4
4
  Distros.local.command(:rpm)
5
5
  end
@@ -1,3 +1,3 @@
1
1
  class LinuxAdmin
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
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.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -191,6 +191,7 @@ files:
191
191
  - lib/linux_admin/hosts.rb
192
192
  - lib/linux_admin/logical_volume.rb
193
193
  - lib/linux_admin/mountable.rb
194
+ - lib/linux_admin/package.rb
194
195
  - lib/linux_admin/partition.rb
195
196
  - lib/linux_admin/physical_volume.rb
196
197
  - lib/linux_admin/registration_system.rb