Skip to content

Commit

Permalink
Update for 1.5.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
djberg96 committed Oct 4, 2024
1 parent 58c4182 commit 3822b69
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.5.3 - 3-Oct-2024
* Decided to unroll the changes in 1.5.2 because doing runtime compiler
checks was making more people unhappy than happy, and I already had
some misgivings about it.
* Updated the README.md to note the issues with running 32-bit Ruby with
64-bit offsets. At the moment I think this mainly only affects arch Linux.

## 1.5.2 - 30-Sep-2024
* Forgot to switch mkmf-lite from a dev dependency to a runtime dependency.
Thanks go to Thomas Langé for the spot and patch.
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,19 @@ with JRuby, too.
Run 'rake example' if you want to see a basic sample run. The actual code
is 'example_stat.rb' in the 'examples' directory. Modify it as you see fit.

## Known Bugs
## Known Issues

None that I'm aware of. Please report bugs on the project page at:
Currently this may not work if you're running a 32-bit system with 64-bit offsets:

https://github.com/djberg96/sys-filesystem/issues/71

Please report any other issues on the project home page at:

https://github.com/djberg96/sys-filesystem

## Future Plans

* Add better 64-bit support for Linux and BSD.
* Other suggestions welcome.
* Suggestions welcome.

## Acknowledgements

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.2'
VERSION = '1.5.3'

# 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.2')
expect(Sys::Filesystem::VERSION).to eq('1.5.3')
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.2'
spec.version = '1.5.3'
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_dependency('mkmf-lite', '~> 0.7') 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 3822b69

Please sign in to comment.