billboard_top_songs 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
  SHA1:
3
- metadata.gz: c18a13e446784a186a59e6e00632e8e958fbb7bb
4
- data.tar.gz: 5b2961fb645f67e4a6480e2e7a6d9355ee2ac0e4
3
+ metadata.gz: 6d73db88605dfb5bffdde936875f5d4f9eb87d45
4
+ data.tar.gz: 60b38ee601b9c239a63cd437360bd6a062254dd0
5
5
  SHA512:
6
- metadata.gz: bb964e9d8b2c5b42ba3960f68ed2ef46ea5a1cc67c06e4f0580c5d78c6c1f51b78cc1d4cea3ad125d0cc43f5bb00882bcd308900c480e33b58aae8afb5ed1ef6
7
- data.tar.gz: 830d4775dd41c7eafaccf4a25948e3777620dc97cf8022b09b1f5c6c90eb14c3cd6e358b5f573625ecf7709290c287effba98d3327b55b483fdb208f37d8bf7d
6
+ metadata.gz: 5bc09fd32e6c238aa06c9c88be43e9e4570386e164105a180cdcb5dc34cb9ee6efeb588261afc24848797716607b75841e9089ca35122f97f5df846635202256
7
+ data.tar.gz: a684e1e1d946fe2f900c4552b9d0e4430b6a3a39da31b4e0e81bc21b76eb04e7adec18c9e3b3cd9679d4052f430e49b035ae2fca0d97ca045b8d4deaf18ab24d
data/.DS_Store CHANGED
Binary file
data/README.md CHANGED
@@ -10,17 +10,17 @@ This Ruby Gem provides a CLI to view the top 100 songs in music as per the Billb
10
10
 
11
11
  Type the below and follow the on screen prompts.
12
12
 
13
- $ billboard_top_songs
13
+ $ bin/billboard_top_songs
14
14
 
15
15
  ## Development
16
16
 
17
- 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.
17
+ Run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
18
18
 
19
- 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).
19
+ Any and all updates can also be found at [rubygems.org](https://rubygems.org/gems/billboard_top_songs).
20
20
 
21
21
  ## Contributing
22
22
 
23
- Bug reports and pull requests are welcome on GitHub at https://github.com/SCDesigns/top-songs-cli-gem. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
23
+ Bug reports and pull requests are welcome on GitHub at https://github.com/SCDesigns/billboard_top_songs. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
24
24
 
25
25
 
26
26
  ## License
Binary file
@@ -7,7 +7,6 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "billboard_top_songs"
8
8
  spec.version = BillboardTopSongs::VERSION
9
9
  spec.authors = ["Sean Clarke"]
10
- spec.email = ["xseanclarke@gmail.com"]
11
10
 
12
11
  spec.summary = %q{This Ruby Gem provides a CLI to view the top 100 songs in music as per the Billboard charts.}
13
12
  spec.homepage = "https://github.com/SCDesigns/billboard_top_songs"
@@ -17,16 +17,15 @@ class BillboardTopSongs::CLI
17
17
  puts "-*-*-*-*-*| Songs #{num} - #{num+19} |*-*-*-*-*-"
18
18
  puts ""
19
19
  BillboardTopSongs::Song.all[num-1, 20].each do |song|
20
- puts "#{song.position}. #{song.name} - #{song.artist}"
21
- end
20
+ puts "#{song.position}. #{song.name} - #{song.artist}"
21
+ end
22
22
  end
23
23
 
24
24
  def choose_song
25
- puts ""
26
- puts "Is there a particular song you would like more info on? If so please enter it's corresponding ranking."
27
- puts ""
25
+ puts "\n" + "-------------------------------------------------------"
26
+ puts "Is there a particular song you would like more info on?" + "\n" + "If so please enter it's corresponding ranking."
27
+ puts "-------------------------------------------------------" + "\n" + "\n"
28
28
  indx = gets.to_i
29
- binding.pry
30
29
  song = BillboardTopSongs::Song.find_by_index(indx-1)
31
30
  if !song
32
31
  choose_song
@@ -46,9 +45,9 @@ class BillboardTopSongs::CLI
46
45
 
47
46
  choose_song
48
47
 
49
- puts ""
50
- puts "Enter 'list' to view the list of songs again. Or 'exit' to end the program."
51
- puts ""
48
+ puts "\n" + "---------------------------------------------"
49
+ puts "Enter 'list' to view the list of songs again." + "\n" + "Or 'exit' to end the program."
50
+ puts "---------------------------------------------"
52
51
 
53
52
  input = gets.strip
54
53
 
@@ -1,3 +1,3 @@
1
1
  module BillboardTopSongs
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: billboard_top_songs
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
  - Sean Clarke
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-24 00:00:00.000000000 Z
11
+ date: 2017-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -67,8 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description:
70
- email:
71
- - xseanclarke@gmail.com
70
+ email:
72
71
  executables: []
73
72
  extensions: []
74
73
  extra_rdoc_files: []
@@ -83,6 +82,7 @@ files:
83
82
  - README.md
84
83
  - Rakefile
85
84
  - billboard_top_songs-0.1.0.gem
85
+ - billboard_top_songs-0.1.1.gem
86
86
  - billboard_top_songs.gemspec
87
87
  - bin/billboard_top_songs
88
88
  - bin/console