Releases: simonc/memfs
Releases · simonc/memfs
v1.0.0
- ADD: Support for Ruby 2.4.0
- ADD: Support for Pathname in
Dir.glob(PR #21 by @craigw) - ADD:
MemFs.haltto switch back to the real file-system (PR #24 by @thsur) - ADD: Basic support for
IO.write(PR #20 by @rmm5t) - FIX: Reset the file position when reopened (PR #23 by @jimpo)
- FIX: Ignore trailing slashes when searching an entry (issue #26)
- FIX: Making
Fileinherit fromIOto fix 3rd-party related issues - FIX: Ensure
File.newon a symlink raises if target is absent
v0.5.0
v0.4.3
v0.4.2
v0.4.1
Headed in the right `Dir`ection
This release brings a lot of new stuff to the Dir class, completing the long list of methods present in Ruby's implementation.
Enjoy !
Changes
- ADD:
Dir.chroot - ADD:
Dir.globandDir[] - ADD:
Dir.open - ADD:
Dir.tmpdir - ADD:
Dir#close - ADD:
Dir#path - ADD:
Dir#pos= - ADD:
Dir#pos - ADD:
Dir#read - ADD:
Dir#rewind - ADD:
Dir#seek - ADD:
Dir#tell - ADD:
Dir#to_path - FIX: Internal implementation methods are now private
v.0.3.0
v0.2.0
Adding some magic
MemFs.touch is a shortcut you can now use to create files quickly:
MemFs.touch('/some/file.txt', '/some/other/file.rb')Changes
- ADD: Allowing magic creation of files with
MemFs.touch - ADD:
Dir#each - ADD:
Dir.delete - ADD:
Dir.exist? - ADD:
Dir.foreach - ADD:
Dir.home - ADD:
Dir.new - ADD:
Dir.unlink - FIX: File.new now truncates a file when opening mode says so
v0.1.0
File is a big boy now
This release adds a lot to the File class. Every class method of the original File class is present (expect some of the inherited ones from IO), 29 new methods have been added to it!
What's next?
File instances need some love too and will get it! Dir and Stat classes are next in the polishing line.