Hot_100_CLI 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c14b2684f75020eae7794ca1a7aa2e9975e9a145
4
- data.tar.gz: 03cb062f65d0cc6f14be368e4234bc421aad8ccc
3
+ metadata.gz: f0f5c6c3a40752b12192493b46438c1d38234d7d
4
+ data.tar.gz: f7d24b8f1afa07c1d3ee7367bc764da96cc18860
5
5
  SHA512:
6
- metadata.gz: aa2fa01b4fdb5b612d9b993a71b2468ae4e9c5fedafac34b1012cb29e699ef91e18a8a55fbafb10b6cb001614bf01fb70f3bc6379c168a5112d65d6c3461dd32
7
- data.tar.gz: efce5efc716dcf9c97a742602b02ed876c1900c6b49bcf209421b28624a32fb99bc426064b007348a830b36353c2abc79b7bc248ceab1dae489190c46f4387e9
6
+ metadata.gz: 2c14e569014add15386c055bd4bff5a78056c2130f77c460d1c76c1f4baca9b6db0eaf289ce01314cfd4e32ca95a78d73d425d17f6d1bcd091e340332f777079
7
+ data.tar.gz: 7d8fd648603738096dabf2fcf355765c1519cb7f8bd9f756e15861e6192acf0d66b41f2bfb2e2ebcc830ec6e42146757bed8b34bd51d7b16054f468e7901934d
Binary file
data/Hot_100_CLI.gemspec CHANGED
@@ -23,8 +23,8 @@ Gem::Specification.new do |spec|
23
23
  end
24
24
 
25
25
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
- spec.bindir = "exe"
27
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.bindir = "bin"
27
+ spec.executables = ["Hot100"]
28
28
  spec.require_paths = ["lib"]
29
29
 
30
30
  spec.add_development_dependency "bundler", "~> 1.11"
data/README.md CHANGED
@@ -20,6 +20,8 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
+ To use, type `ruby bin/HOT-100-CLI` in your command line after navigating to the root of this repo.
24
+
23
25
  Upon opening, Hot 100 CLI will display the top ten songs on the chart for the current week. After this, there are a variety of inputs you can give for more information about the list.
24
26
 
25
27
  "Hot 100" - Displays the full hot 100 listing
@@ -3,4 +3,4 @@
3
3
  require_relative '../lib/Hot_100_CLI.rb'
4
4
 
5
5
 
6
- Hot100::CLI.new.call
6
+ Hot100CLI::CLI.new.call
@@ -5,7 +5,7 @@ class BillboardScraper
5
5
 
6
6
 
7
7
  def initialize
8
- doc = Nokogiri::HTML(open('http://www.billboard.com/charts/hot-100'))
8
+ doc = Nokogiri::HTML(open('https://www.billboard.com/charts/hot-100'))
9
9
  scrape(doc)
10
10
  end
11
11
 
@@ -1,5 +1,5 @@
1
1
  require 'Launchy'
2
- class Hot100::CLI
2
+ class Hot100CLI::CLI
3
3
 
4
4
  def call
5
5
  puts 'Starting...'
@@ -1,3 +1,3 @@
1
1
  module Hot100CLI
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/spec.md ADDED
@@ -0,0 +1,7 @@
1
+ # Specifications for the CLI Assessment
2
+
3
+ Specs:
4
+ - [x] Have a CLI for interfacing with the application - Program loads in the command line
5
+ - [x] Pull data from an external source - Pulls Data from http://www.billboard.com/charts/hot-100
6
+ - [x] Implement both list and detail views - Can view list of songs, then can see more infomation about it's chart status, play the song, or watch the video
7
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Hot_100_CLI
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - NStephenson
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-18 00:00:00.000000000 Z
11
+ date: 2018-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -56,7 +56,8 @@ description: This gem scrapes the Billboard Top 100 webpage and displays that in
56
56
  in the command line.
57
57
  email:
58
58
  - nickstephenson90@gmail.com
59
- executables: []
59
+ executables:
60
+ - Hot100
60
61
  extensions: []
61
62
  extra_rdoc_files: []
62
63
  files:
@@ -64,12 +65,13 @@ files:
64
65
  - ".rspec"
65
66
  - ".travis.yml"
66
67
  - Gemfile
68
+ - Hot_100_CLI-0.1.0.gem
67
69
  - Hot_100_CLI.gemspec
68
70
  - LICENSE.txt
69
71
  - NOTES.md
70
72
  - README.md
71
73
  - Rakefile
72
- - bin/HOT-100-CLI
74
+ - bin/Hot100
73
75
  - bin/console
74
76
  - bin/setup
75
77
  - lib/Hot_100_CLI.rb
@@ -79,6 +81,7 @@ files:
79
81
  - lib/Hot_100_CLI/cli.rb
80
82
  - lib/Hot_100_CLI/song.rb
81
83
  - lib/Hot_100_CLI/version.rb
84
+ - spec.md
82
85
  homepage: https://github.com/NStephenson/Hot_100_CLI
83
86
  licenses:
84
87
  - MIT
@@ -100,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
103
  version: '0'
101
104
  requirements: []
102
105
  rubyforge_project:
103
- rubygems_version: 2.4.5.1
106
+ rubygems_version: 2.6.14
104
107
  signing_key:
105
108
  specification_version: 4
106
109
  summary: This gem allows users to view the Billboard Top 100 in the command line.