hot_songs 1.0.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: 663f9a7b9c35360be272dd667e2dacc54eab4314
4
- data.tar.gz: 8c257eafaf9432710645e0383eb5e17c3425feab
3
+ metadata.gz: 868b69fb402c81d7ab122393636043b02cf2aa5c
4
+ data.tar.gz: cbdef457eb327890db66340a0a66d286653b47ac
5
5
  SHA512:
6
- metadata.gz: 722fc1401083af7c744980d4490f90ffcfeb9bf9b0015a6c6def26d5aef8d5700de2dc8006c0e4f5def7ffd609292b6412ae5daf19bb806e478a39373622a921
7
- data.tar.gz: cf4934084f4483a9bf2a4f114fed65fe7c30cb54901e4f15766d74f8f85db8a06e9538a7ec9124b928b996cb6c9db36708c2ea8832939ad4e28d93c8c3105bce
6
+ metadata.gz: 6575edf7800f130e88435f9dbe1fa2e602a7b10c67000ffa5a772aefbb773215cfeecc003da5008e0ddfe128b1a7fb5c2d78cdbee41a838980e110a7e2d6006f
7
+ data.tar.gz: 9cb71dfd6bb42914d458e08b70b680547b93b9401d7eb98b7c0d6375c3171c0d9613310d92e8671673c447d42a20816d3dcc4c1160bfd2941ee5be3db60cb80c
data/lib/hot_songs/cli.rb CHANGED
@@ -1,10 +1,11 @@
1
1
  class HotSongs::CLI
2
-
2
+
3
3
  attr_accessor :genres
4
4
 
5
5
  def initialize
6
6
  @genres = %w{ Pop Country Rock R&B/Rap Dance/Electronic Latin Christian/Gospel }
7
7
  end
8
+
8
9
  def about
9
10
  system 'clear'
10
11
  puts "Hot Songs v1.0".center(125)
@@ -39,7 +40,7 @@ class HotSongs::CLI
39
40
  puts
40
41
  songs.each.with_index(1) { |song, index| puts "#{index}. #{song} -- #{artists[index-1]}".center(125)}
41
42
  2.times {puts}
42
- puts "Press enter to return to return or enter a number to see the song's chart history".center(125)
43
+ puts "Press enter to return to genre list or enter a number to see the song's chart history".center(125)
43
44
  answer = gets.chomp
44
45
  display_chart_history(songs[answer.to_i-1], artists[answer.to_i-1], chart_history[answer.to_i-1], genre) if ('1'..songs.count.to_s).include?(answer)
45
46
  system 'clear'
@@ -1,3 +1,3 @@
1
1
  module HotSongs
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hot_songs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - KhalilC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-04 00:00:00.000000000 Z
11
+ date: 2015-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri