Permalink
Browse files

# moved the project to waz-storage

  • Loading branch information...
1 parent 5ab8366 commit 5619116516ebe2c96d0e09623f0a582003cfcfa4 Johnny Halife committed Dec 20, 2009
View
@@ -1,3 +0,0 @@
-test/exclude.*
-coverage
-pkg/*
View
19 LICENSE
@@ -1,19 +0,0 @@
-Copyright (c) 2009 Johnny G. Halife
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
View
@@ -0,0 +1,11 @@
+# This project has been moved to [waz-storage](http://github.com/johnnyhalife/waz-storage)
+
+##Meta
+
+Written by Johnny G. Halife (johnny.halife at me dot com)
+
+contributed by: Ezequiel Morito (http://blogs.southworks.net/emorito) and Juan Pablo Garcia (http://blogs.southworks.net/jpgarcia)
+
+Released under the MIT License: http://www.opensource.org/licenses/mit-license.php
+
+http://github.com/johnnyhalife/waz-storage
View
@@ -1,98 +0,0 @@
-= Windows Azure Blobs library -- simple gem for accessing WAZ's Storage Blobs REST API
-
-Client library that will enable you to consume the Windows Azure Storage Service Blobs thru it's REST API. Most of this work is inspired
-on S3 existing APIs although there's some changes
-
-== Getting started
- sudo gem install waz-blobs --source http://gemcutter.org
-
-== Usage: Basics
-These are the basics of interacting with the API, further on this document you will find specific documentation
-for each operation on the API.
-
- require 'waz-blobs'
-
- WAZ::Blobs::Base.establish_connection!(:account_name => your_account_name, :access_key => your_account_key)
-
- # creates a container
- container = WAZ::Blobs::Container.create('my-container')
-
- # stores a blob with custom properties (metadata)
- blob = container.store('my_blob.txt', 'this is the content of my blob', 'text', {:x_ms_meta_Custom_Property => "custom_value" } )
-
- # return a specific blob from a container
- blob = container['my_blob.txt']
-
- # retrieves a blob value
- blob.value
-
-== Usage: Dealing with containers
-These are the methods implemented from Microsoft's API description available on MSDN at http://msdn.microsoft.com/en-us/library/dd179361.aspx
-
- # list available containers
- WAZ::Blobs::Container.list
-
- # create a container
- WAZ::Blobs::Container.create('my-container')
-
- # get a specific container
- my_container = WAZ::Blobs::Container.find('my-container')
-
- # get container properties (including default headers)
- my_container.metadata #=> hash containing beautified metadata (:x_ms_meta_name)
-
- # set container properties (should follow x-ms-meta to be persisted)
- my_container.put_properties(:x_ms_meta_MyProperty => "my value")
-
- # get a the value indicating whether the container is public or not
- my_container.public_access? #=> true or false based on x-ms-prop-publicaccess
-
- # set a value indicating whether the container is public or not
- my_container.public_access = false
-
- # delete container
- my_container.destroy!
-
- # store a blob on the given container
- my_container.store('my-blob', blob_content, 'application/xml')
-
- # retrieve a particular blob from a container
- my_container['my-blob']
-
- # retrieve a blob list from a container
- my_container.blobs #=> WAZ::Blobs::BlobObject collection
-
-== Usage: Dealing with blobs
-These are the implemented methods of the blob API up to now. The basics are implemented although BLOCKS management is not yet completed, I consider
-that the API is pretty usable since it covers the basics
-
- # retrieve blob name, uri and content-type
- blob.name
- blob.url
- blob.content_type
-
- # retrieve blob value
- blob.value #=> lazy loaded payload of the blob
-
- # retrieve blob metadata (+ properties)
- blob.metadata #=> hash containing beautified metadata (:x_ms_meta_name)
-
- # put blob metadata
- blob.put_properties(:x_ms_meta_MyProperty => "my value")
-
- # update value
- blob.value = "my new value" #=> this will update the blob content on WAZ
-
-=== Remarks
-Since Windows Azure Blob Storage API doesn't support blobs on the <em>root container</em>, there's no support like S3 to put a blob <b>without a container relationship</b>,
-as WAZ support it. I'll add support for that scenario.
-
-== Meta
-
-Written by Johnny G. Halife (johnny.halife at me dot com)
-
-contributed by: Ezequiel Morito (http://blogs.southworks.net/emorito) and Juan Pablo Garcia (http://blogs.southworks.net/jpgarcia)
-
-Released under the MIT License: http://www.opensource.org/licenses/mit-license.php
-
-http://github.com/johnnyhalife/waz-blobs
View
@@ -0,0 +1,172 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
+ <head>
+ <title>
+ C0 code coverage information
+ </title>
+ <style type='text/css'>
+ body { background-color: rgb(240, 240, 245); }
+ </style>
+ <style type='text/css'>
+ span.cross-ref-title { font-size: 140%; } span.cross-ref a {
+ text-decoration: none; } span.cross-ref { background-color:#f3f7fa;
+ border: 1px dashed #333; margin: 1em; padding: 0.5em; overflow: hidden; }
+ a.crossref-toggle { text-decoration: none; } span.marked0 {
+ background-color: rgb(185, 210, 200); display: block; } span.marked1 {
+ background-color: rgb(190, 215, 205); display: block; } span.inferred0 {
+ background-color: rgb(175, 200, 200); display: block; } span.inferred1 {
+ background-color: rgb(180, 205, 205); display: block; } span.uncovered0 {
+ background-color: rgb(225, 110, 110); display: block; } span.uncovered1 {
+ background-color: rgb(235, 120, 120); display: block; } span.overview {
+ border-bottom: 8px solid black; } div.overview { border-bottom: 8px solid
+ black; } body { font-family: verdana, arial, helvetica; } div.footer {
+ font-size: 68%; margin-top: 1.5em; } h1, h2, h3, h4, h5, h6 {
+ margin-bottom: 0.5em; } h5 { margin-top: 0.5em; } .hidden { display: none;
+ } div.separator { height: 10px; } /* Commented out for better readability,
+ esp. on IE */ /* table tr td, table tr th { font-size: 68%; } td.value
+ table tr td { font-size: 11px; } */ table.percent_graph { height: 12px;
+ border: #808080 1px solid; empty-cells: show; } table.percent_graph
+ td.covered { height: 10px; background: #00f000; } table.percent_graph
+ td.uncovered { height: 10px; background: #e00000; } table.percent_graph
+ td.NA { height: 10px; background: #eaeaea; } table.report {
+ border-collapse: collapse; width: 100%; } table.report td.heading {
+ background: #dcecff; border: #d0d0d0 1px solid; font-weight: bold;
+ text-align: center; } table.report td.heading:hover { background: #c0ffc0;
+ } table.report td.text { border: #d0d0d0 1px solid; } table.report
+ td.value, table.report td.lines_total, table.report td.lines_code {
+ text-align: right; border: #d0d0d0 1px solid; } table.report tr.light {
+ background-color: rgb(240, 240, 245); } table.report tr.dark {
+ background-color: rgb(230, 230, 235); }
+ </style>
+ <script type='text/javascript'>
+ // <![CDATA[ function toggleCode( id ) { if ( document.getElementById )
+ elem = document.getElementById( id ); else if ( document.all ) elem =
+ eval( "document.all." + id ); else return false; elemStyle = elem.style;
+ if ( elemStyle.display != "block" ) { elemStyle.display = "block" } else {
+ elemStyle.display = "none" } return true; } // Make cross-references
+ hidden by default document.writeln( "<style
+ type=\"text/css\">span.cross-ref { display: none }</style>" ) // ]]>
+ </script>
+ </head>
+ <body>
+ <h3>
+ C0 code coverage information
+ </h3>
+ <p>
+ Generated on Tue Oct 06 21:36:50 -0300 2009 with
+ <a href='http://eigenclass.org/hiki/rcov'>
+ rcov 0.8.1.2
+ </a>
+ </p>
+ <hr />
+ <table class='report'> <thead> <tr> <td class='heading'> Name </td> <td
+ class='heading'> Total lines </td> <td class='heading'> Lines of code </td>
+ <td class='heading'> Total coverage </td> <td class='heading'> Code coverage
+ </td> </tr> </thead> <tbody> <tr class='light'> <td> TOTAL </td> <td
+ class='lines_total'> <tt> 343 </tt> </td> <td class='lines_code'> <tt> 291
+ </tt> </td> <td> <table cellspacing='0' align='right' cellpadding='0'> <tr>
+ <td> <tt class='coverage_total'> 96.8% </tt> &nbsp; </td> <td> <table
+ class='percent_graph' cellspacing='0' cellpadding='0' width='100'> <tr> <td
+ class='covered' width='97' /> <td class='uncovered' width='3' /> </tr>
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 96.2%
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
+ cellpadding='0' width='100'> <tr> <td class='covered' width='96' /> <td
+ class='uncovered' width='4' /> </tr> </table> </td> </tr> </table> </td>
+ </tr> <tr class='dark'> <td> <a href='lib-waz-blobs-service_rb.html'>
+ lib/waz/blobs/service.rb </a> </td> <td class='lines_total'> <tt> 144 </tt>
+ </td> <td class='lines_code'> <tt> 125 </tt> </td> <td> <table
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
+ class='coverage_total'> 92.4% </tt> &nbsp; </td> <td> <table
+ class='percent_graph' cellspacing='0' cellpadding='0' width='100'> <tr> <td
+ class='covered' width='92' /> <td class='uncovered' width='8' /> </tr>
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 91.2%
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
+ cellpadding='0' width='100'> <tr> <td class='covered' width='91' /> <td
+ class='uncovered' width='9' /> </tr> </table> </td> </tr> </table> </td>
+ </tr> <tr class='light'> <td> <a href='lib-waz-blobs-container_rb.html'>
+ lib/waz/blobs/container.rb </a> </td> <td class='lines_total'> <tt> 89 </tt>
+ </td> <td class='lines_code'> <tt> 74 </tt> </td> <td> <table
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
+ class='coverage_total'> 100.0% </tt> &nbsp; </td> <td> <table
+ class='percent_graph' cellspacing='0' cellpadding='0' width='100'> <tr> <td
+ class='covered' width='100' /> <td class='uncovered' width='0' /> </tr>
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 100.0%
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
+ cellpadding='0' width='100'> <tr> <td class='covered' width='100' /> <td
+ class='uncovered' width='0' /> </tr> </table> </td> </tr> </table> </td>
+ </tr> <tr class='dark'> <td> <a href='lib-waz-blobs-exceptions_rb.html'>
+ lib/waz/blobs/exceptions.rb </a> </td> <td class='lines_total'> <tt> 12
+ </tt> </td> <td class='lines_code'> <tt> 11 </tt> </td> <td> <table
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
+ class='coverage_total'> 100.0% </tt> &nbsp; </td> <td> <table
+ class='percent_graph' cellspacing='0' cellpadding='0' width='100'> <tr> <td
+ class='covered' width='100' /> <td class='uncovered' width='0' /> </tr>
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 100.0%
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
+ cellpadding='0' width='100'> <tr> <td class='covered' width='100' /> <td
+ class='uncovered' width='0' /> </tr> </table> </td> </tr> </table> </td>
+ </tr> <tr class='light'> <td> <a href='lib-waz-blobs-base_rb.html'>
+ lib/waz/blobs/base.rb </a> </td> <td class='lines_total'> <tt> 22 </tt>
+ </td> <td class='lines_code'> <tt> 20 </tt> </td> <td> <table
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
+ class='coverage_total'> 100.0% </tt> &nbsp; </td> <td> <table
+ class='percent_graph' cellspacing='0' cellpadding='0' width='100'> <tr> <td
+ class='covered' width='100' /> <td class='uncovered' width='0' /> </tr>
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 100.0%
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
+ cellpadding='0' width='100'> <tr> <td class='covered' width='100' /> <td
+ class='uncovered' width='0' /> </tr> </table> </td> </tr> </table> </td>
+ </tr> <tr class='dark'> <td> <a href='lib-waz-blobs_rb.html'>
+ lib/waz-blobs.rb </a> </td> <td class='lines_total'> <tt> 19 </tt> </td> <td
+ class='lines_code'> <tt> 14 </tt> </td> <td> <table cellspacing='0'
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_total'> 100.0%
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
+ cellpadding='0' width='100'> <tr> <td class='covered' width='100' /> <td
+ class='uncovered' width='0' /> </tr> </table> </td> </tr> </table> </td>
+ <td> <table cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
+ class='coverage_code'> 100.0% </tt> &nbsp; </td> <td> <table
+ class='percent_graph' cellspacing='0' cellpadding='0' width='100'> <tr> <td
+ class='covered' width='100' /> <td class='uncovered' width='0' /> </tr>
+ </table> </td> </tr> </table> </td> </tr> <tr class='light'> <td> <a
+ href='lib-waz-blobs-blob_object_rb.html'> lib/waz/blobs/blob_object.rb </a>
+ </td> <td class='lines_total'> <tt> 46 </tt> </td> <td class='lines_code'>
+ <tt> 37 </tt> </td> <td> <table cellspacing='0' align='right'
+ cellpadding='0'> <tr> <td> <tt class='coverage_total'> 100.0% </tt> &nbsp;
+ </td> <td> <table class='percent_graph' cellspacing='0' cellpadding='0'
+ width='100'> <tr> <td class='covered' width='100' /> <td class='uncovered'
+ width='0' /> </tr> </table> </td> </tr> </table> </td> <td> <table
+ cellspacing='0' align='right' cellpadding='0'> <tr> <td> <tt
+ class='coverage_code'> 100.0% </tt> &nbsp; </td> <td> <table
+ class='percent_graph' cellspacing='0' cellpadding='0' width='100'> <tr> <td
+ class='covered' width='100' /> <td class='uncovered' width='0' /> </tr>
+ </table> </td> </tr> </table> </td> </tr> <tr class='dark'> <td> <a
+ href='lib-waz-blobs-version_rb.html'> lib/waz/blobs/version.rb </a> </td>
+ <td class='lines_total'> <tt> 11 </tt> </td> <td class='lines_code'> <tt> 10
+ </tt> </td> <td> <table cellspacing='0' align='right' cellpadding='0'> <tr>
+ <td> <tt class='coverage_total'> 100.0% </tt> &nbsp; </td> <td> <table
+ class='percent_graph' cellspacing='0' cellpadding='0' width='100'> <tr> <td
+ class='covered' width='100' /> <td class='uncovered' width='0' /> </tr>
+ </table> </td> </tr> </table> </td> <td> <table cellspacing='0'
+ align='right' cellpadding='0'> <tr> <td> <tt class='coverage_code'> 100.0%
+ </tt> &nbsp; </td> <td> <table class='percent_graph' cellspacing='0'
+ cellpadding='0' width='100'> <tr> <td class='covered' width='100' /> <td
+ class='uncovered' width='0' /> </tr> </table> </td> </tr> </table> </td>
+ </tr> </tbody> </table>
+ <hr />
+ <p> Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'> rcov
+ code coverage analysis tool for Ruby </a> version 0.8.1.2. </p>
+ <p>
+ <a href='http://validator.w3.org/check/referer'>
+ <img src='http://www.w3.org/Icons/valid-xhtml11' height='31' alt='Valid XHTML 1.1!' width='88' />
+ </a>
+ <a href='http://jigsaw.w3.org/css-validator/check/referer'>
+ <img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px' />
+ </a>
+ </p>
+ </body>
+</html>
Oops, something went wrong.

0 comments on commit 5619116

Please sign in to comment.