Skip to content

Commit

Permalink
Version updates, etc, for 1.8.2 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
djberg96 committed Apr 9, 2023
1 parent d4f2fd8 commit 23a9f00
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.8.2 - 9-Apr-2023
* Lots of rubocop related updates.
* Refactored specs to use shared specs.
* The lastlog key will return nil instead of an empty struct if it can't be read.
* Added more information to the gemspec metadata.
* The rubocop and rubocop-rspec gems are now development dependencies.

## 1.8.1 - 25-Sep-2021
* The users and get_user methods on Darwin now take an optional :lastlog key
that you can set to false in order to significantly speed up those methods
Expand Down
2 changes: 1 addition & 1 deletion lib/sys/admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Sys
# The Admin class provides a unified, cross platform replacement for the Etc module.
class Admin
# The version of the sys-admin library.
VERSION = '1.8.1'
VERSION = '1.8.2'

private_class_method :new
end
Expand Down
2 changes: 1 addition & 1 deletion spec/sys_admin_shared.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

RSpec.shared_examples Sys::Admin do
example 'version is set to expected value' do
expect(described_class::VERSION).to eq('1.8.1')
expect(described_class::VERSION).to eq('1.8.2')
end

example 'version constant is frozen' do
Expand Down
5 changes: 3 additions & 2 deletions sys-admin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require 'rubygems'

Gem::Specification.new do |spec|
spec.name = 'sys-admin'
spec.version = '1.8.1'
spec.version = '1.8.2'
spec.author = 'Daniel J. Berger'
spec.license = 'Apache-2.0'
spec.email = 'djberg96@gmail.com'
Expand Down Expand Up @@ -34,7 +34,8 @@ Gem::Specification.new do |spec|
'documentation_uri' => 'https://github.com/djberg96/sys-admin/wiki',
'source_code_uri' => 'https://github.com/djberg96/sys-admin',
'wiki_uri' => 'https://github.com/djberg96/sys-admin/wiki',
'rubygems_mfa_required' => 'true'
'rubygems_mfa_required' => 'true',
'github_repo' => 'https://github.com/djberg96/sys-admin'
}

spec.description = <<-EOF
Expand Down

0 comments on commit 23a9f00

Please sign in to comment.