summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-07-30 22:09:52 -0700
committerGitHub <noreply@github.com>2020-07-30 22:09:52 -0700
commite8fd2936a2ca1511549be8b14d6fc1d1f929b1ac (patch)
tree934ec358b86697682a8ae3e4768be466ff3311cf
parent1e070b135c023d0d0853c0e70595265de219e5bb (diff)
parent5d037e5047b30cde00d4c18b7372b2390edffe1a (diff)
downloadwmi-lite-e8fd2936a2ca1511549be8b14d6fc1d1f929b1ac.tar.gz
Merge pull request #13 from chef/spelling
Minor spelling mistakes & remove github lock config
-rwxr-xr-x.expeditor/run_linux_tests.sh2
-rw-r--r--.github/lock.yml1
-rw-r--r--Gemfile4
-rw-r--r--README.md2
-rw-r--r--spec/unit/wmi_spec.rb2
-rw-r--r--wmi-lite.gemspec1
6 files changed, 5 insertions, 7 deletions
diff --git a/.expeditor/run_linux_tests.sh b/.expeditor/run_linux_tests.sh
index 4c14c80..2e6c34c 100755
--- a/.expeditor/run_linux_tests.sh
+++ b/.expeditor/run_linux_tests.sh
@@ -50,4 +50,4 @@ else
fi
echo "+++ bundle exec task"
-bundle exec $1
+bundle exec $@
diff --git a/.github/lock.yml b/.github/lock.yml
deleted file mode 100644
index 66d5d49..0000000
--- a/.github/lock.yml
+++ /dev/null
@@ -1 +0,0 @@
-daysUntilLock: 60
diff --git a/Gemfile b/Gemfile
index d144f2e..4c4d350 100644
--- a/Gemfile
+++ b/Gemfile
@@ -9,7 +9,7 @@ group :docs do
end
group :test do
- gem "chefstyle"
+ gem "chefstyle", "= 1.2.0"
gem "rspec", "~> 3.1"
gem "rake"
end
@@ -17,7 +17,7 @@ end
group :debug do
gem "pry"
gem "pry-byebug"
- gem "pry-stack_explorer"
+ gem "pry-stack_explorer", "~> 0.4.0" # pin until we drop ruby < 2.6
gem "rb-readline"
gem "simplecov", "~> 0.9"
end
diff --git a/README.md b/README.md
index 99ad9bc..89296a3 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ that object.
* Each instance is represented by a Ruby `Hash` for which each property value of the instance is indexed by
the string name of the property as documented in the [WMI Schema](http://technet.microsoft.com/en-us/library/cc180287.aspx) or
as registered in the local system's WMI repository.
-* The string name specified to the aformentioned `Hash` is case insensitive.
+* The string name specified to the aforementioned `Hash` is case insensitive.
#### Examples
Use of the `instances_of`, `query`, and `first_of` methods of the `WmiLite::Wmi` object is demonstrated below.
diff --git a/spec/unit/wmi_spec.rb b/spec/unit/wmi_spec.rb
index 3ee3805..8371f43 100644
--- a/spec/unit/wmi_spec.rb
+++ b/spec/unit/wmi_spec.rb
@@ -169,7 +169,7 @@ describe WmiLite::Wmi do
# Exception messages look a like a customized error string followed by
# the original, less friendly message. A change here affects only
- # aestethics of human diagnostics, this may be changed with no effect
+ # aesthetics of human diagnostics, this may be changed with no effect
# on libraries or applications.
expect(error_message).not_to eql(nil)
expect(e.message.start_with?(unparseable_error)).to eql(false)
diff --git a/wmi-lite.gemspec b/wmi-lite.gemspec
index 716683c..b6484fc 100644
--- a/wmi-lite.gemspec
+++ b/wmi-lite.gemspec
@@ -1,4 +1,3 @@
-# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "wmi-lite/version"