amazon-pricing 0.1.37 → 0.1.38

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjNjZjUyYmZmYzgwMTU3YWZlZjkyODE1YzkyZThlN2VlMDk0N2IzZQ==
4
+ NWUxZTEyZTg2NzNhOGEyZmY5ZjQzMjNkNjVjN2U5NjMzYzY0Mzk5NA==
5
5
  data.tar.gz: !binary |-
6
- MTJhZmJhMDhlODI5Njg2ODBmODlmM2NjYjE4NmJkZjhkMmUyY2U2YQ==
6
+ MDE2MDMyMDg0YjQ1NzRlNzUwYWNkYmQ5ZWI5ODc5MDA0NDE1Y2YyYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OWFkZjI2ZTM0NTgwMzFjNmFmYzNiYzZhNTczNjQ4MDYyZWE5ZmM4MWQxZjZm
10
- NzRkNzRiNzJmMDEyNjdjNjA2ZGY3NmQ4MjRkNTM2OTBmNDM4NGMxMjFhZmQ1
11
- NjAzNzExMzNiOTVlNTYzNmExMzY1YmYwMzVkN2NhYmViMDFiNDQ=
9
+ ZWJkODY2YjAxOTM4NWU0ODc2OTI2ODJlMzNlNmEwYzlmYTA3N2UzZmEzNGEw
10
+ OGRjNzYwY2YwMzQ0NzFjMzc0MDgwNjc4YTE4YzM0YjY4ODkxODFkZDI3ZGJi
11
+ NTkxY2E1ZDQzOGNiYmJkOTcwZTU0NjVlY2UxOGQwYmUzZTJlMzI=
12
12
  data.tar.gz: !binary |-
13
- ZWExYWRhZjI3Mjk0ODYyNjkyNjZjYzU4MTczNzcxZmNmNTFkNDlhYzMzZTJj
14
- NjRlNDZjYmViZWY0YzU1MTFmZmUzOWI0OTJkYWRiYmU0Y2FjOTE3ZmMxNDE2
15
- MDMyMjI2NTFhOGZhODJiZjQ0ZjAxYWFjOWI3NDc3MmIxMzY3YjY=
13
+ ZTI5NjRjZDI4Y2FiOTM1ZWE4NDNiMDA5ZjNiM2M3ODdhOGVjYjg2MTgwZTc2
14
+ OGM2ODc3YjA3MDNhZDk4YWQ3MGM2NGYxMzg1M2Y1NWRkZGUyZWVjODIwMTA2
15
+ ZDE4ZjAxZWQ1ZDMwZmYyMzZlYzI2NWU1YTBiYTExY2VhOWFiM2Q=
@@ -182,12 +182,12 @@ module AwsPricing
182
182
  ebs_costs = page.search("//div[@class='text section']//li")
183
183
  @_regions.values.each do |region|
184
184
  region.ebs_price = EbsPrice.new(region)
185
- region.ebs_price.preferred_per_gb = get_ebs_price(ebs_costs[2])
186
- region.ebs_price.preferred_per_iops = get_ebs_price(ebs_costs[3])
187
- region.ebs_price.standard_per_gb = get_ebs_price(ebs_costs[4])
188
- region.ebs_price.standard_per_million_io = get_ebs_price(ebs_costs[5])
185
+ region.ebs_price.preferred_per_gb = get_ebs_price(ebs_costs[1])
186
+ region.ebs_price.preferred_per_iops = get_ebs_price(ebs_costs[2])
187
+ region.ebs_price.standard_per_gb = get_ebs_price(ebs_costs[3])
188
+ region.ebs_price.standard_per_million_io = get_ebs_price(ebs_costs[4])
189
189
  region.ebs_price.ssd_per_gb = nil
190
- region.ebs_price.s3_snaps_per_gb = get_ebs_price(ebs_costs[6])
190
+ region.ebs_price.s3_snaps_per_gb = get_ebs_price(ebs_costs[5])
191
191
  end
192
192
 
193
193
  end
@@ -8,5 +8,5 @@
8
8
  # Home:: http://github.com/CloudHealth/amazon-pricing
9
9
  #++
10
10
  module AwsPricing
11
- VERSION = '0.1.37'
11
+ VERSION = '0.1.38'
12
12
  end
@@ -43,7 +43,7 @@ class TestGovCloud < Test::Unit::TestCase
43
43
  assert region.ebs_price.standard_per_gb == 0.065
44
44
  assert region.ebs_price.standard_per_million_io == 0.065
45
45
  assert region.ebs_price.preferred_per_gb == 0.15
46
- assert region.ebs_price.preferred_per_iops == 0.12
46
+ assert region.ebs_price.preferred_per_iops == 0.078
47
47
  assert region.ebs_price.s3_snaps_per_gb == 0.125
48
48
  end
49
49
 
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.37
4
+ version: 0.1.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Kinsella