fog 0.0.37 → 0.0.38
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -20
- data/VERSION +1 -1
- data/bin/fog +24 -0
- data/fog.gemspec +2 -2
- data/lib/fog/aws/models/s3/objects.rb +1 -1
- data/lib/fog/aws/requests/s3/get_bucket.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
@@ -96,23 +96,3 @@ begin
|
|
96
96
|
rescue LoadError
|
97
97
|
puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
|
98
98
|
end
|
99
|
-
|
100
|
-
namespace :fog do
|
101
|
-
|
102
|
-
desc 'Provide a sample yaml file for credentials'
|
103
|
-
task :yml do
|
104
|
-
puts('Copy the following sample to ~/.fog and fill in with your credentials as needed:')
|
105
|
-
yml = <<YML
|
106
|
-
|
107
|
-
:default:
|
108
|
-
:aws_access_key_id: INTENTIONALLY_LEFT_BLANK
|
109
|
-
:aws_secret_access_key: INTENTIONALLY_LEFT_BLANK
|
110
|
-
:rackspace_api_key: INTENTIONALLY_LEFT_BLANK
|
111
|
-
:rackspace_username: INTENTIONALLY_LEFT_BLANK
|
112
|
-
:slicehost_password: INTENTIONALLY_LEFT_BLANK
|
113
|
-
|
114
|
-
YML
|
115
|
-
print(yml)
|
116
|
-
end
|
117
|
-
|
118
|
-
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.38
|
data/bin/fog
CHANGED
@@ -7,6 +7,18 @@ module AWS
|
|
7
7
|
class << self
|
8
8
|
key = (ARGV.first && :"#{ARGV.first}") || :default
|
9
9
|
unless Fog.credentials(key)
|
10
|
+
print("\n To run as '#{key}', add credentials like the following to ~/.fog\n")
|
11
|
+
yml = <<-YML
|
12
|
+
|
13
|
+
:#{key}:
|
14
|
+
:aws_access_key_id: INTENTIONALLY_LEFT_BLANK
|
15
|
+
:aws_secret_access_key: INTENTIONALLY_LEFT_BLANK
|
16
|
+
:rackspace_api_key: INTENTIONALLY_LEFT_BLANK
|
17
|
+
:rackspace_username: INTENTIONALLY_LEFT_BLANK
|
18
|
+
:slicehost_password: INTENTIONALLY_LEFT_BLANK
|
19
|
+
|
20
|
+
YML
|
21
|
+
print(yml)
|
10
22
|
raise ArgumentError.new("No credentials for :#{key}")
|
11
23
|
end
|
12
24
|
if Fog.credentials(key)[:aws_access_key_id] && Fog.credentials(key)[:aws_secret_access_key]
|
@@ -57,6 +69,18 @@ module Rackspace
|
|
57
69
|
class << self
|
58
70
|
key = (ARGV.first && :"#{ARGV.first}") || :default
|
59
71
|
unless Fog.credentials(key)
|
72
|
+
print("\n To run as '#{key}', add credentials like the following to ~/.fog\n")
|
73
|
+
yml = <<-YML
|
74
|
+
|
75
|
+
:#{key}:
|
76
|
+
:aws_access_key_id: INTENTIONALLY_LEFT_BLANK
|
77
|
+
:aws_secret_access_key: INTENTIONALLY_LEFT_BLANK
|
78
|
+
:rackspace_api_key: INTENTIONALLY_LEFT_BLANK
|
79
|
+
:rackspace_username: INTENTIONALLY_LEFT_BLANK
|
80
|
+
:slicehost_password: INTENTIONALLY_LEFT_BLANK
|
81
|
+
|
82
|
+
YML
|
83
|
+
print(yml)
|
60
84
|
raise ArgumentError.new("No credentials for :#{key}")
|
61
85
|
end
|
62
86
|
if Fog.credentials(key)[:rackspace_api_key] && Fog.credentials(key)[:rackspace_username]
|
data/fog.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{fog}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.38"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["geemus (Wesley Beary)"]
|
12
|
-
s.date = %q{2009-12-
|
12
|
+
s.date = %q{2009-12-24}
|
13
13
|
s.default_executable = %q{fog}
|
14
14
|
s.description = %q{brings clouds to you}
|
15
15
|
s.email = %q{me@geemus.com}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.38
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- geemus (Wesley Beary)
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-24 00:00:00 -08:00
|
13
13
|
default_executable: fog
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|