Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating gems #19

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,6 @@ expeditor:

steps:

- label: run-specs-ruby-2.5
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:2.5

- label: run-specs-ruby-2.6
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:2.6

- label: run-specs-ruby-2.7
command:
- .expeditor/run_linux_tests.sh rake
expeditor:
executor:
docker:
image: ruby:2.7

- label: run-specs-ruby-3.0
command:
- .expeditor/run_linux_tests.sh rake
Expand Down
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ group :docs do
end

group :test do
gem "chefstyle", "= 1.2.0"
gem "chefstyle"
gem "rspec", "~> 3.1"
gem "docile", "~> 1.3.5" # pin until we drop ruby support 2.4
gem "docile"
gem "rake"
end

group :debug do
gem "pry"
gem "pry-byebug"
gem "rb-readline"
gem "simplecov", "~> 0.18.5" # pin until we drop ruby support 2.4
gem "simplecov"
end
2 changes: 1 addition & 1 deletion lib/wmi-lite/wmi_exception.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def translate_error_code(error_message)
# Parse the error to get the error status code
error_code_match = error_message.match(/[^\:]+\:\s*([0-9A-Fa-f]{1,8}).*/)
error_code = error_code_match.captures.first if error_code_match
error_code ? error_code : ""
error_code || ""
end

def translate_wmi_connect_error_message(native_message, error_code, namespace)
Expand Down
2 changes: 1 addition & 1 deletion wmi-lite.gemspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lib = File.expand_path("../lib", __FILE__)
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "wmi-lite/version"

Expand Down