amazon-pricing 0.1.2 → 0.1.3

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.
@@ -135,6 +135,7 @@ module AwsPricing
135
135
  'us-west-2' => 'us-west-2',
136
136
  'eu-west-1' => 'eu-ireland',
137
137
  'ap-southeast-1' => 'apac-sin',
138
+ 'ap-southeast-2' => 'apac-syd',
138
139
  'ap-northeast-1' => 'apac-tokyo',
139
140
  'sa-east-1' => 'sa-east-1'
140
141
  }
@@ -8,5 +8,5 @@
8
8
  # Home:: http://github.com/sonian/amazon-pricing
9
9
  #++
10
10
  module AwsPricing
11
- VERSION = '0.1.2'
11
+ VERSION = '0.1.3'
12
12
  end
@@ -87,4 +87,14 @@ class TestEc2InstanceTypes < Test::Unit::TestCase
87
87
  assert region.ebs_price.preferred_per_iops == 0.10
88
88
  assert region.ebs_price.s3_snaps_per_gb == 0.125
89
89
  end
90
+
91
+ def test_ebs_not_null
92
+ pricing = AwsPricing::PriceList.new
93
+ pricing.regions.each do |region|
94
+ # Everyone should have standard pricing
95
+ assert_not_nil region.ebs_price.standard_per_gb
96
+ assert_not_nil region.ebs_price.standard_per_million_io
97
+ assert_not_nil region.ebs_price.s3_snaps_per_gb
98
+ end
99
+ end
90
100
  end
metadata CHANGED
@@ -1,25 +1,35 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: amazon-pricing
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.2
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 3
10
+ version: 0.1.3
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Joe Kinsella
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-11-03 00:00:00.000000000 Z
17
+
18
+ date: 2012-11-15 00:00:00 -05:00
19
+ default_executable:
13
20
  dependencies: []
21
+
14
22
  description: A Ruby library for retrieving pricing for Amazon Web Services
15
- email:
23
+ email:
16
24
  - joe.kinsella@gmail.com
17
25
  executables: []
26
+
18
27
  extensions: []
19
- extra_rdoc_files:
28
+
29
+ extra_rdoc_files:
20
30
  - LICENSE
21
31
  - README
22
- files:
32
+ files:
23
33
  - CHANGELOG
24
34
  - Gemfile
25
35
  - LICENSE
@@ -36,36 +46,45 @@ files:
36
46
  - spec/price_list_spec.rb
37
47
  - test/helper.rb
38
48
  - test/test-ec2-instance-types.rb
49
+ has_rdoc: true
39
50
  homepage: http://github.com/sonian/amazon-pricing
40
51
  licenses: []
52
+
41
53
  post_install_message:
42
- rdoc_options:
54
+ rdoc_options:
43
55
  - --title
44
56
  - amazon-pricing documentation
45
57
  - --line-numbers
46
58
  - --main
47
59
  - README
48
- require_paths:
60
+ require_paths:
49
61
  - lib
50
- required_ruby_version: !ruby/object:Gem::Requirement
62
+ required_ruby_version: !ruby/object:Gem::Requirement
51
63
  none: false
52
- requirements:
53
- - - ! '>='
54
- - !ruby/object:Gem::Version
55
- version: '0'
56
- required_rubygems_version: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ hash: 3
68
+ segments:
69
+ - 0
70
+ version: "0"
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
72
  none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ hash: 3
77
+ segments:
78
+ - 0
79
+ version: "0"
62
80
  requirements: []
81
+
63
82
  rubyforge_project: amazon-pricing
64
- rubygems_version: 1.8.24
83
+ rubygems_version: 1.3.7
65
84
  signing_key:
66
85
  specification_version: 3
67
86
  summary: Amazon Web Services Pricing Ruby gem
68
- test_files:
87
+ test_files:
69
88
  - spec/instance_type_spec.rb
70
89
  - spec/price_list_spec.rb
71
90
  - test/helper.rb