Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/auser/suitcase
Easy-peasy transfer of bulk files with the Suitcase!
https://github.com/auser/suitcase
Last synced: 2 months ago
JSON representation
Easy-peasy transfer of bulk files with the Suitcase!
- Host: GitHub
- URL: https://github.com/auser/suitcase
- Owner: auser
- License: mit
- Created: 2009-03-27T08:56:28.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2009-06-16T01:05:42.000Z (over 15 years ago)
- Last Synced: 2024-04-13T22:57:39.216Z (9 months ago)
- Language: Ruby
- Homepage:
- Size: 109 KB
- Stars: 8
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
- License: LICENSE
Awesome Lists containing this project
README
= Suitcase
Easy-peasy transfer of bulk files with the Suitcase!
Suitcase takes care of the ugly work for you when dealing with lots of dependencies and and peculiarities with transferring dependencies.
== Simple case:
Suitcase::Zipper.add("file_to_transfer.txt")
Suitcase::Zipper.add("directory_to_transfer/")Suitcase::Zipper.zip!("/full/path/to/filename.tar.gz") # => "/full/path/to/filename.tar.gz"
== Suitcase will download the latest gems for you and add them to the suitcase simply by calling
Suitcase::Zipper.gems "auser-poolparty", "nanite", ...
It first attempts to download it from github and then falls back and tries with rubyforge.
They are added to the suitcase under the gems/ namespace.
== Suitcase will download packages for you off the internet as well given a source, for instance:
Suitcase::Zipper.packages("ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz", "#{Dir.pwd}/packages")
will download the ruby stable-snapshot.tar.gz and put it into the suitcase
== Copyright
Copyright (c) 2009 Ari Lerner. See LICENSE for details.