amazon-pricing 0.1.130 → 0.1.131
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 +13 -5
- data/lib/amazon-pricing/helpers/instance-type.rb +4 -0
- data/lib/amazon-pricing/version.rb +1 -2
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
|
|
2
|
+
!binary "U0hBMQ==":
|
|
3
|
+
metadata.gz: !binary |-
|
|
4
|
+
ODdlMDhmMGYyNWYwYzZjYzAwNzZmYjU4YmE5NDViNmYyMWJlM2YxYg==
|
|
5
|
+
data.tar.gz: !binary |-
|
|
6
|
+
YTczNjEyYWIwNjNlNTEzOWMyMzMxZGE0OTQ4YjUxMmE0NmVjZDcwMw==
|
|
5
7
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
|
|
8
|
+
metadata.gz: !binary |-
|
|
9
|
+
YWYxYTVhNjQyNGYyZWU5NzNiYWQ2NWYyMGY2YmE3ZTJlYjhlNjNkZDRjMTIw
|
|
10
|
+
NWVmMDM2YTA5YzBhNWIzYzYzYjg5NzFlMGRkNDc2YWY2NGIyM2Q0MTA5YWMz
|
|
11
|
+
OTZiMWVlM2VlOTE4MjEzZGQ3NTlmMWM0ZWVhNmEyYTQwN2E4OGE=
|
|
12
|
+
data.tar.gz: !binary |-
|
|
13
|
+
YWI1Y2Q3MTk1NWJlOGM0OTZkMTA0MzhmZDYzNWE4Y2Y3MDk5MWE1MThjNzU5
|
|
14
|
+
Mjc5ZmFjNDU1NDQzZjliN2VhOTA1MzYxM2RlNGFlNDNiNDk0MzY3ZmQzYjRh
|
|
15
|
+
OGE3OTQ5NmZiOTBjMGUxZGRkMGVmNWU1OWVjMDYwMzU4N2ZlMjc=
|
|
@@ -2,6 +2,9 @@ module AwsPricing
|
|
|
2
2
|
module Helper
|
|
3
3
|
module InstanceType
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
VPC_ONLY_INSTANCE_FAMILIES = ['a1', 'c4', 'c5', 'c5d', 'c5n', 'f1', 'g3', 'g3s', 'h1', 'i3', 'i3p', 'm4', 'm5', 'm5d', 'm5a', 'p2', 'p3', 'p3dn', 'r4', 't2', 't3', 'x1', 'x1e', 'r5', 'r5d', 'r5a', 'z1d', 'u-6tb1', 'u-9tb1', 'u-12tb1']
|
|
7
|
+
|
|
5
8
|
METAL = 'metal'.freeze
|
|
6
9
|
# the following family sizes should be kept in size order, see #api_name_to_nf below
|
|
7
10
|
@@INSTANCE_TYPES_BY_CLASSIFICATION = {
|
|
@@ -227,6 +230,7 @@ module AwsPricing
|
|
|
227
230
|
METAL_TO_NF_TABLE
|
|
228
231
|
end
|
|
229
232
|
|
|
233
|
+
|
|
230
234
|
# Remove metal from this array? force adoption of this
|
|
231
235
|
# NB: 'metal' is not in this table (since it's family specific), see #api_name_to_nf
|
|
232
236
|
SIZE_TO_NF_TABLE = {
|
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.131
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joe Kinsella
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-01-
|
|
11
|
+
date: 2019-01-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A Ruby library for retrieving pricing for Amazon Web Services
|
|
14
14
|
email:
|
|
@@ -19,7 +19,7 @@ extra_rdoc_files:
|
|
|
19
19
|
- LICENSE
|
|
20
20
|
- README.md
|
|
21
21
|
files:
|
|
22
|
-
-
|
|
22
|
+
- .gitignore
|
|
23
23
|
- CHANGELOG.md
|
|
24
24
|
- Gemfile
|
|
25
25
|
- Gemfile.lock
|
|
@@ -71,21 +71,21 @@ licenses:
|
|
|
71
71
|
metadata: {}
|
|
72
72
|
post_install_message:
|
|
73
73
|
rdoc_options:
|
|
74
|
-
-
|
|
74
|
+
- --title
|
|
75
75
|
- amazon-pricing documentation
|
|
76
|
-
-
|
|
77
|
-
-
|
|
76
|
+
- --line-numbers
|
|
77
|
+
- --main
|
|
78
78
|
- README.md
|
|
79
79
|
require_paths:
|
|
80
80
|
- lib
|
|
81
81
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
82
|
requirements:
|
|
83
|
-
- -
|
|
83
|
+
- - ! '>='
|
|
84
84
|
- !ruby/object:Gem::Version
|
|
85
85
|
version: '0'
|
|
86
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
requirements:
|
|
88
|
-
- -
|
|
88
|
+
- - ! '>='
|
|
89
89
|
- !ruby/object:Gem::Version
|
|
90
90
|
version: '0'
|
|
91
91
|
requirements: []
|