fog 0.0.73 → 0.0.74

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. data/Gemfile +1 -0
  2. data/Gemfile.lock +69 -0
  3. data/Rakefile +121 -74
  4. data/fog.gemspec +421 -490
  5. data/lib/fog.rb +4 -0
  6. data/lib/fog/aws/requests/s3/get_object.rb +12 -2
  7. data/lib/fog/aws/s3.rb +16 -10
  8. data/lib/fog/ssh.rb +42 -0
  9. data/lib/fog/terremark.rb +53 -2
  10. data/lib/fog/terremark/bin.rb +15 -4
  11. data/lib/fog/terremark/models/server.rb +54 -0
  12. data/lib/fog/terremark/models/servers.rb +53 -0
  13. data/lib/fog/terremark/models/task.rb +41 -0
  14. data/lib/fog/terremark/models/tasks.rb +56 -0
  15. data/lib/fog/terremark/parsers/get_internet_services.rb +58 -0
  16. data/lib/fog/terremark/parsers/get_node_services.rb +34 -0
  17. data/lib/fog/terremark/parsers/{get_public_Ips.rb → get_public_ips.rb} +0 -0
  18. data/lib/fog/terremark/parsers/get_vdc.rb +4 -4
  19. data/lib/fog/terremark/parsers/public_ip.rb +24 -0
  20. data/lib/fog/terremark/parsers/vapp.rb +16 -16
  21. data/lib/fog/terremark/requests/add_node_service.rb +1 -1
  22. data/lib/fog/terremark/requests/get_catalog.rb +1 -1
  23. data/lib/fog/terremark/requests/get_internet_services.rb +41 -0
  24. data/lib/fog/terremark/requests/get_node_services.rb +36 -0
  25. data/lib/fog/terremark/requests/get_organization.rb +1 -1
  26. data/lib/fog/terremark/requests/get_organizations.rb +3 -1
  27. data/lib/fog/terremark/requests/get_public_ip.rb +35 -0
  28. data/lib/fog/terremark/requests/get_tasks_list.rb +1 -1
  29. data/lib/fog/terremark/requests/get_vdc.rb +1 -1
  30. data/lib/fog/terremark/requests/instantiate_vapp_template.rb +9 -4
  31. data/lib/fog/terremark/requests/shutdown.rb +1 -1
  32. data/spec/aws/models/s3/files_spec.rb +1 -0
  33. metadata +57 -99
  34. data/.document +0 -3
  35. data/.gitignore +0 -7
  36. data/VERSION.yml +0 -5
data/Gemfile CHANGED
@@ -5,6 +5,7 @@ gem 'excon', '>= 0.0.21'
5
5
  gem 'formatador', ">= 0.0.10"
6
6
  gem 'json', ">= 0"
7
7
  gem 'mime-types', ">= 0"
8
+ gem 'net-ssh', ">= 0"
8
9
  gem 'nokogiri', ">= 0"
9
10
  gem 'ruby-hmac', ">= 0"
10
11
  gem 'rspec', '>= 0'
@@ -0,0 +1,69 @@
1
+ ---
2
+ specs:
3
+ - rake:
4
+ version: 0.8.7
5
+ - annals:
6
+ version: 0.0.3
7
+ - excon:
8
+ version: 0.0.21
9
+ - formatador:
10
+ version: 0.0.13
11
+ - json:
12
+ version: 1.2.4
13
+ - mime-types:
14
+ version: "1.16"
15
+ - net-ssh:
16
+ version: 2.0.21
17
+ - nokogiri:
18
+ version: 1.4.1
19
+ - rspec:
20
+ version: 1.3.0
21
+ - ruby-hmac:
22
+ version: 0.4.0
23
+ - shindo:
24
+ version: 0.0.17
25
+ hash: e443f12a9a7794f2ff4fc8e8d201b12b1e8b30bb
26
+ sources:
27
+ - Rubygems:
28
+ uri: http://gemcutter.org
29
+ dependencies:
30
+ formatador:
31
+ version: ">= 0.0.10"
32
+ group:
33
+ - :default
34
+ nokogiri:
35
+ version: ">= 0"
36
+ group:
37
+ - :default
38
+ rake:
39
+ version: ">= 0"
40
+ group:
41
+ - :default
42
+ rspec:
43
+ version: ">= 0"
44
+ group:
45
+ - :default
46
+ ruby-hmac:
47
+ version: ">= 0"
48
+ group:
49
+ - :default
50
+ mime-types:
51
+ version: ">= 0"
52
+ group:
53
+ - :default
54
+ net-ssh:
55
+ version: ">= 0"
56
+ group:
57
+ - :default
58
+ json:
59
+ version: ">= 0"
60
+ group:
61
+ - :default
62
+ excon:
63
+ version: ">= 0.0.21"
64
+ group:
65
+ - :default
66
+ shindo:
67
+ version: ">= 0"
68
+ group:
69
+ - :default
data/Rakefile CHANGED
@@ -1,99 +1,146 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
+ require 'date'
3
4
 
4
- current_directory = File.dirname(__FILE__)
5
- require "#{current_directory}/lib/fog"
6
-
7
- begin
8
- require 'jeweler'
9
- Jeweler::Tasks.new do |gem|
10
- gem.add_dependency('excon', '>=0.0.21')
11
- gem.add_dependency('formatador', '>=0.0.10')
12
- gem.add_dependency('json')
13
- gem.add_dependency('mime-types')
14
- gem.add_dependency('nokogiri')
15
- gem.add_dependency('ruby-hmac')
16
- gem.name = "fog"
17
- gem.description = %Q{The Ruby cloud computing library.}
18
- gem.summary = %Q{brings clouds to you}
19
- gem.email = "geemus@gmail.com"
20
- gem.homepage = "http://github.com/geemus/fog"
21
- gem.authors = ["geemus (Wesley Beary)"]
22
- gem.rubyforge_project = "fog"
23
- end
24
- rescue LoadError
25
- puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
5
+ #############################################################################
6
+ #
7
+ # Helper functions
8
+ #
9
+ #############################################################################
10
+
11
+ def name
12
+ @name ||= Dir['*.gemspec'].first.split('.').first
26
13
  end
27
14
 
28
- require 'spec/rake/spectask'
29
- Spec::Rake::SpecTask.new(:spec) do |spec|
30
- spec.libs << 'lib' << 'spec'
31
- spec.spec_opts = ['-c']
32
- spec.spec_files = FileList['spec/**/*_spec.rb']
15
+ def version
16
+ line = File.read("lib/#{name}.rb")[/^\s*VERSION\s*=\s*.*/]
17
+ line.match(/.*VERSION\s*=\s*['"](.*)['"]/)[1]
33
18
  end
34
19
 
35
- Spec::Rake::SpecTask.new(:rcov) do |spec|
36
- spec.libs << 'lib' << 'spec'
37
- spec.pattern = 'spec/**/*_spec.rb'
38
- spec.rcov = true
20
+ def date
21
+ Date.today.to_s
39
22
  end
40
23
 
41
- namespace :specs do
24
+ def rubyforge_project
25
+ name
26
+ end
42
27
 
43
- task :with_mocking do
44
- Fog.mock!
45
- Rake::Task[:spec].invoke
46
- end
28
+ def gemspec_file
29
+ "#{name}.gemspec"
30
+ end
47
31
 
48
- task :without_mocking do
49
- Fog.mock!
50
- Rake::Task[:spec].invoke
51
- end
32
+ def gem_file
33
+ "#{name}-#{version}.gem"
34
+ end
52
35
 
36
+ def replace_header(head, header_name)
37
+ head.sub!(/(\.#{header_name}\s*= ').*'/) { "#{$1}#{send(header_name)}'"}
53
38
  end
54
39
 
55
- desc 'Run specs with and without mocking'
56
- task :specs => %w[ specs:with_mocking specs:without_mocking ]
40
+ #############################################################################
41
+ #
42
+ # Standard tasks
43
+ #
44
+ #############################################################################
57
45
 
58
- task :default => :specs
46
+ task :default => :test
47
+
48
+ require 'rake/testtask'
49
+ Rake::TestTask.new(:test) do |test|
50
+ test.libs << 'lib' << 'test'
51
+ test.pattern = 'test/**/test_*.rb'
52
+ test.verbose = true
53
+ end
54
+
55
+ desc "Generate RCov test coverage and open in your browser"
56
+ task :coverage do
57
+ require 'rcov'
58
+ sh "rm -fr coverage"
59
+ sh "rcov test/test_*.rb"
60
+ sh "open coverage/index.html"
61
+ end
59
62
 
60
63
  require 'rake/rdoctask'
61
64
  Rake::RDocTask.new do |rdoc|
62
- if File.exist?('VERSION.yml')
63
- config = YAML.load(File.read('VERSION.yml'))
64
- version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
65
- else
66
- version = ""
67
- end
68
-
69
65
  rdoc.rdoc_dir = 'rdoc'
70
- rdoc.title = "fog #{version}"
66
+ rdoc.title = "#{name} #{version}"
71
67
  rdoc.rdoc_files.include('README*')
72
68
  rdoc.rdoc_files.include('lib/**/*.rb')
73
69
  end
74
70
 
75
- begin
76
- require 'rake/contrib/sshpublisher'
77
- namespace :rubyforge do
78
-
79
- desc "Release gem and RDoc documentation to RubyForge"
80
- task :release => ["rubyforge:release:gem", "rubyforge:release:docs"]
81
-
82
- namespace :release do
83
- desc "Publish RDoc to RubyForge."
84
- task :docs => [:rdoc] do
85
- config = YAML.load(
86
- File.read(File.expand_path('~/.rubyforge/user-config.yml'))
87
- )
88
-
89
- host = "#{config['username']}@rubyforge.org"
90
- remote_dir = "/var/www/gforge-projects/fog/"
91
- local_dir = 'rdoc'
92
-
93
- Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
94
- end
95
- end
71
+ desc "Open an irb session preloaded with this library"
72
+ task :console do
73
+ sh "irb -rubygems -r ./lib/#{name}.rb"
74
+ end
75
+
76
+ #############################################################################
77
+ #
78
+ # Custom tasks (add your own tasks here)
79
+ #
80
+ #############################################################################
81
+
82
+
83
+
84
+ #############################################################################
85
+ #
86
+ # Packaging tasks
87
+ #
88
+ #############################################################################
89
+
90
+ task :release => :build do
91
+ unless `git branch` =~ /^\* master$/
92
+ puts "You must be on the master branch to release!"
93
+ exit!
94
+ end
95
+ sh "git commit --allow-empty -a -m 'Release #{version}'"
96
+ sh "git tag v#{version}"
97
+ sh "git push origin master"
98
+ sh "git push v#{version}"
99
+ sh "gem push pkg/#{name}-#{version}.gem"
100
+ end
101
+
102
+ task :build => :gemspec do
103
+ sh "mkdir -p pkg"
104
+ sh "gem build #{gemspec_file}"
105
+ sh "mv #{gem_file} pkg"
106
+ end
107
+
108
+ task :gemspec => :validate do
109
+ # read spec file and split out manifest section
110
+ spec = File.read(gemspec_file)
111
+ head, manifest, tail = spec.split(" # = MANIFEST =\n")
112
+
113
+ # replace name version and date
114
+ replace_header(head, :name)
115
+ replace_header(head, :version)
116
+ replace_header(head, :date)
117
+ #comment this out if your rubyforge_project has a different name
118
+ replace_header(head, :rubyforge_project)
119
+
120
+ # determine file list from git ls-files
121
+ files = `git ls-files`.
122
+ split("\n").
123
+ sort.
124
+ reject { |file| file =~ /^\./ }.
125
+ reject { |file| file =~ /^(rdoc|pkg)/ }.
126
+ map { |file| " #{file}" }.
127
+ join("\n")
128
+
129
+ # piece file back together and write
130
+ manifest = " s.files = %w[\n#{files}\n ]\n"
131
+ spec = [head, manifest, tail].join(" # = MANIFEST =\n")
132
+ File.open(gemspec_file, 'w') { |io| io.write(spec) }
133
+ puts "Updated #{gemspec_file}"
134
+ end
135
+
136
+ task :validate do
137
+ libfiles = Dir['lib/*'] - ["lib/#{name}.rb", "lib/#{name}"]
138
+ unless libfiles.empty?
139
+ puts "Directory `lib` should only contain a `#{name}.rb` file and `#{name}` dir."
140
+ exit!
141
+ end
142
+ unless Dir['VERSION*'].empty?
143
+ puts "A `VERSION` file at root level violates Gem best practices."
144
+ exit!
96
145
  end
97
- rescue LoadError
98
- puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
99
146
  end
@@ -1,497 +1,428 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
1
  Gem::Specification.new do |s|
7
- s.name = %q{fog}
8
- s.version = "0.0.73"
9
-
2
+ s.specification_version = 2 if s.respond_to? :specification_version=
10
3
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["geemus (Wesley Beary)"]
12
- s.date = %q{2010-04-13}
13
- s.default_executable = %q{fog}
14
- s.description = %q{The Ruby cloud computing library.}
15
- s.email = %q{geemus@gmail.com}
4
+ s.rubygems_version = '1.3.5'
5
+
6
+ ## Leave these as is they will be modified for you by the rake gemspec task.
7
+ ## If your rubyforge_project name is different, then edit it and comment out
8
+ ## the sub! line in the Rakefile
9
+ s.name = 'fog'
10
+ s.version = '0.0.74'
11
+ s.date = '2010-04-20'
12
+ s.rubyforge_project = 'fog'
13
+
14
+ ## Make sure your summary is short. The description may be as long
15
+ ## as you like.
16
+ s.summary = "brings clouds to you"
17
+ s.description = "The Ruby cloud computing library."
18
+
19
+ ## List the primary authors. If there are a bunch of authors, it's probably
20
+ ## better to set the email to an email list or something. If you don't have
21
+ ## a custom homepage, consider using your GitHub URL or the like.
22
+ s.authors = ["geemus (Wesley Beary)"]
23
+ s.email = 'geemus@gmail.com'
24
+ s.homepage = 'http://github.com/geemus/fog'
25
+
26
+ ## This gets added to the $LOAD_PATH so that 'lib/NAME.rb' can be required as
27
+ ## require 'NAME.rb' or'/lib/NAME/file.rb' can be as require 'NAME/file.rb'
28
+ s.require_paths = %w[lib]
29
+
30
+ ## This sections is only necessary if you have C extensions.
31
+ # s.require_paths << 'ext'
32
+ # s.extensions = %w[ext/extconf.rb]
33
+
34
+ ## If your gem includes any executables, list them here.
16
35
  s.executables = ["fog"]
17
- s.extra_rdoc_files = [
18
- "README.rdoc"
19
- ]
20
- s.files = [
21
- ".document",
22
- ".gitignore",
23
- "Gemfile",
24
- "README.rdoc",
25
- "Rakefile",
26
- "VERSION.yml",
27
- "benchs/fog_vs.rb",
28
- "benchs/params.rb",
29
- "benchs/parse_vs_push.rb",
30
- "bin/fog",
31
- "fog.gemspec",
32
- "lib/fog.rb",
33
- "lib/fog/aws.rb",
34
- "lib/fog/aws/bin.rb",
35
- "lib/fog/aws/ec2.rb",
36
- "lib/fog/aws/models/ec2/address.rb",
37
- "lib/fog/aws/models/ec2/addresses.rb",
38
- "lib/fog/aws/models/ec2/flavor.rb",
39
- "lib/fog/aws/models/ec2/flavors.rb",
40
- "lib/fog/aws/models/ec2/image.rb",
41
- "lib/fog/aws/models/ec2/images.rb",
42
- "lib/fog/aws/models/ec2/key_pair.rb",
43
- "lib/fog/aws/models/ec2/key_pairs.rb",
44
- "lib/fog/aws/models/ec2/security_group.rb",
45
- "lib/fog/aws/models/ec2/security_groups.rb",
46
- "lib/fog/aws/models/ec2/server.rb",
47
- "lib/fog/aws/models/ec2/servers.rb",
48
- "lib/fog/aws/models/ec2/snapshot.rb",
49
- "lib/fog/aws/models/ec2/snapshots.rb",
50
- "lib/fog/aws/models/ec2/volume.rb",
51
- "lib/fog/aws/models/ec2/volumes.rb",
52
- "lib/fog/aws/models/s3/directories.rb",
53
- "lib/fog/aws/models/s3/directory.rb",
54
- "lib/fog/aws/models/s3/file.rb",
55
- "lib/fog/aws/models/s3/files.rb",
56
- "lib/fog/aws/parsers/ec2/allocate_address.rb",
57
- "lib/fog/aws/parsers/ec2/attach_volume.rb",
58
- "lib/fog/aws/parsers/ec2/basic.rb",
59
- "lib/fog/aws/parsers/ec2/create_key_pair.rb",
60
- "lib/fog/aws/parsers/ec2/create_snapshot.rb",
61
- "lib/fog/aws/parsers/ec2/create_volume.rb",
62
- "lib/fog/aws/parsers/ec2/describe_addresses.rb",
63
- "lib/fog/aws/parsers/ec2/describe_availability_zones.rb",
64
- "lib/fog/aws/parsers/ec2/describe_images.rb",
65
- "lib/fog/aws/parsers/ec2/describe_instances.rb",
66
- "lib/fog/aws/parsers/ec2/describe_key_pairs.rb",
67
- "lib/fog/aws/parsers/ec2/describe_regions.rb",
68
- "lib/fog/aws/parsers/ec2/describe_reserved_instances.rb",
69
- "lib/fog/aws/parsers/ec2/describe_security_groups.rb",
70
- "lib/fog/aws/parsers/ec2/describe_snapshots.rb",
71
- "lib/fog/aws/parsers/ec2/describe_volumes.rb",
72
- "lib/fog/aws/parsers/ec2/detach_volume.rb",
73
- "lib/fog/aws/parsers/ec2/get_console_output.rb",
74
- "lib/fog/aws/parsers/ec2/run_instances.rb",
75
- "lib/fog/aws/parsers/ec2/terminate_instances.rb",
76
- "lib/fog/aws/parsers/s3/copy_object.rb",
77
- "lib/fog/aws/parsers/s3/get_bucket.rb",
78
- "lib/fog/aws/parsers/s3/get_bucket_location.rb",
79
- "lib/fog/aws/parsers/s3/get_request_payment.rb",
80
- "lib/fog/aws/parsers/s3/get_service.rb",
81
- "lib/fog/aws/parsers/simpledb/basic.rb",
82
- "lib/fog/aws/parsers/simpledb/domain_metadata.rb",
83
- "lib/fog/aws/parsers/simpledb/get_attributes.rb",
84
- "lib/fog/aws/parsers/simpledb/list_domains.rb",
85
- "lib/fog/aws/parsers/simpledb/select.rb",
86
- "lib/fog/aws/requests/ec2/allocate_address.rb",
87
- "lib/fog/aws/requests/ec2/associate_address.rb",
88
- "lib/fog/aws/requests/ec2/attach_volume.rb",
89
- "lib/fog/aws/requests/ec2/authorize_security_group_ingress.rb",
90
- "lib/fog/aws/requests/ec2/create_key_pair.rb",
91
- "lib/fog/aws/requests/ec2/create_security_group.rb",
92
- "lib/fog/aws/requests/ec2/create_snapshot.rb",
93
- "lib/fog/aws/requests/ec2/create_volume.rb",
94
- "lib/fog/aws/requests/ec2/delete_key_pair.rb",
95
- "lib/fog/aws/requests/ec2/delete_security_group.rb",
96
- "lib/fog/aws/requests/ec2/delete_snapshot.rb",
97
- "lib/fog/aws/requests/ec2/delete_volume.rb",
98
- "lib/fog/aws/requests/ec2/describe_addresses.rb",
99
- "lib/fog/aws/requests/ec2/describe_availability_zones.rb",
100
- "lib/fog/aws/requests/ec2/describe_images.rb",
101
- "lib/fog/aws/requests/ec2/describe_instances.rb",
102
- "lib/fog/aws/requests/ec2/describe_key_pairs.rb",
103
- "lib/fog/aws/requests/ec2/describe_regions.rb",
104
- "lib/fog/aws/requests/ec2/describe_reserved_instances.rb",
105
- "lib/fog/aws/requests/ec2/describe_security_groups.rb",
106
- "lib/fog/aws/requests/ec2/describe_snapshots.rb",
107
- "lib/fog/aws/requests/ec2/describe_volumes.rb",
108
- "lib/fog/aws/requests/ec2/detach_volume.rb",
109
- "lib/fog/aws/requests/ec2/disassociate_address.rb",
110
- "lib/fog/aws/requests/ec2/get_console_output.rb",
111
- "lib/fog/aws/requests/ec2/reboot_instances.rb",
112
- "lib/fog/aws/requests/ec2/release_address.rb",
113
- "lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb",
114
- "lib/fog/aws/requests/ec2/run_instances.rb",
115
- "lib/fog/aws/requests/ec2/terminate_instances.rb",
116
- "lib/fog/aws/requests/s3/copy_object.rb",
117
- "lib/fog/aws/requests/s3/delete_bucket.rb",
118
- "lib/fog/aws/requests/s3/delete_object.rb",
119
- "lib/fog/aws/requests/s3/get_bucket.rb",
120
- "lib/fog/aws/requests/s3/get_bucket_location.rb",
121
- "lib/fog/aws/requests/s3/get_object.rb",
122
- "lib/fog/aws/requests/s3/get_request_payment.rb",
123
- "lib/fog/aws/requests/s3/get_service.rb",
124
- "lib/fog/aws/requests/s3/head_object.rb",
125
- "lib/fog/aws/requests/s3/put_bucket.rb",
126
- "lib/fog/aws/requests/s3/put_object.rb",
127
- "lib/fog/aws/requests/s3/put_request_payment.rb",
128
- "lib/fog/aws/requests/simpledb/batch_put_attributes.rb",
129
- "lib/fog/aws/requests/simpledb/create_domain.rb",
130
- "lib/fog/aws/requests/simpledb/delete_attributes.rb",
131
- "lib/fog/aws/requests/simpledb/delete_domain.rb",
132
- "lib/fog/aws/requests/simpledb/domain_metadata.rb",
133
- "lib/fog/aws/requests/simpledb/get_attributes.rb",
134
- "lib/fog/aws/requests/simpledb/list_domains.rb",
135
- "lib/fog/aws/requests/simpledb/put_attributes.rb",
136
- "lib/fog/aws/requests/simpledb/select.rb",
137
- "lib/fog/aws/s3.rb",
138
- "lib/fog/aws/simpledb.rb",
139
- "lib/fog/bin.rb",
140
- "lib/fog/collection.rb",
141
- "lib/fog/connection.rb",
142
- "lib/fog/credentials.rb",
143
- "lib/fog/model.rb",
144
- "lib/fog/parser.rb",
145
- "lib/fog/rackspace.rb",
146
- "lib/fog/rackspace/bin.rb",
147
- "lib/fog/rackspace/files.rb",
148
- "lib/fog/rackspace/models/files/directories.rb",
149
- "lib/fog/rackspace/models/files/directory.rb",
150
- "lib/fog/rackspace/models/files/file.rb",
151
- "lib/fog/rackspace/models/files/files.rb",
152
- "lib/fog/rackspace/models/servers/flavor.rb",
153
- "lib/fog/rackspace/models/servers/flavors.rb",
154
- "lib/fog/rackspace/models/servers/image.rb",
155
- "lib/fog/rackspace/models/servers/images.rb",
156
- "lib/fog/rackspace/models/servers/server.rb",
157
- "lib/fog/rackspace/models/servers/servers.rb",
158
- "lib/fog/rackspace/requests/files/delete_container.rb",
159
- "lib/fog/rackspace/requests/files/delete_object.rb",
160
- "lib/fog/rackspace/requests/files/get_container.rb",
161
- "lib/fog/rackspace/requests/files/get_containers.rb",
162
- "lib/fog/rackspace/requests/files/get_object.rb",
163
- "lib/fog/rackspace/requests/files/head_container.rb",
164
- "lib/fog/rackspace/requests/files/head_containers.rb",
165
- "lib/fog/rackspace/requests/files/head_object.rb",
166
- "lib/fog/rackspace/requests/files/put_container.rb",
167
- "lib/fog/rackspace/requests/files/put_object.rb",
168
- "lib/fog/rackspace/requests/servers/create_image.rb",
169
- "lib/fog/rackspace/requests/servers/create_server.rb",
170
- "lib/fog/rackspace/requests/servers/delete_image.rb",
171
- "lib/fog/rackspace/requests/servers/delete_server.rb",
172
- "lib/fog/rackspace/requests/servers/get_flavor_details.rb",
173
- "lib/fog/rackspace/requests/servers/get_image_details.rb",
174
- "lib/fog/rackspace/requests/servers/get_server_details.rb",
175
- "lib/fog/rackspace/requests/servers/list_addresses.rb",
176
- "lib/fog/rackspace/requests/servers/list_flavors.rb",
177
- "lib/fog/rackspace/requests/servers/list_flavors_detail.rb",
178
- "lib/fog/rackspace/requests/servers/list_images.rb",
179
- "lib/fog/rackspace/requests/servers/list_images_detail.rb",
180
- "lib/fog/rackspace/requests/servers/list_private_addresses.rb",
181
- "lib/fog/rackspace/requests/servers/list_public_addresses.rb",
182
- "lib/fog/rackspace/requests/servers/list_servers.rb",
183
- "lib/fog/rackspace/requests/servers/list_servers_detail.rb",
184
- "lib/fog/rackspace/requests/servers/reboot_server.rb",
185
- "lib/fog/rackspace/requests/servers/update_server.rb",
186
- "lib/fog/rackspace/servers.rb",
187
- "lib/fog/slicehost.rb",
188
- "lib/fog/slicehost/bin.rb",
189
- "lib/fog/slicehost/models/flavor.rb",
190
- "lib/fog/slicehost/models/flavors.rb",
191
- "lib/fog/slicehost/models/image.rb",
192
- "lib/fog/slicehost/models/images.rb",
193
- "lib/fog/slicehost/models/server.rb",
194
- "lib/fog/slicehost/models/servers.rb",
195
- "lib/fog/slicehost/parsers/create_slice.rb",
196
- "lib/fog/slicehost/parsers/get_backups.rb",
197
- "lib/fog/slicehost/parsers/get_flavor.rb",
198
- "lib/fog/slicehost/parsers/get_flavors.rb",
199
- "lib/fog/slicehost/parsers/get_image.rb",
200
- "lib/fog/slicehost/parsers/get_images.rb",
201
- "lib/fog/slicehost/parsers/get_slice.rb",
202
- "lib/fog/slicehost/parsers/get_slices.rb",
203
- "lib/fog/slicehost/requests/create_slice.rb",
204
- "lib/fog/slicehost/requests/delete_slice.rb",
205
- "lib/fog/slicehost/requests/get_backups.rb",
206
- "lib/fog/slicehost/requests/get_flavor.rb",
207
- "lib/fog/slicehost/requests/get_flavors.rb",
208
- "lib/fog/slicehost/requests/get_image.rb",
209
- "lib/fog/slicehost/requests/get_images.rb",
210
- "lib/fog/slicehost/requests/get_slice.rb",
211
- "lib/fog/slicehost/requests/get_slices.rb",
212
- "lib/fog/slicehost/requests/reboot_slice.rb",
213
- "lib/fog/terremark.rb",
214
- "lib/fog/terremark/bin.rb",
215
- "lib/fog/terremark/parsers/get_catalog.rb",
216
- "lib/fog/terremark/parsers/get_catalog_item.rb",
217
- "lib/fog/terremark/parsers/get_organization.rb",
218
- "lib/fog/terremark/parsers/get_organizations.rb",
219
- "lib/fog/terremark/parsers/get_public_Ips.rb",
220
- "lib/fog/terremark/parsers/get_tasks_list.rb",
221
- "lib/fog/terremark/parsers/get_vapp_template.rb",
222
- "lib/fog/terremark/parsers/get_vdc.rb",
223
- "lib/fog/terremark/parsers/instantiate_vapp_template.rb",
224
- "lib/fog/terremark/parsers/internet_service.rb",
225
- "lib/fog/terremark/parsers/node_service.rb",
226
- "lib/fog/terremark/parsers/task.rb",
227
- "lib/fog/terremark/parsers/vapp.rb",
228
- "lib/fog/terremark/requests/add_internet_service.rb",
229
- "lib/fog/terremark/requests/add_node_service.rb",
230
- "lib/fog/terremark/requests/create_internet_service.rb",
231
- "lib/fog/terremark/requests/delete_internet_service.rb",
232
- "lib/fog/terremark/requests/delete_node_service.rb",
233
- "lib/fog/terremark/requests/delete_vapp.rb",
234
- "lib/fog/terremark/requests/deploy_vapp.rb",
235
- "lib/fog/terremark/requests/get_catalog.rb",
236
- "lib/fog/terremark/requests/get_catalog_item.rb",
237
- "lib/fog/terremark/requests/get_organization.rb",
238
- "lib/fog/terremark/requests/get_organizations.rb",
239
- "lib/fog/terremark/requests/get_public_ips.rb",
240
- "lib/fog/terremark/requests/get_task.rb",
241
- "lib/fog/terremark/requests/get_tasks_list.rb",
242
- "lib/fog/terremark/requests/get_vapp.rb",
243
- "lib/fog/terremark/requests/get_vapp_template.rb",
244
- "lib/fog/terremark/requests/get_vdc.rb",
245
- "lib/fog/terremark/requests/instantiate_vapp_template.rb",
246
- "lib/fog/terremark/requests/power_off.rb",
247
- "lib/fog/terremark/requests/power_on.rb",
248
- "lib/fog/terremark/requests/reset.rb",
249
- "lib/fog/terremark/requests/shutdown.rb",
250
- "spec/aws/models/ec2/address_spec.rb",
251
- "spec/aws/models/ec2/addresses_spec.rb",
252
- "spec/aws/models/ec2/flavors_spec.rb",
253
- "spec/aws/models/ec2/key_pair_spec.rb",
254
- "spec/aws/models/ec2/key_pairs_spec.rb",
255
- "spec/aws/models/ec2/security_group_spec.rb",
256
- "spec/aws/models/ec2/security_groups_spec.rb",
257
- "spec/aws/models/ec2/server_spec.rb",
258
- "spec/aws/models/ec2/servers_spec.rb",
259
- "spec/aws/models/ec2/snapshot_spec.rb",
260
- "spec/aws/models/ec2/snapshots_spec.rb",
261
- "spec/aws/models/ec2/volume_spec.rb",
262
- "spec/aws/models/ec2/volumes_spec.rb",
263
- "spec/aws/models/s3/directories_spec.rb",
264
- "spec/aws/models/s3/directory_spec.rb",
265
- "spec/aws/models/s3/file_spec.rb",
266
- "spec/aws/models/s3/files_spec.rb",
267
- "spec/aws/requests/ec2/allocate_address_spec.rb",
268
- "spec/aws/requests/ec2/associate_address_spec.rb",
269
- "spec/aws/requests/ec2/attach_volume_spec.rb",
270
- "spec/aws/requests/ec2/authorize_security_group_ingress_spec.rb",
271
- "spec/aws/requests/ec2/create_key_pair_spec.rb",
272
- "spec/aws/requests/ec2/create_security_group_spec.rb",
273
- "spec/aws/requests/ec2/create_snapshot_spec.rb",
274
- "spec/aws/requests/ec2/create_volume_spec.rb",
275
- "spec/aws/requests/ec2/delete_key_pair_spec.rb",
276
- "spec/aws/requests/ec2/delete_security_group_spec.rb",
277
- "spec/aws/requests/ec2/delete_snapshot_spec.rb",
278
- "spec/aws/requests/ec2/delete_volume_spec.rb",
279
- "spec/aws/requests/ec2/describe_addresses_spec.rb",
280
- "spec/aws/requests/ec2/describe_availability_zones_spec.rb",
281
- "spec/aws/requests/ec2/describe_images_spec.rb",
282
- "spec/aws/requests/ec2/describe_instances_spec.rb",
283
- "spec/aws/requests/ec2/describe_key_pairs_spec.rb",
284
- "spec/aws/requests/ec2/describe_regions_spec.rb",
285
- "spec/aws/requests/ec2/describe_security_groups_spec.rb",
286
- "spec/aws/requests/ec2/describe_snapshots_spec.rb",
287
- "spec/aws/requests/ec2/describe_volumes_spec.rb",
288
- "spec/aws/requests/ec2/detach_volume_spec.rb",
289
- "spec/aws/requests/ec2/disassociate_address_spec.rb",
290
- "spec/aws/requests/ec2/get_console_output_spec.rb",
291
- "spec/aws/requests/ec2/reboot_instances_spec.rb",
292
- "spec/aws/requests/ec2/release_address_spec.rb",
293
- "spec/aws/requests/ec2/revoke_security_group_ingress_spec.rb",
294
- "spec/aws/requests/ec2/run_instances_spec.rb",
295
- "spec/aws/requests/ec2/terminate_instances_spec.rb",
296
- "spec/aws/requests/s3/copy_object_spec.rb",
297
- "spec/aws/requests/s3/delete_bucket_spec.rb",
298
- "spec/aws/requests/s3/delete_object_spec.rb",
299
- "spec/aws/requests/s3/get_bucket_location_spec.rb",
300
- "spec/aws/requests/s3/get_bucket_spec.rb",
301
- "spec/aws/requests/s3/get_object_spec.rb",
302
- "spec/aws/requests/s3/get_request_payment_spec.rb",
303
- "spec/aws/requests/s3/get_service_spec.rb",
304
- "spec/aws/requests/s3/head_object_spec.rb",
305
- "spec/aws/requests/s3/put_bucket_spec.rb",
306
- "spec/aws/requests/s3/put_object_spec.rb",
307
- "spec/aws/requests/s3/put_request_payment_spec.rb",
308
- "spec/aws/requests/simpledb/batch_put_attributes_spec.rb",
309
- "spec/aws/requests/simpledb/create_domain_spec.rb",
310
- "spec/aws/requests/simpledb/delete_attributes_spec.rb",
311
- "spec/aws/requests/simpledb/delete_domain_spec.rb",
312
- "spec/aws/requests/simpledb/domain_metadata_spec.rb",
313
- "spec/aws/requests/simpledb/get_attributes_spec.rb",
314
- "spec/aws/requests/simpledb/list_domains_spec.rb",
315
- "spec/aws/requests/simpledb/put_attributes_spec.rb",
316
- "spec/aws/requests/simpledb/select_spec.rb",
317
- "spec/compact_progress_bar_formatter.rb",
318
- "spec/lorem.txt",
319
- "spec/rackspace/models/servers/flavors_spec.rb",
320
- "spec/rackspace/models/servers/server_spec.rb",
321
- "spec/rackspace/models/servers/servers_spec.rb",
322
- "spec/rackspace/requests/files/delete_container_spec.rb",
323
- "spec/rackspace/requests/files/delete_object_spec.rb",
324
- "spec/rackspace/requests/files/get_container_spec.rb",
325
- "spec/rackspace/requests/files/get_containers_spec.rb",
326
- "spec/rackspace/requests/files/get_object_spec.rb",
327
- "spec/rackspace/requests/files/head_container_spec.rb",
328
- "spec/rackspace/requests/files/head_containers_spec.rb",
329
- "spec/rackspace/requests/files/head_object_spec.rb",
330
- "spec/rackspace/requests/files/put_container_spec.rb",
331
- "spec/rackspace/requests/files/put_object_spec.rb",
332
- "spec/shared_examples/flavors_examples.rb",
333
- "spec/shared_examples/server_examples.rb",
334
- "spec/shared_examples/servers_examples.rb",
335
- "spec/slicehost/models/flavors_spec.rb",
336
- "spec/slicehost/models/server_spec.rb",
337
- "spec/slicehost/models/servers_spec.rb",
338
- "spec/spec_helper.rb",
339
- "tests/helper.rb",
340
- "tests/helper_tests.rb",
341
- "tests/rackspace/helper.rb",
342
- "tests/rackspace/requests/servers/create_image_tests.rb",
343
- "tests/rackspace/requests/servers/create_server_tests.rb",
344
- "tests/rackspace/requests/servers/delete_image_tests.rb",
345
- "tests/rackspace/requests/servers/delete_server_tests.rb",
346
- "tests/rackspace/requests/servers/get_flavor_details_tests.rb",
347
- "tests/rackspace/requests/servers/get_image_details_tests.rb",
348
- "tests/rackspace/requests/servers/get_server_details_tests.rb",
349
- "tests/rackspace/requests/servers/list_addresses_tests.rb",
350
- "tests/rackspace/requests/servers/list_flavors_detail_tests.rb",
351
- "tests/rackspace/requests/servers/list_flavors_tests.rb",
352
- "tests/rackspace/requests/servers/list_images_detail_tests.rb",
353
- "tests/rackspace/requests/servers/list_images_tests.rb",
354
- "tests/rackspace/requests/servers/list_private_addresses_tests.rb",
355
- "tests/rackspace/requests/servers/list_public_addresses_tests.rb",
356
- "tests/rackspace/requests/servers/list_servers_detail_tests.rb",
357
- "tests/rackspace/requests/servers/list_servers_tests.rb",
358
- "tests/rackspace/requests/servers/reboot_server_tests.rb",
359
- "tests/rackspace/requests/servers/update_server_tests.rb",
360
- "tests/slicehost/helper.rb",
361
- "tests/slicehost/requests/create_slice_tests.rb",
362
- "tests/slicehost/requests/delete_slice_tests.rb",
363
- "tests/slicehost/requests/get_backups_tests.rb",
364
- "tests/slicehost/requests/get_flavor_tests.rb",
365
- "tests/slicehost/requests/get_flavors_tests.rb",
366
- "tests/slicehost/requests/get_image_tests.rb",
367
- "tests/slicehost/requests/get_images_tests.rb",
368
- "tests/slicehost/requests/get_slice_tests.rb",
369
- "tests/slicehost/requests/get_slices_tests.rb",
370
- "tests/slicehost/requests/reboot_slice_tests.rb"
371
- ]
372
- s.homepage = %q{http://github.com/geemus/fog}
36
+ s.default_executable = 'fog'
37
+
38
+ ## Specify any RDoc options here. You'll want to add your README and
39
+ ## LICENSE files to the extra_rdoc_files list.
373
40
  s.rdoc_options = ["--charset=UTF-8"]
374
- s.require_paths = ["lib"]
375
- s.rubyforge_project = %q{fog}
376
- s.rubygems_version = %q{1.3.6}
377
- s.summary = %q{brings clouds to you}
378
- s.test_files = [
379
- "spec/aws/models/ec2/address_spec.rb",
380
- "spec/aws/models/ec2/addresses_spec.rb",
381
- "spec/aws/models/ec2/flavors_spec.rb",
382
- "spec/aws/models/ec2/key_pair_spec.rb",
383
- "spec/aws/models/ec2/key_pairs_spec.rb",
384
- "spec/aws/models/ec2/security_group_spec.rb",
385
- "spec/aws/models/ec2/security_groups_spec.rb",
386
- "spec/aws/models/ec2/server_spec.rb",
387
- "spec/aws/models/ec2/servers_spec.rb",
388
- "spec/aws/models/ec2/snapshot_spec.rb",
389
- "spec/aws/models/ec2/snapshots_spec.rb",
390
- "spec/aws/models/ec2/volume_spec.rb",
391
- "spec/aws/models/ec2/volumes_spec.rb",
392
- "spec/aws/models/s3/directories_spec.rb",
393
- "spec/aws/models/s3/directory_spec.rb",
394
- "spec/aws/models/s3/file_spec.rb",
395
- "spec/aws/models/s3/files_spec.rb",
396
- "spec/aws/requests/ec2/allocate_address_spec.rb",
397
- "spec/aws/requests/ec2/associate_address_spec.rb",
398
- "spec/aws/requests/ec2/attach_volume_spec.rb",
399
- "spec/aws/requests/ec2/authorize_security_group_ingress_spec.rb",
400
- "spec/aws/requests/ec2/create_key_pair_spec.rb",
401
- "spec/aws/requests/ec2/create_security_group_spec.rb",
402
- "spec/aws/requests/ec2/create_snapshot_spec.rb",
403
- "spec/aws/requests/ec2/create_volume_spec.rb",
404
- "spec/aws/requests/ec2/delete_key_pair_spec.rb",
405
- "spec/aws/requests/ec2/delete_security_group_spec.rb",
406
- "spec/aws/requests/ec2/delete_snapshot_spec.rb",
407
- "spec/aws/requests/ec2/delete_volume_spec.rb",
408
- "spec/aws/requests/ec2/describe_addresses_spec.rb",
409
- "spec/aws/requests/ec2/describe_availability_zones_spec.rb",
410
- "spec/aws/requests/ec2/describe_images_spec.rb",
411
- "spec/aws/requests/ec2/describe_instances_spec.rb",
412
- "spec/aws/requests/ec2/describe_key_pairs_spec.rb",
413
- "spec/aws/requests/ec2/describe_regions_spec.rb",
414
- "spec/aws/requests/ec2/describe_security_groups_spec.rb",
415
- "spec/aws/requests/ec2/describe_snapshots_spec.rb",
416
- "spec/aws/requests/ec2/describe_volumes_spec.rb",
417
- "spec/aws/requests/ec2/detach_volume_spec.rb",
418
- "spec/aws/requests/ec2/disassociate_address_spec.rb",
419
- "spec/aws/requests/ec2/get_console_output_spec.rb",
420
- "spec/aws/requests/ec2/reboot_instances_spec.rb",
421
- "spec/aws/requests/ec2/release_address_spec.rb",
422
- "spec/aws/requests/ec2/revoke_security_group_ingress_spec.rb",
423
- "spec/aws/requests/ec2/run_instances_spec.rb",
424
- "spec/aws/requests/ec2/terminate_instances_spec.rb",
425
- "spec/aws/requests/s3/copy_object_spec.rb",
426
- "spec/aws/requests/s3/delete_bucket_spec.rb",
427
- "spec/aws/requests/s3/delete_object_spec.rb",
428
- "spec/aws/requests/s3/get_bucket_location_spec.rb",
429
- "spec/aws/requests/s3/get_bucket_spec.rb",
430
- "spec/aws/requests/s3/get_object_spec.rb",
431
- "spec/aws/requests/s3/get_request_payment_spec.rb",
432
- "spec/aws/requests/s3/get_service_spec.rb",
433
- "spec/aws/requests/s3/head_object_spec.rb",
434
- "spec/aws/requests/s3/put_bucket_spec.rb",
435
- "spec/aws/requests/s3/put_object_spec.rb",
436
- "spec/aws/requests/s3/put_request_payment_spec.rb",
437
- "spec/aws/requests/simpledb/batch_put_attributes_spec.rb",
438
- "spec/aws/requests/simpledb/create_domain_spec.rb",
439
- "spec/aws/requests/simpledb/delete_attributes_spec.rb",
440
- "spec/aws/requests/simpledb/delete_domain_spec.rb",
441
- "spec/aws/requests/simpledb/domain_metadata_spec.rb",
442
- "spec/aws/requests/simpledb/get_attributes_spec.rb",
443
- "spec/aws/requests/simpledb/list_domains_spec.rb",
444
- "spec/aws/requests/simpledb/put_attributes_spec.rb",
445
- "spec/aws/requests/simpledb/select_spec.rb",
446
- "spec/compact_progress_bar_formatter.rb",
447
- "spec/rackspace/models/servers/flavors_spec.rb",
448
- "spec/rackspace/models/servers/server_spec.rb",
449
- "spec/rackspace/models/servers/servers_spec.rb",
450
- "spec/rackspace/requests/files/delete_container_spec.rb",
451
- "spec/rackspace/requests/files/delete_object_spec.rb",
452
- "spec/rackspace/requests/files/get_container_spec.rb",
453
- "spec/rackspace/requests/files/get_containers_spec.rb",
454
- "spec/rackspace/requests/files/get_object_spec.rb",
455
- "spec/rackspace/requests/files/head_container_spec.rb",
456
- "spec/rackspace/requests/files/head_containers_spec.rb",
457
- "spec/rackspace/requests/files/head_object_spec.rb",
458
- "spec/rackspace/requests/files/put_container_spec.rb",
459
- "spec/rackspace/requests/files/put_object_spec.rb",
460
- "spec/shared_examples/flavors_examples.rb",
461
- "spec/shared_examples/server_examples.rb",
462
- "spec/shared_examples/servers_examples.rb",
463
- "spec/slicehost/models/flavors_spec.rb",
464
- "spec/slicehost/models/server_spec.rb",
465
- "spec/slicehost/models/servers_spec.rb",
466
- "spec/spec_helper.rb"
467
- ]
41
+ s.extra_rdoc_files = %w[README.rdoc]
468
42
 
469
- if s.respond_to? :specification_version then
470
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
471
- s.specification_version = 3
43
+ ## List your runtime dependencies here. Runtime dependencies are those
44
+ ## that are needed for an end user to actually USE your code.
45
+ s.add_dependency('excon', '>=0.0.21')
46
+ s.add_dependency('formatador', '>=0.0.10')
47
+ s.add_dependency('json')
48
+ s.add_dependency('mime-types')
49
+ s.add_dependency('net-ssh')
50
+ s.add_dependency('nokogiri')
51
+ s.add_dependency('ruby-hmac')
472
52
 
473
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
474
- s.add_runtime_dependency(%q<excon>, [">= 0.0.21"])
475
- s.add_runtime_dependency(%q<formatador>, [">= 0.0.10"])
476
- s.add_runtime_dependency(%q<json>, [">= 0"])
477
- s.add_runtime_dependency(%q<mime-types>, [">= 0"])
478
- s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
479
- s.add_runtime_dependency(%q<ruby-hmac>, [">= 0"])
480
- else
481
- s.add_dependency(%q<excon>, [">= 0.0.21"])
482
- s.add_dependency(%q<formatador>, [">= 0.0.10"])
483
- s.add_dependency(%q<json>, [">= 0"])
484
- s.add_dependency(%q<mime-types>, [">= 0"])
485
- s.add_dependency(%q<nokogiri>, [">= 0"])
486
- s.add_dependency(%q<ruby-hmac>, [">= 0"])
487
- end
488
- else
489
- s.add_dependency(%q<excon>, [">= 0.0.21"])
490
- s.add_dependency(%q<formatador>, [">= 0.0.10"])
491
- s.add_dependency(%q<json>, [">= 0"])
492
- s.add_dependency(%q<mime-types>, [">= 0"])
493
- s.add_dependency(%q<nokogiri>, [">= 0"])
494
- s.add_dependency(%q<ruby-hmac>, [">= 0"])
495
- end
496
- end
53
+ ## List your development dependencies here. Development dependencies are
54
+ ## those that are only needed during development
55
+ s.add_development_dependency('rspec')
56
+ s.add_development_dependency('shindo')
57
+
58
+ ## Leave this section as-is. It will be automatically generated from the
59
+ ## contents of your Git repository via the gemspec task. DO NOT REMOVE
60
+ ## THE MANIFEST COMMENTS, they are used as delimiters by the task.
61
+ # = MANIFEST =
62
+ s.files = %w[
63
+ Gemfile
64
+ Gemfile.lock
65
+ README.rdoc
66
+ Rakefile
67
+ benchs/fog_vs.rb
68
+ benchs/params.rb
69
+ benchs/parse_vs_push.rb
70
+ bin/fog
71
+ fog.gemspec
72
+ lib/fog.rb
73
+ lib/fog/aws.rb
74
+ lib/fog/aws/bin.rb
75
+ lib/fog/aws/ec2.rb
76
+ lib/fog/aws/models/ec2/address.rb
77
+ lib/fog/aws/models/ec2/addresses.rb
78
+ lib/fog/aws/models/ec2/flavor.rb
79
+ lib/fog/aws/models/ec2/flavors.rb
80
+ lib/fog/aws/models/ec2/image.rb
81
+ lib/fog/aws/models/ec2/images.rb
82
+ lib/fog/aws/models/ec2/key_pair.rb
83
+ lib/fog/aws/models/ec2/key_pairs.rb
84
+ lib/fog/aws/models/ec2/security_group.rb
85
+ lib/fog/aws/models/ec2/security_groups.rb
86
+ lib/fog/aws/models/ec2/server.rb
87
+ lib/fog/aws/models/ec2/servers.rb
88
+ lib/fog/aws/models/ec2/snapshot.rb
89
+ lib/fog/aws/models/ec2/snapshots.rb
90
+ lib/fog/aws/models/ec2/volume.rb
91
+ lib/fog/aws/models/ec2/volumes.rb
92
+ lib/fog/aws/models/s3/directories.rb
93
+ lib/fog/aws/models/s3/directory.rb
94
+ lib/fog/aws/models/s3/file.rb
95
+ lib/fog/aws/models/s3/files.rb
96
+ lib/fog/aws/parsers/ec2/allocate_address.rb
97
+ lib/fog/aws/parsers/ec2/attach_volume.rb
98
+ lib/fog/aws/parsers/ec2/basic.rb
99
+ lib/fog/aws/parsers/ec2/create_key_pair.rb
100
+ lib/fog/aws/parsers/ec2/create_snapshot.rb
101
+ lib/fog/aws/parsers/ec2/create_volume.rb
102
+ lib/fog/aws/parsers/ec2/describe_addresses.rb
103
+ lib/fog/aws/parsers/ec2/describe_availability_zones.rb
104
+ lib/fog/aws/parsers/ec2/describe_images.rb
105
+ lib/fog/aws/parsers/ec2/describe_instances.rb
106
+ lib/fog/aws/parsers/ec2/describe_key_pairs.rb
107
+ lib/fog/aws/parsers/ec2/describe_regions.rb
108
+ lib/fog/aws/parsers/ec2/describe_reserved_instances.rb
109
+ lib/fog/aws/parsers/ec2/describe_security_groups.rb
110
+ lib/fog/aws/parsers/ec2/describe_snapshots.rb
111
+ lib/fog/aws/parsers/ec2/describe_volumes.rb
112
+ lib/fog/aws/parsers/ec2/detach_volume.rb
113
+ lib/fog/aws/parsers/ec2/get_console_output.rb
114
+ lib/fog/aws/parsers/ec2/run_instances.rb
115
+ lib/fog/aws/parsers/ec2/terminate_instances.rb
116
+ lib/fog/aws/parsers/s3/copy_object.rb
117
+ lib/fog/aws/parsers/s3/get_bucket.rb
118
+ lib/fog/aws/parsers/s3/get_bucket_location.rb
119
+ lib/fog/aws/parsers/s3/get_request_payment.rb
120
+ lib/fog/aws/parsers/s3/get_service.rb
121
+ lib/fog/aws/parsers/simpledb/basic.rb
122
+ lib/fog/aws/parsers/simpledb/domain_metadata.rb
123
+ lib/fog/aws/parsers/simpledb/get_attributes.rb
124
+ lib/fog/aws/parsers/simpledb/list_domains.rb
125
+ lib/fog/aws/parsers/simpledb/select.rb
126
+ lib/fog/aws/requests/ec2/allocate_address.rb
127
+ lib/fog/aws/requests/ec2/associate_address.rb
128
+ lib/fog/aws/requests/ec2/attach_volume.rb
129
+ lib/fog/aws/requests/ec2/authorize_security_group_ingress.rb
130
+ lib/fog/aws/requests/ec2/create_key_pair.rb
131
+ lib/fog/aws/requests/ec2/create_security_group.rb
132
+ lib/fog/aws/requests/ec2/create_snapshot.rb
133
+ lib/fog/aws/requests/ec2/create_volume.rb
134
+ lib/fog/aws/requests/ec2/delete_key_pair.rb
135
+ lib/fog/aws/requests/ec2/delete_security_group.rb
136
+ lib/fog/aws/requests/ec2/delete_snapshot.rb
137
+ lib/fog/aws/requests/ec2/delete_volume.rb
138
+ lib/fog/aws/requests/ec2/describe_addresses.rb
139
+ lib/fog/aws/requests/ec2/describe_availability_zones.rb
140
+ lib/fog/aws/requests/ec2/describe_images.rb
141
+ lib/fog/aws/requests/ec2/describe_instances.rb
142
+ lib/fog/aws/requests/ec2/describe_key_pairs.rb
143
+ lib/fog/aws/requests/ec2/describe_regions.rb
144
+ lib/fog/aws/requests/ec2/describe_reserved_instances.rb
145
+ lib/fog/aws/requests/ec2/describe_security_groups.rb
146
+ lib/fog/aws/requests/ec2/describe_snapshots.rb
147
+ lib/fog/aws/requests/ec2/describe_volumes.rb
148
+ lib/fog/aws/requests/ec2/detach_volume.rb
149
+ lib/fog/aws/requests/ec2/disassociate_address.rb
150
+ lib/fog/aws/requests/ec2/get_console_output.rb
151
+ lib/fog/aws/requests/ec2/reboot_instances.rb
152
+ lib/fog/aws/requests/ec2/release_address.rb
153
+ lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb
154
+ lib/fog/aws/requests/ec2/run_instances.rb
155
+ lib/fog/aws/requests/ec2/terminate_instances.rb
156
+ lib/fog/aws/requests/s3/copy_object.rb
157
+ lib/fog/aws/requests/s3/delete_bucket.rb
158
+ lib/fog/aws/requests/s3/delete_object.rb
159
+ lib/fog/aws/requests/s3/get_bucket.rb
160
+ lib/fog/aws/requests/s3/get_bucket_location.rb
161
+ lib/fog/aws/requests/s3/get_object.rb
162
+ lib/fog/aws/requests/s3/get_request_payment.rb
163
+ lib/fog/aws/requests/s3/get_service.rb
164
+ lib/fog/aws/requests/s3/head_object.rb
165
+ lib/fog/aws/requests/s3/put_bucket.rb
166
+ lib/fog/aws/requests/s3/put_object.rb
167
+ lib/fog/aws/requests/s3/put_request_payment.rb
168
+ lib/fog/aws/requests/simpledb/batch_put_attributes.rb
169
+ lib/fog/aws/requests/simpledb/create_domain.rb
170
+ lib/fog/aws/requests/simpledb/delete_attributes.rb
171
+ lib/fog/aws/requests/simpledb/delete_domain.rb
172
+ lib/fog/aws/requests/simpledb/domain_metadata.rb
173
+ lib/fog/aws/requests/simpledb/get_attributes.rb
174
+ lib/fog/aws/requests/simpledb/list_domains.rb
175
+ lib/fog/aws/requests/simpledb/put_attributes.rb
176
+ lib/fog/aws/requests/simpledb/select.rb
177
+ lib/fog/aws/s3.rb
178
+ lib/fog/aws/simpledb.rb
179
+ lib/fog/bin.rb
180
+ lib/fog/collection.rb
181
+ lib/fog/connection.rb
182
+ lib/fog/credentials.rb
183
+ lib/fog/model.rb
184
+ lib/fog/parser.rb
185
+ lib/fog/rackspace.rb
186
+ lib/fog/rackspace/bin.rb
187
+ lib/fog/rackspace/files.rb
188
+ lib/fog/rackspace/models/files/directories.rb
189
+ lib/fog/rackspace/models/files/directory.rb
190
+ lib/fog/rackspace/models/files/file.rb
191
+ lib/fog/rackspace/models/files/files.rb
192
+ lib/fog/rackspace/models/servers/flavor.rb
193
+ lib/fog/rackspace/models/servers/flavors.rb
194
+ lib/fog/rackspace/models/servers/image.rb
195
+ lib/fog/rackspace/models/servers/images.rb
196
+ lib/fog/rackspace/models/servers/server.rb
197
+ lib/fog/rackspace/models/servers/servers.rb
198
+ lib/fog/rackspace/requests/files/delete_container.rb
199
+ lib/fog/rackspace/requests/files/delete_object.rb
200
+ lib/fog/rackspace/requests/files/get_container.rb
201
+ lib/fog/rackspace/requests/files/get_containers.rb
202
+ lib/fog/rackspace/requests/files/get_object.rb
203
+ lib/fog/rackspace/requests/files/head_container.rb
204
+ lib/fog/rackspace/requests/files/head_containers.rb
205
+ lib/fog/rackspace/requests/files/head_object.rb
206
+ lib/fog/rackspace/requests/files/put_container.rb
207
+ lib/fog/rackspace/requests/files/put_object.rb
208
+ lib/fog/rackspace/requests/servers/create_image.rb
209
+ lib/fog/rackspace/requests/servers/create_server.rb
210
+ lib/fog/rackspace/requests/servers/delete_image.rb
211
+ lib/fog/rackspace/requests/servers/delete_server.rb
212
+ lib/fog/rackspace/requests/servers/get_flavor_details.rb
213
+ lib/fog/rackspace/requests/servers/get_image_details.rb
214
+ lib/fog/rackspace/requests/servers/get_server_details.rb
215
+ lib/fog/rackspace/requests/servers/list_addresses.rb
216
+ lib/fog/rackspace/requests/servers/list_flavors.rb
217
+ lib/fog/rackspace/requests/servers/list_flavors_detail.rb
218
+ lib/fog/rackspace/requests/servers/list_images.rb
219
+ lib/fog/rackspace/requests/servers/list_images_detail.rb
220
+ lib/fog/rackspace/requests/servers/list_private_addresses.rb
221
+ lib/fog/rackspace/requests/servers/list_public_addresses.rb
222
+ lib/fog/rackspace/requests/servers/list_servers.rb
223
+ lib/fog/rackspace/requests/servers/list_servers_detail.rb
224
+ lib/fog/rackspace/requests/servers/reboot_server.rb
225
+ lib/fog/rackspace/requests/servers/update_server.rb
226
+ lib/fog/rackspace/servers.rb
227
+ lib/fog/slicehost.rb
228
+ lib/fog/slicehost/bin.rb
229
+ lib/fog/slicehost/models/flavor.rb
230
+ lib/fog/slicehost/models/flavors.rb
231
+ lib/fog/slicehost/models/image.rb
232
+ lib/fog/slicehost/models/images.rb
233
+ lib/fog/slicehost/models/server.rb
234
+ lib/fog/slicehost/models/servers.rb
235
+ lib/fog/slicehost/parsers/create_slice.rb
236
+ lib/fog/slicehost/parsers/get_backups.rb
237
+ lib/fog/slicehost/parsers/get_flavor.rb
238
+ lib/fog/slicehost/parsers/get_flavors.rb
239
+ lib/fog/slicehost/parsers/get_image.rb
240
+ lib/fog/slicehost/parsers/get_images.rb
241
+ lib/fog/slicehost/parsers/get_slice.rb
242
+ lib/fog/slicehost/parsers/get_slices.rb
243
+ lib/fog/slicehost/requests/create_slice.rb
244
+ lib/fog/slicehost/requests/delete_slice.rb
245
+ lib/fog/slicehost/requests/get_backups.rb
246
+ lib/fog/slicehost/requests/get_flavor.rb
247
+ lib/fog/slicehost/requests/get_flavors.rb
248
+ lib/fog/slicehost/requests/get_image.rb
249
+ lib/fog/slicehost/requests/get_images.rb
250
+ lib/fog/slicehost/requests/get_slice.rb
251
+ lib/fog/slicehost/requests/get_slices.rb
252
+ lib/fog/slicehost/requests/reboot_slice.rb
253
+ lib/fog/ssh.rb
254
+ lib/fog/terremark.rb
255
+ lib/fog/terremark/bin.rb
256
+ lib/fog/terremark/models/server.rb
257
+ lib/fog/terremark/models/servers.rb
258
+ lib/fog/terremark/models/task.rb
259
+ lib/fog/terremark/models/tasks.rb
260
+ lib/fog/terremark/parsers/get_catalog.rb
261
+ lib/fog/terremark/parsers/get_catalog_item.rb
262
+ lib/fog/terremark/parsers/get_internet_services.rb
263
+ lib/fog/terremark/parsers/get_node_services.rb
264
+ lib/fog/terremark/parsers/get_organization.rb
265
+ lib/fog/terremark/parsers/get_organizations.rb
266
+ lib/fog/terremark/parsers/get_public_ips.rb
267
+ lib/fog/terremark/parsers/get_tasks_list.rb
268
+ lib/fog/terremark/parsers/get_vapp_template.rb
269
+ lib/fog/terremark/parsers/get_vdc.rb
270
+ lib/fog/terremark/parsers/instantiate_vapp_template.rb
271
+ lib/fog/terremark/parsers/internet_service.rb
272
+ lib/fog/terremark/parsers/node_service.rb
273
+ lib/fog/terremark/parsers/public_ip.rb
274
+ lib/fog/terremark/parsers/task.rb
275
+ lib/fog/terremark/parsers/vapp.rb
276
+ lib/fog/terremark/requests/add_internet_service.rb
277
+ lib/fog/terremark/requests/add_node_service.rb
278
+ lib/fog/terremark/requests/create_internet_service.rb
279
+ lib/fog/terremark/requests/delete_internet_service.rb
280
+ lib/fog/terremark/requests/delete_node_service.rb
281
+ lib/fog/terremark/requests/delete_vapp.rb
282
+ lib/fog/terremark/requests/deploy_vapp.rb
283
+ lib/fog/terremark/requests/get_catalog.rb
284
+ lib/fog/terremark/requests/get_catalog_item.rb
285
+ lib/fog/terremark/requests/get_internet_services.rb
286
+ lib/fog/terremark/requests/get_node_services.rb
287
+ lib/fog/terremark/requests/get_organization.rb
288
+ lib/fog/terremark/requests/get_organizations.rb
289
+ lib/fog/terremark/requests/get_public_ip.rb
290
+ lib/fog/terremark/requests/get_public_ips.rb
291
+ lib/fog/terremark/requests/get_task.rb
292
+ lib/fog/terremark/requests/get_tasks_list.rb
293
+ lib/fog/terremark/requests/get_vapp.rb
294
+ lib/fog/terremark/requests/get_vapp_template.rb
295
+ lib/fog/terremark/requests/get_vdc.rb
296
+ lib/fog/terremark/requests/instantiate_vapp_template.rb
297
+ lib/fog/terremark/requests/power_off.rb
298
+ lib/fog/terremark/requests/power_on.rb
299
+ lib/fog/terremark/requests/reset.rb
300
+ lib/fog/terremark/requests/shutdown.rb
301
+ spec/aws/models/ec2/address_spec.rb
302
+ spec/aws/models/ec2/addresses_spec.rb
303
+ spec/aws/models/ec2/flavors_spec.rb
304
+ spec/aws/models/ec2/key_pair_spec.rb
305
+ spec/aws/models/ec2/key_pairs_spec.rb
306
+ spec/aws/models/ec2/security_group_spec.rb
307
+ spec/aws/models/ec2/security_groups_spec.rb
308
+ spec/aws/models/ec2/server_spec.rb
309
+ spec/aws/models/ec2/servers_spec.rb
310
+ spec/aws/models/ec2/snapshot_spec.rb
311
+ spec/aws/models/ec2/snapshots_spec.rb
312
+ spec/aws/models/ec2/volume_spec.rb
313
+ spec/aws/models/ec2/volumes_spec.rb
314
+ spec/aws/models/s3/directories_spec.rb
315
+ spec/aws/models/s3/directory_spec.rb
316
+ spec/aws/models/s3/file_spec.rb
317
+ spec/aws/models/s3/files_spec.rb
318
+ spec/aws/requests/ec2/allocate_address_spec.rb
319
+ spec/aws/requests/ec2/associate_address_spec.rb
320
+ spec/aws/requests/ec2/attach_volume_spec.rb
321
+ spec/aws/requests/ec2/authorize_security_group_ingress_spec.rb
322
+ spec/aws/requests/ec2/create_key_pair_spec.rb
323
+ spec/aws/requests/ec2/create_security_group_spec.rb
324
+ spec/aws/requests/ec2/create_snapshot_spec.rb
325
+ spec/aws/requests/ec2/create_volume_spec.rb
326
+ spec/aws/requests/ec2/delete_key_pair_spec.rb
327
+ spec/aws/requests/ec2/delete_security_group_spec.rb
328
+ spec/aws/requests/ec2/delete_snapshot_spec.rb
329
+ spec/aws/requests/ec2/delete_volume_spec.rb
330
+ spec/aws/requests/ec2/describe_addresses_spec.rb
331
+ spec/aws/requests/ec2/describe_availability_zones_spec.rb
332
+ spec/aws/requests/ec2/describe_images_spec.rb
333
+ spec/aws/requests/ec2/describe_instances_spec.rb
334
+ spec/aws/requests/ec2/describe_key_pairs_spec.rb
335
+ spec/aws/requests/ec2/describe_regions_spec.rb
336
+ spec/aws/requests/ec2/describe_security_groups_spec.rb
337
+ spec/aws/requests/ec2/describe_snapshots_spec.rb
338
+ spec/aws/requests/ec2/describe_volumes_spec.rb
339
+ spec/aws/requests/ec2/detach_volume_spec.rb
340
+ spec/aws/requests/ec2/disassociate_address_spec.rb
341
+ spec/aws/requests/ec2/get_console_output_spec.rb
342
+ spec/aws/requests/ec2/reboot_instances_spec.rb
343
+ spec/aws/requests/ec2/release_address_spec.rb
344
+ spec/aws/requests/ec2/revoke_security_group_ingress_spec.rb
345
+ spec/aws/requests/ec2/run_instances_spec.rb
346
+ spec/aws/requests/ec2/terminate_instances_spec.rb
347
+ spec/aws/requests/s3/copy_object_spec.rb
348
+ spec/aws/requests/s3/delete_bucket_spec.rb
349
+ spec/aws/requests/s3/delete_object_spec.rb
350
+ spec/aws/requests/s3/get_bucket_location_spec.rb
351
+ spec/aws/requests/s3/get_bucket_spec.rb
352
+ spec/aws/requests/s3/get_object_spec.rb
353
+ spec/aws/requests/s3/get_request_payment_spec.rb
354
+ spec/aws/requests/s3/get_service_spec.rb
355
+ spec/aws/requests/s3/head_object_spec.rb
356
+ spec/aws/requests/s3/put_bucket_spec.rb
357
+ spec/aws/requests/s3/put_object_spec.rb
358
+ spec/aws/requests/s3/put_request_payment_spec.rb
359
+ spec/aws/requests/simpledb/batch_put_attributes_spec.rb
360
+ spec/aws/requests/simpledb/create_domain_spec.rb
361
+ spec/aws/requests/simpledb/delete_attributes_spec.rb
362
+ spec/aws/requests/simpledb/delete_domain_spec.rb
363
+ spec/aws/requests/simpledb/domain_metadata_spec.rb
364
+ spec/aws/requests/simpledb/get_attributes_spec.rb
365
+ spec/aws/requests/simpledb/list_domains_spec.rb
366
+ spec/aws/requests/simpledb/put_attributes_spec.rb
367
+ spec/aws/requests/simpledb/select_spec.rb
368
+ spec/compact_progress_bar_formatter.rb
369
+ spec/lorem.txt
370
+ spec/rackspace/models/servers/flavors_spec.rb
371
+ spec/rackspace/models/servers/server_spec.rb
372
+ spec/rackspace/models/servers/servers_spec.rb
373
+ spec/rackspace/requests/files/delete_container_spec.rb
374
+ spec/rackspace/requests/files/delete_object_spec.rb
375
+ spec/rackspace/requests/files/get_container_spec.rb
376
+ spec/rackspace/requests/files/get_containers_spec.rb
377
+ spec/rackspace/requests/files/get_object_spec.rb
378
+ spec/rackspace/requests/files/head_container_spec.rb
379
+ spec/rackspace/requests/files/head_containers_spec.rb
380
+ spec/rackspace/requests/files/head_object_spec.rb
381
+ spec/rackspace/requests/files/put_container_spec.rb
382
+ spec/rackspace/requests/files/put_object_spec.rb
383
+ spec/shared_examples/flavors_examples.rb
384
+ spec/shared_examples/server_examples.rb
385
+ spec/shared_examples/servers_examples.rb
386
+ spec/slicehost/models/flavors_spec.rb
387
+ spec/slicehost/models/server_spec.rb
388
+ spec/slicehost/models/servers_spec.rb
389
+ spec/spec_helper.rb
390
+ tests/helper.rb
391
+ tests/helper_tests.rb
392
+ tests/rackspace/helper.rb
393
+ tests/rackspace/requests/servers/create_image_tests.rb
394
+ tests/rackspace/requests/servers/create_server_tests.rb
395
+ tests/rackspace/requests/servers/delete_image_tests.rb
396
+ tests/rackspace/requests/servers/delete_server_tests.rb
397
+ tests/rackspace/requests/servers/get_flavor_details_tests.rb
398
+ tests/rackspace/requests/servers/get_image_details_tests.rb
399
+ tests/rackspace/requests/servers/get_server_details_tests.rb
400
+ tests/rackspace/requests/servers/list_addresses_tests.rb
401
+ tests/rackspace/requests/servers/list_flavors_detail_tests.rb
402
+ tests/rackspace/requests/servers/list_flavors_tests.rb
403
+ tests/rackspace/requests/servers/list_images_detail_tests.rb
404
+ tests/rackspace/requests/servers/list_images_tests.rb
405
+ tests/rackspace/requests/servers/list_private_addresses_tests.rb
406
+ tests/rackspace/requests/servers/list_public_addresses_tests.rb
407
+ tests/rackspace/requests/servers/list_servers_detail_tests.rb
408
+ tests/rackspace/requests/servers/list_servers_tests.rb
409
+ tests/rackspace/requests/servers/reboot_server_tests.rb
410
+ tests/rackspace/requests/servers/update_server_tests.rb
411
+ tests/slicehost/helper.rb
412
+ tests/slicehost/requests/create_slice_tests.rb
413
+ tests/slicehost/requests/delete_slice_tests.rb
414
+ tests/slicehost/requests/get_backups_tests.rb
415
+ tests/slicehost/requests/get_flavor_tests.rb
416
+ tests/slicehost/requests/get_flavors_tests.rb
417
+ tests/slicehost/requests/get_image_tests.rb
418
+ tests/slicehost/requests/get_images_tests.rb
419
+ tests/slicehost/requests/get_slice_tests.rb
420
+ tests/slicehost/requests/get_slices_tests.rb
421
+ tests/slicehost/requests/reboot_slice_tests.rb
422
+ ]
423
+ # = MANIFEST =
497
424
 
425
+ ## Test files will be grabbed from the file list. Make sure the path glob
426
+ ## matches what you actually use.
427
+ s.test_files = s.files.select { |path| path =~ /^[spec|tests]\/.*_[spec|tests]\.rb/ }
428
+ end