From 35b14ad1ad25916a400b48aef0bb16a7cbf7fa27 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 28 Jul 2020 14:20:50 -0700 Subject: Minor spelling mistakes & remove github lock config Signed-off-by: Tim Smith --- .expeditor/run_linux_tests.sh | 2 +- .github/lock.yml | 1 - README.md | 2 +- spec/unit/wmi_spec.rb | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 .github/lock.yml 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/README.md b/README.md index 4191a30..0923ea0 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) -- cgit v1.2.1 From 4967155133fba57f06b4d56d88d903472def4869 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 28 Jul 2020 15:18:47 -0700 Subject: Fix chefstyle warning and pin to allow dependabot to bump Signed-off-by: Tim Smith --- Gemfile | 2 +- wmi-lite.gemspec | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index d144f2e..ace3165 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 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" -- cgit v1.2.1 From 5d037e5047b30cde00d4c18b7372b2390edffe1a Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 28 Jul 2020 15:19:13 -0700 Subject: Pin pry-stack_explorer for older ruby Signed-off-by: Tim Smith --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index ace3165..4c4d350 100644 --- a/Gemfile +++ b/Gemfile @@ -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 -- cgit v1.2.1