amazon-pricing 0.1.4 → 0.1.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.
data/Rakefile CHANGED
@@ -19,7 +19,7 @@ end
19
19
 
20
20
  desc "Publish the gem"
21
21
  task :publish do
22
- sh "gem push amazon-pricing-#{AwsPricing::VERSION}.gem"
22
+ sh "gem push amazon-pricing-#{'0.1.4'}.gem"
23
23
  end
24
24
 
25
25
  desc "Installs the gem"
@@ -99,6 +99,8 @@ module AwsPricing
99
99
  'clusterComputeI' => {'xxxxl' => 'cc1.4xlarge','xxxxxxxxl' => 'cc2.8xlarge'},
100
100
  'uODI' => {'u' => 't1.micro'},
101
101
  'secgenstdODI' => {'xl' => 'm3.xlarge', 'xxl' => 'm3.2xlarge'},
102
+ 'clusterHiMemODI' => {'xxxxxxxxl' => 'cr1.8xlarge'},
103
+ 'hiStoreODI' => {'xxxxxxxxl' => 'hs1.8xlarge'},
102
104
  }
103
105
  @@Name_Lookup = {
104
106
  'stdODI' => {'sm' => 'Standard Small', 'med' => 'Standard Medium', 'lg' => 'Standard Large', 'xl' => 'Standard Extra Large'},
@@ -109,6 +111,8 @@ module AwsPricing
109
111
  'clusterComputeI' => {'xxxxl' => 'Cluster Compute Quadruple Extra Large', 'xxxxxxxxl' => 'Cluster Compute Eight Extra Large'},
110
112
  'uODI' => {'u' => 'Micro'},
111
113
  'secgenstdODI' => {'xl' => 'M3 Extra Large Instance', 'xxl' => 'M3 Double Extra Large Instance'},
114
+ 'clusterHiMemODI' => {'xxxxxxxxl' => 'High-Memory Cluster Eight Extra Large'},
115
+ 'hiStoreODI' => {'xxxxxxxxl' => 'High-Storage Eight Extra Large'},
112
116
  }
113
117
  @@Memory_Lookup = {
114
118
  'm1.small' => 1700, 'm1.medium' => 3750, 'm1.large' => 7500, 'm1.xlarge' => 15000,
@@ -120,6 +124,8 @@ module AwsPricing
120
124
  'cc1.4xlarge' => 23000, 'cc2.8xlarge' => 60500,
121
125
  't1.micro' => 1700,
122
126
  'm3.xlarge' => 15000, 'm3.xlarge' => 30000,
127
+ 'cr1.8xlarge' => 244000,
128
+ 'hs1.8xlarge' => 117000,
123
129
  }
124
130
  @@Disk_Lookup = {
125
131
  'm1.small' => 160, 'm1.medium' => 410, 'm1.large' =>850, 'm1.xlarge' => 1690,
@@ -131,6 +137,8 @@ module AwsPricing
131
137
  'cc1.4xlarge' => 1690, 'cc2.8xlarge' => 3370,
132
138
  't1.micro' => 160,
133
139
  'm3.xlarge' => 0, 'm3.xlarge' => 0,
140
+ 'cr1.8xlarge' => 240,
141
+ 'hs1.8xlarge' => 48000,
134
142
  }
135
143
  @@Platform_Lookup = {
136
144
  'm1.small' => 32, 'm1.medium' => 32, 'm1.large' => 64, 'm1.xlarge' => 64,
@@ -142,6 +150,8 @@ module AwsPricing
142
150
  'cc1.4xlarge' => 64, 'cc2.8xlarge' => 64,
143
151
  't1.micro' => 32,
144
152
  'm3.xlarge' => 64, 'm3.xlarge' => 64,
153
+ 'cr1.8xlarge' => 64,
154
+ 'hs1.8xlarge' => 64,
145
155
  }
146
156
  @@Compute_Units_Lookup = {
147
157
  'm1.small' => 1, 'm1.medium' => 2, 'm1.large' => 4, 'm1.xlarge' => 8,
@@ -152,6 +162,8 @@ module AwsPricing
152
162
  'cg1.4xlarge' => 34,
153
163
  'cc1.4xlarge' => 34, 'cc2.8xlarge' => 88,
154
164
  't1.micro' => 2,
165
+ 'cr1.8xlarge' => 88,
166
+ 'hs1.8xlarge' => 35,
155
167
  'unknown' => 0,
156
168
  }
157
169
  @@Virtual_Cores_Lookup = {
@@ -163,6 +175,8 @@ module AwsPricing
163
175
  'cg1.4xlarge' => 8,
164
176
  'cc1.4xlarge' => 8, 'cc2.8xlarge' => 16,
165
177
  't1.micro' => 0,
178
+ 'cr1.8xlarge' => 16,
179
+ 'hs1.8xlarge' => 16,
166
180
  'unknown' => 0,
167
181
  }
168
182
  end
@@ -95,6 +95,8 @@ module AwsPricing
95
95
  'uResI' => {'u' => 't1.micro'},
96
96
  'hiIoResI' => {'xxxxl' => 'hi1.4xlarge'},
97
97
  'secgenstdResI' => {'xl' => 'm3.xlarge', 'xxl' => 'm3.2xlarge'},
98
+ 'clusterHiMemResI' => {'xxxxxxxxl' => 'cr1.8xlarge'},
99
+ 'hiStoreResI' => {'xxxxxxxxl' => 'hs1.8xlarge'},
98
100
  }
99
101
  @@Name_Lookup_Reserved = {
100
102
  'stdResI' => {'sm' => 'Standard Small', 'med' => 'Standard Medium', 'lg' => 'Standard Large', 'xl' => 'Standard Extra Large'},
@@ -105,6 +107,8 @@ module AwsPricing
105
107
  'uResI' => {'u' => 'Micro'},
106
108
  'hiIoResI' => {'xxxxl' => 'High I/O Quadruple Extra Large Instance'},
107
109
  'secgenstdResI' => {'xl' => 'M3 Extra Large Instance', 'xxl' => 'M3 Double Extra Large Instance'},
110
+ 'clusterHiMemResI' => {'xxxxxxxxl' => 'High-Memory Cluster Eight Extra Large'},
111
+ 'hiStoreResI' => {'xxxxxxxxl' => 'High-Storage Eight Extra Large'},
108
112
  }
109
113
  end
110
114
 
@@ -8,5 +8,5 @@
8
8
  # Home:: http://github.com/sonian/amazon-pricing
9
9
  #++
10
10
  module AwsPricing
11
- VERSION = '0.1.4'
11
+ VERSION = '0.1.5'
12
12
  end
@@ -85,7 +85,7 @@ class TestEc2InstanceTypes < Test::Unit::TestCase
85
85
  assert region.ebs_price.standard_per_million_io == 0.10
86
86
  assert region.ebs_price.preferred_per_gb == 0.125
87
87
  assert region.ebs_price.preferred_per_iops == 0.10
88
- assert region.ebs_price.s3_snaps_per_gb == 0.125
88
+ assert region.ebs_price.s3_snaps_per_gb == 0.095
89
89
  end
90
90
 
91
91
  def test_ebs_not_null
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon-pricing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-28 00:00:00.000000000 Z
12
+ date: 2013-02-22 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A Ruby library for retrieving pricing for Amazon Web Services
15
15
  email: