awslist 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +85 -0
- data/Rakefile +6 -0
- data/awslist.gemspec +40 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/awslist/version.rb +3 -0
- data/lib/awslist.rb +182 -0
- metadata +141 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a60e4508a5b91312afddfae0638cd1beae022e33
|
4
|
+
data.tar.gz: 9bb2fc6c797c25d9e7710d6465842f605e9acf03
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4630d0fe47aa3d0afd55c2010ee1367ab08e90d746ebd160b2aeeba0cbbc6dbe263a94cdca4d3147c4f8828b1c66da8cf561ee195928beb85fbf2cc575e6167f
|
7
|
+
data.tar.gz: 3cea025c65b20a638d80d1f2e1ae0cfac37508c92567bd5c0bbf827b46e907685353fa901894288298090027222d318c0c82cde6e6f20c812a98b55c966aed7b
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at sngh.akanksha09@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Akkks
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
<<<<<<< HEAD
|
2
|
+
# Awslist
|
3
|
+
|
4
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/awslist`. To experiment with that code, run `bin/console` for an interactive prompt.
|
5
|
+
|
6
|
+
TODO: Delete this and the text above, and describe your gem
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add this line to your application's Gemfile:
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
gem 'awslist'
|
14
|
+
```
|
15
|
+
|
16
|
+
And then execute:
|
17
|
+
|
18
|
+
$ bundle
|
19
|
+
|
20
|
+
Or install it yourself as:
|
21
|
+
|
22
|
+
$ gem install awslist
|
23
|
+
|
24
|
+
## Usage
|
25
|
+
|
26
|
+
The gem contains basically 3 functions
|
27
|
+
|
28
|
+
1. get_input :
|
29
|
+
|
30
|
+
This function returns 5 parameters , which are later used to call main functionality.
|
31
|
+
|
32
|
+
@os , @region , @memory , @cpu_req , @hash = get_input
|
33
|
+
|
34
|
+
a. @os is the operating system value
|
35
|
+
|
36
|
+
b. @region is Region value
|
37
|
+
|
38
|
+
c. @memory is aws instance basic memory requirement
|
39
|
+
|
40
|
+
d. @cpu_req is aws instance basic cpu requirement
|
41
|
+
|
42
|
+
e. @hash is a hash built of the aws instance data
|
43
|
+
|
44
|
+
All this values , except hash , is inputed by the user , on calling get_input function
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
2. refine_output :
|
49
|
+
|
50
|
+
After taking the input from the user , refine output is called , with all above 5 paramenters , i.e.
|
51
|
+
|
52
|
+
@output = refine_output(@os , @region , @memory , @cpu_req , @hash)
|
53
|
+
|
54
|
+
It will output a resulted array of the requirements matching instances
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
3. print :
|
59
|
+
|
60
|
+
It will take input as output of refine_output , and print the results
|
61
|
+
|
62
|
+
print(@output)
|
63
|
+
|
64
|
+
|
65
|
+
## Development
|
66
|
+
|
67
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
68
|
+
|
69
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
70
|
+
|
71
|
+
## Contributing
|
72
|
+
|
73
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/Akkks/awslist. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
74
|
+
|
75
|
+
## License
|
76
|
+
|
77
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
78
|
+
|
79
|
+
## Code of Conduct
|
80
|
+
|
81
|
+
Everyone interacting in the Awslist project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Akkks/awslist/blob/master/CODE_OF_CONDUCT.md).
|
82
|
+
=======
|
83
|
+
# gems
|
84
|
+
My Created gems
|
85
|
+
>>>>>>> 0e74d37e33af651b70d666ffbd8187938364dee4
|
data/Rakefile
ADDED
data/awslist.gemspec
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "awslist/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "awslist"
|
8
|
+
spec.version = Awslist::VERSION
|
9
|
+
spec.authors = ["Akkks"]
|
10
|
+
spec.email = ["sngh.akanksha09@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Aws instance price list}
|
13
|
+
spec.description = %q{Filter instances according to your choices}
|
14
|
+
spec.homepage = "https://github.com/Akkks/awslist"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
#if spec.respond_to?(:metadata)
|
20
|
+
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
21
|
+
#else
|
22
|
+
# raise "RubyGems 2.0 or newer is required to protect against " \
|
23
|
+
# "public gem pushes."
|
24
|
+
#end
|
25
|
+
|
26
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
27
|
+
f.match(%r{^(test|spec|features)/})
|
28
|
+
end
|
29
|
+
spec.bindir = "exe"
|
30
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
|
+
spec.require_paths = ["lib"]
|
32
|
+
|
33
|
+
spec.add_dependency 'rest-client'
|
34
|
+
spec.add_dependency 'nokogiri'
|
35
|
+
spec.add_dependency 'json'
|
36
|
+
|
37
|
+
spec.add_development_dependency "bundler", "~> 1.15"
|
38
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
39
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
40
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "awslist"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/lib/awslist.rb
ADDED
@@ -0,0 +1,182 @@
|
|
1
|
+
require 'awslist/version'
|
2
|
+
require 'rest-client'
|
3
|
+
require 'nokogiri'
|
4
|
+
require 'json'
|
5
|
+
|
6
|
+
module Awslist
|
7
|
+
# Your code goes here...
|
8
|
+
#def initialize
|
9
|
+
#@aws = Awslist.new
|
10
|
+
#end
|
11
|
+
|
12
|
+
def self.get_os(os_str)
|
13
|
+
os_list = {
|
14
|
+
'1' => 'linux' ,
|
15
|
+
'2' => 'rhel' ,
|
16
|
+
'3' => 'sles' ,
|
17
|
+
'4' => 'mswin' ,
|
18
|
+
'5' => 'mswinSQL' ,
|
19
|
+
'6' => 'mswinSQLWeb' ,
|
20
|
+
'7' => 'mswinSQLEnterprise'
|
21
|
+
}
|
22
|
+
return os_list[os_str.strip.to_s] if os_list.key?(os_str.strip.to_s)
|
23
|
+
puts 'Please input correct choice for Operating system'
|
24
|
+
abort
|
25
|
+
end
|
26
|
+
|
27
|
+
def self.get_region(region_str)
|
28
|
+
region_list = {
|
29
|
+
'1' => 'us-east-1' ,
|
30
|
+
'2' => 'us-east-2' ,
|
31
|
+
'3' => 'us-west-2' ,
|
32
|
+
'4' => 'us-west-1' ,
|
33
|
+
'5' => 'ca-central-1' ,
|
34
|
+
'6' => 'eu-west-1' ,
|
35
|
+
'7' => 'eu-west-2' ,
|
36
|
+
'8' => 'eu-central-1' ,
|
37
|
+
'9' => 'ap-southeast-1' ,
|
38
|
+
'10' => 'ap-northeast-1' ,
|
39
|
+
'11' => 'ap-southeast-2' ,
|
40
|
+
'12' => 'ap-northeast-2' ,
|
41
|
+
'13' => 'ap-south-1' ,
|
42
|
+
'14' => 'sa-east-1' ,
|
43
|
+
'15' => 'us-gov-west-1'
|
44
|
+
}
|
45
|
+
return region_list[region_str.strip.to_s] if region_list.key?(region_str.strip.to_s)
|
46
|
+
puts 'Please input correct choice for Region'
|
47
|
+
abort
|
48
|
+
end
|
49
|
+
|
50
|
+
def self.reload_files
|
51
|
+
['linux','rhel','sles','mswin','mswinSQL','mswinSQLWeb','mswinSQLEnterprise'].each do |x|
|
52
|
+
s = RestClient.get "https://a0.awsstatic.com/pricing/1/ec2/#{x}-od.min.js"
|
53
|
+
s.gsub!(/^.*callback\(/, '') # removes the comment and callback function from the start of the string
|
54
|
+
s.gsub!(/\);$/, '') # removes the end of the callback function
|
55
|
+
s.gsub!(/(\w+):/, '"\1":')
|
56
|
+
hash = JSON.parse(s)
|
57
|
+
File.open("#{x}","w") { |file| file.write(hash.to_json) }
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
def self.reload_hash
|
62
|
+
hash = {}
|
63
|
+
['linux','rhel','sles','mswin','mswinSQL','mswinSQLWeb','mswinSQLEnterprise'].each do |x|
|
64
|
+
s = JSON.parse(File.read(x))
|
65
|
+
hash[x] = hash.fetch(x,{})
|
66
|
+
s['config']['regions'].each do |region_spec|
|
67
|
+
str = region_spec['region']
|
68
|
+
hash[x][str] = hash[x].fetch(str,{})
|
69
|
+
hash[x][str]['vCPU'] = hash[x][str].fetch('vCPU',{})
|
70
|
+
hash[x][str]['memoryGiB'] = hash[x][str].fetch('memoryGiB',{})
|
71
|
+
|
72
|
+
region_spec['instanceTypes'].each do |type|
|
73
|
+
type['sizes'].each do |instance_spec|
|
74
|
+
instance_hash = {}
|
75
|
+
instance_hash['size'] = instance_spec['size']
|
76
|
+
instance_hash['vCPU'] = instance_spec['vCPU']
|
77
|
+
instance_hash['ECU'] = instance_spec['ECU']
|
78
|
+
instance_hash['memoryGiB'] = instance_spec['memoryGiB']
|
79
|
+
instance_hash['storageGB'] = instance_spec['storageGB']
|
80
|
+
instance_hash['price'] = instance_spec['valueColumns'][0]['prices']['USD']
|
81
|
+
|
82
|
+
cpu = instance_hash['vCPU']
|
83
|
+
mem = instance_hash['memoryGiB']
|
84
|
+
|
85
|
+
hash[x][str]['vCPU'][cpu] = hash[x][str]['vCPU'].fetch(cpu,[])
|
86
|
+
hash[x][str]['vCPU'][cpu] << instance_hash
|
87
|
+
hash[x][str]['memoryGiB'][mem] = hash[x][str]['memoryGiB'].fetch(mem,[])
|
88
|
+
hash[x][str]['memoryGiB'][mem] << instance_hash
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
File.open('Complete_Data','w'){ |file| file.write(hash.to_json) }
|
94
|
+
end
|
95
|
+
|
96
|
+
def self.reloaded_hash
|
97
|
+
hash = JSON.parse(File.read('Complete_Data'))
|
98
|
+
return hash
|
99
|
+
end
|
100
|
+
|
101
|
+
def self.get_input
|
102
|
+
puts 'Want to reload data?y/n'
|
103
|
+
@decision = STDIN.gets
|
104
|
+
if @decision.strip == 'y' || ! File.exist?('Complete_Data')
|
105
|
+
reload_files
|
106
|
+
reload_hash
|
107
|
+
end
|
108
|
+
@hash = reloaded_hash
|
109
|
+
|
110
|
+
puts 'Enter your choice of Operating system'
|
111
|
+
puts '
|
112
|
+
1 : linux
|
113
|
+
2 : rhel
|
114
|
+
3 : sles
|
115
|
+
4 : mswin
|
116
|
+
5 : mswinSQL
|
117
|
+
6 : mswinSQLWeb
|
118
|
+
7 : mswinSQLEnterprise'
|
119
|
+
@os = get_os(STDIN.gets)
|
120
|
+
puts 'Enter your choice of Region'
|
121
|
+
puts '
|
122
|
+
1 : us-east-1
|
123
|
+
2 : us-east-2
|
124
|
+
3 : us-west-2
|
125
|
+
4 : us-west-1
|
126
|
+
5 : ca-central-1
|
127
|
+
6 : eu-west-1
|
128
|
+
7 : eu-west-2
|
129
|
+
8 : eu-central-1
|
130
|
+
9 : ap-southeast-1
|
131
|
+
10 : ap-northeast-1
|
132
|
+
11 : ap-southeast-2
|
133
|
+
12 : ap-northeast-2
|
134
|
+
13 : ap-south-1
|
135
|
+
14 : sa-east-1
|
136
|
+
15 : us-gov-west-1'
|
137
|
+
@region = get_region(STDIN.gets)
|
138
|
+
puts 'Enter your memory requirement , else nil'
|
139
|
+
@memory = STDIN.gets
|
140
|
+
puts 'Enter your cpu requirement , else nil'
|
141
|
+
@cpu_req = STDIN.gets
|
142
|
+
|
143
|
+
return @os , @region , @memory , @cpu_req , @hash
|
144
|
+
end
|
145
|
+
|
146
|
+
def self.refine_output(os,region,memory,cpu_req,hash)
|
147
|
+
a = []
|
148
|
+
b = []
|
149
|
+
memory = '0' if memory.strip == 'nil'
|
150
|
+
cpu_req = '0' if cpu_req.strip == 'nil'
|
151
|
+
|
152
|
+
hash[os][region]['vCPU'].each do |k,v|
|
153
|
+
if k.to_f >= cpu_req.strip.to_f
|
154
|
+
v.each do |c|
|
155
|
+
a << c
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
hash[os][region]['memoryGiB'].each do |k,v|
|
161
|
+
if k.to_f >= memory.strip.to_f
|
162
|
+
v.each do |c|
|
163
|
+
b << c
|
164
|
+
end
|
165
|
+
end
|
166
|
+
end
|
167
|
+
output = a & b
|
168
|
+
|
169
|
+
return output
|
170
|
+
end
|
171
|
+
|
172
|
+
def self.print(output)
|
173
|
+
output.each do |hashes_everywhere|
|
174
|
+
value = hashes_everywhere['price'].to_f
|
175
|
+
puts hashes_everywhere['size'] + ' -c ' + hashes_everywhere['vCPU'] + ' -m ' + hashes_everywhere['memoryGiB'] + ' -p ' + value.to_s + '$ perhr and ' + (value*24).round(3).to_s + '$ perday'
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
#@os , @region , @memory , @cpu_req , @hash = get_input
|
180
|
+
#@output = refine_output(@os , @region , @memory , @cpu_req , @hash)
|
181
|
+
#print(@output)
|
182
|
+
end
|
metadata
ADDED
@@ -0,0 +1,141 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: awslist
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Akkks
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-06-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rest-client
|
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
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: json
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.15'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.15'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '10.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '10.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.0'
|
97
|
+
description: Filter instances according to your choices
|
98
|
+
email:
|
99
|
+
- sngh.akanksha09@gmail.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- ".rspec"
|
106
|
+
- ".travis.yml"
|
107
|
+
- CODE_OF_CONDUCT.md
|
108
|
+
- Gemfile
|
109
|
+
- LICENSE.txt
|
110
|
+
- README.md
|
111
|
+
- Rakefile
|
112
|
+
- awslist.gemspec
|
113
|
+
- bin/console
|
114
|
+
- bin/setup
|
115
|
+
- lib/awslist.rb
|
116
|
+
- lib/awslist/version.rb
|
117
|
+
homepage: https://github.com/Akkks/awslist
|
118
|
+
licenses:
|
119
|
+
- MIT
|
120
|
+
metadata: {}
|
121
|
+
post_install_message:
|
122
|
+
rdoc_options: []
|
123
|
+
require_paths:
|
124
|
+
- lib
|
125
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
135
|
+
requirements: []
|
136
|
+
rubyforge_project:
|
137
|
+
rubygems_version: 2.6.11
|
138
|
+
signing_key:
|
139
|
+
specification_version: 4
|
140
|
+
summary: Aws instance price list
|
141
|
+
test_files: []
|