Compare commits
5 Commits
0.7
...
testing-gi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eb28ee2a96 | ||
| e2f0e718eb | |||
| 0f5aedbf22 | |||
|
|
8fbc5a540e | ||
|
|
887319ad05 |
22
LICENSE
Normal file
22
LICENSE
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
Copyright (c) 2011-2013, Thomas Hintz
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
1. Redistributions of source code must retain the above copyright notice, this
|
||||||
|
list of conditions and the following disclaimer.
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||||
|
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||||
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
@@ -6,4 +6,5 @@
|
|||||||
(release "3")
|
(release "3")
|
||||||
(release "4")
|
(release "4")
|
||||||
(release "5")
|
(release "5")
|
||||||
(release "6")
|
(release "6")
|
||||||
|
(release "7")
|
||||||
@@ -111,9 +111,6 @@
|
|||||||
(reader-thunk read-string)
|
(reader-thunk read-string)
|
||||||
(content-type "application/x-www-form-urlencoded")
|
(content-type "application/x-www-form-urlencoded")
|
||||||
(content-length 0))
|
(content-length 0))
|
||||||
;(handle-exceptions
|
|
||||||
; exn
|
|
||||||
; ((condition-property-accessor 'client-error 'body) exn)
|
|
||||||
(with-input-from-request
|
(with-input-from-request
|
||||||
(aws-request bucket path verb no-auth: no-auth content-type: content-type content-length: content-length)
|
(aws-request bucket path verb no-auth: no-auth content-type: content-type content-length: content-length)
|
||||||
body
|
body
|
||||||
@@ -155,12 +152,16 @@
|
|||||||
|
|
||||||
;;; api
|
;;; api
|
||||||
|
|
||||||
|
; broken and deprecated
|
||||||
|
; next version will have parameterized keywords so this
|
||||||
|
; won't be necessary
|
||||||
(define-syntax with-bucket
|
(define-syntax with-bucket
|
||||||
(syntax-rules ()
|
(syntax-rules ()
|
||||||
((with-bucket bucket (func p1 ...))
|
((with-bucket bucket (func p1 ...))
|
||||||
(func bucket p1 ...))
|
(func bucket p1 ...))
|
||||||
((with-bucket bucket exp body ...)
|
((with-bucket bucket exp body ...)
|
||||||
(begin (with-bucket bucket exp)
|
(begin (print "I am deprecated.")
|
||||||
|
(with-bucket bucket exp)
|
||||||
(with-bucket bucket body ...)))))
|
(with-bucket bucket body ...)))))
|
||||||
|
|
||||||
(define (list-buckets)
|
(define (list-buckets)
|
||||||
|
|||||||
@@ -11,5 +11,5 @@
|
|||||||
; Files to install for your extension:
|
; Files to install for your extension:
|
||||||
'("amazon-s3.o" "amazon-s3.so" "amazon-s3.import.so")
|
'("amazon-s3.o" "amazon-s3.so" "amazon-s3.import.so")
|
||||||
; Assoc list with properties for your extension:
|
; Assoc list with properties for your extension:
|
||||||
'((version 6)
|
'((version 7)
|
||||||
(static "amazon-s3.o"))) ;; for static linking
|
(static "amazon-s3.o"))) ;; for static linking
|
||||||
Reference in New Issue
Block a user