bguthrie-awsymandias 0.2.1 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.specification +57 -0
- data/README.rdoc +25 -21
- data/Rakefile +20 -4
- data/VERSION +1 -1
- data/awsymandias.gemspec +37 -12
- data/lib/awsymandias.rb +36 -331
- data/lib/awsymandias/addons/right_elb_interface.rb +375 -0
- data/lib/awsymandias/ec2.rb +49 -0
- data/lib/awsymandias/ec2/application_stack.rb +261 -0
- data/lib/awsymandias/extensions/class_extension.rb +18 -0
- data/lib/awsymandias/extensions/net_http_extension.rb +9 -0
- data/lib/awsymandias/instance.rb +149 -0
- data/lib/awsymandias/load_balancer.rb +157 -0
- data/lib/awsymandias/right_aws.rb +73 -0
- data/lib/awsymandias/right_elb.rb +16 -0
- data/lib/awsymandias/simple_db.rb +46 -0
- data/lib/awsymandias/snapshot.rb +33 -0
- data/lib/awsymandias/stack_definition.rb +60 -0
- data/lib/awsymandias/volume.rb +70 -0
- data/spec/integration/instance_spec.rb +37 -0
- data/spec/unit/addons/right_elb_interface_spec.rb +45 -0
- data/spec/unit/awsymandias_spec.rb +61 -0
- data/spec/unit/ec2/application_stack_spec.rb +634 -0
- data/spec/unit/instance_spec.rb +365 -0
- data/spec/unit/load_balancer_spec.rb +250 -0
- data/spec/unit/right_aws_spec.rb +90 -0
- data/spec/unit/simple_db_spec.rb +63 -0
- data/spec/unit/snapshot_spec.rb +39 -0
- data/spec/unit/stack_definition_spec.rb +113 -0
- data/tags +368 -0
- metadata +39 -13
- data/spec/awsymandias_spec.rb +0 -815
- data/vendor/aws-sdb/LICENSE +0 -19
- data/vendor/aws-sdb/README +0 -1
- data/vendor/aws-sdb/Rakefile +0 -20
- data/vendor/aws-sdb/lib/aws_sdb.rb +0 -3
- data/vendor/aws-sdb/lib/aws_sdb/error.rb +0 -42
- data/vendor/aws-sdb/lib/aws_sdb/service.rb +0 -191
- data/vendor/aws-sdb/spec/aws_sdb/service_spec.rb +0 -183
- data/vendor/aws-sdb/spec/spec_helper.rb +0 -4
@@ -0,0 +1,90 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'spec'
|
3
|
+
require File.expand_path(File.dirname(__FILE__) + "/../../lib/awsymandias")
|
4
|
+
|
5
|
+
module Awsymandias
|
6
|
+
describe RightAws do
|
7
|
+
before :each do
|
8
|
+
RightAws.should_receive(:connection).any_number_of_times.and_return(@connection = mock("connection"))
|
9
|
+
end
|
10
|
+
|
11
|
+
def stub_describe_snapshots(snapshots)
|
12
|
+
@connection.should_receive(:describe_snapshots).and_return(snapshots)
|
13
|
+
end
|
14
|
+
|
15
|
+
def stub_describe_volumes(volumes)
|
16
|
+
@connection.should_receive(:describe_volumes).and_return(volumes)
|
17
|
+
end
|
18
|
+
|
19
|
+
describe "latest_snapshot_based_on" do
|
20
|
+
|
21
|
+
it "returns snapshots based on the given volume id" do
|
22
|
+
stub_describe_snapshots [{:aws_id => 'snapshot_1', :aws_volume_id => 'some_volume'},
|
23
|
+
{:aws_id => 'snapshot_2', :aws_volume_id => 'another_volume'}]
|
24
|
+
RightAws.latest_snapshot_based_on('some_volume').snapshot_id.should == 'snapshot_1'
|
25
|
+
end
|
26
|
+
|
27
|
+
it "does not return snapshots not based on the given volume id" do
|
28
|
+
stub_describe_snapshots [{:aws_id => 'snapshot_1', :aws_volume_id => 'another_volume'},
|
29
|
+
{:aws_id => 'snapshot_2', :aws_volume_id => 'another_volume'}]
|
30
|
+
RightAws.latest_snapshot_based_on('some_volume',false).should == nil
|
31
|
+
end
|
32
|
+
|
33
|
+
it "raises an error when no snapshots are found by default" do
|
34
|
+
stub_describe_snapshots [{:aws_id => 'snapshot_1', :aws_volume_id => 'another_volume'},
|
35
|
+
{:aws_id => 'snapshot_2', :aws_volume_id => 'another_volume'}]
|
36
|
+
lambda { RightAws.latest_snapshot_based_on('some_volume') }.should raise_error(RuntimeError,
|
37
|
+
"Can't find snapshot for master volume some_volume.")
|
38
|
+
end
|
39
|
+
|
40
|
+
it "should return the latest snapshot when there is more than one" do
|
41
|
+
stub_describe_snapshots [{:aws_id => 'snapshot_1', :aws_volume_id => 'some_volume', :aws_started_at => Time.parse("2009-12-12 10:00 AM")},
|
42
|
+
{:aws_id => 'snapshot_2', :aws_volume_id => 'some_volume', :aws_started_at => Time.parse("2009-12-12 10:02 AM")},
|
43
|
+
{:aws_id => 'snapshot_3', :aws_volume_id => 'some_volume', :aws_started_at => Time.parse("2009-12-12 10:01 AM")}]
|
44
|
+
RightAws.latest_snapshot_based_on('some_volume').snapshot_id.should == 'snapshot_2'
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe "snapshot_size" do
|
49
|
+
it "returns the size of the volume that the snapshot was based on" do
|
50
|
+
stub_describe_snapshots [{:aws_id => 'snapshot_1', :aws_volume_id => 'some_volume'}]
|
51
|
+
stub_describe_volumes [{ :aws_id => 'some_volume', :aws_size => 123 }]
|
52
|
+
|
53
|
+
RightAws.snapshot_size('snapshot_1').should == 123
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
describe "wait_for_create_volume" do
|
58
|
+
it "should call create_volume and return the volume when its status is 'completed'" do
|
59
|
+
attributes = {:aws_id => 'a_volume_id', :aws_status => 'available'}
|
60
|
+
new_volume = Awsymandias::Volume.new attributes
|
61
|
+
stub_describe_volumes [attributes]
|
62
|
+
|
63
|
+
@connection.should_receive(:create_volume).with('some_snapshot',123,'a_zone').and_return(attributes)
|
64
|
+
RightAws.should_receive(:snapshot_size).and_return(123)
|
65
|
+
RightAws.wait_for_create_volume('some_snapshot','a_zone').should == new_volume
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
describe "wait_for_create_snapshot" do
|
70
|
+
it "should call create_snapshot and return the snapshot when its status is 'completed'" do
|
71
|
+
attributes = { :aws_id => 'a_snapshot_id', :aws_status => 'completed' }
|
72
|
+
new_snapshot = Awsymandias::Snapshot.new attributes
|
73
|
+
stub_describe_snapshots [attributes]
|
74
|
+
|
75
|
+
@connection.should_receive(:create_snapshot).with('some_volume').and_return(attributes)
|
76
|
+
RightAws.wait_for_create_snapshot('some_volume').should == new_snapshot
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
describe "describe_volumes" do
|
81
|
+
it "should return an array of Awsymandias::Volume objects." do
|
82
|
+
stub_describe_volumes [{:aws_id => :some_volume_id}, {:aws_id => :another_volume_id}]
|
83
|
+
described = RightAws.describe_volumes
|
84
|
+
described.map(&:aws_id).should == [:some_volume_id, :another_volume_id]
|
85
|
+
described.map(&:class).uniq.should == [Awsymandias::Volume]
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
end
|
90
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'spec'
|
3
|
+
require File.expand_path(File.dirname(__FILE__) + "/../../lib/awsymandias")
|
4
|
+
|
5
|
+
module Awsymandias
|
6
|
+
describe SimpleDB do
|
7
|
+
|
8
|
+
describe 'put' do
|
9
|
+
it "should create a domain if it is missing" do
|
10
|
+
stub_connection do |connection|
|
11
|
+
connection.should_receive(:list_domains).and_return(:domains => [])
|
12
|
+
connection.should_receive(:create_domain).with('missing_domain')
|
13
|
+
end
|
14
|
+
|
15
|
+
SimpleDB.put('missing_domain', 'key', {})
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should YAMLize each of the attributes" do
|
19
|
+
stub_connection do |connection|
|
20
|
+
connection.should_receive(:put_attributes).with('domain', 'key',
|
21
|
+
{ :foo => 'foo'.to_yaml.gsub("\n", "\\n"), :bar => {:baz => 'hmm'}.to_yaml.gsub("\n", "\\n") }, true
|
22
|
+
)
|
23
|
+
end
|
24
|
+
|
25
|
+
SimpleDB.put('domain', 'key', {:foo => 'foo', :bar => {:baz => 'hmm'}})
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'get' do
|
31
|
+
it "should unYAMLize each of the attributes when found" do
|
32
|
+
stub_connection do |connection|
|
33
|
+
connection.should_receive(:get_attributes).and_return({
|
34
|
+
:attributes => { :foo => ['foo'.to_yaml.gsub("\n", "\\n")], :bar => [{:baz => 'hmm'}.to_yaml.gsub("\n", "\\n")] }
|
35
|
+
})
|
36
|
+
end
|
37
|
+
|
38
|
+
SimpleDB.get('domain', 'key').should == {:foo => 'foo', :bar => {:baz => 'hmm'}}
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
|
44
|
+
def stub_connection
|
45
|
+
stub = StubSdbConnection.new
|
46
|
+
yield stub if block_given?
|
47
|
+
SimpleDB.should_receive(:connection).any_number_of_times.and_return(stub)
|
48
|
+
end
|
49
|
+
|
50
|
+
class StubSdbConnection
|
51
|
+
def put_attributes(*args);end
|
52
|
+
def get_attributes(domain, name);end
|
53
|
+
def delete_attributes(domain, name);end
|
54
|
+
def query(*args);end
|
55
|
+
def query_with_attributes(*args);end
|
56
|
+
def list_domains;
|
57
|
+
{ :domains => ['domain'] }
|
58
|
+
end
|
59
|
+
def create_domain(domain);end
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'spec'
|
3
|
+
require File.expand_path(File.dirname(__FILE__) + "/../../lib/awsymandias")
|
4
|
+
|
5
|
+
module Awsymandias
|
6
|
+
describe Snapshot do
|
7
|
+
|
8
|
+
describe 'tag' do
|
9
|
+
it "should save to simpledb the snapshot id" do
|
10
|
+
SimpleDB.should_receive(:put).with('snapshots', 'last_good_one', :snapshot_id => 'snapshot-1234')
|
11
|
+
|
12
|
+
snapshot = Snapshot.new(:aws_id => 'snapshot-1234')
|
13
|
+
snapshot.tag 'last_good_one'
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should ask simple db for the tag and populate the snapshot object" do
|
17
|
+
SimpleDB.should_receive(:get).with('snapshots', 'last_good_one').and_return(:snapshot_id => 'snapshot-1234')
|
18
|
+
Snapshot.should_receive(:find).with('snapshot-1234').and_return(Snapshot.new(:aws_id => 'snapshot-1234'))
|
19
|
+
|
20
|
+
Snapshot.find_by_tag('last_good_one').id.should == 'snapshot-1234'
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
describe "find" do
|
25
|
+
it "should return an array of Awsymandias::Snapshot objects." do
|
26
|
+
connection = mock('connection')
|
27
|
+
connection.should_receive(:describe_snapshots).and_return(
|
28
|
+
[{:aws_id => :some_snapshot_id}, {:aws_id => :another_snapshot_id}]
|
29
|
+
)
|
30
|
+
Awsymandias::RightAws.should_receive(:connection).and_return(connection)
|
31
|
+
|
32
|
+
snapshots = Snapshot.find
|
33
|
+
snapshots.map(&:aws_id).should == [:some_snapshot_id, :another_snapshot_id]
|
34
|
+
snapshots.map(&:class).uniq.should == [Awsymandias::Snapshot]
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,113 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'spec'
|
3
|
+
require File.expand_path(File.dirname(__FILE__) + "/../../lib/awsymandias")
|
4
|
+
|
5
|
+
module Awsymandias
|
6
|
+
describe StackDefinition do
|
7
|
+
|
8
|
+
describe 'initialize' do
|
9
|
+
it "should populate the name" do
|
10
|
+
stackdef = StackDefinition.new('test')
|
11
|
+
stackdef.name.should == 'test'
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
describe 'build_stack' do
|
16
|
+
it "should create an application stack object" do
|
17
|
+
stackdef = StackDefinition.new('test')
|
18
|
+
stackdef.build_stack.name.should == 'test'
|
19
|
+
end
|
20
|
+
|
21
|
+
it "should populate the unlaunched_instances" do
|
22
|
+
stackdef = StackDefinition.new('test')
|
23
|
+
stackdef.instance :a, :availability_zone => 'foo'
|
24
|
+
stackdef.build_stack.unlaunched_instances[:a].should == { :availability_zone => 'foo' }
|
25
|
+
end
|
26
|
+
|
27
|
+
it "should populate the volumes" do
|
28
|
+
stackdef = StackDefinition.new('test')
|
29
|
+
stackdef.volume :a, :unix_device => 'foo'
|
30
|
+
stackdef.build_stack.volumes[:a].should == { :unix_device => 'foo' }
|
31
|
+
end
|
32
|
+
|
33
|
+
it "should populate the roles" do
|
34
|
+
stackdef = StackDefinition.new('test')
|
35
|
+
stackdef.role :app, :a
|
36
|
+
stackdef.build_stack.roles[:app].should == [:a]
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
|
41
|
+
describe 'instance' do
|
42
|
+
it "should save the instance definition" do
|
43
|
+
stackdef = StackDefinition.new 'test'
|
44
|
+
stackdef.instance :a, :availability_zone => 'foo', :image_id => 'bar'
|
45
|
+
stackdef.defined_instances[:a].should == { :availability_zone => 'foo', :image_id => 'bar' }
|
46
|
+
end
|
47
|
+
|
48
|
+
it "should allow specifying a single role without mucking up the instance" do
|
49
|
+
stackdef = StackDefinition.new 'test'
|
50
|
+
stackdef.instance :a, :role => :app
|
51
|
+
stackdef.defined_roles[:app].should == [:a]
|
52
|
+
end
|
53
|
+
|
54
|
+
it "should allow specifying multiple roles without mucking up the instance" do
|
55
|
+
stackdef = StackDefinition.new 'test'
|
56
|
+
stackdef.instance :a, :roles => [:app, :web, :db]
|
57
|
+
stackdef.defined_instances[:a].should == {}
|
58
|
+
stackdef.defined_roles.should == { :app => [:a], :web => [:a], :db => [:a]}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
describe 'instances' do
|
63
|
+
it "should allow defining many instances" do
|
64
|
+
stackdef = StackDefinition.new 'test'
|
65
|
+
stackdef.instances :a, :b, :c, :availability_zone => 'foo', :image_id => 'bar'
|
66
|
+
stackdef.defined_instances[:a].should == { :availability_zone => 'foo', :image_id => 'bar' }
|
67
|
+
stackdef.defined_instances[:b].should == { :availability_zone => 'foo', :image_id => 'bar' }
|
68
|
+
stackdef.defined_instances[:c].should == { :availability_zone => 'foo', :image_id => 'bar' }
|
69
|
+
end
|
70
|
+
|
71
|
+
it "should allow specifying a single role without mucking up the instance" do
|
72
|
+
stackdef = StackDefinition.new 'test'
|
73
|
+
stackdef.instances :a, :b, :c, :role => :app
|
74
|
+
stackdef.defined_instances.should == { :a => {}, :b => {}, :c => {} }
|
75
|
+
stackdef.defined_roles.should == { :app => [:a, :b, :c] }
|
76
|
+
end
|
77
|
+
|
78
|
+
it "should allow specifying multiple roles without mucking up the instance" do
|
79
|
+
stackdef = StackDefinition.new 'test'
|
80
|
+
stackdef.instances :a, :b, :c, :roles => [:app, :web, :db]
|
81
|
+
stackdef.defined_instances.should == { :a => {}, :b => {}, :c => {} }
|
82
|
+
stackdef.defined_roles.should == { :app => [:a, :b, :c], :web => [:a, :b, :c], :db => [:a, :b, :c]}
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
describe 'role' do
|
87
|
+
it "should allow specifying a role to instance mapping" do
|
88
|
+
stackdef = StackDefinition.new 'test'
|
89
|
+
stackdef.role :app, :a, :b, :c
|
90
|
+
stackdef.defined_roles[:app].should == [:a, :b, :c]
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'volume' do
|
95
|
+
it "should allow defining a single volume" do
|
96
|
+
stackdef = StackDefinition.new 'test'
|
97
|
+
stackdef.volume :a, :size => 40, :snapshot_id => 'foo'
|
98
|
+
stackdef.defined_volumes[:a].should == { :size => 40, :snapshot_id => 'foo' }
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
describe 'volumes' do
|
103
|
+
it "should allow defining many volumes" do
|
104
|
+
stackdef = StackDefinition.new 'test'
|
105
|
+
stackdef.volumes :a, :b, :c, :size => 40, :snapshot_id => 'foo'
|
106
|
+
stackdef.defined_volumes[:a].should == { :size => 40, :snapshot_id => 'foo' }
|
107
|
+
stackdef.defined_volumes[:b].should == { :size => 40, :snapshot_id => 'foo' }
|
108
|
+
stackdef.defined_volumes[:c].should == { :size => 40, :snapshot_id => 'foo' }
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
end
|
113
|
+
end
|
data/tags
ADDED
@@ -0,0 +1,368 @@
|
|
1
|
+
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
|
2
|
+
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
|
3
|
+
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
|
4
|
+
!_TAG_PROGRAM_NAME Exuberant Ctags //
|
5
|
+
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
|
6
|
+
!_TAG_PROGRAM_VERSION 5.7 //
|
7
|
+
ApplicationStack lib/awsymandias/ec2/application_stack.rb /^ class ApplicationStack$/;" c class:Awsymandias.EC2
|
8
|
+
AvailabilityZones lib/awsymandias.rb /^ module AvailabilityZones$/;" m
|
9
|
+
AwsSdb vendor/aws-sdb/lib/aws_sdb/error.rb /^module AwsSdb$/;" m
|
10
|
+
AwsSdb vendor/aws-sdb/lib/aws_sdb/service.rb /^module AwsSdb$/;" m
|
11
|
+
Awsymandias lib/awsymandias.rb /^module Awsymandias$/;" m
|
12
|
+
Awsymandias lib/awsymandias/ec2/application_stack.rb /^module Awsymandias$/;" m
|
13
|
+
Awsymandias lib/awsymandias/ec2/instance.rb /^module Awsymandias$/;" m
|
14
|
+
Awsymandias lib/awsymandias/simple_db.rb /^module Awsymandias$/;" m
|
15
|
+
Awsymandias lib/awsymandias/support/hash.rb /^module Awsymandias$/;" m
|
16
|
+
ConnectionError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class ConnectionError < Error$/;" c class:AwsSdb
|
17
|
+
EC2 lib/awsymandias.rb /^ module EC2$/;" m
|
18
|
+
EC2 lib/awsymandias/ec2/application_stack.rb /^ module EC2$/;" m class:Awsymandias
|
19
|
+
EC2 lib/awsymandias/ec2/instance.rb /^ module EC2$/;" m class:Awsymandias
|
20
|
+
Error vendor/aws-sdb/lib/aws_sdb/error.rb /^ class Error < RuntimeError ; end$/;" c class:AwsSdb
|
21
|
+
FeatureDeprecatedError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class FeatureDeprecatedError < RequestError ; end$/;" c class:AwsSdb
|
22
|
+
Hash lib/awsymandias/support/hash.rb /^ module Hash$/;" m class:Awsymandias.Support
|
23
|
+
Instance lib/awsymandias/ec2/instance.rb /^ class Instance < ActiveResource::Base$/;" c class:Awsymandias.EC2
|
24
|
+
InstanceTypes lib/awsymandias.rb /^ module InstanceTypes$/;" m
|
25
|
+
InvalidDomainNameError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class InvalidDomainNameError < RequestError ; end$/;" c class:AwsSdb
|
26
|
+
InvalidNextTokenError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class InvalidNextTokenError < RequestError ; end$/;" c class:AwsSdb
|
27
|
+
InvalidNumberPredicatesError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class InvalidNumberPredicatesError < RequestError ; end$/;" c class:AwsSdb
|
28
|
+
InvalidNumberValueTestsError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class InvalidNumberValueTestsError < RequestError ; end$/;" c class:AwsSdb
|
29
|
+
InvalidParameterValueError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class InvalidParameterValueError < RequestError ; end$/;" c class:AwsSdb
|
30
|
+
InvalidQueryExpressionError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class InvalidQueryExpressionError < RequestError ; end$/;" c class:AwsSdb
|
31
|
+
MissingParameterError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class MissingParameterError < RequestError ; end$/;" c class:AwsSdb
|
32
|
+
NoSuchDomainError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class NoSuchDomainError < RequestError ; end$/;" c class:AwsSdb
|
33
|
+
NumberDomainAttributesExceededError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class NumberDomainAttributesExceededError < RequestError ; end$/;" c class:AwsSdb
|
34
|
+
NumberDomainBytesExceededError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class NumberDomainBytesExceededError < RequestError ; end$/;" c class:AwsSdb
|
35
|
+
NumberDomainsExceededError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class NumberDomainsExceededError < RequestError ; end$/;" c class:AwsSdb
|
36
|
+
NumberItemAttributesExceededError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class NumberItemAttributesExceededError < RequestError ; end$/;" c class:AwsSdb
|
37
|
+
RequestError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class RequestError < Error$/;" c class:AwsSdb
|
38
|
+
RequestTimeoutError vendor/aws-sdb/lib/aws_sdb/error.rb /^ class RequestTimeoutError < RequestError ; end$/;" c class:AwsSdb
|
39
|
+
Service vendor/aws-sdb/lib/aws_sdb/service.rb /^ class Service$/;" c class:AwsSdb
|
40
|
+
SimpleDB lib/awsymandias/simple_db.rb /^ module SimpleDB # :nodoc$/;" m class:Awsymandias
|
41
|
+
SimpleDBStub spec/awsymandias_spec.rb /^ class SimpleDBStub$/;" c
|
42
|
+
SimpleDBStub spec/ec2/application_stack_spec.rb /^ class SimpleDBStub$/;" c
|
43
|
+
Support lib/awsymandias/support/hash.rb /^ module Support$/;" m class:Awsymandias
|
44
|
+
access_key_id lib/awsymandias.rb /^ def access_key_id$/;" f class:Awsymandias
|
45
|
+
application_stack.rb lib/awsymandias/ec2/application_stack.rb 1;" F
|
46
|
+
application_stack_spec.rb spec/ec2/application_stack_spec.rb 1;" F
|
47
|
+
aws_sdb.rb vendor/aws-sdb/lib/aws_sdb.rb 1;" F
|
48
|
+
awsymandias.rb lib/awsymandias.rb 1;" F
|
49
|
+
awsymandias_spec.rb spec/awsymandias_spec.rb 1;" F
|
50
|
+
call vendor/aws-sdb/lib/aws_sdb/service.rb /^ def call(method, params)$/;" f
|
51
|
+
connection lib/awsymandias.rb /^ def connection$/;" f class:EC2
|
52
|
+
connection lib/awsymandias/simple_db.rb /^ def connection(opts={})$/;" f class:Awsymandias.SimpleDB
|
53
|
+
create_domain spec/awsymandias_spec.rb /^ def create_domain(domain)$/;" f class:SimpleDBStub
|
54
|
+
create_domain spec/ec2/application_stack_spec.rb /^ def create_domain(domain)$/;" f class:SimpleDBStub
|
55
|
+
create_domain vendor/aws-sdb/lib/aws_sdb/service.rb /^ def create_domain(domain)$/;" f class:AwsSdb.Service
|
56
|
+
delete lib/awsymandias/simple_db.rb /^ def delete(domain, name)$/;" f class:Awsymandias.SimpleDB
|
57
|
+
delete_attributes spec/awsymandias_spec.rb /^ def delete_attributes(domain, name)$/;" f class:SimpleDBStub
|
58
|
+
delete_attributes spec/ec2/application_stack_spec.rb /^ def delete_attributes(domain, name)$/;" f class:SimpleDBStub
|
59
|
+
delete_attributes vendor/aws-sdb/lib/aws_sdb/service.rb /^ def delete_attributes(domain, item)$/;" f
|
60
|
+
delete_domain vendor/aws-sdb/lib/aws_sdb/service.rb /^ def delete_domain(domain)$/;" f class:AwsSdb.Service
|
61
|
+
domain_exists? lib/awsymandias/simple_db.rb /^ def domain_exists?(domain)$/;" f class:Awsymandias.SimpleDB
|
62
|
+
error.rb vendor/aws-sdb/lib/aws_sdb/error.rb 1;" F
|
63
|
+
find lib/awsymandias/ec2/application_stack.rb /^ def find(name)$/;" f class:Awsymandias.EC2.ApplicationStack
|
64
|
+
find lib/awsymandias/ec2/instance.rb /^ def find(*args)$/;" f class:Awsymandias.EC2.Instance
|
65
|
+
find_all lib/awsymandias/ec2/instance.rb /^ def find_all(ids, opts={})$/;" f class:Awsymandias.EC2.Instance
|
66
|
+
find_one lib/awsymandias/ec2/instance.rb /^ def find_one(id, opts={})$/;" f class:Awsymandias
|
67
|
+
get lib/awsymandias/simple_db.rb /^ def get(domain, name)$/;" f class:Awsymandias.SimpleDB
|
68
|
+
get_attributes spec/awsymandias_spec.rb /^ def get_attributes(domain, name)$/;" f class:SimpleDBStub
|
69
|
+
get_attributes spec/ec2/application_stack_spec.rb /^ def get_attributes(domain, name)$/;" f class:SimpleDBStub
|
70
|
+
get_attributes vendor/aws-sdb/lib/aws_sdb/service.rb /^ def get_attributes(domain, item)$/;" f
|
71
|
+
handle_domain lib/awsymandias/simple_db.rb /^ def handle_domain(domain)$/;" f class:Awsymandias.SimpleDB
|
72
|
+
hash.rb lib/awsymandias/support/hash.rb 1;" F
|
73
|
+
id lib/awsymandias/ec2/instance.rb /^ def id; instance_id; end$/;" f class:Awsymandias.EC2.Instance
|
74
|
+
index.html coverage/index.html 1;" F
|
75
|
+
initialize lib/awsymandias/ec2/application_stack.rb /^ def initialize(name, opts={})$/;" f class:Awsymandias.EC2
|
76
|
+
initialize spec/awsymandias_spec.rb /^ def initialize$/;" f class:SimpleDBStub
|
77
|
+
initialize spec/ec2/application_stack_spec.rb /^ def initialize$/;" f class:SimpleDBStub
|
78
|
+
initialize vendor/aws-sdb/lib/aws_sdb/error.rb /^ def initialize(message, request_id=nil)$/;" f class:AwsSdb.RequestError
|
79
|
+
initialize vendor/aws-sdb/lib/aws_sdb/error.rb /^ def initialize(response)$/;" f class:AwsSdb.ConnectionError
|
80
|
+
initialize vendor/aws-sdb/lib/aws_sdb/service.rb /^ def initialize(options={})$/;" f class:AwsSdb.Service
|
81
|
+
inspect lib/awsymandias/ec2/application_stack.rb /^ def inspect$/;" f class:Awsymandias.EC2
|
82
|
+
instance.rb lib/awsymandias/ec2/instance.rb 1;" F
|
83
|
+
instance_type lib/awsymandias/ec2/instance.rb /^ def instance_type$/;" f class:Awsymandias.EC2.Instance
|
84
|
+
instance_types lib/awsymandias.rb /^ def instance_types$/;" f class:EC2
|
85
|
+
launch lib/awsymandias/ec2/application_stack.rb /^ def launch(name, opts={})$/;" f class:Awsymandias.EC2.ApplicationStack
|
86
|
+
launch lib/awsymandias/ec2/application_stack.rb /^ def launch$/;" f class:Awsymandias.EC2
|
87
|
+
launch lib/awsymandias/ec2/instance.rb /^ def launch(opts={})$/;" f class:Awsymandias
|
88
|
+
launch_time lib/awsymandias/ec2/instance.rb /^ def launch_time$/;" f class:Awsymandias.EC2.Instance
|
89
|
+
launched? lib/awsymandias/ec2/application_stack.rb /^ def launched?$/;" f class:Awsymandias.EC2
|
90
|
+
lib-awsymandias-ec2-application_stack_rb.html coverage/lib-awsymandias-ec2-application_stack_rb.html 1;" F
|
91
|
+
lib-awsymandias-ec2-instance_rb.html coverage/lib-awsymandias-ec2-instance_rb.html 1;" F
|
92
|
+
lib-awsymandias-simple_db_rb.html coverage/lib-awsymandias-simple_db_rb.html 1;" F
|
93
|
+
lib-awsymandias-support-hash_rb.html coverage/lib-awsymandias-support-hash_rb.html 1;" F
|
94
|
+
lib-awsymandias_rb.html coverage/lib-awsymandias_rb.html 1;" F
|
95
|
+
line1 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ <\/tr> <\/tbody> <\/table><pre><span class="inferred0"><a name="line1"><\/a> 1 #$/;" a
|
96
|
+
line1 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line1"><\/a> 1 # An instance represents an AWS$/;" a
|
97
|
+
line1 coverage/lib-awsymandias-simple_db_rb.html /^ class="inferred0"><a name="line1"><\/a> 1 # TODO Locate a nicer SimpleDB API$/;" a
|
98
|
+
line1 coverage/lib-awsymandias-support-hash_rb.html /^ class="marked0"><a name="line1"><\/a> 1 module Awsymandias <\/span><span$/;" a
|
99
|
+
line1 coverage/lib-awsymandias_rb.html /^ <\/tr> <\/tbody> <\/table><pre><span class="marked1"><a name="line1"><\/a> 1$/;" a
|
100
|
+
line10 coverage/lib-awsymandias-ec2-instance_rb.html /^ name="line9"><\/a> 9 <\/span><span class="marked1"><a name="line10"><\/a> 10$/;" a
|
101
|
+
line10 coverage/lib-awsymandias-simple_db_rb.html /^ <\/span><span class="marked1"><a name="line10"><\/a>10 }.merge(opts))$/;" a
|
102
|
+
line10 coverage/lib-awsymandias-support-hash_rb.html /^ class="marked1"><a name="line10"><\/a>10 h <\/span><span class="inferred0"><a$/;" a
|
103
|
+
line10 coverage/lib-awsymandias_rb.html /^ class="marked0"><a name="line10"><\/a>10 require File.dirname(__FILE__) +$/;" a
|
104
|
+
line100 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ @sdb_domain, @name <\/span><span class="inferred1"><a name="line100"><\/a>100$/;" a
|
105
|
+
line100 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked1"><a name="line100"><\/a>100 raise$/;" a
|
106
|
+
line101 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ end <\/span><span class="inferred0"><a name="line101"><\/a>101 <\/span><span$/;" a
|
107
|
+
line101 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line101"><\/a>101 else <\/span><span$/;" a
|
108
|
+
line102 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked1"><a name="line102"><\/a>102 def$/;" a
|
109
|
+
line102 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked1"><a name="line102"><\/a>102$/;" a
|
110
|
+
line103 coverage/lib-awsymandias-ec2-instance_rb.html /^ reservation_set["item"].first["instancesSet"]["item"].map do |item| <\/span><span class="marked0"><a name="line103"><\/a>103 instantiate_record(reformat_incoming_param_data(item)) <\/span><span class="uncovered1"><a name="line104"><\/a>104 end.first <\/span><span class="uncovered0"><a name="line105"><\/a>105 end <\/span><span class="uncovered1"><a name="line106"><\/a>106 end <\/span><span class="inferred0"><a name="line107"><\/a>107 <\/span><span class="marked1"><a name="line108"><\/a>108 def launch(opts={}) <\/span><span class="marked0"><a name="line109"><\/a>109 opts.assert_valid_keys! :image_id, :key_name, :instance_type, :availability_zone, :user_data <\/span><span class="inferred1"><a name="line110"><\/a>110 <\/span><span class="marked0"><a name="line111"><\/a>111 opts[:instance_type] = opts[:instance_type].name if opts[:instance_type].is_a?(Awsymandias::EC2::InstanceType) <\/span><span class="inferred1"><a name="line112"><\/a>112 <\/span><span class="marked0"><a name="line113"><\/a>113 response = Awsymandias::EC2.connection.run_instances opts <\/span><span class="marked1"><a name="line114"><\/a>114 instance_id = response["instancesSet"]["item"].map {|h| h["instanceId"]}.first <\/span><span class="marked0"><a name="line115"><\/a>115 find(instance_id) <\/span><span class="inferred1"><a name="line116"><\/a>116 end <\/span><span class="inferred0"><a name="line117"><\/a>117 end <\/span><span class="inferred1"><a name="line118"><\/a>118 end <\/span><span class="inferred0"><a name="line119"><\/a>119 end <\/span><span class="inferred1"><a name="line120"><\/a>120 end <\/span><\/pre>$/;" a
|
111
|
+
line104 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ @name)) do |mapping| <\/span><span class="marked1"><a name="line104"><\/a>104$/;" a
|
112
|
+
line105 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ unless mapping.empty? <\/span><span class="marked0"><a name="line105"><\/a>105$/;" a
|
113
|
+
line106 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked1"><a name="line106"><\/a>106 mapping.each do |role_name,$/;" a
|
114
|
+
line107 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ instance_id| <\/span><span class="marked0"><a name="line107"><\/a>107$/;" a
|
115
|
+
line108 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred1"><a name="line108"><\/a>108 end <\/span><span$/;" a
|
116
|
+
line109 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred0"><a name="line109"><\/a>109 end <\/span><span$/;" a
|
117
|
+
line11 coverage/lib-awsymandias-simple_db_rb.html /^ <\/span><span class="inferred0"><a name="line11"><\/a>11 end <\/span><span$/;" a
|
118
|
+
line110 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred1"><a name="line110"><\/a>110 end <\/span><span$/;" a
|
119
|
+
line111 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred0"><a name="line111"><\/a>111 end <\/span><span$/;" a
|
120
|
+
line112 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred1"><a name="line112"><\/a>112 <\/span><span$/;" a
|
121
|
+
line113 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred0"><a name="line113"><\/a>113 end <\/span><span$/;" a
|
122
|
+
line114 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred1"><a name="line114"><\/a>114 <\/span><span$/;" a
|
123
|
+
line115 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred0"><a name="line115"><\/a>115 end <\/span><span$/;" a
|
124
|
+
line116 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred1"><a name="line116"><\/a>116 end <\/span><\/pre>$/;" a
|
125
|
+
line12 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred1"><a name="line12"><\/a> 12 <\/span><span class="marked0"><a$/;" a
|
126
|
+
line12 coverage/lib-awsymandias-ec2-instance_rb.html /^ name="line11"><\/a> 11 <\/span><span class="marked1"><a name="line12"><\/a> 12$/;" a
|
127
|
+
line12 coverage/lib-awsymandias-simple_db_rb.html /^ class="inferred1"><a name="line12"><\/a>12 <\/span><span class="marked0"><a$/;" a
|
128
|
+
line13 coverage/lib-awsymandias-ec2-instance_rb.html /^ def id; instance_id; end <\/span><span class="marked0"><a name="line13"><\/a>$/;" a
|
129
|
+
line13 coverage/lib-awsymandias-support-hash_rb.html /^ class="uncovered0"><a name="line13"><\/a>13 params.map { |v|$/;" a
|
130
|
+
line14 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ <\/span><span class="inferred1"><a name="line14"><\/a> 14 <\/span><span$/;" a
|
131
|
+
line14 coverage/lib-awsymandias-simple_db_rb.html /^ class="marked1"><a name="line14"><\/a>14 connection.put_attributes$/;" a
|
132
|
+
line15 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked0"><a name="line15"><\/a> 15 class << self <\/span><span$/;" a
|
133
|
+
line15 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line15"><\/a> 15 <\/span><span class="marked1"><a$/;" a
|
134
|
+
line15 coverage/lib-awsymandias_rb.html /^ name="line14"><\/a>14 <\/span><span class="marked1"><a name="line15"><\/a>15$/;" a
|
135
|
+
line16 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked1"><a name="line16"><\/a> 16 def find(name) <\/span><span$/;" a
|
136
|
+
line16 coverage/lib-awsymandias_rb.html /^ module Awsymandias <\/span><span class="marked0"><a name="line16"><\/a>16$/;" a
|
137
|
+
line17 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="uncovered0"><a name="line17"><\/a> 17 returning(new(name)) do |stack|$/;" a
|
138
|
+
line17 coverage/lib-awsymandias-simple_db_rb.html /^ name="line16"><\/a>16 <\/span><span class="marked0"><a name="line17"><\/a>17$/;" a
|
139
|
+
line17 coverage/lib-awsymandias_rb.html /^ class << self <\/span><span class="marked1"><a name="line17"><\/a>17$/;" a
|
140
|
+
line18 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ <\/span><span class="uncovered1"><a name="line18"><\/a> 18 return nil unless$/;" a
|
141
|
+
line18 coverage/lib-awsymandias-ec2-instance_rb.html /^ <\/span><span class="inferred1"><a name="line18"><\/a> 18 end <\/span><span$/;" a
|
142
|
+
line18 coverage/lib-awsymandias-simple_db_rb.html /^ def get(domain, name) <\/span><span class="marked1"><a name="line18"><\/a>18$/;" a
|
143
|
+
line18 coverage/lib-awsymandias_rb.html /^ class="inferred0"><a name="line18"><\/a>18 <\/span><span class="marked1"><a$/;" a
|
144
|
+
line19 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ stack.launched? <\/span><span class="uncovered0"><a name="line19"><\/a> 19 end$/;" a
|
145
|
+
line19 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line19"><\/a> 19 <\/span><span class="marked1"><a$/;" a
|
146
|
+
line19 coverage/lib-awsymandias-simple_db_rb.html /^ class="inferred0"><a name="line19"><\/a>19 end <\/span><span$/;" a
|
147
|
+
line2 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ Goal: <\/span><span class="inferred1"><a name="line2"><\/a> 2 # stack =$/;" a
|
148
|
+
line2 coverage/lib-awsymandias-ec2-instance_rb.html /^ <\/span><span class="inferred1"><a name="line2"><\/a> 2 # It wraps the simple$/;" a
|
149
|
+
line2 coverage/lib-awsymandias-simple_db_rb.html /^ class="marked1"><a name="line2"><\/a> 2 module Awsymandias <\/span><span$/;" a
|
150
|
+
line2 coverage/lib-awsymandias-support-hash_rb.html /^ class="marked1"><a name="line2"><\/a> 2 module Support <\/span><span$/;" a
|
151
|
+
line2 coverage/lib-awsymandias_rb.html /^ << dir } <\/span><span class="inferred0"><a name="line2"><\/a> 2$/;" a
|
152
|
+
line20 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ <\/span><span class="uncovered1"><a name="line20"><\/a> 20 end <\/span><span$/;" a
|
153
|
+
line20 coverage/lib-awsymandias-simple_db_rb.html /^ class="inferred1"><a name="line20"><\/a>20 <\/span><span class="marked0"><a$/;" a
|
154
|
+
line21 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred0"><a name="line21"><\/a> 21 <\/span><span class="marked1"><a$/;" a
|
155
|
+
line22 coverage/lib-awsymandias-ec2-instance_rb.html /^ <\/span><span class="inferred1"><a name="line22"><\/a> 22 end <\/span><span$/;" a
|
156
|
+
line22 coverage/lib-awsymandias-simple_db_rb.html /^ class="marked1"><a name="line22"><\/a>22 connection.delete_attributes$/;" a
|
157
|
+
line23 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="uncovered0"><a name="line23"><\/a> 23 returning(new(name, opts)) do$/;" a
|
158
|
+
line23 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line23"><\/a> 23 <\/span><span class="marked1"><a$/;" a
|
159
|
+
line23 coverage/lib-awsymandias_rb.html /^ name="line22"><\/a>22 <\/span><span class="marked1"><a name="line23"><\/a>23$/;" a
|
160
|
+
line24 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ |stack| <\/span><span class="uncovered1"><a name="line24"><\/a> 24$/;" a
|
161
|
+
line24 coverage/lib-awsymandias_rb.html /^ def secret_access_key <\/span><span class="marked0"><a name="line24"><\/a>24$/;" a
|
162
|
+
line25 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ stack.launch <\/span><span class="uncovered0"><a name="line25"><\/a> 25 end$/;" a
|
163
|
+
line25 coverage/lib-awsymandias-simple_db_rb.html /^ name="line24"><\/a>24 <\/span><span class="marked0"><a name="line25"><\/a>25$/;" a
|
164
|
+
line26 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ <\/span><span class="uncovered1"><a name="line26"><\/a> 26 end <\/span><span$/;" a
|
165
|
+
line26 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred1"><a name="line26"><\/a> 26 end <\/span><span$/;" a
|
166
|
+
line26 coverage/lib-awsymandias-simple_db_rb.html /^ private <\/span><span class="inferred1"><a name="line26"><\/a>26 <\/span><span$/;" a
|
167
|
+
line27 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="uncovered0"><a name="line27"><\/a> 27 end <\/span><span$/;" a
|
168
|
+
line27 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line27"><\/a> 27 <\/span><span class="marked1"><a$/;" a
|
169
|
+
line27 coverage/lib-awsymandias-simple_db_rb.html /^ class="marked0"><a name="line27"><\/a>27 def domain_exists?(domain)$/;" a
|
170
|
+
line28 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred1"><a name="line28"><\/a> 28 <\/span><span class="marked0"><a$/;" a
|
171
|
+
line28 coverage/lib-awsymandias-simple_db_rb.html /^ <\/span><span class="marked1"><a name="line28"><\/a>28$/;" a
|
172
|
+
line28 coverage/lib-awsymandias_rb.html /^ name="line27"><\/a>27 <\/span><span class="marked0"><a name="line28"><\/a>28$/;" a
|
173
|
+
line29 coverage/lib-awsymandias-simple_db_rb.html /^ <\/span><span class="inferred0"><a name="line29"><\/a>29 end <\/span><span$/;" a
|
174
|
+
line29 coverage/lib-awsymandias_rb.html /^ module EC2 <\/span><span class="marked1"><a name="line29"><\/a>29 class$/;" a
|
175
|
+
line3 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line3"><\/a> 3 # It inherits from ARes::B in order$/;" a
|
176
|
+
line3 coverage/lib-awsymandias-simple_db_rb.html /^ class="marked0"><a name="line3"><\/a> 3 module SimpleDB # :nodoc <\/span><span$/;" a
|
177
|
+
line3 coverage/lib-awsymandias-support-hash_rb.html /^ class="marked0"><a name="line3"><\/a> 3 module Hash <\/span><span$/;" a
|
178
|
+
line3 coverage/lib-awsymandias_rb.html /^ <\/span><span class="marked1"><a name="line3"><\/a> 3 require 'EC2'$/;" a
|
179
|
+
line30 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked1"><a name="line30"><\/a> 30 opts.assert_valid_keys! :roles$/;" a
|
180
|
+
line30 coverage/lib-awsymandias-ec2-instance_rb.html /^ <\/span><span class="inferred1"><a name="line30"><\/a> 30 end <\/span><span$/;" a
|
181
|
+
line30 coverage/lib-awsymandias-simple_db_rb.html /^ class="inferred1"><a name="line30"><\/a>30 <\/span><span class="marked0"><a$/;" a
|
182
|
+
line30 coverage/lib-awsymandias_rb.html /^ << self <\/span><span class="inferred0"><a name="line30"><\/a>30 #$/;" a
|
183
|
+
line31 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ <\/span><span class="inferred0"><a name="line31"><\/a> 31 <\/span><span$/;" a
|
184
|
+
line31 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line31"><\/a> 31 <\/span><span class="marked1"><a$/;" a
|
185
|
+
line32 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked1"><a name="line32"><\/a> 32 @name = name <\/span><span$/;" a
|
186
|
+
line32 coverage/lib-awsymandias-simple_db_rb.html /^ class="marked1"><a name="line32"><\/a>32 returning(domain) {$/;" a
|
187
|
+
line33 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked0"><a name="line33"><\/a> 33 @roles = opts[:roles] || {}$/;" a
|
188
|
+
line33 coverage/lib-awsymandias-simple_db_rb.html /^ <\/span><span class="inferred0"><a name="line33"><\/a>33 end <\/span><span$/;" a
|
189
|
+
line34 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ <\/span><span class="marked1"><a name="line34"><\/a> 34 @sdb_domain =$/;" a
|
190
|
+
line34 coverage/lib-awsymandias-simple_db_rb.html /^ class="inferred1"><a name="line34"><\/a>34 end <\/span><span$/;" a
|
191
|
+
line34 coverage/lib-awsymandias_rb.html /^ class="marked0"><a name="line34"><\/a>34 :access_key_id =>$/;" a
|
192
|
+
line35 coverage/lib-awsymandias-simple_db_rb.html /^ class="inferred0"><a name="line35"><\/a>35 end <\/span><span$/;" a
|
193
|
+
line35 coverage/lib-awsymandias_rb.html /^ class="marked1"><a name="line35"><\/a>35 :secret_access_key =>$/;" a
|
194
|
+
line36 coverage/lib-awsymandias-simple_db_rb.html /^ class="inferred1"><a name="line36"><\/a>36 end <\/span><\/pre>$/;" a
|
195
|
+
line36 coverage/lib-awsymandias_rb.html /^ <\/span><span class="marked0"><a name="line36"><\/a>36 ) <\/span><span$/;" a
|
196
|
+
line37 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred0"><a name="line37"><\/a> 37 end <\/span><span$/;" a
|
197
|
+
line37 coverage/lib-awsymandias-ec2-instance_rb.html /^ name="line36"><\/a> 36 <\/span><span class="marked0"><a name="line37"><\/a> 37$/;" a
|
198
|
+
line37 coverage/lib-awsymandias_rb.html /^ class="inferred1"><a name="line37"><\/a>37 end <\/span><span$/;" a
|
199
|
+
line38 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred1"><a name="line38"><\/a> 38 <\/span><span class="marked0"><a$/;" a
|
200
|
+
line38 coverage/lib-awsymandias-ec2-instance_rb.html /^ def reload <\/span><span class="inferred1"><a name="line38"><\/a> 38$/;" a
|
201
|
+
line38 coverage/lib-awsymandias_rb.html /^ class="inferred0"><a name="line38"><\/a>38 <\/span><span class="marked1"><a$/;" a
|
202
|
+
line4 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ <\/span><span class="inferred1"><a name="line4"><\/a> 4 # stack.role$/;" a
|
203
|
+
line4 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked1"><a name="line4"><\/a> 4 module Awsymandias <\/span><span$/;" a
|
204
|
+
line4 coverage/lib-awsymandias-simple_db_rb.html /^ class="marked1"><a name="line4"><\/a> 4 class << self <\/span><span$/;" a
|
205
|
+
line4 coverage/lib-awsymandias-support-hash_rb.html /^ class="inferred1"><a name="line4"><\/a> 4 # Ganked from ActiveResource 2.3.2.$/;" a
|
206
|
+
line4 coverage/lib-awsymandias_rb.html /^ <\/span><span class="marked0"><a name="line4"><\/a> 4 require 'aws_sdb'$/;" a
|
207
|
+
line40 coverage/lib-awsymandias-ec2-instance_rb.html /^ <\/span><span class="inferred1"><a name="line40"><\/a> 40$/;" a
|
208
|
+
line41 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked0"><a name="line41"><\/a> 41 names.each do |name| <\/span><span$/;" a
|
209
|
+
line41 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked0"><a name="line41"><\/a> 41 first # Good lord. <\/span><span$/;" a
|
210
|
+
line41 coverage/lib-awsymandias_rb.html /^ name="line40"><\/a>40 [ <\/span><span class="marked1"><a name="line41"><\/a>41$/;" a
|
211
|
+
line42 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked1"><a name="line42"><\/a> 42 @roles[name] = opts <\/span><span$/;" a
|
212
|
+
line42 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked1"><a name="line42"><\/a> 42 )) <\/span><span$/;" a
|
213
|
+
line43 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked0"><a name="line43"><\/a> 43 self.metaclass.send(:define_method,$/;" a
|
214
|
+
line43 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line43"><\/a> 43 end <\/span><span$/;" a
|
215
|
+
line43 coverage/lib-awsymandias_rb.html /^ class="inferred1"><a name="line43"><\/a>43$/;" a
|
216
|
+
line44 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred1"><a name="line44"><\/a> 44 <\/span><span class="marked0"><a$/;" a
|
217
|
+
line44 coverage/lib-awsymandias_rb.html /^ class="inferred0"><a name="line44"><\/a>44$/;" a
|
218
|
+
line45 coverage/lib-awsymandias_rb.html /^ class="inferred1"><a name="line45"><\/a>45$/;" a
|
219
|
+
line47 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ name="line46"><\/a> 46 <\/span><span class="marked0"><a name="line47"><\/a> 47$/;" a
|
220
|
+
line47 coverage/lib-awsymandias-ec2-instance_rb.html /^ name="line46"><\/a> 46 { <\/span><span class="marked0"><a name="line47"><\/a>$/;" a
|
221
|
+
line47 coverage/lib-awsymandias_rb.html /^ class="inferred1"><a name="line47"><\/a>47 end <\/span><span$/;" a
|
222
|
+
line48 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ def launch <\/span><span class="marked1"><a name="line48"><\/a> 48 @roles.each$/;" a
|
223
|
+
line48 coverage/lib-awsymandias_rb.html /^ class="inferred0"><a name="line48"><\/a>48 end <\/span><span$/;" a
|
224
|
+
line49 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ <\/span><span class="marked0"><a name="line49"><\/a> 49 @instances[name] =$/;" a
|
225
|
+
line49 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked0"><a name="line49"><\/a> 49 :instance_type =>$/;" a
|
226
|
+
line49 coverage/lib-awsymandias_rb.html /^ class="inferred1"><a name="line49"><\/a>49 <\/span><span class="marked0"><a$/;" a
|
227
|
+
line5 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ <\/span><span class="inferred0"><a name="line5"><\/a> 5 # stack.role$/;" a
|
228
|
+
line5 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked0"><a name="line5"><\/a> 5 module EC2 <\/span><span$/;" a
|
229
|
+
line5 coverage/lib-awsymandias-simple_db_rb.html /^ class="marked0"><a name="line5"><\/a> 5 def connection(opts={}) <\/span><span$/;" a
|
230
|
+
line5 coverage/lib-awsymandias-support-hash_rb.html /^ <\/span><span class="marked0"><a name="line5"><\/a> 5 def$/;" a
|
231
|
+
line5 coverage/lib-awsymandias_rb.html /^ <\/span><span class="marked1"><a name="line5"><\/a> 5 require 'money'$/;" a
|
232
|
+
line50 coverage/lib-awsymandias-ec2-instance_rb.html /^ self.instance_type, <\/span><span class="marked1"><a name="line50"><\/a> 50$/;" a
|
233
|
+
line51 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ name="line50"><\/a> 50 end <\/span><span class="marked0"><a name="line51"><\/a>$/;" a
|
234
|
+
line51 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked0"><a name="line51"><\/a> 51 } <\/span><span class="inferred1"><a$/;" a
|
235
|
+
line51 coverage/lib-awsymandias_rb.html /^ <\/span><span class="inferred1"><a name="line51"><\/a>51 <\/span><span$/;" a
|
236
|
+
line52 coverage/lib-awsymandias_rb.html /^ class="inferred0"><a name="line52"><\/a>52 # All currently available instance$/;" a
|
237
|
+
line53 coverage/lib-awsymandias_rb.html /^ types. <\/span><span class="inferred1"><a name="line53"><\/a>53 # TODO$/;" a
|
238
|
+
line54 coverage/lib-awsymandias-ec2-instance_rb.html /^ name="line53"><\/a> 53 <\/span><span class="marked1"><a name="line54"><\/a> 54$/;" a
|
239
|
+
line54 coverage/lib-awsymandias_rb.html /^ Generate dynamically. <\/span><span class="marked0"><a name="line54"><\/a>54$/;" a
|
240
|
+
line55 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ name="line54"><\/a> 54 <\/span><span class="marked0"><a name="line55"><\/a> 55$/;" a
|
241
|
+
line55 coverage/lib-awsymandias-ec2-instance_rb.html /^ def instance_type <\/span><span class="marked0"><a name="line55"><\/a> 55$/;" a
|
242
|
+
line55 coverage/lib-awsymandias_rb.html /^ module InstanceTypes <\/span><span class="marked1"><a name="line55"><\/a>55$/;" a
|
243
|
+
line56 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ def reload <\/span><span class="uncovered1"><a name="line56"><\/a> 56 raise$/;" a
|
244
|
+
line56 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred1"><a name="line56"><\/a> 56 end <\/span><span$/;" a
|
245
|
+
line56 coverage/lib-awsymandias_rb.html /^ <\/span><span class="marked0"><a name="line56"><\/a>56 M1_LARGE =$/;" a
|
246
|
+
line57 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="uncovered0"><a name="line57"><\/a> 57$/;" a
|
247
|
+
line57 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line57"><\/a> 57 <\/span><span class="marked1"><a$/;" a
|
248
|
+
line57 coverage/lib-awsymandias_rb.html /^ class="marked1"><a name="line57"><\/a>57 M1_XLARGE =$/;" a
|
249
|
+
line58 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ remote call. <\/span><span class="uncovered1"><a name="line58"><\/a> 58 self$/;" a
|
250
|
+
line58 coverage/lib-awsymandias_rb.html /^ class="inferred0"><a name="line58"><\/a>58 <\/span><span class="marked1"><a$/;" a
|
251
|
+
line59 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ <\/span><span class="uncovered0"><a name="line59"><\/a> 59 end <\/span><span$/;" a
|
252
|
+
line6 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked1"><a name="line6"><\/a> 6 class Instance <$/;" a
|
253
|
+
line6 coverage/lib-awsymandias-simple_db_rb.html /^ class="marked1"><a name="line6"><\/a> 6 @connection ||=$/;" a
|
254
|
+
line6 coverage/lib-awsymandias_rb.html /^ <\/span><span class="marked0"><a name="line6"><\/a> 6 require 'activesupport'$/;" a
|
255
|
+
line60 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred1"><a name="line60"><\/a> 60 <\/span><span class="marked0"><a$/;" a
|
256
|
+
line60 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred1"><a name="line60"><\/a> 60 end <\/span><span$/;" a
|
257
|
+
line60 coverage/lib-awsymandias_rb.html /^ Money.new(20)) <\/span><span class="marked0"><a name="line60"><\/a>60$/;" a
|
258
|
+
line61 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line61"><\/a> 61 <\/span><span class="marked1"><a$/;" a
|
259
|
+
line61 coverage/lib-awsymandias_rb.html /^ <\/span><span class="inferred1"><a name="line61"><\/a>61 end <\/span><span$/;" a
|
260
|
+
line62 coverage/lib-awsymandias_rb.html /^ class="inferred0"><a name="line62"><\/a>62 <\/span><span class="inferred1"><a$/;" a
|
261
|
+
line64 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked1"><a name="line64"><\/a> 64 self <\/span><span$/;" a
|
262
|
+
line64 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked1"><a name="line64"><\/a> 64 Time.now - self.launch_time$/;" a
|
263
|
+
line64 coverage/lib-awsymandias_rb.html /^ class="inferred0"><a name="line64"><\/a>64 # TODO Generate dynamically.$/;" a
|
264
|
+
line65 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred0"><a name="line65"><\/a> 65 end <\/span><span$/;" a
|
265
|
+
line65 coverage/lib-awsymandias-ec2-instance_rb.html /^ <\/span><span class="inferred0"><a name="line65"><\/a> 65 end <\/span><span$/;" a
|
266
|
+
line65 coverage/lib-awsymandias_rb.html /^ <\/span><span class="marked1"><a name="line65"><\/a>65 module$/;" a
|
267
|
+
line66 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred1"><a name="line66"><\/a> 66 <\/span><span class="marked0"><a$/;" a
|
268
|
+
line66 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred1"><a name="line66"><\/a> 66 <\/span><span class="marked0"><a$/;" a
|
269
|
+
line66 coverage/lib-awsymandias_rb.html /^ AvailabilityZones <\/span><span class="marked0"><a name="line66"><\/a>66$/;" a
|
270
|
+
line68 coverage/lib-awsymandias_rb.html /^ class="marked0"><a name="line68"><\/a>68 US_EAST_1C = "us_east_1c"$/;" a
|
271
|
+
line69 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred0"><a name="line69"><\/a> 69 end <\/span><span$/;" a
|
272
|
+
line69 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked0"><a name="line69"><\/a> 69 instance_type.price_per_hour *$/;" a
|
273
|
+
line69 coverage/lib-awsymandias_rb.html /^ <\/span><span class="inferred1"><a name="line69"><\/a>69 <\/span><span$/;" a
|
274
|
+
line7 coverage/lib-awsymandias-ec2-instance_rb.html /^ ActiveResource::Base <\/span><span class="marked0"><a name="line7"><\/a> 7$/;" a
|
275
|
+
line7 coverage/lib-awsymandias-simple_db_rb.html /^ ::AwsSdb::Service.new({ <\/span><span class="marked0"><a name="line7"><\/a> 7$/;" a
|
276
|
+
line7 coverage/lib-awsymandias_rb.html /^ <\/span><span class="marked1"><a name="line7"><\/a> 7 require 'activeresource'$/;" a
|
277
|
+
line70 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred1"><a name="line70"><\/a> 70 <\/span><span class="marked0"><a$/;" a
|
278
|
+
line70 coverage/lib-awsymandias-ec2-instance_rb.html /^ (uptime \/ 1.hour).ceil <\/span><span class="inferred1"><a name="line70"><\/a>$/;" a
|
279
|
+
line70 coverage/lib-awsymandias_rb.html /^ class="marked0"><a name="line70"><\/a>70 EU_WEST_1A = "eu_west_1a"$/;" a
|
280
|
+
line71 coverage/lib-awsymandias-ec2-instance_rb.html /^ 70 end <\/span><span class="inferred0"><a name="line71"><\/a> 71 <\/span><span$/;" a
|
281
|
+
line71 coverage/lib-awsymandias_rb.html /^ <\/span><span class="marked1"><a name="line71"><\/a>71 EU_WEST_1B =$/;" a
|
282
|
+
line72 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked1"><a name="line72"><\/a> 72 class << self <\/span><span$/;" a
|
283
|
+
line73 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked0"><a name="line73"><\/a> 73 def find(*args) <\/span><span$/;" a
|
284
|
+
line74 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked1"><a name="line74"><\/a> 74 opts = args.extract_options!$/;" a
|
285
|
+
line74 coverage/lib-awsymandias_rb.html /^ name="line73"><\/a>73 <\/span><span class="inferred0"><a name="line74"><\/a>74$/;" a
|
286
|
+
line75 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ name="line74"><\/a> 74 <\/span><span class="marked0"><a name="line75"><\/a> 75$/;" a
|
287
|
+
line75 coverage/lib-awsymandias-ec2-instance_rb.html /^ <\/span><span class="marked0"><a name="line75"><\/a> 75 what = args.first$/;" a
|
288
|
+
line75 coverage/lib-awsymandias_rb.html /^ end <\/span><span class="inferred1"><a name="line75"><\/a>75 end <\/span><\/pre>$/;" a
|
289
|
+
line76 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ def port_open?(port) <\/span><span class="marked1"><a name="line76"><\/a> 76$/;" a
|
290
|
+
line76 coverage/lib-awsymandias-ec2-instance_rb.html /^ <\/span><span class="inferred1"><a name="line76"><\/a> 76 <\/span><span$/;" a
|
291
|
+
line77 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred0"><a name="line77"><\/a> 77 end <\/span><span$/;" a
|
292
|
+
line77 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked0"><a name="line77"><\/a> 77 if what == :all <\/span><span$/;" a
|
293
|
+
line78 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred1"><a name="line78"><\/a> 78 <\/span><span class="marked0"><a$/;" a
|
294
|
+
line78 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked1"><a name="line78"><\/a> 78 find_all(opts[:instance_ids], opts)$/;" a
|
295
|
+
line79 coverage/lib-awsymandias-ec2-instance_rb.html /^ <\/span><span class="inferred0"><a name="line79"><\/a> 79 else <\/span><span$/;" a
|
296
|
+
line8 coverage/lib-awsymandias_rb.html /^ <\/span><span class="marked0"><a name="line8"><\/a> 8 require 'net\/telnet'$/;" a
|
297
|
+
line80 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked1"><a name="line80"><\/a> 80 find_one(what, opts) <\/span><span$/;" a
|
298
|
+
line81 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked0"><a name="line81"><\/a> 81 @instances.values.sum { |instance|$/;" a
|
299
|
+
line81 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line81"><\/a> 81 end <\/span><span$/;" a
|
300
|
+
line82 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ instance.running_cost } <\/span><span class="inferred1"><a name="line82"><\/a>$/;" a
|
301
|
+
line82 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred1"><a name="line82"><\/a> 82 end <\/span><span$/;" a
|
302
|
+
line83 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ 82 end <\/span><span class="inferred0"><a name="line83"><\/a> 83 <\/span><span$/;" a
|
303
|
+
line83 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line83"><\/a> 83 <\/span><span class="marked1"><a$/;" a
|
304
|
+
line84 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked1"><a name="line84"><\/a> 84 def inspect <\/span><span$/;" a
|
305
|
+
line85 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="uncovered0"><a name="line85"><\/a> 85 ( [ "Environment #{@name},$/;" a
|
306
|
+
line85 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked0"><a name="line85"><\/a> 85 reservation_set =$/;" a
|
307
|
+
line86 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="uncovered1"><a name="line86"><\/a> 86 "** #{role_name}:$/;" a
|
308
|
+
line87 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ #{opts.inspect}" <\/span><span class="uncovered0"><a name="line87"><\/a>$/;" a
|
309
|
+
line87 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="uncovered0"><a name="line87"><\/a> 87 [] <\/span><span$/;" a
|
310
|
+
line88 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred1"><a name="line88"><\/a> 88 else <\/span><span$/;" a
|
311
|
+
line89 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked0"><a name="line89"><\/a> 89$/;" a
|
312
|
+
line9 coverage/lib-awsymandias-support-hash_rb.html /^ class="marked0"><a name="line9"><\/a> 9 h[k.to_s.underscore.tr("-",$/;" a
|
313
|
+
line9 coverage/lib-awsymandias_rb.html /^ <\/span><span class="inferred1"><a name="line9"><\/a> 9 <\/span><span$/;" a
|
314
|
+
line90 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ name="line89"><\/a> 89 <\/span><span class="marked1"><a name="line90"><\/a> 90$/;" a
|
315
|
+
line90 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked1"><a name="line90"><\/a> 90$/;" a
|
316
|
+
line91 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ private <\/span><span class="inferred0"><a name="line91"><\/a> 91 <\/span><span$/;" a
|
317
|
+
line91 coverage/lib-awsymandias-ec2-instance_rb.html /^ <\/span><span class="marked0"><a name="line91"><\/a> 91$/;" a
|
318
|
+
line92 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked1"><a name="line92"><\/a> 92 def$/;" a
|
319
|
+
line92 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred1"><a name="line92"><\/a> 92 end <\/span><span$/;" a
|
320
|
+
line93 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line93"><\/a> 93 end <\/span><span$/;" a
|
321
|
+
line94 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ returning({}) do |h| <\/span><span class="marked1"><a name="line94"><\/a> 94$/;" a
|
322
|
+
line94 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred1"><a name="line94"><\/a> 94 end <\/span><span$/;" a
|
323
|
+
line95 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ <\/span><span class="uncovered0"><a name="line95"><\/a> 95 end ) <\/span><span$/;" a
|
324
|
+
line95 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred0"><a name="line95"><\/a> 95 end <\/span><span$/;" a
|
325
|
+
line96 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="uncovered1"><a name="line96"><\/a> 96 end <\/span><span$/;" a
|
326
|
+
line96 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="inferred1"><a name="line96"><\/a> 96 <\/span><span class="marked0"><a$/;" a
|
327
|
+
line97 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="inferred0"><a name="line97"><\/a> 97 <\/span><span class="marked1"><a$/;" a
|
328
|
+
line98 coverage/lib-awsymandias-ec2-instance_rb.html /^ class="marked1"><a name="line98"><\/a> 98 reservation_set =$/;" a
|
329
|
+
line99 coverage/lib-awsymandias-ec2-application_stack_rb.html /^ class="marked0"><a name="line99"><\/a> 99 Awsymandias::SimpleDB.delete$/;" a
|
330
|
+
list_domains spec/awsymandias_spec.rb /^ def list_domains$/;" f class:SimpleDBStub
|
331
|
+
list_domains spec/ec2/application_stack_spec.rb /^ def list_domains$/;" f class:SimpleDBStub
|
332
|
+
list_domains vendor/aws-sdb/lib/aws_sdb/service.rb /^ def list_domains(max = nil, token = nil)$/;" f class:AwsSdb.Service
|
333
|
+
pending? lib/awsymandias/ec2/instance.rb /^ def pending?$/;" f class:Awsymandias.EC2.Instance
|
334
|
+
port_open? lib/awsymandias/ec2/application_stack.rb /^ def port_open?(port)$/;" f class:Awsymandias.EC2
|
335
|
+
port_open? lib/awsymandias/ec2/instance.rb /^ def port_open?(port)$/;" f class:Awsymandias.EC2.Instance
|
336
|
+
private_dns lib/awsymandias/ec2/instance.rb /^ def private_dns; private_dns_name; end$/;" f class:Awsymandias.EC2.Instance
|
337
|
+
public_dns lib/awsymandias/ec2/instance.rb /^ def public_dns; dns_name; end$/;" f class:Awsymandias.EC2.Instance
|
338
|
+
put lib/awsymandias/simple_db.rb /^ def put(domain, name, stuff)$/;" f class:Awsymandias.SimpleDB
|
339
|
+
put_attributes spec/awsymandias_spec.rb /^ def put_attributes(domain, name, attributes)$/;" f class:SimpleDBStub
|
340
|
+
put_attributes spec/ec2/application_stack_spec.rb /^ def put_attributes(domain, name, attributes)$/;" f class:SimpleDBStub
|
341
|
+
put_attributes vendor/aws-sdb/lib/aws_sdb/service.rb /^ def put_attributes(domain, item, attributes, replace = true)$/;" f
|
342
|
+
query vendor/aws-sdb/lib/aws_sdb/service.rb /^ def query(domain, query, max = nil, token = nil)$/;" f
|
343
|
+
query_with_attributes vendor/aws-sdb/lib/aws_sdb/service.rb /^ def query_with_attributes(domain, query, max = nil, token = nil)$/;" f class:AwsSdb.Service
|
344
|
+
reformat_incoming_param_data lib/awsymandias/support/hash.rb /^ def reformat_incoming_param_data(params)$/;" f class:Awsymandias.Support.Hash
|
345
|
+
reload lib/awsymandias/ec2/application_stack.rb /^ def reload$/;" f class:Awsymandias.EC2
|
346
|
+
reload lib/awsymandias/ec2/instance.rb /^ def reload$/;" f class:Awsymandias.EC2.Instance
|
347
|
+
remove_role_to_instance_id_mapping! lib/awsymandias/ec2/application_stack.rb /^ def remove_role_to_instance_id_mapping!$/;" f class:Awsymandias
|
348
|
+
retrieve_role_to_instance_id_mapping lib/awsymandias/ec2/application_stack.rb /^ def retrieve_role_to_instance_id_mapping$/;" f class:Awsymandias
|
349
|
+
role lib/awsymandias/ec2/application_stack.rb /^ def role(*names)$/;" f class:Awsymandias.EC2
|
350
|
+
running? lib/awsymandias/ec2/application_stack.rb /^ def running?$/;" f class:Awsymandias.EC2
|
351
|
+
running? lib/awsymandias/ec2/instance.rb /^ def running?$/;" f class:Awsymandias.EC2.Instance
|
352
|
+
running_cost lib/awsymandias/ec2/application_stack.rb /^ def running_cost$/;" f class:Awsymandias.EC2
|
353
|
+
running_cost lib/awsymandias/ec2/instance.rb /^ def running_cost$/;" f class:Awsymandias.EC2.Instance
|
354
|
+
secret_access_key lib/awsymandias.rb /^ def secret_access_key$/;" f class:Awsymandias
|
355
|
+
service.rb vendor/aws-sdb/lib/aws_sdb/service.rb 1;" F
|
356
|
+
service_spec.rb vendor/aws-sdb/spec/aws_sdb/service_spec.rb 1;" F
|
357
|
+
simple_db.rb lib/awsymandias/simple_db.rb 1;" F
|
358
|
+
spec_helper.rb vendor/aws-sdb/spec/spec_helper.rb 1;" F
|
359
|
+
store_role_to_instance_id_mapping! lib/awsymandias/ec2/application_stack.rb /^ def store_role_to_instance_id_mapping!$/;" f class:Awsymandias
|
360
|
+
stub_connection_with spec/awsymandias_spec.rb /^ def stub_connection_with(return_value)$/;" f
|
361
|
+
stub_instance spec/awsymandias_spec.rb /^ def stub_instance(stubs={})$/;" f
|
362
|
+
stub_instance spec/ec2/application_stack_spec.rb /^ def stub_instance(stubs={})$/;" f
|
363
|
+
terminate! lib/awsymandias/ec2/application_stack.rb /^ def terminate!$/;" f class:Awsymandias.EC2
|
364
|
+
terminate! lib/awsymandias/ec2/instance.rb /^ def terminate!$/;" f class:Awsymandias.EC2.Instance
|
365
|
+
terminated? lib/awsymandias/ec2/instance.rb /^ def terminated?$/;" f class:Awsymandias.EC2.Instance
|
366
|
+
to_params lib/awsymandias/ec2/instance.rb /^ def to_params$/;" f class:Awsymandias.EC2.Instance
|
367
|
+
uptime lib/awsymandias/ec2/instance.rb /^ def uptime$/;" f class:Awsymandias.EC2.Instance
|
368
|
+
zero_dollars spec/awsymandias_spec.rb /^ def zero_dollars$/;" f
|