amazon-ec2 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README_dev.rdoc +0 -2
- data/Rakefile +7 -38
- data/VERSION +1 -1
- data/amazon-ec2.gemspec +11 -11
- metadata +7 -7
data/README_dev.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -6,22 +6,17 @@ require 'jeweler'
|
|
6
6
|
Jeweler::Tasks.new do |gem|
|
7
7
|
gem.name = "amazon-ec2"
|
8
8
|
gem.summary = %Q{Amazon EC2 Ruby Gem}
|
9
|
-
gem.description = %Q{A Ruby library for accessing the Amazon Web Services
|
9
|
+
gem.description = %Q{A Ruby library for accessing the Amazon Web Services EC2, ELB, RDS, Cloudwatch, and Autoscaling API's.}
|
10
10
|
gem.email = "glenn@rempe.us"
|
11
11
|
gem.homepage = "http://github.com/grempe/amazon-ec2"
|
12
12
|
gem.authors = ["Glenn Rempe"]
|
13
13
|
gem.rdoc_options = ["--title", "amazon-ec2 documentation", "--line-numbers", "--main", "README.rdoc"]
|
14
14
|
gem.rubyforge_project = 'amazon-ec2'
|
15
15
|
gem.add_dependency('xml-simple', '>= 1.0.12')
|
16
|
-
gem.add_development_dependency('mocha', '>= 0.9.
|
16
|
+
gem.add_development_dependency('mocha', '>= 0.9.8')
|
17
17
|
gem.add_development_dependency('test-spec', '>= 0.10.0')
|
18
|
-
gem.add_development_dependency('
|
19
|
-
gem.add_development_dependency('perftools.rb', '
|
20
|
-
end
|
21
|
-
|
22
|
-
# make the jeweler rubyforge tasks available.
|
23
|
-
Jeweler::RubyforgeTasks.new do |rubyforge|
|
24
|
-
rubyforge.doc_task = "rdoc"
|
18
|
+
gem.add_development_dependency('rcov', '>= 0.9.6')
|
19
|
+
gem.add_development_dependency('perftools.rb', '>= 0.3.9')
|
25
20
|
end
|
26
21
|
|
27
22
|
require 'rake/testtask'
|
@@ -41,11 +36,10 @@ begin
|
|
41
36
|
end
|
42
37
|
rescue LoadError
|
43
38
|
task :rcov do
|
44
|
-
abort "RCov is not available. In order to run rcov, you must: [sudo] gem install
|
39
|
+
abort "RCov is not available. In order to run rcov, you must: [sudo] gem install rcov"
|
45
40
|
end
|
46
41
|
end
|
47
42
|
|
48
|
-
|
49
43
|
task :default => :test
|
50
44
|
|
51
45
|
require 'rake/rdoctask'
|
@@ -67,35 +61,10 @@ YARD::Rake::YardocTask.new do |t|
|
|
67
61
|
#t.files = ['lib/**/*.rb']
|
68
62
|
end
|
69
63
|
|
70
|
-
begin
|
71
|
-
require 'rake/contrib/sshpublisher'
|
72
|
-
namespace :rubyforge do
|
73
|
-
|
74
|
-
desc "Release gem and YARD documentation to RubyForge"
|
75
|
-
task :release => ["rubyforge:release:gem", "rubyforge:release:docs"]
|
76
|
-
|
77
|
-
namespace :release do
|
78
|
-
desc "Publish YARD docs to RubyForge."
|
79
|
-
task :docs => [:doc] do
|
80
|
-
config = YAML.load(
|
81
|
-
File.read(File.expand_path('~/.rubyforge/user-config.yml'))
|
82
|
-
)
|
83
|
-
|
84
|
-
host = "#{config['username']}@rubyforge.org"
|
85
|
-
remote_dir = "/var/www/gforge-projects/amazon-ec2/"
|
86
|
-
local_dir = 'doc'
|
87
|
-
|
88
|
-
Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
92
|
-
rescue LoadError
|
93
|
-
puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
|
94
|
-
end
|
95
|
-
|
96
64
|
desc "Generate a perftools.rb profile"
|
97
65
|
task :profile do
|
98
66
|
system("CPUPROFILE=perftools/ec2prof RUBYOPT='-r/Library/Ruby/Gems/1.8/gems/perftools.rb-0.3.2/lib/perftools.bundle' ruby -r'rubygems' bin/ec2-gem-profile.rb")
|
99
67
|
system("pprof.rb --text --ignore=Gem perftools/ec2prof > perftools/ec2prof-results.txt")
|
100
68
|
system("pprof.rb --dot --ignore=Gem perftools/ec2prof > perftools/ec2prof-results.dot")
|
101
|
-
end
|
69
|
+
end
|
70
|
+
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.2
|
data/amazon-ec2.gemspec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{amazon-ec2}
|
8
|
-
s.version = "0.7.
|
8
|
+
s.version = "0.7.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Glenn Rempe"]
|
12
12
|
s.date = %q{2009-11-14}
|
13
|
-
s.description = %q{A Ruby library for accessing the Amazon Web Services
|
13
|
+
s.description = %q{A Ruby library for accessing the Amazon Web Services EC2, ELB, RDS, Cloudwatch, and Autoscaling API's.}
|
14
14
|
s.email = %q{glenn@rempe.us}
|
15
15
|
s.executables = ["ec2-gem-example.rb", "ec2-gem-profile.rb", "ec2sh", "setup.rb"]
|
16
16
|
s.extra_rdoc_files = [
|
@@ -117,23 +117,23 @@ Gem::Specification.new do |s|
|
|
117
117
|
|
118
118
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
119
119
|
s.add_runtime_dependency(%q<xml-simple>, [">= 1.0.12"])
|
120
|
-
s.add_development_dependency(%q<mocha>, [">= 0.9.
|
120
|
+
s.add_development_dependency(%q<mocha>, [">= 0.9.8"])
|
121
121
|
s.add_development_dependency(%q<test-spec>, [">= 0.10.0"])
|
122
|
-
s.add_development_dependency(%q<
|
123
|
-
s.add_development_dependency(%q<perftools.rb>, ["
|
122
|
+
s.add_development_dependency(%q<rcov>, [">= 0.9.6"])
|
123
|
+
s.add_development_dependency(%q<perftools.rb>, [">= 0.3.9"])
|
124
124
|
else
|
125
125
|
s.add_dependency(%q<xml-simple>, [">= 1.0.12"])
|
126
|
-
s.add_dependency(%q<mocha>, [">= 0.9.
|
126
|
+
s.add_dependency(%q<mocha>, [">= 0.9.8"])
|
127
127
|
s.add_dependency(%q<test-spec>, [">= 0.10.0"])
|
128
|
-
s.add_dependency(%q<
|
129
|
-
s.add_dependency(%q<perftools.rb>, ["
|
128
|
+
s.add_dependency(%q<rcov>, [">= 0.9.6"])
|
129
|
+
s.add_dependency(%q<perftools.rb>, [">= 0.3.9"])
|
130
130
|
end
|
131
131
|
else
|
132
132
|
s.add_dependency(%q<xml-simple>, [">= 1.0.12"])
|
133
|
-
s.add_dependency(%q<mocha>, [">= 0.9.
|
133
|
+
s.add_dependency(%q<mocha>, [">= 0.9.8"])
|
134
134
|
s.add_dependency(%q<test-spec>, [">= 0.10.0"])
|
135
|
-
s.add_dependency(%q<
|
136
|
-
s.add_dependency(%q<perftools.rb>, ["
|
135
|
+
s.add_dependency(%q<rcov>, [">= 0.9.6"])
|
136
|
+
s.add_dependency(%q<perftools.rb>, [">= 0.3.9"])
|
137
137
|
end
|
138
138
|
end
|
139
139
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amazon-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Glenn Rempe
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.9.
|
33
|
+
version: 0.9.8
|
34
34
|
version:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: test-spec
|
@@ -43,14 +43,14 @@ dependencies:
|
|
43
43
|
version: 0.10.0
|
44
44
|
version:
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
|
-
name:
|
46
|
+
name: rcov
|
47
47
|
type: :development
|
48
48
|
version_requirement:
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
53
|
+
version: 0.9.6
|
54
54
|
version:
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: perftools.rb
|
@@ -58,11 +58,11 @@ dependencies:
|
|
58
58
|
version_requirement:
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - "
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.
|
63
|
+
version: 0.3.9
|
64
64
|
version:
|
65
|
-
description: A Ruby library for accessing the Amazon Web Services
|
65
|
+
description: A Ruby library for accessing the Amazon Web Services EC2, ELB, RDS, Cloudwatch, and Autoscaling API's.
|
66
66
|
email: glenn@rempe.us
|
67
67
|
executables:
|
68
68
|
- ec2-gem-example.rb
|