aws-sdk 2.0.1 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +20 -0
- package/.gitignore +10 -0
- package/.travis.yml +20 -0
- package/.yardopts +20 -0
- package/.yardopts_guide +21 -0
- package/Gemfile +16 -0
- package/Gemfile.lock +34 -0
- package/README.md +5 -6
- package/Rakefile +14 -0
- package/UPGRADING.md +9 -4
- package/configuration.sample +5 -0
- package/dist/BUNDLE_LICENSE.txt +96 -0
- package/dist/aws-sdk.js +9594 -0
- package/dist/aws-sdk.min.js +21 -0
- package/dist-tools/.eslintrc +10 -0
- package/dist-tools/browser-builder.js +142 -0
- package/dist-tools/strategies/cache.js +68 -0
- package/dist-tools/strategies/default.js +165 -0
- package/dist-tools/test/browser-builder.mocha.spec.coffee +182 -0
- package/dist-tools/test/helpers.coffee +16 -0
- package/doc-src/guide/browser-building.md +93 -0
- package/doc-src/guide/browser-configuring-wif.md +287 -0
- package/doc-src/guide/browser-configuring.md +218 -0
- package/doc-src/guide/browser-examples.md +220 -0
- package/doc-src/guide/browser-intro.md +46 -0
- package/doc-src/guide/browser-making-requests.md +279 -0
- package/doc-src/guide/browser-services.md +75 -0
- package/doc-src/guide/index.md +41 -0
- package/doc-src/guide/node-configuring.md +272 -0
- package/doc-src/guide/node-examples.md +341 -0
- package/doc-src/guide/node-intro.md +32 -0
- package/doc-src/guide/node-making-requests.md +309 -0
- package/doc-src/guide/node-services.md +159 -0
- package/doc-src/templates/api-versions/model_documentor.rb +366 -0
- package/doc-src/templates/api-versions/plugin.rb +230 -0
- package/doc-src/templates/api-versions/templates/default/class/html/setup.rb +9 -0
- package/doc-src/templates/api-versions/templates/default/class/html/waiter_details_list.erb +7 -0
- package/doc-src/templates/api-versions/templates/default/class/html/waiter_summary.erb +7 -0
- package/doc-src/templates/api-versions/templates/default/docstring/html/experimental.erb +4 -0
- package/doc-src/templates/api-versions/templates/default/docstring/setup.rb +9 -0
- package/doc-src/templates/api-versions/templates/default/fulldoc/html/css/common.css +6 -0
- package/doc-src/templates/api-versions/templates/default/fulldoc/html/setup.rb +62 -0
- package/doc-src/templates/api-versions/templates/default/layout/html/services.erb +10 -0
- package/doc-src/templates/api-versions/templates/default/layout/html/setup.rb +28 -0
- package/doc-src/templates/api-versions/templates/default/module/html/box_info.erb +45 -0
- package/doc-src/templates/api-versions/templates/default/module/html/children.erb +8 -0
- package/doc-src/templates/api-versions/templates/default/tags/setup.rb +3 -0
- package/doc-src/templates/api-versions/templates/default/waiter_details/html/method_signature.erb +3 -0
- package/doc-src/templates/api-versions/templates/default/waiter_details/html/setup.rb +5 -0
- package/doc-src/templates/default/layout/html/footer.erb +31 -0
- package/doc-src/templates/default/layout/html/layout.erb +23 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/css/highlight.github.css +127 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/css/style.css +1192 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/img/logo.png +0 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/js/app.js +33 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/js/highlight.pack.js +27 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/js/sphinx/AUTHORS +55 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/js/sphinx/LICENSE +25 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/js/sphinx/doctools.js +247 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/js/sphinx/file.png +0 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/js/sphinx/searchtools.js +568 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/js/underscore.js +23 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/search.erb +29 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/search_index.erb +1 -0
- package/doc-src/templates/flasky_sphinx_guide/fulldoc/html/setup.rb +75 -0
- package/doc-src/templates/flasky_sphinx_guide/layout/html/layout.erb +93 -0
- package/doc-src/templates/flasky_sphinx_guide/layout/html/setup.rb +9 -0
- package/doc-src/templates/flasky_sphinx_guide/layout/html/sidebar.erb +45 -0
- package/doc-src/templates/flasky_sphinx_guide/onefile/html/layout.erb +51 -0
- package/doc-src/templates/flasky_sphinx_guide/onefile/html/setup.rb +1 -0
- package/eslint-rules/no-require-in-service.js +10 -0
- package/features/autoscaling/autoscaling.feature +21 -0
- package/features/autoscaling/step_definitions/autoscaling.js +49 -0
- package/features/cloudformation/cloudformation.feature +22 -0
- package/features/cloudformation/step_definitions/cloudformation.js +26 -0
- package/features/cloudfront/cloudfront.feature +28 -0
- package/features/cloudfront/step_definitions/cloudfront-latest.js +54 -0
- package/features/cloudfront/step_definitions/cloudfront.js +21 -0
- package/features/cloudsearch/cloudsearch.feature +34 -0
- package/features/cloudsearch/step_definitions/cloudsearch.js +42 -0
- package/features/cloudtrail/cloudtrail.feature +17 -0
- package/features/cloudtrail/step_definitions/cloudtrail.js +14 -0
- package/features/cloudwatch/cloudwatch.feature +15 -0
- package/features/cloudwatch/step_definitions/cloudwatch.js +48 -0
- package/features/datapipeline/datapipeline.feature +23 -0
- package/features/datapipeline/step_definitions/datapipeline.js +79 -0
- package/features/directconnect/directconnect.feature +20 -0
- package/features/directconnect/step_definitions/directconnect.js +44 -0
- package/features/dynamodb/crc32.feature +18 -0
- package/features/dynamodb/step_definitions/dynamodb.js +154 -0
- package/features/dynamodb/tables.feature +50 -0
- package/features/ec2/ec2.feature +28 -0
- package/features/ec2/step_definitions/ec2.js +65 -0
- package/features/elasticache/elasticache.feature +20 -0
- package/features/elasticache/step_definitions/elasticache.js +34 -0
- package/features/elasticbeanstalk/elasticbeanstalk.feature +22 -0
- package/features/elasticbeanstalk/step_definitions/elasticbeanstalk.js +38 -0
- package/features/elastictranscoder/elastictranscoder.feature +24 -0
- package/features/elastictranscoder/step_definitions/elastictranscoder.js +56 -0
- package/features/elb/elb.feature +19 -0
- package/features/elb/step_definitions/elb.js +37 -0
- package/features/emr/emr.feature +16 -0
- package/features/emr/step_definitions/emr.js +45 -0
- package/features/extra/assertions.js +29 -0
- package/features/extra/dummy.feature +0 -0
- package/features/extra/fixtures/testfile.txt +1 -0
- package/features/extra/helpers.js +113 -0
- package/features/extra/hooks.js +107 -0
- package/features/extra/world.js +12 -0
- package/features/glacier/glacier.feature +47 -0
- package/features/glacier/step_definitions/glacier.js +112 -0
- package/features/iam/iam.feature +24 -0
- package/features/iam/step_definitions/iam.js +66 -0
- package/features/importexport/importexport.feature +53 -0
- package/features/importexport/step_definitions/importexport.js +42 -0
- package/features/kinesis/kinesis.feature +9 -0
- package/features/kinesis/step_definitions/kinesis.js +10 -0
- package/features/opsworks/opsworks.feature +26 -0
- package/features/opsworks/step_definitions/opsworks.js +42 -0
- package/features/rds/rds.feature +32 -0
- package/features/rds/step_definitions/rds.js +72 -0
- package/features/redshift/redshift.feature +20 -0
- package/features/redshift/step_definitions/redshift.js +33 -0
- package/features/route53/route53.feature +41 -0
- package/features/route53/step_definitions/route53.js +97 -0
- package/features/s3/buckets.feature +40 -0
- package/features/s3/objects.feature +122 -0
- package/features/s3/step_definitions/buckets.js +136 -0
- package/features/s3/step_definitions/hooks.js +39 -0
- package/features/s3/step_definitions/objects.js +204 -0
- package/features/s3/step_definitions/proxy.js +44 -0
- package/features/ses/ses.feature +20 -0
- package/features/ses/step_definitions/ses.js +22 -0
- package/features/simpledb/simpledb.feature +29 -0
- package/features/simpledb/step_definitions/simpledb.js +46 -0
- package/features/sns/sns.feature +15 -0
- package/features/sns/step_definitions/sns.js +33 -0
- package/features/sqs/messages.feature +21 -0
- package/features/sqs/queues.feature +18 -0
- package/features/sqs/step_definitions/messages.js +46 -0
- package/features/sqs/step_definitions/queues.js +33 -0
- package/features/sqs/step_definitions/sqs.js +7 -0
- package/features/storagegateway/step_definitions/storagegateway.js +16 -0
- package/features/storagegateway/storagegateway.feature +13 -0
- package/features/sts/step_definitions/sts.js +35 -0
- package/features/sts/sts.feature +29 -0
- package/features/support/step_definitions/support.js +35 -0
- package/features/support/support.feature +18 -0
- package/features/swf/step_definitions/swf.js +38 -0
- package/features/swf/swf.feature +15 -0
- package/index.js +2 -0
- package/lib/core.js +2 -2
- package/lib/credentials/shared_ini_file_credentials.js +0 -1
- package/lib/event_listeners.js +13 -1
- package/lib/http/node.js +19 -30
- package/lib/model/resource_waiter.js +0 -4
- package/lib/model/shape.js +2 -1
- package/lib/protocol/rest_xml.js +1 -1
- package/lib/region_config.js +31 -0
- package/lib/region_config.json +56 -0
- package/lib/request.js +37 -45
- package/lib/sequential_executor.js +17 -34
- package/lib/service.js +17 -44
- package/lib/services/cloudsearchdomain.js +69 -0
- package/lib/services/route53.js +0 -12
- package/lib/services/s3.js +3 -19
- package/lib/signers/v4.js +2 -1
- package/lib/util.js +28 -3
- package/package.json +3 -3
- package/scripts/console +11 -3
- package/scripts/coverage +126 -0
- package/tasks/apis.rake +122 -0
- package/tasks/browser.rake +89 -0
- package/tasks/docs.rake +36 -0
- package/tasks/lib/cucumber_generator.rb +40 -0
- package/tasks/util.rake +33 -0
- package/test/browser/js/jasmine-1.3.1.js +2600 -0
- package/test/browser/js/jasmine-html.js +681 -0
- package/test/browser/runner.html +109 -0
- package/test/browser/runner.js +92 -0
- package/test/browser/sample/appinfo.sample.js +15 -0
- package/test/browser/sample/console.html +429 -0
- package/test/browser/sample/css/smoothness/images/animated-overlay.gif +0 -0
- package/test/browser/sample/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- package/test/browser/sample/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- package/test/browser/sample/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- package/test/browser/sample/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- package/test/browser/sample/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- package/test/browser/sample/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- package/test/browser/sample/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- package/test/browser/sample/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- package/test/browser/sample/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
- package/test/browser/sample/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- package/test/browser/sample/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
- package/test/browser/sample/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
- package/test/browser/sample/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- package/test/browser/sample/css/smoothness/jquery-ui-1.10.1.custom.css +1175 -0
- package/test/browser/sample/css/smoothness/jquery-ui-1.10.1.custom.min.css +5 -0
- package/test/browser/sample/img/loading.gif +0 -0
- package/test/browser/sample/js/jquery-1.9.1.js +9597 -0
- package/test/browser/sample/js/jquery-ui-1.10.1.custom.js +14903 -0
- package/test/browser/sample/js/jquery-ui-1.10.1.custom.min.js +6 -0
- package/test/browser/sample/s3upload.html +111 -0
- package/test/browser.spec.coffee +207 -0
- package/test/config.spec.coffee +202 -0
- package/test/credential_provider_chain.spec.coffee +90 -0
- package/test/credentials.spec.coffee +452 -0
- package/test/endpoint.spec.coffee +80 -0
- package/test/event_listeners.spec.coffee +493 -0
- package/test/helpers.coffee +150 -0
- package/test/http_request.spec.coffee +55 -0
- package/test/json/builder.spec.coffee +129 -0
- package/test/json/parser.spec.coffee +108 -0
- package/test/metadata_service.spec.coffee +54 -0
- package/test/model/api.spec.coffee +67 -0
- package/test/model/shape.spec.coffee +23 -0
- package/test/node_http_client.spec.coffee +40 -0
- package/test/param_validator.spec.coffee +456 -0
- package/test/protocol/json.spec.coffee +167 -0
- package/test/protocol/query.spec.coffee +191 -0
- package/test/protocol/rest.spec.coffee +237 -0
- package/test/protocol/rest_json.spec.coffee +255 -0
- package/test/protocol/rest_xml.spec.coffee +329 -0
- package/test/query/query_param_serializer.spec.coffee +327 -0
- package/test/region_config.spec.coffee +50 -0
- package/test/request.spec.coffee +316 -0
- package/test/resource_waiter.spec.coffee +89 -0
- package/test/response.spec.coffee +81 -0
- package/test/sequential_executor.spec.coffee +118 -0
- package/test/service.spec.coffee +230 -0
- package/test/services/cloudfront.spec.coffee +44 -0
- package/test/services/cloudsearchdomain.spec.coffee +23 -0
- package/test/services/dynamodb.spec.coffee +32 -0
- package/test/services/ec2.spec.coffee +78 -0
- package/test/services/elastictranscoder.spec.coffee +43 -0
- package/test/services/glacier.spec.coffee +61 -0
- package/test/services/rds.spec.coffee +38 -0
- package/test/services/route53.spec.coffee +77 -0
- package/test/services/s3.spec.coffee +538 -0
- package/test/services/simpledb.spec.coffee +12 -0
- package/test/services/sqs.spec.coffee +130 -0
- package/test/services/sts.spec.coffee +72 -0
- package/test/services/swf.spec.coffee +6 -0
- package/test/signers/presign.spec.coffee +36 -0
- package/test/signers/s3.spec.coffee +297 -0
- package/test/signers/v2.spec.coffee +68 -0
- package/test/signers/v4.spec.coffee +135 -0
- package/test/util.spec.coffee +510 -0
- package/test/xml/builder.spec.coffee +529 -0
- package/test/xml/parser.spec.coffee +587 -0
- package/lib/services/simpledb.js +0 -15
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
def class_list(root = Registry.root)
|
|
2
|
+
out = ""
|
|
3
|
+
children = run_verifier(root.children)
|
|
4
|
+
if root == Registry.root
|
|
5
|
+
children += @items.select {|o| o.namespace.is_a?(CodeObjects::Proxy) }
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
if root == Registry.root
|
|
9
|
+
out << '<li class="expander"><a class="toggle"></a> Services</li><ul>'
|
|
10
|
+
svcs = Registry.at('AWS').children.select {|c| c.has_tag?(:service) }
|
|
11
|
+
|
|
12
|
+
ids = {}
|
|
13
|
+
svcs.each do |svc|
|
|
14
|
+
id = svc.tag(:service).text
|
|
15
|
+
(ids[id] ||= []) << svc
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
ids.sort_by {|id| id }.each do |id, versions|
|
|
19
|
+
versions = versions.sort_by {|v| v.tag(:version).text }.reverse
|
|
20
|
+
latest = versions.first
|
|
21
|
+
out << "<li><a class='toggle'></a>"
|
|
22
|
+
out << linkify(latest, latest.name.to_s.gsub(/_\d+/, ''))
|
|
23
|
+
out << " < Service"
|
|
24
|
+
out << "<small class='search_info'>"
|
|
25
|
+
out << latest.namespace.title
|
|
26
|
+
out << "</small>"
|
|
27
|
+
out << "</li>"
|
|
28
|
+
out << "<ul>"
|
|
29
|
+
versions.each do |version|
|
|
30
|
+
out << "<li>"
|
|
31
|
+
out << linkify(version, version.tag(:version).text)
|
|
32
|
+
out << "<small class='search_info'>"
|
|
33
|
+
out << version.namespace.title
|
|
34
|
+
out << "</small>"
|
|
35
|
+
out << "</li>"
|
|
36
|
+
end
|
|
37
|
+
out << "</ul>"
|
|
38
|
+
end
|
|
39
|
+
out << '</ul>'
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
children.reject {|c| c.nil? }.sort_by {|child| child.path }.map do |child|
|
|
43
|
+
if child.is_a?(CodeObjects::NamespaceObject)
|
|
44
|
+
name = child.namespace.is_a?(CodeObjects::Proxy) ? child.path : child.name
|
|
45
|
+
next if child.is_a?(CodeObjects::ClassObject) && child.superclass.path == 'AWS.Service'
|
|
46
|
+
has_children = run_verifier(child.children).any? {|o| o.is_a?(CodeObjects::NamespaceObject) }
|
|
47
|
+
out << "<li>"
|
|
48
|
+
out << "<a class='toggle'></a> " if has_children
|
|
49
|
+
out << linkify(child, name)
|
|
50
|
+
out << " < #{child.superclass.name}" if child.is_a?(CodeObjects::ClassObject) && child.superclass
|
|
51
|
+
out << "<small class='search_info'>"
|
|
52
|
+
out << child.namespace.title
|
|
53
|
+
out << "</small>"
|
|
54
|
+
out << "</li>"
|
|
55
|
+
out << "<ul>#{class_list(child)}</ul>" if has_children
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
out << '</ul>' if root == Registry.root
|
|
60
|
+
|
|
61
|
+
out
|
|
62
|
+
end
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<h2>Services</h2>
|
|
2
|
+
|
|
3
|
+
<ul class="service_list">
|
|
4
|
+
<% @services.each do |id, versions| %>
|
|
5
|
+
<% latest = versions.sort_by {|s| s.name.to_s }.last %>
|
|
6
|
+
<% name = latest.name.to_s.gsub(/_\d+/, '') %>
|
|
7
|
+
<li><%= link_object latest, name %> <small>(<%= versions.map {|v| link_object(v, v.tag(:version).text) }.join(', ') %>)</small></li>
|
|
8
|
+
<% end %>
|
|
9
|
+
</ul>
|
|
10
|
+
<div class="clear"></div>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
def init
|
|
2
|
+
super
|
|
3
|
+
sections.place(:services).before_any(:objects)
|
|
4
|
+
end
|
|
5
|
+
|
|
6
|
+
def services
|
|
7
|
+
ids = {}
|
|
8
|
+
svcs = Registry.all(:class).select {|x| x.has_tag?(:service) }
|
|
9
|
+
svcs.each do |svc|
|
|
10
|
+
id = svc.tag(:service).text
|
|
11
|
+
(ids[id] ||= []) << svc
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
@services = ids.sort_by {|id| id }
|
|
15
|
+
erb(:services)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def index
|
|
19
|
+
@objects_by_letter = {}
|
|
20
|
+
objects = Registry.all(:class, :module).sort_by {|o| o.name.to_s }
|
|
21
|
+
objects = run_verifier(objects)
|
|
22
|
+
objects = objects.reject {|x|
|
|
23
|
+
next(false) unless x.respond_to?(:superclass)
|
|
24
|
+
x.respond_to?(:superclass) && x.superclass.path =~ /^AWS\.(Service|Client)$/
|
|
25
|
+
}
|
|
26
|
+
objects.each {|o| (@objects_by_letter[o.name.to_s[0,1].upcase] ||= []) << o }
|
|
27
|
+
erb(:index)
|
|
28
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<% n = 1 %>
|
|
2
|
+
<dl class="box">
|
|
3
|
+
<% if CodeObjects::ClassObject === object && object.superclass %>
|
|
4
|
+
<dt class="r<%=n%>">Inherits:</dt>
|
|
5
|
+
<dd class="r<%=n%>">
|
|
6
|
+
<span class="inheritName"><%= linkify object.superclass %></span>
|
|
7
|
+
<% if object.superclass.name != :BasicObject %>
|
|
8
|
+
<ul class="fullTree">
|
|
9
|
+
<li><%= linkify P(:Object) %></li>
|
|
10
|
+
<% object.inheritance_tree.reverse.each_with_index do |obj, i| %>
|
|
11
|
+
<li class="next"><%= obj == object ? obj.path : linkify(obj) %></li>
|
|
12
|
+
<% end %>
|
|
13
|
+
</ul>
|
|
14
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
15
|
+
<% end %>
|
|
16
|
+
</dd>
|
|
17
|
+
<% n = 2 %>
|
|
18
|
+
<% end %>
|
|
19
|
+
<% [[:class, "Extended by"], [:instance, "Includes"]].each do |scope, name| %>
|
|
20
|
+
<% if (mix = run_verifier(object.mixins(scope))).size > 0 %>
|
|
21
|
+
<dt class="r<%=n%>"><%= name %>:</dt>
|
|
22
|
+
<dd class="r<%=n%>"><%= mix.sort_by {|o| o.path }.map {|o| linkify(o) }.join(", ") %></dd>
|
|
23
|
+
<% n = n == 2 ? 1 : 2 %>
|
|
24
|
+
<% end %>
|
|
25
|
+
<% end %>
|
|
26
|
+
<% if (mixed_into = mixed_into(object)).size > 0 %>
|
|
27
|
+
<dt class="r<%=n%>">Included in:</dt>
|
|
28
|
+
<dd class="r<%=n%>"><%= mixed_into.sort_by {|o| o.path }.map {|o| linkify(o) }.join(", ") %></dd>
|
|
29
|
+
<% n = n == 2 ? 1 : 2 %>
|
|
30
|
+
<% end %>
|
|
31
|
+
<% if object.has_tag?(:service) %>
|
|
32
|
+
<dt class="r<%=n%>">Identifier:</dt>
|
|
33
|
+
<dd class="r<%=n%>"><%= object.tag(:service).text %></dd>
|
|
34
|
+
<% n = n == 2 ? 1 : 2 %>
|
|
35
|
+
<dt class="r<%=n%>">API Version:</dt>
|
|
36
|
+
<dd class="r<%=n%>"><%= object.tag(:version).text %></dd>
|
|
37
|
+
<% n = n == 2 ? 1 : 2 %>
|
|
38
|
+
<% end %>
|
|
39
|
+
<% unless object.root? %>
|
|
40
|
+
<dt class="r<%=n%> last">Defined in:</dt>
|
|
41
|
+
<dd class="r<%=n%> last"><%= erb(:defines) %></dd>
|
|
42
|
+
<% end %>
|
|
43
|
+
</dl>
|
|
44
|
+
<div class="clear"></div>
|
|
45
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<h2>Defined Under Namespace</h2>
|
|
2
|
+
<p class="children">
|
|
3
|
+
<% @inner.each do |name, list| %>
|
|
4
|
+
<% if list.size > 0 %>
|
|
5
|
+
<strong class="<%= name %>"><%= name.to_s.capitalize %>:</strong> <%= list.map {|child| linkify(child, child.name.to_s.gsub(/_\d+/, '')) }.join(", ") %>
|
|
6
|
+
<% end %>
|
|
7
|
+
<% end %>
|
|
8
|
+
</p>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<div id="footer">
|
|
2
|
+
Generated on <%= Time.now.strftime("%c") %> by
|
|
3
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
4
|
+
<%= YARD::VERSION %> (ruby-<%= RUBY_VERSION %>).
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<!-- BEGIN-SECTION -->
|
|
8
|
+
<script type="text/javascript" src="https://d36cz9buwru1tt.cloudfront.net/amznUrchin.js"></script>
|
|
9
|
+
<!-- SiteCatalyst code version: H.25.2. Copyright 1996-2012 Adobe, Inc. All Rights Reserved.
|
|
10
|
+
More info available at http://www.omniture.com -->
|
|
11
|
+
<script language="JavaScript" type="text/javascript" src="https://d36cz9buwru1tt.cloudfront.net/js/sitecatalyst/s_code.min.js">
|
|
12
|
+
</script>
|
|
13
|
+
<script language="JavaScript" type="text/javascript">
|
|
14
|
+
<!--
|
|
15
|
+
s.prop66='AWS SDK for JavaScript';
|
|
16
|
+
s.eVar66='D=c66';
|
|
17
|
+
s.prop65='API Reference';
|
|
18
|
+
s.eVar65='D=c65';
|
|
19
|
+
var s_code=s.t();if(s_code)document.write(s_code)
|
|
20
|
+
//-->
|
|
21
|
+
</script>
|
|
22
|
+
<script language="JavaScript" type="text/javascript">
|
|
23
|
+
<!--if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')
|
|
24
|
+
//-->
|
|
25
|
+
</script>
|
|
26
|
+
<noscript>
|
|
27
|
+
<img src="http://amazonwebservices.d2.sc.omtrdc.net/b/ss/awsamazondev/1/H.25.2--NS/0" height="1" width="1" border="0" alt="">
|
|
28
|
+
</noscript>
|
|
29
|
+
<!--/DO NOT REMOVE/-->
|
|
30
|
+
<!-- End SiteCatalyst code version: H.25.2. -->
|
|
31
|
+
<!-- END-SECTION -->
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<%= erb(:headers) %>
|
|
6
|
+
</head>
|
|
7
|
+
<body>
|
|
8
|
+
<div id="header">
|
|
9
|
+
<%= erb(:breadcrumb) %>
|
|
10
|
+
<%= erb(:search) %>
|
|
11
|
+
<div class="clear"></div>
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
<iframe id="search_frame"></iframe>
|
|
15
|
+
|
|
16
|
+
<div id="content">
|
|
17
|
+
<!--REGION_DISCLAIMER_DO_NOT_REMOVE-->
|
|
18
|
+
<%= yieldall %>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<%= erb(:footer) %>
|
|
22
|
+
</body>
|
|
23
|
+
</html>
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
|
4
|
+
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
pre code {
|
|
8
|
+
display: block; padding: 0.5em;
|
|
9
|
+
color: #333;
|
|
10
|
+
/*background: #f8f8ff*/
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
pre .comment,
|
|
14
|
+
pre .template_comment,
|
|
15
|
+
pre .diff .header,
|
|
16
|
+
pre .javadoc {
|
|
17
|
+
color: #998;
|
|
18
|
+
font-style: italic
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
pre .keyword,
|
|
22
|
+
pre .css .rule .keyword,
|
|
23
|
+
pre .winutils,
|
|
24
|
+
pre .javascript .title,
|
|
25
|
+
pre .nginx .title,
|
|
26
|
+
pre .subst,
|
|
27
|
+
pre .request,
|
|
28
|
+
pre .status {
|
|
29
|
+
color: #333;
|
|
30
|
+
font-weight: bold
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
pre .number,
|
|
34
|
+
pre .hexcolor,
|
|
35
|
+
pre .ruby .constant {
|
|
36
|
+
color: #099;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
pre .string,
|
|
40
|
+
pre .tag .value,
|
|
41
|
+
pre .phpdoc,
|
|
42
|
+
pre .tex .formula {
|
|
43
|
+
color: #d14
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
pre .title,
|
|
47
|
+
pre .id {
|
|
48
|
+
color: #900;
|
|
49
|
+
font-weight: bold
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
pre .javascript .title,
|
|
53
|
+
pre .lisp .title,
|
|
54
|
+
pre .clojure .title,
|
|
55
|
+
pre .subst {
|
|
56
|
+
font-weight: normal
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
pre .class .title,
|
|
60
|
+
pre .haskell .type,
|
|
61
|
+
pre .vhdl .literal,
|
|
62
|
+
pre .tex .command {
|
|
63
|
+
color: #458;
|
|
64
|
+
font-weight: bold
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
pre .tag,
|
|
68
|
+
pre .tag .title,
|
|
69
|
+
pre .rules .property,
|
|
70
|
+
pre .django .tag .keyword {
|
|
71
|
+
color: #000080;
|
|
72
|
+
font-weight: normal
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
pre .attribute,
|
|
76
|
+
pre .variable,
|
|
77
|
+
pre .lisp .body {
|
|
78
|
+
color: #008080
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
pre .regexp {
|
|
82
|
+
color: #009926
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
pre .class {
|
|
86
|
+
color: #458;
|
|
87
|
+
font-weight: bold
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
pre .symbol,
|
|
91
|
+
pre .ruby .symbol .string,
|
|
92
|
+
pre .lisp .keyword,
|
|
93
|
+
pre .tex .special,
|
|
94
|
+
pre .prompt {
|
|
95
|
+
color: #990073
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
pre .built_in,
|
|
99
|
+
pre .lisp .title,
|
|
100
|
+
pre .clojure .built_in {
|
|
101
|
+
color: #0086b3
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
pre .preprocessor,
|
|
105
|
+
pre .pi,
|
|
106
|
+
pre .doctype,
|
|
107
|
+
pre .shebang,
|
|
108
|
+
pre .cdata {
|
|
109
|
+
color: #999;
|
|
110
|
+
font-weight: bold
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
pre .deletion {
|
|
114
|
+
background: #fdd
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
pre .addition {
|
|
118
|
+
background: #dfd
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
pre .diff .change {
|
|
122
|
+
background: #0086b3
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
pre .chunk {
|
|
126
|
+
color: #aaa
|
|
127
|
+
}
|