rap_songs 0.1.0 → 0.2.0

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: da4fe7715728843008e7c35c33940d2d49983c1e7493d9b3681f8ab55947c5fa
4
- data.tar.gz: 73894b737475ba5071d7a23e66b4126c224519da00f2ef9ee6e4a35b531bffc0
3
+ metadata.gz: 98ed74ad35abd648e7e45fa0d6716c588b9f4ae5a85b7ee6bf623a6c2ab19713
4
+ data.tar.gz: 20ce0e4d04c8dfa8bb2c5b355748526c0572ffc6147a5aa43773ab8e78e0b12b
5
5
  SHA512:
6
- metadata.gz: 40f1f8a6f8540a476a12bde68952806819dd324453fecc4a3678f2cde515a718316bfa463a363e5837b0505c37704393ac5f4e138b2da8b4152fcf652e0b731a
7
- data.tar.gz: aa200ec763992f424873a4156ed512856a54d3ea401b23e155aea88c5172cb75fa0126e07eae9ba9e92d11a71ba2542cb413392f09350abdd5b81b7546a5065c
6
+ metadata.gz: 06b1e363a033ad0e9259c35e8f3e7975d1f19147d8384eda7d0046564c05cdad3ffb4daaeff4bc312ef92ce5c8ed99c74a42bae25abcf1ac1c3e37cbdc337f2f
7
+ data.tar.gz: a63e945e17022e00d7f226a293a07e3f2b3114e6f4f7979a20490d0a0b7a7ac3bc18495bc2cfbd9711dc6b198c94439b5371968532e55475075b23d48c9ef34a
data/Gemfile CHANGED
@@ -2,3 +2,11 @@ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in rap_songs.gemspec
4
4
  gemspec
5
+
6
+ # Testing
7
+ gem 'rspec'
8
+
9
+ # Debugging
10
+ gem 'pry'
11
+
12
+ gem 'require_all'
data/Gemfile.lock CHANGED
@@ -1,20 +1,43 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rap_songs (0.1.0)
4
+ rap_songs (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
+ coderay (1.1.2)
10
+ diff-lcs (1.3)
11
+ method_source (0.9.2)
12
+ pry (0.12.2)
13
+ coderay (~> 1.1.0)
14
+ method_source (~> 0.9.0)
9
15
  rake (10.5.0)
16
+ require_all (3.0.0)
17
+ rspec (3.9.0)
18
+ rspec-core (~> 3.9.0)
19
+ rspec-expectations (~> 3.9.0)
20
+ rspec-mocks (~> 3.9.0)
21
+ rspec-core (3.9.0)
22
+ rspec-support (~> 3.9.0)
23
+ rspec-expectations (3.9.0)
24
+ diff-lcs (>= 1.2.0, < 2.0)
25
+ rspec-support (~> 3.9.0)
26
+ rspec-mocks (3.9.0)
27
+ diff-lcs (>= 1.2.0, < 2.0)
28
+ rspec-support (~> 3.9.0)
29
+ rspec-support (3.9.0)
10
30
 
11
31
  PLATFORMS
12
32
  ruby
13
33
 
14
34
  DEPENDENCIES
15
35
  bundler (~> 2.0)
36
+ pry
16
37
  rake (~> 10.0)
17
38
  rap_songs!
39
+ require_all
40
+ rspec
18
41
 
19
42
  BUNDLED WITH
20
43
  2.0.2
data/bin/setup CHANGED
@@ -5,4 +5,6 @@ set -vx
5
5
 
6
6
  bundle install
7
7
 
8
+
9
+ Faker::Faker.n
8
10
  # Do any other automated setup that you need to do here
@@ -0,0 +1,2 @@
1
+ require 'require_all'
2
+ require 'pry'
@@ -1,3 +1,3 @@
1
1
  module RapSongs
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
data/lib/rap_songs.rb CHANGED
@@ -1,9 +1,34 @@
1
+
2
+ require_relative "../config/environment.rb"
1
3
  require "rap_songs/version"
2
4
 
3
5
  module RapSongs
4
- class Error < StandardError; end
6
+ class Song
5
7
 
6
- def hello
7
- puts "hello there"
8
+ # RapSongs::Song.play
9
+
10
+ def random_song
11
+ ["IndigoChildRick - Vogue https://www.youtube.com/watch?v=ElOo0psAs3E",
12
+ "Divine Council - Dirtbags in Distress https://www.youtube.com/watch?v=u7Fw8OHnJZM",
13
+ "Sheck Wes - YKTS https://www.youtube.com/watch?v=mVFKMomXMOc",
14
+ "Yung Bans - Partna in Crime https://www.youtube.com/watch?v=v5ybdpttu40",
15
+ "Trippie Redd - Lil Wayne https://www.youtube.com/watch?v=pmdI9YdLQ_o",
16
+ "Travis Scott - Skyfall ft. Young Thug - https://youtu.be/yL9bRzwk0Ds",
17
+ "Madeintyo - Need Dat Pack - https://youtu.be/87VaeIKXV1s",
18
+ "Kanye West 1997 Beat Tape - https://youtu.be/myrXQebr488",
19
+ ].sample
20
+ end
21
+
22
+ def execute
23
+ puts "\n\nHold Command + Press Link:\n"
24
+ puts "#{random_song} \n\n\n"
8
25
  end
26
+
27
+ def self.play
28
+ song = Song.new
29
+ song.execute
30
+ end
31
+
32
+ binding.pry
33
+ end
9
34
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rap_songs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - aryaziai
@@ -55,6 +55,7 @@ files:
55
55
  - Rakefile
56
56
  - bin/console
57
57
  - bin/setup
58
+ - config/environment.rb
58
59
  - lib/rap_songs.rb
59
60
  - lib/rap_songs/version.rb
60
61
  - pkg/rap_songs-0.1.0.gem