simple_aws 1.0.0.pre3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +6 -0
- data/Gemfile +1 -0
- data/README.md +6 -6
- data/simple_aws.gemspec +1 -1
- metadata +10 -9
data/.yardopts
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -32,14 +32,14 @@ It's well know that AWS has its share of warts and wtfs. SimpleAWS doesn't try t
|
|
32
32
|
|
33
33
|
First of all, calling actions are implemented as ruby methods, handled through mainly through `method_missing` (S3 and CloudFront are the two current exceptions). You can call the AWS actions by AWSName or by ruby_name, they both work:
|
34
34
|
|
35
|
-
```ruby
|
35
|
+
``` ruby
|
36
36
|
ec2 = AWS::EC2.new key, secret
|
37
37
|
ec2.describe_instances
|
38
38
|
```
|
39
39
|
|
40
40
|
or
|
41
41
|
|
42
|
-
```ruby
|
42
|
+
``` ruby
|
43
43
|
ec2 = AWS::EC2.new key, secret
|
44
44
|
ec2.DescribeInstances
|
45
45
|
```
|
@@ -52,7 +52,7 @@ Adding parameters to your method calls follows similar rules, with some Quality
|
|
52
52
|
|
53
53
|
You can't get simpler than just using the names of the parameters as defined in the AWS docs:
|
54
54
|
|
55
|
-
```ruby
|
55
|
+
``` ruby
|
56
56
|
ec2 = AWS::EC2.new key, secret
|
57
57
|
ec2.describe_instances({
|
58
58
|
"Filter.1.Name" => "instance-state-name",
|
@@ -65,7 +65,7 @@ ec2.describe_instances({
|
|
65
65
|
|
66
66
|
Ruby Arrays will automatically be built into the "Key.n" format you see in the AWS docs:
|
67
67
|
|
68
|
-
```ruby
|
68
|
+
``` ruby
|
69
69
|
ec2 = AWS::EC2.new key, secret
|
70
70
|
ec2.describe_instances({
|
71
71
|
"Filter.1.Name" => "instance-state-name",
|
@@ -77,7 +77,7 @@ ec2.describe_instances({
|
|
77
77
|
|
78
78
|
You can take this the next step and use a Ruby Hash to make this even cleaner:
|
79
79
|
|
80
|
-
```ruby
|
80
|
+
``` ruby
|
81
81
|
ec2 = AWS::EC2.new key, secret
|
82
82
|
ec2.describe_instances({
|
83
83
|
"Filter" => [
|
@@ -122,7 +122,7 @@ These are the Amazon APIs that SimpleAWS currently handles:
|
|
122
122
|
Not Currently Implemented
|
123
123
|
-------------------------
|
124
124
|
|
125
|
-
* DynamoDB
|
125
|
+
* DynamoDB
|
126
126
|
|
127
127
|
Currently Out-Of-Scope
|
128
128
|
----------------------
|
data/simple_aws.gemspec
CHANGED
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_aws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jason Roelofs
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-01-
|
12
|
+
date: 2012-01-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
16
|
-
requirement: &
|
16
|
+
requirement: &70136090585300 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.5.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70136090585300
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: httparty
|
27
|
-
requirement: &
|
27
|
+
requirement: &70136090583720 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 0.8.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70136090583720
|
36
36
|
description: SimpleAWS is a clean, simple, and forward compatible library for talking
|
37
37
|
to Amazon's AWS APIs.
|
38
38
|
email:
|
@@ -43,6 +43,7 @@ extra_rdoc_files: []
|
|
43
43
|
files:
|
44
44
|
- .gitignore
|
45
45
|
- .travis.yml
|
46
|
+
- .yardopts
|
46
47
|
- Gemfile
|
47
48
|
- MIT_LICENCE
|
48
49
|
- README.md
|
@@ -122,9 +123,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
123
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
124
|
none: false
|
124
125
|
requirements:
|
125
|
-
- - ! '
|
126
|
+
- - ! '>='
|
126
127
|
- !ruby/object:Gem::Version
|
127
|
-
version:
|
128
|
+
version: '0'
|
128
129
|
requirements: []
|
129
130
|
rubyforge_project:
|
130
131
|
rubygems_version: 1.8.10
|