diff options
-rw-r--r-- | lib/wmi-lite.rb | 2 | ||||
-rw-r--r-- | lib/wmi-lite/wmi.rb | 2 | ||||
-rw-r--r-- | lib/wmi-lite/wmi_exception.rb | 4 | ||||
-rw-r--r-- | lib/wmi-lite/wmi_instance.rb | 2 | ||||
-rw-r--r-- | spec/functional/wmi_spec.rb | 14 | ||||
-rw-r--r-- | spec/unit/wmi_spec.rb | 2 | ||||
-rw-r--r-- | wmi-lite.gemspec | 2 |
7 files changed, 14 insertions, 14 deletions
diff --git a/lib/wmi-lite.rb b/lib/wmi-lite.rb index dcc916e..8c94317 100644 --- a/lib/wmi-lite.rb +++ b/lib/wmi-lite.rb @@ -1,5 +1,5 @@ # -# Author:: Adam Edwards (<adamed@getchef.com>) +# Author:: Adam Edwards (<adamed@chef.io>) # Copyright:: Copyright 2014 Chef Software, Inc. # License:: Apache License, Version 2.0 # diff --git a/lib/wmi-lite/wmi.rb b/lib/wmi-lite/wmi.rb index 6c39479..9f7c07c 100644 --- a/lib/wmi-lite/wmi.rb +++ b/lib/wmi-lite/wmi.rb @@ -1,5 +1,5 @@ # -# Author:: Adam Edwards (<adamed@getchef.com>) +# Author:: Adam Edwards (<adamed@chef.io>) # Copyright:: Copyright 2014 Chef Software, Inc. # License:: Apache License, Version 2.0 # diff --git a/lib/wmi-lite/wmi_exception.rb b/lib/wmi-lite/wmi_exception.rb index 9b23247..4ea3a41 100644 --- a/lib/wmi-lite/wmi_exception.rb +++ b/lib/wmi-lite/wmi_exception.rb @@ -1,5 +1,5 @@ # -# Author:: Adam Edwards (<adamed@getchef.com>) +# Author:: Adam Edwards (<adamed@chef.io>) # Copyright:: Copyright 2014 Chef Software, Inc. # License:: Apache License, Version 2.0 # @@ -74,4 +74,4 @@ module WmiLite end end end - + diff --git a/lib/wmi-lite/wmi_instance.rb b/lib/wmi-lite/wmi_instance.rb index ff0e9c6..947b3fa 100644 --- a/lib/wmi-lite/wmi_instance.rb +++ b/lib/wmi-lite/wmi_instance.rb @@ -1,5 +1,5 @@ # -# Author:: Adam Edwards (<adamed@getchef.com>) +# Author:: Adam Edwards (<adamed@chef.io>) # Copyright:: Copyright 2014 Chef Software, Inc. # License:: Apache License, Version 2.0 # diff --git a/spec/functional/wmi_spec.rb b/spec/functional/wmi_spec.rb index 0be3778..cf16f44 100644 --- a/spec/functional/wmi_spec.rb +++ b/spec/functional/wmi_spec.rb @@ -1,5 +1,5 @@ # -# Author:: Adam Edwards (<adamed@getchef.com>) +# Author:: Adam Edwards (<adamed@chef.io>) # # Copyright:: 2014, Chef Software, Inc. # @@ -76,18 +76,18 @@ describe WmiLite::Wmi, :windows_only do let(:cardinality_transform) { lambda{|x| x} } context 'using first_of' do let(:cardinality_transform) { lambda{|x| x.nil? ? [] : [x] } } - let(:query_method) { :first_of } + let(:query_method) { :first_of } it_behaves_like 'a valid WMI query' end context 'using instances_of' do - let(:query_method) { :instances_of } + let(:query_method) { :instances_of } it_behaves_like 'a valid WMI query' end context 'using query' do let(:wmi_query) { "select * from #{wmi_class}" } - let(:query_method) { :query } + let(:query_method) { :query } it_behaves_like 'a valid WMI query' end end @@ -132,13 +132,13 @@ describe WmiLite::Wmi, :windows_only do # Turn %SYSTEMROOT% into c:\windows # so we can compare with what's in ENV - evaluated_value = `echo #{value}`.strip + evaluated_value = `echo #{value}`.strip expect(evaluated_value).to eql(`echo #{ENV[name]}`.strip) verified_count += 1 end end - + # There are at least 3 variables we could verify in a default # Windows configuration, make sure we saw some expect(verified_count).to be >= 3 @@ -151,7 +151,7 @@ describe WmiLite::Wmi, :windows_only do caption_mixed = result['Caption'] caption_lower = result['caption'] - expect(caption_mixed.nil?).to eql(false) + expect(caption_mixed.nil?).to eql(false) expect(caption_lower.nil?).to eql(false) expect(caption_mixed.length).to be > 0 diff --git a/spec/unit/wmi_spec.rb b/spec/unit/wmi_spec.rb index 0408322..a116ec9 100644 --- a/spec/unit/wmi_spec.rb +++ b/spec/unit/wmi_spec.rb @@ -1,5 +1,5 @@ # -# Author:: Adam Edwards (<adamed@getchef.com>) +# Author:: Adam Edwards (<adamed@chef.io>) # # Copyright:: 2014, Chef Software, Inc. # diff --git a/wmi-lite.gemspec b/wmi-lite.gemspec index ea2aa21..a15bb0f 100644 --- a/wmi-lite.gemspec +++ b/wmi-lite.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |spec| spec.name = 'wmi-lite' spec.version = WmiLite::VERSION spec.authors = ['Adam Edwards'] - spec.email = ['dev@getchef.com'] + spec.email = ['dev@chef.io'] spec.description = 'A lightweight utility over win32ole for accessing basic ' \ 'WMI (Windows Management Instrumentation) functionality ' \ 'in the Microsoft Windows operating system. It has no ' \ |