amazon-pricing 0.1.109 → 0.1.110
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.
- checksums.yaml +8 -8
- data/lib/amazon-pricing/ec2-price-list.rb +5 -2
- data/lib/amazon-pricing/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OWIzOWNhODgzZjVjZTEwMzdjYWM4NGVmMGU5OTA0NzA1OWI4YTIzNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWQ2NDMwM2EyNDU0ODdmZjViYWZlMDE4M2YxOTQwMWU3MTVjNDBkMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWJjNjgyNDY2MTkyNmM3YjhjODUwN2QxNmU1NTUyOTE2YzM2YzQ3NDNlOGZm
|
10
|
+
NjQyZjA5YmM3NjcwYjFhNTRlN2ZiZDM5NWUxYzU0NWM4ZTBjNTA4ZDVlMGMz
|
11
|
+
NWMyOWVjOTMzNDQ1ZWUzNjA5OTMyNmE5NTRhOGU1ZjdmMzdmYjY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjdiN2ViYmI1ZmY3Zjg4NmYxYzc4NjI4YmM5YmE1MWU5N2I0M2ZhZWUzZWM4
|
14
|
+
Yzk2ZmJiNTM0ZjU2ZjMyZGJmMTk3Yzk2NjI2NWEwYzRlYTI3MTk2ZmMxNWVj
|
15
|
+
NmNmZDBjZWJmMTA0NDYxYWVkMzRiNjUxODNmNzgzOWY4MGMyNjE=
|
@@ -14,7 +14,7 @@ module AwsPricing
|
|
14
14
|
protected
|
15
15
|
|
16
16
|
@@OS_TYPES = [:linux, :mswin, :rhel, :sles, :mswinSQL, :mswinSQLWeb]
|
17
|
-
@@NEW_OS_TYPES = [:mswinSQLEnterprise]
|
17
|
+
@@NEW_OS_TYPES = [:mswinSQLEnterprise, :linuxSQL, :linuxSQLWeb, :linuxSQLEnterprise]
|
18
18
|
@@LEGACY_RES_TYPES = [:light, :medium, :heavy]
|
19
19
|
|
20
20
|
def get_ec2_on_demand_instance_pricing
|
@@ -44,7 +44,10 @@ module AwsPricing
|
|
44
44
|
|
45
45
|
def get_ec2_reserved_instance_pricing
|
46
46
|
# I give up on finding a pattern so just iterating over known URLs
|
47
|
-
page_targets = {"linux-unix" => :linux, "red-hat-enterprise-linux" => :rhel, "suse-linux" => :sles, "windows" => :mswin,
|
47
|
+
page_targets = {"linux-unix" => :linux, "red-hat-enterprise-linux" => :rhel, "suse-linux" => :sles, "windows" => :mswin,
|
48
|
+
"windows-with-sql-server-standard" => :mswinSQL, "windows-with-sql-server-web" => :mswinSQLWeb, "windows-with-sql-server-enterprise" => :mswinSQLEnterprise,
|
49
|
+
"linux-with-sql-server-standard" => :linuxSQL, "linux-with-sql-server-web" => :linuxSQLWeb, "linux-with-sql-server-enterprise" => :linuxSQLEnterprise,
|
50
|
+
}
|
48
51
|
page_targets.each_pair do |target, operating_system|
|
49
52
|
url = "#{EC2_BASE_URL}ri-v2/#{target}-shared.min.js"
|
50
53
|
fetch_ec2_instance_pricing_ri_v2(url, operating_system)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amazon-pricing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.110
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Kinsella
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A Ruby library for retrieving pricing for Amazon Web Services
|
14
14
|
email:
|