aws-pricing 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -0,0 +1,69 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "aws-pricing"
8
+ s.version = "0.2.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Ian Morgan"]
12
+ s.date = "2012-04-17"
13
+ s.description = "Simpler interface to AWS pricing data"
14
+ s.email = "ian@ruby-code.com"
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "aws-pricing.gemspec",
29
+ "lib/aws-pricing.rb",
30
+ "lib/aws-pricing/base.rb",
31
+ "lib/aws-pricing/cloudfront.rb",
32
+ "lib/aws-pricing/ec2.rb",
33
+ "lib/aws-pricing/emr.rb",
34
+ "lib/aws-pricing/rds.rb",
35
+ "lib/aws-pricing/s3.rb",
36
+ "spec/aws-pricing_spec.rb",
37
+ "spec/spec_helper.rb"
38
+ ]
39
+ s.homepage = "http://github.com/seeingidog/aws-pricing"
40
+ s.licenses = ["MIT"]
41
+ s.require_paths = ["lib"]
42
+ s.rubygems_version = "1.8.10"
43
+ s.summary = "Simpler interface to AWS pricing data"
44
+
45
+ if s.respond_to? :specification_version then
46
+ s.specification_version = 3
47
+
48
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
+ s.add_runtime_dependency(%q<httparty>, [">= 0"])
50
+ s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
51
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
52
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
53
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
54
+ else
55
+ s.add_dependency(%q<httparty>, [">= 0"])
56
+ s.add_dependency(%q<rspec>, ["~> 2.8.0"])
57
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
58
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
59
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
60
+ end
61
+ else
62
+ s.add_dependency(%q<httparty>, [">= 0"])
63
+ s.add_dependency(%q<rspec>, ["~> 2.8.0"])
64
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
65
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
66
+ s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
67
+ end
68
+ end
69
+
@@ -1,10 +1,14 @@
1
1
  module AWSPricing
2
2
  class CloudFront < Base
3
+ #Cloudfront pricing data
3
4
 
5
+
6
+ #Returns Hash of request pricing information
4
7
  def self.requests
5
8
  Base.get('/cloudfront/pricing/pricing-cloudfront-requests.json')
6
9
  end
7
-
10
+
11
+ #Returns Hash of data transfer pricing information
8
12
  def self.data_transfer
9
13
  Base.get('/cloudfront/pricing/pricing-cloudfront-on-demand.json')
10
14
  end
@@ -1,25 +1,34 @@
1
1
  module AWSPricing
2
- class EC2 < Base
2
+ class EC2 < Base
3
+ #Elastic Compute pricing data
4
+
5
+
6
+ #Returns Hash of server instance pricing information
3
7
  def self.instances
4
8
  Base.get('/ec2/pricing/pricing-on-demand-instances.json')
5
9
  end
6
10
 
11
+ #Returns Hash of elastic block storage pricing information
7
12
  def self.ebs
8
13
  Base.get('/ec2/pricing/pricing-ebs.json')
9
14
  end
10
15
 
16
+ #Returns Hash of data transfer pricing information
11
17
  def self.data_transfer
12
18
  Base.get('/ec2/pricing/pricing-data-transfer.json')
13
19
  end
14
20
 
21
+ #Returns Hash of elastic IP pricing information
15
22
  def self.elastic_ips
16
23
  Base.get('/ec2/pricing/pricing-elastic-ips.json')
17
24
  end
18
25
 
26
+ #Returns Hash of Cloudwatch monitoring pricing information
19
27
  def self.cloud_watch
20
28
  Base.get('/ec2/pricing/pricing-cloudwatch.json')
21
29
  end
22
30
 
31
+ #Returns Hash of elastic loadbalancer pricing information
23
32
  def self.elb
24
33
  Base.get('/ec2/pricing/pricing-elb.json')
25
34
  end
@@ -1,5 +1,9 @@
1
1
  module AWSPricing
2
- class EMR < Base
2
+ class EMR < Base
3
+ #Elastic MapReduce Service pricing data
4
+
5
+
6
+ #Returns Hash of pricing information
3
7
  def self.pricing
4
8
  Base.get('/elasticmapreduce/pricing/pricing-emr.json')
5
9
  end
@@ -1,13 +1,14 @@
1
- #http://aws.amazon.com/rds/pricing/mysql/pricing-standard-deployments.json
2
- #http://aws.amazon.com/rds/pricing/mysql/pricing-multiAZ-deployments.json
3
-
4
1
  module AWSPricing
5
2
  class RDS < Base
3
+ #Relation Database Service pricing data
4
+
6
5
 
6
+ #Returns Hash of standard deployment pricing information
7
7
  def self.standard
8
8
  Base.get('/rds/pricing/mysql/pricing-standard-deployments.json')
9
9
  end
10
-
10
+
11
+ #Returns Hash of multi-availability zone deployment pricing information
11
12
  def self.multi_az
12
13
  Base.get('/rds/pricing/mysql/pricing-multiAZ-deployments.json')
13
14
  end
@@ -1,13 +1,18 @@
1
1
  module AWSPricing
2
- class S3 < Base
2
+ class S3 < Base
3
+ #Simple Storage Service pricing data
4
+
5
+ #Returns Hash of storage pricing information
3
6
  def self.storage
4
7
  Base.get('/s3/pricing/pricing-storage.json')
5
8
  end
6
9
 
10
+ #Returns Hash of data transfer pricing information
7
11
  def self.data_transfer
8
12
  Base.get('/s3/pricing/pricing-data-transfer.json')
9
13
  end
10
14
 
15
+ #Returns Hash of request pricing information
11
16
  def self.requests
12
17
  Base.get('/s3/pricing/pricing-requests.json')
13
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-pricing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-16 00:00:00.000000000Z
12
+ date: 2012-04-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
16
- requirement: &2154847880 !ruby/object:Gem::Requirement
16
+ requirement: &2162624860 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2154847880
24
+ version_requirements: *2162624860
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &2154846840 !ruby/object:Gem::Requirement
27
+ requirement: &2162624020 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 2.8.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2154846840
35
+ version_requirements: *2162624020
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rdoc
38
- requirement: &2154846220 !ruby/object:Gem::Requirement
38
+ requirement: &2162623420 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '3.12'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2154846220
46
+ version_requirements: *2162623420
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
- requirement: &2154845480 !ruby/object:Gem::Requirement
49
+ requirement: &2162622680 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.0.0
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2154845480
57
+ version_requirements: *2162622680
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: jeweler
60
- requirement: &2154844780 !ruby/object:Gem::Requirement
60
+ requirement: &2162621840 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: 1.8.3
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *2154844780
68
+ version_requirements: *2162621840
69
69
  description: Simpler interface to AWS pricing data
70
70
  email: ian@ruby-code.com
71
71
  executables: []
@@ -82,6 +82,7 @@ files:
82
82
  - README.rdoc
83
83
  - Rakefile
84
84
  - VERSION
85
+ - aws-pricing.gemspec
85
86
  - lib/aws-pricing.rb
86
87
  - lib/aws-pricing/base.rb
87
88
  - lib/aws-pricing/cloudfront.rb
@@ -106,7 +107,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
107
  version: '0'
107
108
  segments:
108
109
  - 0
109
- hash: 3541120567702074028
110
+ hash: 1537789119708931460
110
111
  required_rubygems_version: !ruby/object:Gem::Requirement
111
112
  none: false
112
113
  requirements: