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 +4 -4
- data/Gemfile +8 -0
- data/Gemfile.lock +24 -1
- data/bin/setup +2 -0
- data/config/environment.rb +2 -0
- data/lib/rap_songs/version.rb +1 -1
- data/lib/rap_songs.rb +28 -3
- data/pkg/rap_songs-0.1.0.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98ed74ad35abd648e7e45fa0d6716c588b9f4ae5a85b7ee6bf623a6c2ab19713
|
4
|
+
data.tar.gz: 20ce0e4d04c8dfa8bb2c5b355748526c0572ffc6147a5aa43773ab8e78e0b12b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06b1e363a033ad0e9259c35e8f3e7975d1f19147d8384eda7d0046564c05cdad3ffb4daaeff4bc312ef92ce5c8ed99c74a42bae25abcf1ac1c3e37cbdc337f2f
|
7
|
+
data.tar.gz: a63e945e17022e00d7f226a293a07e3f2b3114e6f4f7979a20490d0a0b7a7ac3bc18495bc2cfbd9711dc6b198c94439b5371968532e55475075b23d48c9ef34a
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,20 +1,43 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rap_songs (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
data/lib/rap_songs/version.rb
CHANGED
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
|
-
|
6
|
+
class Song
|
5
7
|
|
6
|
-
|
7
|
-
|
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
|
data/pkg/rap_songs-0.1.0.gem
CHANGED
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.
|
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
|