songfile 1.0.0 → 1.0.3

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.txt +17 -7
  3. data/bin/songfile +1 -0
  4. metadata +21 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7df1397b9db1fa3f47f171ffb299e5bf1adb4cf13c79a46d530d38ca8bf3c827
4
- data.tar.gz: a7fc63446d0eb7e1d0dd62e3e2e07acada88837d7c79df54fc6a0ed19eefdf82
3
+ metadata.gz: 1ed85686f8cd80e2614c6647579f62fc2f7899be2a7495a25ad4b0a532871a1e
4
+ data.tar.gz: c3ad5276d2b8fd846ee39c53fb0e2674ae418b57e4d8d26d15e788c7bff4651a
5
5
  SHA512:
6
- metadata.gz: e6d6bbef6b0464361f0c01d50f33d1e2a552ca911c9a427f1cd34d763ab953d760af6640ccb717b642870ea040677e08851acb4976f1504cff7c2b134be4459b
7
- data.tar.gz: 46c141fa5607114913b52f9dbf8e31080ecf31e19ff09ae5a21aed71b06e278025f3c32e3d649e26234f451cf1bd072779757e3e566843baf5b40428100120c0
6
+ metadata.gz: 0ab428055f484bc60b418fd964567c604eb02a9f53a63c001f44c055c46d24117f68a3bd8eec154b211296e4949098c10cae1e1c69dbd9b3af267cf04d58a477
7
+ data.tar.gz: '05490e21f82efda947a47b7426e64aa189854a1aa961742433d5fd2d67aac4c4bb3c091736d7dc04a8c2977e9cb38efb741d30d0642d56aa7a7f357a16cc844f'
data/README.txt CHANGED
@@ -1,9 +1,19 @@
1
- ************************************** BASIC INSTRUCTIONS **************************************
2
- TO RUN DEFAULT CSV SHEET (THE WALL)):
3
- ruby bin/songfile
1
+ BASIC INSTRUCTIONS
2
+ This gem re-ranks your playlist according to Pink Floyd band members chosen at random.
3
+ The re-ranked playlist is then exported to your current directory after the program has finished ('quit' to exit).
4
4
 
5
- TO RUN DARK SIDE OF THE MOON ALBUM SONGS
6
- ruby bin/songfile bin/DSOTM.csv
5
+ TO RUN DEFAULT CSV SHEET (Some songs from 'The Wall')):
6
+ songfile
7
7
 
8
- TO RUN SPECS:
9
- rspec (not "rspec .")
8
+ TO RUN DARK SIDE OF THE MOON ALBUM SONGS:
9
+ songfile bin/DSOTM.csv
10
+
11
+ TO RUN A CSV FILE FROM YOUR CURRENT DIRECTORY:
12
+ songfile your_file_name.csv
13
+
14
+ NOTE: All CSV files must be formatted appropriately with:
15
+ No header or other text at the top!
16
+ Column 1: lists all song titles in plain text (The program will appropriately capitalize titles for you.)
17
+ Column 2: lists integer values for your song ranks (Any negative character "-" will be ignored. If left blank, a default rank of 10,000 is given.)
18
+ Low rank # means you want the song ranked higher on the playlist.
19
+ High rank # means you want the song ranked lower on the playlist.
data/bin/songfile CHANGED
@@ -10,6 +10,7 @@
10
10
  #day eight is 8:55pm - 11:45pm 6/20/22
11
11
  #day nine is 11:47pm - 5:34am!! 6/22/22 (night)
12
12
  #day ten is 8:08pm - 12:24am and 12:50am - 3:30am 6/22/22 (day)
13
+ #day eleven is 12:24pm - 2pm 6/23/22 (Thanks Mike for gem help!)
13
14
 
14
15
  require_relative '../lib/songfile/playlist' # calls the playlist class file
15
16
  require_relative '../lib/songfile/song' # calls the song class file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: songfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Clark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-23 00:00:00.000000000 Z
11
+ date: 2022-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -31,17 +31,28 @@ dependencies:
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.8.0
33
33
  description: |
34
- ************************************** BASIC INSTRUCTIONS **************************************
35
- TO RUN DEFAULT CSV SHEET (THE WALL)):
36
- ruby bin/songfile
34
+ BASIC INSTRUCTIONS
35
+ This gem re-ranks your playlist according to Pink Floyd band members chosen at random.
36
+ The re-ranked playlist is then exported to your current directory after the program has finished ('quit' to exit).
37
37
 
38
- TO RUN DARK SIDE OF THE MOON ALBUM SONGS
39
- ruby bin/songfile bin/DSOTM.csv
38
+ TO RUN DEFAULT CSV SHEET (Some songs from 'The Wall')):
39
+ songfile
40
40
 
41
- TO RUN SPECS:
42
- rspec (not "rspec .")
41
+ TO RUN DARK SIDE OF THE MOON ALBUM SONGS:
42
+ songfile bin/DSOTM.csv
43
+
44
+ TO RUN A CSV FILE FROM YOUR CURRENT DIRECTORY:
45
+ songfile your_file_name.csv
46
+
47
+ NOTE: All CSV files must be formatted appropriately with:
48
+ No header or other text at the top!
49
+ Column 1: lists all song titles in plain text (The program will appropriately capitalize titles for you.)
50
+ Column 2: lists integer values for your song ranks (Any negative character "-" will be ignored. If left blank, a default rank of 10,000 is given.)
51
+ Low rank # means you want the song ranked higher on the playlist.
52
+ High rank # means you want the song ranked lower on the playlist.
43
53
  email: clarkcjamie@gmail.com
44
- executables: []
54
+ executables:
55
+ - songfile
45
56
  extensions: []
46
57
  extra_rdoc_files: []
47
58
  files: