Uploaded image for project: 'TorqueBox'
  1. TorqueBox
  2. TORQUE-32

VFS support for everything in Ruby

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.0.Beta17
    • Component/s: None
    • Labels:
      None
    • Estimated Difficulty:
      High

      Description

      There exists the open-uri which binds IO.open(...) to URIs. But those are Ruby URIs, not Java URIs.

      Since we leverage the heck out of VFS, monkeypatching it to IO/File/Dir would be ideal.

      ie, I'd like this to work:

      File stuff...

      File.mtime( "vfszip://path/to/some.zip/path/to/file/inside.txt" )

      File.open( "vfszip://path/to/some.zip/path/to/file/inside.txt" )

      Dir globbing and stuff

      Dir["vfszip://path/to/some.zip/path/inside/*.txt"]

      For all vfs URLs (so, really, for all URLs)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bob.mcwhirter Bob McWhirter
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: