Skip to content

Commit

Permalink
Add changes for 1.5.1 and prep for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
djberg96 committed Sep 30, 2024
1 parent 7b6cdb1 commit 00c6931
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 1.5.1 - 29-Sep-2024
* Add the f_type struct member to the Statvfs struct for Linux. This was added
at some point in the Linux lifecycle, though may still be blank depending on
your platform. Thanks go to Tasos Sahanidis for the patch.
* Added padding on 32-bit Statvfs struct with 64-bit offsets for Linux. Thanks
go Tasos Sahanidis again for this update.
* Bumped mkmf-lite dependency since the changes were needed to support the above.

## 1.5.0 - 8-Jun-2024
* Add support for DragonFlyBSD.
* Remove Solaris support. It's dead, Jim.
Expand Down
2 changes: 1 addition & 1 deletion lib/sys/filesystem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module Sys
# return objects of other types. Do not instantiate.
class Filesystem
# The version of the sys-filesystem library
VERSION = '1.5.0'
VERSION = '1.5.1'

# Stat objects are returned by the Sys::Filesystem.stat method. Here
# we're adding universal methods.
Expand Down
2 changes: 1 addition & 1 deletion spec/sys_filesystem_shared.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

RSpec.shared_examples Sys::Filesystem do
example 'version number is set to the expected value' do
expect(Sys::Filesystem::VERSION).to eq('1.5.0')
expect(Sys::Filesystem::VERSION).to eq('1.5.1')
expect(Sys::Filesystem::VERSION).to be_frozen
end

Expand Down
4 changes: 2 additions & 2 deletions sys-filesystem.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require 'rubygems'

Gem::Specification.new do |spec|
spec.name = 'sys-filesystem'
spec.version = '1.5.0'
spec.version = '1.5.1'
spec.author = 'Daniel J. Berger'
spec.email = '[email protected]'
spec.homepage = 'https://github.com/djberg96/sys-filesystem'
Expand All @@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
spec.cert_chain = Dir['certs/*']

spec.add_dependency('ffi', '~> 1.1')
spec.add_development_dependency('mkmf-lite', '~> 0.5') unless Gem.win_platform?
spec.add_development_dependency('mkmf-lite', '~> 0.7') unless Gem.win_platform?
spec.add_development_dependency('rake')
spec.add_development_dependency('rspec', '~> 3.9')
spec.add_development_dependency('rubocop')
Expand Down

0 comments on commit 00c6931

Please sign in to comment.