aws-ec2-instance_types 1.0.4 → 1.1.0

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
- OGEyNTViMmMxZDgwMDMyZjExMTA2YjgwZWRmYjAwMTY0MGVhYjgwYg==
5
- data.tar.gz: !binary |-
6
- NGFiZjM3MmM5NTlmOWE2NmRlYmRiYWMwOThlMGEyYmQ0ZTU3YTVkMQ==
2
+ SHA1:
3
+ metadata.gz: 9adc7d959d4a03ad1a71178f00c994a35054175a
4
+ data.tar.gz: 8b15333f39d3ce202421acd32ecf768b8c28e38f
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MjU1YTA2Mjg4M2IwMjU1OTBmZDkyMGFmMmNhZTc3NzFhNGQ2MzNmYWE2YWI4
10
- YzNhNTczNTcwMjAxMjZhMzZmYTRlNDM3Y2Q0NGEwZmNmOWRlYTg4ZWY4ZGZl
11
- OGQ0Y2E5NWMzMzU3ZmEzNDk5MDM5YWVmMzJmNDQzNjk3MTBlYjE=
12
- data.tar.gz: !binary |-
13
- MGY1NmFhYzliYTZhMTdlOWIwOTU2ZjI0M2NlODljNjMxNGM3ZDUzYWI3MjY2
14
- OWY3MTI5NDdiZDIxYThkZjdhNzk1MTI3YzYwNGU1OGFlZDE0MGE5MzIwZTE1
15
- MWJjM2RkNDk2MGMyYWViY2Q0MDA1M2I1MzVlM2ZiODFhNGMwNzY=
6
+ metadata.gz: a403ef4e5b35df096b10904cd877b877883beb8658bdd71f7f79cd82c40baeee646b49e92d3727034bf4bc5c23950422ef41feb50edd96315fa76c58df676e9a
7
+ data.tar.gz: 73c8b992a8f47e0f482e9fc3986afc35bae45da90ffb0a37b86c9fc019cdbbcfa7c8e77b3efd0e248b323ccc4c1f92afb79b9b31931f387f4db397b967520b1f
data/.gitignore ADDED
@@ -0,0 +1,35 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /test/tmp/
9
+ /test/version_tmp/
10
+ /tmp/
11
+
12
+ ## Specific to RubyMotion:
13
+ .dat*
14
+ .repl_history
15
+ build/
16
+
17
+ ## Documentation cache and generated files:
18
+ /.yardoc/
19
+ /_yardoc/
20
+ /doc/
21
+ /rdoc/
22
+
23
+ ## Environment normalisation:
24
+ /.bundle/
25
+ /lib/bundler/man/
26
+
27
+ # for a library or gem, you might want to ignore these files since the code is
28
+ # intended to run in multiple environments; otherwise, check them in:
29
+ # Gemfile.lock
30
+ .ruby-version
31
+ .ruby-gemset
32
+
33
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
34
+ .rvmrc
35
+ *.iml
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-1.9.3-p448
1
+ 2.1.2
data/ChangeLog.md ADDED
@@ -0,0 +1,4 @@
1
+ ### 0.1.0 / 2014-08-19
2
+
3
+ * Initial release:
4
+
data/Gemfile CHANGED
@@ -1,19 +1,7 @@
1
- source "http://rubygems.org"
2
- # Add dependencies required to use your gem here.
3
- # Example:
4
- # gem "activesupport", ">= 2.3.5"
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
5
4
 
6
- # Add dependencies to develop your gem here.
7
- # Include everything needed to run rake, tests, features, etc.
8
5
  group :development do
9
- gem "shoulda", ">= 0"
10
- gem "rdoc", "~> 3.12"
11
- gem "cucumber", ">= 0"
12
- gem "bundler", "~> 1.0"
13
- gem "jeweler", "~> 1.8.7"
14
- #gem "rcov", ">= 0"
6
+ gem 'cucumber', '~> 0.10.2'
15
7
  end
16
-
17
- gem "mechanize"
18
- gem "nokogiri"
19
- gem "awesome_print"
data/LICENSE CHANGED
@@ -1,24 +1,201 @@
1
- This is free and unencumbered software released into the public domain.
2
-
3
- Anyone is free to copy, modify, publish, use, compile, sell, or
4
- distribute this software, either in source code form or as a compiled
5
- binary, for any purpose, commercial or non-commercial, and by any
6
- means.
7
-
8
- In jurisdictions that recognize copyright laws, the author or authors
9
- of this software dedicate any and all copyright interest in the
10
- software to the public domain. We make this dedication for the benefit
11
- of the public at large and to the detriment of our heirs and
12
- successors. We intend this dedication to be an overt act of
13
- relinquishment in perpetuity of all present and future rights to this
14
- software under copyright law.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
- IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20
- OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
- OTHER DEALINGS IN THE SOFTWARE.
23
-
24
- For more information, please refer to <http://unlicense.org/>
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright {yyyy} {name of copyright owner}
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
data/LICENSE.txt CHANGED
@@ -1,20 +1,203 @@
1
- Copyright (c) 2013 Christo De Lange
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ Copyright (c) 2014 Christo De Lange
2
+
3
+ Apache License
4
+ Version 2.0, January 2004
5
+ http://www.apache.org/licenses/
6
+
7
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
+
9
+ 1. Definitions.
10
+
11
+ "License" shall mean the terms and conditions for use, reproduction,
12
+ and distribution as defined by Sections 1 through 9 of this document.
13
+
14
+ "Licensor" shall mean the copyright owner or entity authorized by
15
+ the copyright owner that is granting the License.
16
+
17
+ "Legal Entity" shall mean the union of the acting entity and all
18
+ other entities that control, are controlled by, or are under common
19
+ control with that entity. For the purposes of this definition,
20
+ "control" means (i) the power, direct or indirect, to cause the
21
+ direction or management of such entity, whether by contract or
22
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
23
+ outstanding shares, or (iii) beneficial ownership of such entity.
24
+
25
+ "You" (or "Your") shall mean an individual or Legal Entity
26
+ exercising permissions granted by this License.
27
+
28
+ "Source" form shall mean the preferred form for making modifications,
29
+ including but not limited to software source code, documentation
30
+ source, and configuration files.
31
+
32
+ "Object" form shall mean any form resulting from mechanical
33
+ transformation or translation of a Source form, including but
34
+ not limited to compiled object code, generated documentation,
35
+ and conversions to other media types.
36
+
37
+ "Work" shall mean the work of authorship, whether in Source or
38
+ Object form, made available under the License, as indicated by a
39
+ copyright notice that is included in or attached to the work
40
+ (an example is provided in the Appendix below).
41
+
42
+ "Derivative Works" shall mean any work, whether in Source or Object
43
+ form, that is based on (or derived from) the Work and for which the
44
+ editorial revisions, annotations, elaborations, or other modifications
45
+ represent, as a whole, an original work of authorship. For the purposes
46
+ of this License, Derivative Works shall not include works that remain
47
+ separable from, or merely link (or bind by name) to the interfaces of,
48
+ the Work and Derivative Works thereof.
49
+
50
+ "Contribution" shall mean any work of authorship, including
51
+ the original version of the Work and any modifications or additions
52
+ to that Work or Derivative Works thereof, that is intentionally
53
+ submitted to Licensor for inclusion in the Work by the copyright owner
54
+ or by an individual or Legal Entity authorized to submit on behalf of
55
+ the copyright owner. For the purposes of this definition, "submitted"
56
+ means any form of electronic, verbal, or written communication sent
57
+ to the Licensor or its representatives, including but not limited to
58
+ communication on electronic mailing lists, source code control systems,
59
+ and issue tracking systems that are managed by, or on behalf of, the
60
+ Licensor for the purpose of discussing and improving the Work, but
61
+ excluding communication that is conspicuously marked or otherwise
62
+ designated in writing by the copyright owner as "Not a Contribution."
63
+
64
+ "Contributor" shall mean Licensor and any individual or Legal Entity
65
+ on behalf of whom a Contribution has been received by Licensor and
66
+ subsequently incorporated within the Work.
67
+
68
+ 2. Grant of Copyright License. Subject to the terms and conditions of
69
+ this License, each Contributor hereby grants to You a perpetual,
70
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
71
+ copyright license to reproduce, prepare Derivative Works of,
72
+ publicly display, publicly perform, sublicense, and distribute the
73
+ Work and such Derivative Works in Source or Object form.
74
+
75
+ 3. Grant of Patent License. Subject to the terms and conditions of
76
+ this License, each Contributor hereby grants to You a perpetual,
77
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78
+ (except as stated in this section) patent license to make, have made,
79
+ use, offer to sell, sell, import, and otherwise transfer the Work,
80
+ where such license applies only to those patent claims licensable
81
+ by such Contributor that are necessarily infringed by their
82
+ Contribution(s) alone or by combination of their Contribution(s)
83
+ with the Work to which such Contribution(s) was submitted. If You
84
+ institute patent litigation against any entity (including a
85
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
86
+ or a Contribution incorporated within the Work constitutes direct
87
+ or contributory patent infringement, then any patent licenses
88
+ granted to You under this License for that Work shall terminate
89
+ as of the date such litigation is filed.
90
+
91
+ 4. Redistribution. You may reproduce and distribute copies of the
92
+ Work or Derivative Works thereof in any medium, with or without
93
+ modifications, and in Source or Object form, provided that You
94
+ meet the following conditions:
95
+
96
+ (a) You must give any other recipients of the Work or
97
+ Derivative Works a copy of this License; and
98
+
99
+ (b) You must cause any modified files to carry prominent notices
100
+ stating that You changed the files; and
101
+
102
+ (c) You must retain, in the Source form of any Derivative Works
103
+ that You distribute, all copyright, patent, trademark, and
104
+ attribution notices from the Source form of the Work,
105
+ excluding those notices that do not pertain to any part of
106
+ the Derivative Works; and
107
+
108
+ (d) If the Work includes a "NOTICE" text file as part of its
109
+ distribution, then any Derivative Works that You distribute must
110
+ include a readable copy of the attribution notices contained
111
+ within such NOTICE file, excluding those notices that do not
112
+ pertain to any part of the Derivative Works, in at least one
113
+ of the following places: within a NOTICE text file distributed
114
+ as part of the Derivative Works; within the Source form or
115
+ documentation, if provided along with the Derivative Works; or,
116
+ within a display generated by the Derivative Works, if and
117
+ wherever such third-party notices normally appear. The contents
118
+ of the NOTICE file are for informational purposes only and
119
+ do not modify the License. You may add Your own attribution
120
+ notices within Derivative Works that You distribute, alongside
121
+ or as an addendum to the NOTICE text from the Work, provided
122
+ that such additional attribution notices cannot be construed
123
+ as modifying the License.
124
+
125
+ You may add Your own copyright statement to Your modifications and
126
+ may provide additional or different license terms and conditions
127
+ for use, reproduction, or distribution of Your modifications, or
128
+ for any such Derivative Works as a whole, provided Your use,
129
+ reproduction, and distribution of the Work otherwise complies with
130
+ the conditions stated in this License.
131
+
132
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
133
+ any Contribution intentionally submitted for inclusion in the Work
134
+ by You to the Licensor shall be under the terms and conditions of
135
+ this License, without any additional terms or conditions.
136
+ Notwithstanding the above, nothing herein shall supersede or modify
137
+ the terms of any separate license agreement you may have executed
138
+ with Licensor regarding such Contributions.
139
+
140
+ 6. Trademarks. This License does not grant permission to use the trade
141
+ names, trademarks, service marks, or product names of the Licensor,
142
+ except as required for reasonable and customary use in describing the
143
+ origin of the Work and reproducing the content of the NOTICE file.
144
+
145
+ 7. Disclaimer of Warranty. Unless required by applicable law or
146
+ agreed to in writing, Licensor provides the Work (and each
147
+ Contributor provides its Contributions) on an "AS IS" BASIS,
148
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
149
+ implied, including, without limitation, any warranties or conditions
150
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
151
+ PARTICULAR PURPOSE. You are solely responsible for determining the
152
+ appropriateness of using or redistributing the Work and assume any
153
+ risks associated with Your exercise of permissions under this License.
154
+
155
+ 8. Limitation of Liability. In no event and under no legal theory,
156
+ whether in tort (including negligence), contract, or otherwise,
157
+ unless required by applicable law (such as deliberate and grossly
158
+ negligent acts) or agreed to in writing, shall any Contributor be
159
+ liable to You for damages, including any direct, indirect, special,
160
+ incidental, or consequential damages of any character arising as a
161
+ result of this License or out of the use or inability to use the
162
+ Work (including but not limited to damages for loss of goodwill,
163
+ work stoppage, computer failure or malfunction, or any and all
164
+ other commercial damages or losses), even if such Contributor
165
+ has been advised of the possibility of such damages.
166
+
167
+ 9. Accepting Warranty or Additional Liability. While redistributing
168
+ the Work or Derivative Works thereof, You may choose to offer,
169
+ and charge a fee for, acceptance of support, warranty, indemnity,
170
+ or other liability obligations and/or rights consistent with this
171
+ License. However, in accepting such obligations, You may act only
172
+ on Your own behalf and on Your sole responsibility, not on behalf
173
+ of any other Contributor, and only if You agree to indemnify,
174
+ defend, and hold each Contributor harmless for any liability
175
+ incurred by, or claims asserted against, such Contributor by reason
176
+ of your accepting any such warranty or additional liability.
177
+
178
+ END OF TERMS AND CONDITIONS
179
+
180
+ APPENDIX: How to apply the Apache License to your work.
181
+
182
+ To apply the Apache License to your work, attach the following
183
+ boilerplate notice, with the fields enclosed by brackets "{}"
184
+ replaced with your own identifying information. (Don't include
185
+ the brackets!) The text should be enclosed in the appropriate
186
+ comment syntax for the file format. We also recommend that a
187
+ file or class name and description of purpose be included on the
188
+ same "printed page" as the copyright notice for easier
189
+ identification within third-party archives.
190
+
191
+ Copyright {yyyy} {name of copyright owner}
192
+
193
+ Licensed under the Apache License, Version 2.0 (the "License");
194
+ you may not use this file except in compliance with the License.
195
+ You may obtain a copy of the License at
196
+
197
+ http://www.apache.org/licenses/LICENSE-2.0
198
+
199
+ Unless required by applicable law or agreed to in writing, software
200
+ distributed under the License is distributed on an "AS IS" BASIS,
201
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
202
+ See the License for the specific language governing permissions and
203
+ limitations under the License.
data/Rakefile CHANGED
@@ -1,56 +1,30 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require 'rubygems'
4
- require 'bundler'
4
+
5
5
  begin
6
- Bundler.setup(:default, :development)
7
- rescue Bundler::BundlerError => e
8
- $stderr.puts e.message
9
- $stderr.puts "Run `bundle install` to install missing gems"
10
- exit e.status_code
6
+ require 'bundler'
7
+ rescue LoadError => e
8
+ warn e.message
9
+ warn "Run `gem install bundler` to install Bundler."
10
+ exit -1
11
11
  end
12
- require 'rake'
13
12
 
14
- require 'jeweler'
15
- Jeweler::Tasks.new do |gem|
16
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
- gem.name = "aws-ec2-instance_types"
18
- gem.homepage = "http://github.com/dldinternet/aws-ec2-instance_types"
19
- gem.license = "MIT"
20
- gem.summary = %Q{Retrieve an up to date list of valid AWS EC2 Instance Types}
21
- gem.description = %Q{Retrieve an up to date list of valid AWS EC2 Instance Types directly from Amazon Web Services official site.}
22
- gem.email = "rubygems@dldinternet.com"
23
- gem.authors = ["Christo De Lange"]
24
- # dependencies defined in Gemfile
13
+ begin
14
+ Bundler.setup(:development)
15
+ rescue Bundler::BundlerError => e
16
+ warn e.message
17
+ warn "Run `bundle install` to install missing gems."
18
+ exit e.status_code
25
19
  end
26
- Jeweler::RubygemsDotOrgTasks.new
27
20
 
28
- require 'rake/testtask'
29
- Rake::TestTask.new(:test) do |test|
30
- test.libs << 'lib' << 'test'
31
- test.pattern = 'test/**/test_*.rb'
32
- test.verbose = true
33
- end
21
+ require 'rake'
34
22
 
35
- #require 'rcov/rcovtask'
36
- #Rcov::RcovTask.new do |test|
37
- # test.libs << 'test'
38
- # test.pattern = 'test/**/test_*.rb'
39
- # test.verbose = true
40
- # test.rcov_opts << '--exclude "gems/*"'
41
- #end
23
+ require 'rubygems/tasks'
24
+ Gem::Tasks.new
42
25
 
43
26
  require 'cucumber/rake/task'
44
- Cucumber::Rake::Task.new(:features)
45
-
46
- task :default => :test
47
-
48
- require 'rdoc/task'
49
- Rake::RDocTask.new do |rdoc|
50
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
51
27
 
52
- rdoc.rdoc_dir = 'rdoc'
53
- rdoc.title = "aws-ec2-instance_types #{version}"
54
- rdoc.rdoc_files.include('README*')
55
- rdoc.rdoc_files.include('lib/**/*.rb')
28
+ Cucumber::Rake::Task.new do |t|
29
+ t.cucumber_opts = %w[--format pretty]
56
30
  end
@@ -1,84 +1,29 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
5
- # stub: aws-ec2-instance_types 1.0.4 ruby lib
6
2
 
7
- Gem::Specification.new do |s|
8
- s.name = "aws-ec2-instance_types"
9
- s.version = "1.0.4"
3
+ require File.expand_path('../lib/aws/ec2/instance_types/version', __FILE__)
10
4
 
11
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
- s.authors = ["Christo De Lange"]
13
- s.date = "2013-10-14"
14
- s.description = "Retrieve an up to date list of valid AWS EC2 Instance Types directly from Amazon Web Services official site."
15
- s.email = "rubygems@dldinternet.com"
16
- s.executables = ["aws-ec2-instance_types"]
17
- s.extra_rdoc_files = [
18
- "LICENSE",
19
- "LICENSE.txt",
20
- "README.md",
21
- "README.rdoc"
22
- ]
23
- s.files = [
24
- ".document",
25
- ".ruby-gemset",
26
- ".ruby-version",
27
- "Gemfile",
28
- "Gemfile.lock",
29
- "LICENSE",
30
- "LICENSE.txt",
31
- "README.md",
32
- "README.rdoc",
33
- "Rakefile",
34
- "VERSION",
35
- "aws-ec2-instance_types.gemspec",
36
- "bin/aws-ec2-instance_types",
37
- "features/aws-ec2-instance_types.feature",
38
- "features/step_definitions/aws-ec2-instance_types_steps.rb",
39
- "features/support/env.rb",
40
- "lib/dldinternet/aws/ec2.rb",
41
- "lib/dldinternet/aws/ec2/instance_types.rb",
42
- "test/helper.rb",
43
- "test/test_aws-ec2-instance_types.rb"
44
- ]
45
- s.homepage = "http://github.com/dldinternet/aws-ec2-instance_types"
46
- s.licenses = ["MIT"]
47
- s.require_paths = ["lib"]
48
- s.rubygems_version = "2.1.5"
49
- s.summary = "Retrieve an up to date list of valid AWS EC2 Instance Types"
5
+ Gem::Specification.new do |gem|
6
+ gem.name = 'aws-ec2-instance_types'
7
+ gem.version = Aws::Ec2::InstanceTypes::VERSION
8
+ gem.summary =
9
+ gem.description = %q{Retrieve an up to date list of valid AWS EC2 Instance Types directly from Amazon Web Services official site.}
10
+ gem.license = 'Apachev2'
11
+ gem.authors = ['Christo De Lange']
12
+ gem.email = 'rubygems@dldinternet.com'
13
+ gem.homepage = 'https://rubygems.org/gems/aws-ec2-instance_types'
50
14
 
51
- if s.respond_to? :specification_version then
52
- s.specification_version = 4
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ['lib']
53
19
 
54
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
55
- s.add_runtime_dependency(%q<mechanize>, [">= 0"])
56
- s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
57
- s.add_runtime_dependency(%q<awesome_print>, [">= 0"])
58
- s.add_development_dependency(%q<shoulda>, [">= 0"])
59
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
60
- s.add_development_dependency(%q<cucumber>, [">= 0"])
61
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
62
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.7"])
63
- else
64
- s.add_dependency(%q<mechanize>, [">= 0"])
65
- s.add_dependency(%q<nokogiri>, [">= 0"])
66
- s.add_dependency(%q<awesome_print>, [">= 0"])
67
- s.add_dependency(%q<shoulda>, [">= 0"])
68
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
69
- s.add_dependency(%q<cucumber>, [">= 0"])
70
- s.add_dependency(%q<bundler>, ["~> 1.0"])
71
- s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
72
- end
73
- else
74
- s.add_dependency(%q<mechanize>, [">= 0"])
75
- s.add_dependency(%q<nokogiri>, [">= 0"])
76
- s.add_dependency(%q<awesome_print>, [">= 0"])
77
- s.add_dependency(%q<shoulda>, [">= 0"])
78
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
79
- s.add_dependency(%q<cucumber>, [">= 0"])
80
- s.add_dependency(%q<bundler>, ["~> 1.0"])
81
- s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
82
- end
83
- end
20
+ gem.add_development_dependency 'bundler', '~> 1.0'
21
+ gem.add_development_dependency 'rake', '~> 0.8'
22
+ gem.add_development_dependency 'rubygems-tasks', '~> 0.2'
23
+
24
+ gem.add_runtime_dependency(%q<mechanize>, ['>= 2.7.2'])
25
+ gem.add_runtime_dependency(%q<nokogiri>, ['>= 1.5.0'])
26
+ gem.add_runtime_dependency(%q<awesome_print>, ['>= 1.2.0'])
27
+ gem.add_runtime_dependency(%q<colorize>, ['>= 0.7.2'])
84
28
 
29
+ end
@@ -7,16 +7,16 @@ $:.unshift(_lib) unless $:.include?(_lib)
7
7
  require "dldinternet/aws/ec2"
8
8
  include DLDInternet::AWS::EC2
9
9
 
10
- require "mechanize"
10
+ require 'mechanize'
11
11
  mechanize = Mechanize.new
12
12
  mechanize.open_timeout = 5
13
13
  mechanize.read_timeout = 10
14
14
 
15
- require "awesome_print"
16
- require "colorize"
15
+ require 'awesome_print'
16
+ require 'colorize'
17
17
 
18
18
  begin
19
- puts getInstanceTypes(:mechanize => mechanize)[:instance_type_details].ai
19
+ puts getInstanceTypes(:mechanize => mechanize).ai
20
20
  rescue Timeout::Error => e
21
21
  puts "Unable to retrieve instance type details in a reasonable time (#{mechanize.open_timeout}s). Giving up ...".light_red
22
22
  end
data/features/.gitkeep ADDED
File without changes
File without changes
@@ -0,0 +1,8 @@
1
+ module Aws
2
+ module Ec2
3
+ module InstanceTypes
4
+ # aws-ec2-instance_types version
5
+ VERSION = '1.1.0'
6
+ end
7
+ end
8
+ end
@@ -0,0 +1 @@
1
+ require 'aws/ec2/instance_types/version'
@@ -2,30 +2,33 @@ module DLDInternet
2
2
  module AWS
3
3
  module EC2
4
4
  class Error < StandardError ; end
5
- HEADINGS = [
6
- :instance_family, # [0]
7
- :instance_type, # [1]
8
- :processor_arch, # [2]
9
- :vCPU, # [3]
10
- :ECU, # [4]
11
- :memory, # [5]
12
- :instance_storage, # [6]
13
- :EBS_optimized_available, # [7]
14
- :network_performance # [8]
15
- ]
5
+ # HEADINGS = [
6
+ # :instance_family, # [0]
7
+ # :instance_type, # [1]
8
+ # :processor_arch, # [2]
9
+ # :vCPU, # [3]
10
+ # :ECU, # [4]
11
+ # :memory, # [5]
12
+ # :instance_storage, # [6]
13
+ # :EBS_optimized_available, # [7]
14
+ # :network_performance # [8]
15
+ # ]
16
+ #'Instance Type','vCPU','Memory (GiB)',' Storage (GB)','Networking Performance','Physical Processor','Clock Speed (GHz)','Intel® AES-NI','Intel® AVX†','Intel® Turbo','EBS OPT','Enhanced Networking'
16
17
  HEADINGS_CPU = [
17
- :instance_family, # [0]
18
- :instance_type, # [1]
19
- :processor_arch, # [2]
20
- :vCPU, # [3]
21
- :ECU, # [4]
18
+ :instance_type, # [0]
19
+ :vCPU, # [1]
20
+ :memory, # [2]
21
+ :instance_storage, # [3]
22
+ :networking_performance, # [4]
22
23
  :physical_processor, # [5]
23
- :Intel_AES_NI, # [6]
24
- :Intel_AVX, # [7]
25
- :Intel_Turbo, # [8]
26
-
24
+ :clock_speed, # [6]
25
+ :Intel_AES_NI, # [7]
26
+ :Intel_AVX, # [8]
27
+ :Intel_Turbo, # [9]
28
+ :EBS_OPT, # [10]
29
+ :enhanced_networking # [11]
27
30
  ]
28
-
31
+ DEBUG = true
29
32
  attr_reader :instance_types
30
33
 
31
34
  # ---------------------------------------------------------------------------------------------------------------
@@ -42,20 +45,54 @@ module DLDInternet
42
45
 
43
46
  page = mechanize.get(url)
44
47
 
45
- require "nokogiri"
46
- nk = Nokogiri::HTML(page.body)
47
- div = nk.css("div#yui-main div.yui-b")
48
- tables = div.search('table')
48
+ require 'nokogiri'
49
49
 
50
- @instance_types[:instance_type_details] = scrapeTable(HEADINGS, tables[0])
51
- @instance_types[:processor_details] = scrapeTable(HEADINGS_CPU, tables[1])
50
+ nk = Nokogiri::HTML(page.body)
51
+ # noinspection RubyAssignmentExpressionInConditionalInspection
52
+ if div = find_div(nk, %r'^<div\s+class="nine columns content-with-nav')
53
+ # noinspection RubyAssignmentExpressionInConditionalInspection
54
+ if div = find_div(div, %r'^<div\s+class="content parsys')
55
+ divs = div.css('div').to_a
56
+ itm = nil
57
+ idx = 0
58
+ divs.each do |d|
59
+ as = d.css('div div h2 a')
60
+ as.each do |a|
61
+ # puts "'#{a.text}'"
62
+ if a.text == ' Instance Types Matrix '
63
+ itm = d
64
+ break
65
+ end
66
+ end
67
+ break if itm
68
+ idx += 1
69
+ end
70
+ itm = divs[idx+1+2]
71
+ table = itm.css('div table').first
72
+ # puts "#{idx}: #{table.to_s}"
73
+ @instance_types = scrapeTable(HEADINGS_CPU, table)
74
+ end
75
+ end
52
76
  end
53
77
  @instance_types
54
78
  end
55
79
 
80
+ def find_div(nk,regex)
81
+ ret = nil
82
+ divs = nk.search('div')
83
+ if divs.count > 0
84
+ nine = divs.select { |div| div.to_s.match regex }
85
+ if nine.count == 1
86
+ nine = nine.shift
87
+ ret = nine
88
+ end
89
+ end
90
+ ret
91
+ end
92
+
56
93
  # ---------------------------------------------------------------------------------------------------------------
57
94
  def scrapeTable(cHeadings,table)
58
- raise Error.new "Cannot find instance type table" unless table.is_a?(Nokogiri::XML::Element)
95
+ raise Error.new 'Cannot find instance type table' unless table.is_a?(Nokogiri::XML::Element)
59
96
  rows = table.search('tr')[0..-1]
60
97
  head = rows.shift
61
98
 
@@ -1,2 +1,2 @@
1
1
 
2
- require "dldinternet/aws/ec2/instance_types"
2
+ require 'dldinternet/aws/ec2/instance_types'
metadata CHANGED
@@ -1,146 +1,127 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-ec2-instance_types
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christo De Lange
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-14 00:00:00.000000000 Z
11
+ date: 2014-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: mechanize
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ! '>='
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ! '>='
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: nokogiri
14
+ name: bundler
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
- - - ! '>='
17
+ - - "~>"
32
18
  - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
19
+ version: '1.0'
20
+ type: :development
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
- - - ! '>='
24
+ - - "~>"
39
25
  - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: '1.0'
41
27
  - !ruby/object:Gem::Dependency
42
- name: awesome_print
28
+ name: rake
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - ! '>='
31
+ - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
33
+ version: '0.8'
34
+ type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - ! '>='
38
+ - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: '0'
40
+ version: '0.8'
55
41
  - !ruby/object:Gem::Dependency
56
- name: shoulda
42
+ name: rubygems-tasks
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ! '>='
45
+ - - "~>"
60
46
  - !ruby/object:Gem::Version
61
- version: '0'
47
+ version: '0.2'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ! '>='
52
+ - - "~>"
67
53
  - !ruby/object:Gem::Version
68
- version: '0'
54
+ version: '0.2'
69
55
  - !ruby/object:Gem::Dependency
70
- name: rdoc
56
+ name: mechanize
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - ~>
59
+ - - ">="
74
60
  - !ruby/object:Gem::Version
75
- version: !binary |-
76
- My4xMg==
77
- type: :development
61
+ version: 2.7.2
62
+ type: :runtime
78
63
  prerelease: false
79
64
  version_requirements: !ruby/object:Gem::Requirement
80
65
  requirements:
81
- - - ~>
66
+ - - ">="
82
67
  - !ruby/object:Gem::Version
83
- version: !binary |-
84
- My4xMg==
68
+ version: 2.7.2
85
69
  - !ruby/object:Gem::Dependency
86
- name: cucumber
70
+ name: nokogiri
87
71
  requirement: !ruby/object:Gem::Requirement
88
72
  requirements:
89
- - - ! '>='
73
+ - - ">="
90
74
  - !ruby/object:Gem::Version
91
- version: '0'
92
- type: :development
75
+ version: 1.5.0
76
+ type: :runtime
93
77
  prerelease: false
94
78
  version_requirements: !ruby/object:Gem::Requirement
95
79
  requirements:
96
- - - ! '>='
80
+ - - ">="
97
81
  - !ruby/object:Gem::Version
98
- version: '0'
82
+ version: 1.5.0
99
83
  - !ruby/object:Gem::Dependency
100
- name: bundler
84
+ name: awesome_print
101
85
  requirement: !ruby/object:Gem::Requirement
102
86
  requirements:
103
- - - ~>
87
+ - - ">="
104
88
  - !ruby/object:Gem::Version
105
- version: '1.0'
106
- type: :development
89
+ version: 1.2.0
90
+ type: :runtime
107
91
  prerelease: false
108
92
  version_requirements: !ruby/object:Gem::Requirement
109
93
  requirements:
110
- - - ~>
94
+ - - ">="
111
95
  - !ruby/object:Gem::Version
112
- version: '1.0'
96
+ version: 1.2.0
113
97
  - !ruby/object:Gem::Dependency
114
- name: jeweler
98
+ name: colorize
115
99
  requirement: !ruby/object:Gem::Requirement
116
100
  requirements:
117
- - - ~>
101
+ - - ">="
118
102
  - !ruby/object:Gem::Version
119
- version: 1.8.7
120
- type: :development
103
+ version: 0.7.2
104
+ type: :runtime
121
105
  prerelease: false
122
106
  version_requirements: !ruby/object:Gem::Requirement
123
107
  requirements:
124
- - - ~>
108
+ - - ">="
125
109
  - !ruby/object:Gem::Version
126
- version: 1.8.7
110
+ version: 0.7.2
127
111
  description: Retrieve an up to date list of valid AWS EC2 Instance Types directly
128
112
  from Amazon Web Services official site.
129
113
  email: rubygems@dldinternet.com
130
114
  executables:
131
115
  - aws-ec2-instance_types
132
116
  extensions: []
133
- extra_rdoc_files:
134
- - LICENSE
135
- - LICENSE.txt
136
- - README.md
137
- - README.rdoc
117
+ extra_rdoc_files: []
138
118
  files:
139
- - .document
140
- - .ruby-gemset
141
- - .ruby-version
119
+ - ".document"
120
+ - ".gitignore"
121
+ - ".ruby-gemset"
122
+ - ".ruby-version"
123
+ - ChangeLog.md
142
124
  - Gemfile
143
- - Gemfile.lock
144
125
  - LICENSE
145
126
  - LICENSE.txt
146
127
  - README.md
@@ -149,16 +130,20 @@ files:
149
130
  - VERSION
150
131
  - aws-ec2-instance_types.gemspec
151
132
  - bin/aws-ec2-instance_types
133
+ - features/.gitkeep
152
134
  - features/aws-ec2-instance_types.feature
135
+ - features/step_definitions/.gitkeep
153
136
  - features/step_definitions/aws-ec2-instance_types_steps.rb
154
137
  - features/support/env.rb
138
+ - lib/aws/ec2/instance_types.rb
139
+ - lib/aws/ec2/instance_types/version.rb
155
140
  - lib/dldinternet/aws/ec2.rb
156
141
  - lib/dldinternet/aws/ec2/instance_types.rb
157
142
  - test/helper.rb
158
143
  - test/test_aws-ec2-instance_types.rb
159
- homepage: http://github.com/dldinternet/aws-ec2-instance_types
144
+ homepage: https://rubygems.org/gems/aws-ec2-instance_types
160
145
  licenses:
161
- - MIT
146
+ - Apachev2
162
147
  metadata: {}
163
148
  post_install_message:
164
149
  rdoc_options: []
@@ -166,18 +151,26 @@ require_paths:
166
151
  - lib
167
152
  required_ruby_version: !ruby/object:Gem::Requirement
168
153
  requirements:
169
- - - ! '>='
154
+ - - ">="
170
155
  - !ruby/object:Gem::Version
171
156
  version: '0'
172
157
  required_rubygems_version: !ruby/object:Gem::Requirement
173
158
  requirements:
174
- - - ! '>='
159
+ - - ">="
175
160
  - !ruby/object:Gem::Version
176
161
  version: '0'
177
162
  requirements: []
178
163
  rubyforge_project:
179
- rubygems_version: 2.1.5
164
+ rubygems_version: 2.2.2
180
165
  signing_key:
181
166
  specification_version: 4
182
- summary: Retrieve an up to date list of valid AWS EC2 Instance Types
183
- test_files: []
167
+ summary: Retrieve an up to date list of valid AWS EC2 Instance Types directly from
168
+ Amazon Web Services official site.
169
+ test_files:
170
+ - features/.gitkeep
171
+ - features/aws-ec2-instance_types.feature
172
+ - features/step_definitions/.gitkeep
173
+ - features/step_definitions/aws-ec2-instance_types_steps.rb
174
+ - features/support/env.rb
175
+ - test/helper.rb
176
+ - test/test_aws-ec2-instance_types.rb
data/Gemfile.lock DELETED
@@ -1,108 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- activesupport (4.0.0)
5
- i18n (~> 0.6, >= 0.6.4)
6
- minitest (~> 4.2)
7
- multi_json (~> 1.3)
8
- thread_safe (~> 0.1)
9
- tzinfo (~> 0.3.37)
10
- addressable (2.3.5)
11
- atomic (1.1.14)
12
- awesome_print (1.2.0)
13
- builder (3.2.2)
14
- cucumber (1.3.8)
15
- builder (>= 2.1.2)
16
- diff-lcs (>= 1.1.3)
17
- gherkin (~> 2.12.1)
18
- multi_json (>= 1.7.5, < 2.0)
19
- multi_test (>= 0.0.2)
20
- diff-lcs (1.2.4)
21
- domain_name (0.5.13)
22
- unf (>= 0.0.5, < 1.0.0)
23
- faraday (0.8.8)
24
- multipart-post (~> 1.2.0)
25
- gherkin (2.12.2)
26
- multi_json (~> 1.3)
27
- git (1.2.6)
28
- github_api (0.10.1)
29
- addressable
30
- faraday (~> 0.8.1)
31
- hashie (>= 1.2)
32
- multi_json (~> 1.4)
33
- nokogiri (~> 1.5.2)
34
- oauth2
35
- hashie (2.0.5)
36
- highline (1.6.19)
37
- http-cookie (1.0.2)
38
- domain_name (~> 0.5)
39
- httpauth (0.2.0)
40
- i18n (0.6.5)
41
- jeweler (1.8.8)
42
- builder
43
- bundler (~> 1.0)
44
- git (>= 1.2.5)
45
- github_api (= 0.10.1)
46
- highline (>= 1.6.15)
47
- nokogiri (= 1.5.10)
48
- rake
49
- rdoc
50
- json (1.8.0)
51
- jwt (0.1.8)
52
- multi_json (>= 1.5)
53
- mechanize (2.7.2)
54
- domain_name (~> 0.5, >= 0.5.1)
55
- http-cookie (~> 1.0.0)
56
- mime-types (~> 1.17, >= 1.17.2)
57
- net-http-digest_auth (~> 1.1, >= 1.1.1)
58
- net-http-persistent (~> 2.5, >= 2.5.2)
59
- nokogiri (~> 1.4)
60
- ntlm-http (~> 0.1, >= 0.1.1)
61
- webrobots (>= 0.0.9, < 0.2)
62
- mime-types (1.25)
63
- minitest (4.7.5)
64
- multi_json (1.8.1)
65
- multi_test (0.0.2)
66
- multi_xml (0.5.5)
67
- multipart-post (1.2.0)
68
- net-http-digest_auth (1.4)
69
- net-http-persistent (2.9)
70
- nokogiri (1.5.10)
71
- ntlm-http (0.1.1)
72
- oauth2 (0.9.2)
73
- faraday (~> 0.8)
74
- httpauth (~> 0.2)
75
- jwt (~> 0.1.4)
76
- multi_json (~> 1.0)
77
- multi_xml (~> 0.5)
78
- rack (~> 1.2)
79
- rack (1.5.2)
80
- rake (10.1.0)
81
- rdoc (3.12.2)
82
- json (~> 1.4)
83
- shoulda (3.5.0)
84
- shoulda-context (~> 1.0, >= 1.0.1)
85
- shoulda-matchers (>= 1.4.1, < 3.0)
86
- shoulda-context (1.1.5)
87
- shoulda-matchers (2.4.0)
88
- activesupport (>= 3.0.0)
89
- thread_safe (0.1.3)
90
- atomic
91
- tzinfo (0.3.38)
92
- unf (0.1.2)
93
- unf_ext
94
- unf_ext (0.0.6)
95
- webrobots (0.1.1)
96
-
97
- PLATFORMS
98
- ruby
99
-
100
- DEPENDENCIES
101
- awesome_print
102
- bundler (~> 1.0)
103
- cucumber
104
- jeweler (~> 1.8.7)
105
- mechanize
106
- nokogiri
107
- rdoc (~> 3.12)
108
- shoulda