[DRE-commits] [ohai] 11/12: Complete wmi-lite removal patch

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Jun 13 18:36:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository ohai.

commit 6cd69c9ea45b04a2352c06c1ecb6e1c084932a0f
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Jun 13 15:32:04 2015 -0300

    Complete wmi-lite removal patch
---
 .../patches/0001-Drop-dependency-on-wmi-lite.patch | 30 ++++++++++++++++++++--
 1 file changed, 28 insertions(+), 2 deletions(-)

diff --git a/debian/patches/0001-Drop-dependency-on-wmi-lite.patch b/debian/patches/0001-Drop-dependency-on-wmi-lite.patch
index d2100c3..3f0ecfa 100644
--- a/debian/patches/0001-Drop-dependency-on-wmi-lite.patch
+++ b/debian/patches/0001-Drop-dependency-on-wmi-lite.patch
@@ -4,8 +4,10 @@ Subject: Drop dependency on wmi-lite
 
 wmi-lite is a Windows thing, so we definitely do not need it.
 ---
- metadata.yml | 14 --------------
- 1 file changed, 14 deletions(-)
+ metadata.yml                     | 14 --------------
+ spec/spec_helper.rb              |  1 -
+ spec/unit/plugins/kernel_spec.rb |  1 -
+ 3 files changed, 16 deletions(-)
 
 diff --git a/metadata.yml b/metadata.yml
 index 7271728..e4e92e6 100644
@@ -32,3 +34,27 @@ index 7271728..e4e92e6 100644
    name: ffi
    requirement: !ruby/object:Gem::Requirement
      requirements:
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index 69faded..c829eff 100644
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -9,7 +9,6 @@ $:.unshift(File.dirname(__FILE__) + '/../lib')
+ 
+ require 'spec/support/platform_helpers'
+ require 'spec/support/integration_helper'
+-require 'wmi-lite'
+ require 'ohai'
+ Ohai::Config[:log_level] = :error
+ 
+diff --git a/spec/unit/plugins/kernel_spec.rb b/spec/unit/plugins/kernel_spec.rb
+index 643e2c2..18bc7c3 100644
+--- a/spec/unit/plugins/kernel_spec.rb
++++ b/spec/unit/plugins/kernel_spec.rb
+@@ -37,7 +37,6 @@ describe Ohai::System, "plugin kernel" do
+ 
+   describe "when running on windows", :windows_only do
+     before do
+-      require 'wmi-lite/wmi'
+ 
+       @ohai_system = Ohai::System.new
+       @plugin = get_plugin("kernel", @ohai_system)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ohai.git



More information about the Pkg-ruby-extras-commits mailing list