amazon-pricing 0.1.85 → 0.1.86

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 CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MjdiNjM2NzdlYWNjYjFlZDJiNTAyNmM5YzhkYzBmYjQwYTZjYjM1NA==
5
- data.tar.gz: !binary |-
6
- ZWJmNGNlMTdlOGZhMTE4Y2U4YTRkMmQ3Y2FmN2JjNWRiY2YzNTcyMg==
2
+ SHA1:
3
+ metadata.gz: b7cd664411047b2dbb4bb05fb9c58cc8c62ccbef
4
+ data.tar.gz: 0ba1f2b457120d634abfa29180d257bf366b6360
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZWNkMWRiYTgxNjcxZTczZjM3Mzk4ODRhOGFhMmI4YjQwYjQxYTVmYzI3MDFk
10
- NDgzMDg0NmQ4M2YxOTg0ODljNjc1ZGExMzAyYTAyZjZhMzRhNDE0MjE1NDhk
11
- NDdlYTVkNDljMDgzYTMyMWMwYzlkNWVmNmMwOWYzMDNlYjA5MDg=
12
- data.tar.gz: !binary |-
13
- YmJkYzQ3ZGE3MWU1YTA1NWYwMjMwMTg4ZmIwOGRmOTczNmU2Njk4NzMxYjQ3
14
- N2FmMzk3NGQxNDljY2E5YjJjNzU2NDZkYTBlZjY3ZGY2N2IxN2ZhYjRkNzJj
15
- MzRhODM0ZGY3NzA2NWQ5ZDkwN2ZlMzI4ZTZjNTFkODllODY2ZmU=
6
+ metadata.gz: 09f0aa96c3721f16229c6029d82a858a122c8e269e60bf99a1f11b2349d3f161b08e75089a90738d8d266d1e44e06a1540dc628237cf01b08964cb257d7a04f6
7
+ data.tar.gz: 48a09737ce29b0870ad88640b4e90798658d21dd87ff3676514a6964efb5fdf3c22ef116eca7feed239a0a5dd2a600d6bd16f141e42614f5c5acd7c6159d46a3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # Change Log
2
+
3
+ ### Version 0.1.86
4
+
5
+ * Fix ECUs being fetched as integers instead of floats
6
+
1
7
  ### Version 0.1.25
2
8
 
3
9
  * Handle JSON::ParserError for RDS json doc (@lardcanoe)
@@ -8,7 +14,7 @@
8
14
 
9
15
  ### Version 0.1.7
10
16
 
11
- * Refactored model to simplify access (one instance type for all usages),
17
+ * Refactored model to simplify access (one instance type for all usages),
12
18
  introduced operating system pricing to suppport RHEL, SLES, etc...
13
19
 
14
20
  ### Version 0.0.6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- amazon-pricing (0.1.85)
4
+ amazon-pricing (0.1.86)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -105,7 +105,7 @@ module AwsPricing
105
105
  begin
106
106
  api_name = size["size"]
107
107
  @@Memory_Lookup[api_name] = size["memoryGiB"].to_f * 1000
108
- @@Compute_Units_Lookup[api_name] = size["ECU"].to_i
108
+ @@Compute_Units_Lookup[api_name] = size["ECU"].to_f
109
109
  @@Virtual_Cores_Lookup[api_name] = size["vCPU"].to_i
110
110
  rescue UnknownTypeError
111
111
  $stderr.puts "[populate_lookups] WARNING: encountered #{$!.message}"
@@ -8,5 +8,5 @@
8
8
  # Home:: http://github.com/CloudHealth/amazon-pricing
9
9
  #++
10
10
  module AwsPricing
11
- VERSION = '0.1.85'
11
+ VERSION = '0.1.86'
12
12
  end
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.85
4
+ version: 0.1.86
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Kinsella
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-23 00:00:00.000000000 Z
11
+ date: 2016-09-26 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
- - .gitignore
22
+ - ".gitignore"
23
23
  - CHANGELOG.md
24
24
  - Gemfile
25
25
  - Gemfile.lock
@@ -65,21 +65,21 @@ licenses:
65
65
  metadata: {}
66
66
  post_install_message:
67
67
  rdoc_options:
68
- - --title
68
+ - "--title"
69
69
  - amazon-pricing documentation
70
- - --line-numbers
71
- - --main
70
+ - "--line-numbers"
71
+ - "--main"
72
72
  - README.md
73
73
  require_paths:
74
74
  - lib
75
75
  required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - ! '>='
77
+ - - ">="
78
78
  - !ruby/object:Gem::Version
79
79
  version: '0'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - ! '>='
82
+ - - ">="
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
@@ -88,12 +88,4 @@ rubygems_version: 2.4.8
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Amazon Web Services Pricing Ruby gem
91
- test_files:
92
- - spec/lib/amazon-pricing/definitions/database-type_spec.rb
93
- - spec/lib/amazon-pricing/elasticache_pricing_spec.rb
94
- - spec/lib/amazon-pricing/helpers/instance-type-spec.rb
95
- - spec/lib/amazon-pricing/rds_pricing_spec.rb
96
- - spec/spec_helper.rb
97
- - spec/support/.gitignore
98
- - test/ec2_instance_types_test.rb
99
- - test/helper.rb
91
+ test_files: []