fog-google 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/storage.rb +12 -0
- data/lib/fog/google/version.rb +1 -1
- data/lib/fog/storage/google_xml/real.rb +1 -1
- data/lib/fog/storage/google_xml/requests/get_object.rb +1 -1
- data/lib/fog/storage/google_xml/requests/get_object_acl.rb +1 -1
- data/lib/fog/storage/google_xml/requests/get_object_torrent.rb +1 -1
- data/lib/fog/storage/google_xml/requests/head_object.rb +1 -1
- data/lib/fog/storage/google_xml/requests/put_object_acl.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b27707eb484f217aad6c9cc51dcbfeb831ed9fcd
|
4
|
+
data.tar.gz: af62778fe526e0d2b52e78b77cc7551e1a7357cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4efa40522165a909fe905fdf7c3a3026e07744b4b006c2ac7d07e7c32eec32f3b3db2fd86c621a15ac814ec5d3656e8e3ea70fbb391a2bf371c6c5e81dc0a1e4
|
7
|
+
data.tar.gz: 8eab5d7ca82a571d9622ec7ff24821bb1c6bb4e5fd8d5dcb6fb44c6540afad9a400ddf8c50ca522bc7fc89b03c186077d8aa6f3db3af60de5b4c3de25d28fecc
|
data/examples/storage.rb
CHANGED
@@ -25,6 +25,18 @@ def test
|
|
25
25
|
puts "---------------"
|
26
26
|
connection.put_object("fog-smoke-test", "my file", "THISISATESTFILE")
|
27
27
|
|
28
|
+
puts "Get the test file..."
|
29
|
+
puts "---------------"
|
30
|
+
connection.get_object("fog-smoke-test", "my file")
|
31
|
+
|
32
|
+
puts "Head file..."
|
33
|
+
puts "---------------"
|
34
|
+
connection.head_object("fog-smoke-test", "my file")
|
35
|
+
|
36
|
+
puts "Get file ACL..."
|
37
|
+
puts "---------------"
|
38
|
+
connection.get_object_acl("fog-smoke-test", "my file")
|
39
|
+
|
28
40
|
puts "Delete the test file..."
|
29
41
|
puts "---------------"
|
30
42
|
connection.delete_object("fog-smoke-test", "my file")
|
data/lib/fog/google/version.rb
CHANGED
@@ -63,7 +63,7 @@ DATA
|
|
63
63
|
end
|
64
64
|
canonical_resource << params[:path].to_s
|
65
65
|
canonical_resource << "?"
|
66
|
-
params
|
66
|
+
(params[:query] || {}).keys.each do |key|
|
67
67
|
if %w(acl cors location logging requestPayment torrent versions versioning).include?(key)
|
68
68
|
canonical_resource << "#{key}&"
|
69
69
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-google
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nat Welch
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-05-
|
14
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: fog-core
|
@@ -720,7 +720,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
720
720
|
version: '0'
|
721
721
|
requirements: []
|
722
722
|
rubyforge_project:
|
723
|
-
rubygems_version: 2.
|
723
|
+
rubygems_version: 2.2.5
|
724
724
|
signing_key:
|
725
725
|
specification_version: 4
|
726
726
|
summary: Module for the 'fog' gem to support Google.
|