best_companies 0.1.1 → 0.1.2

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,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42374162f26984df8e14d3404423e8f74ba8ae5c908d1199c885ccc0c9ed5afd
4
- data.tar.gz: 1d9600f4f6307e32c0bf32a00a35300fca8d61b8239e4809a33a8dbbca21c3bb
3
+ metadata.gz: b399b9bb0306d0a0e281039a274daa2814428d84204541203cc9c99e4d52b216
4
+ data.tar.gz: f06d05a2e196c93d3caaf10f2a899b17bd1537fc576c5826752d9e321a19a1f3
5
5
  SHA512:
6
- metadata.gz: d3be3998bae62834564c81e254cb5817780c0ff78494fa6bc465dee6401459f6770bb0210f94cc8b7e374bb802f17f7a66a876c171449b7414e9333031e64c45
7
- data.tar.gz: f813e278b9e5cbcd5153b6e188294b94f035507f3e959fc9ede5ec48175d399051d7af6929ab28da9c9778d4d375ab5173e99719b030014a0f90aab72b65c6f5
6
+ metadata.gz: 3c8083713bfe2a61915454c24b3b3015a2a3020d3b5dd65ebcae262621ad3dedf2f337443dc9cd88aead4459c5ed2e7f010d42df5b9cb0aabfdb9b23b40fc448
7
+ data.tar.gz: f0dad27447d426f41353b7c31e70a894196b0405e3f88b35c0be791cfac59933db1b52d07ee29f1c18dacce0e7c17b17015b60bc9ce9c893e4ed9eccc183dfba
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- best_companies (0.1.1)
4
+ best_companies (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -36,13 +36,13 @@ class BestCompanies::CLI
36
36
  end
37
37
 
38
38
  def self.ask_user
39
- puts "To see the entire list of Best Companies please type ".colorize(:light_blue) + "see list".colorize(:red)
40
- puts "To enter in a custom range of Best Companies between 1-100, type the range in number-number format. ".colorize(:light_blue) + "For Ex: 15-20".colorize(:red)
41
- puts "To view the ratings and awards for a company, enter the company rank (1-100) ".colorize(:light_blue) + "For Ex: 'rank 5'".colorize(:red)
42
- puts "To view best companies by state or industry, type ".colorize(:light_blue) + "see states".colorize(:red) + " or ".colorize(:light_blue) + "see industries".colorize(:red)
43
- puts "To view your saved companies, type ".colorize(:light_blue) + "archive".colorize(:red)
44
- puts "To switch years please type ".colorize(:light_blue) + "2017 or 2018".colorize(:red)
45
- puts "To exit type ".colorize(:light_blue) + "exit".colorize(:red)
39
+ puts "To see the entire list of Best Companies please type ".colorize(:light_blue) + "see list"
40
+ puts "To enter in a custom range of Best Companies between 1-100, type the range in number-number format. ".colorize(:light_blue) + "For Ex: 15-20"
41
+ puts "To view the ratings and awards for a company, enter the company rank (1-100) ".colorize(:light_blue) + "For Ex: 'rank 5'"
42
+ puts "To view best companies by state or industry, type ".colorize(:light_blue) + "see states" + " or ".colorize(:light_blue) + "see industries"
43
+ puts "To view your saved companies, type ".colorize(:light_blue) + "archive"
44
+ puts "To switch years please type ".colorize(:light_blue) + "2017 or 2018"
45
+ puts "To exit type ".colorize(:light_blue) + "exit"
46
46
  puts "------------------------------------------------"
47
47
 
48
48
  input = gets.strip.to_s
@@ -92,7 +92,7 @@ class BestCompanies::CLI
92
92
  self.see_company(BestCompanies::Company.all[(input.to_i)-1])
93
93
  BestCompanies::Company.all[(input.to_i)-1].save?
94
94
  puts "------------------------------------------------"
95
- else
95
+ else
96
96
  self.add_ratings_and_awards(input)
97
97
  end
98
98
  elsif input.match(/[A-Za-z]/)
@@ -59,5 +59,5 @@ class BestCompanies::Company
59
59
  puts "------------------------------------------------"
60
60
  self.all.slice(num1..num2).each{|company|BestCompanies::CLI.see_company(company)}
61
61
  end
62
-
62
+
63
63
  end
@@ -1,3 +1,3 @@
1
1
  module BestCompanies
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: best_companies
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yosa Yon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-20 00:00:00.000000000 Z
11
+ date: 2018-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler