track_list 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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/bin/tracklist +6 -0
- data/lib/track_list.rb +1 -22
- data/lib/track_list/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c32d55d4cb898bc51d11d9405f0ad05b0f50a6e85813e8efa4ef3ee31f8ece31
|
4
|
+
data.tar.gz: 4ab44145070f803818b6a5c81f3150582a4fb9355b032c09aa0283437bee4196
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66cd3907f193b343e8547460aebf8254786a6d3f228800cabb51c8a11355dc9fdd0f07d11c6044fb289b85b8541ea207e4ad71b856e679e91ce82102ead7a791
|
7
|
+
data.tar.gz: 8c2ce484fe8c0cdcd954f9b57ec447f79c6004138146fbb0f532646306196c1d8336da48d81ffc192aae023ac24c9c5483b25774b21f16c412f3c30a0cdff8cc
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/bin/tracklist
CHANGED
data/lib/track_list.rb
CHANGED
@@ -1,29 +1,8 @@
|
|
1
|
-
require
|
1
|
+
require 'track_list/version'
|
2
2
|
require 'track_list/track_parser'
|
3
3
|
require 'track_list/directory_parser'
|
4
4
|
require 'track_list/time_converter'
|
5
5
|
|
6
6
|
module TrackList
|
7
7
|
class Error < StandardError; end
|
8
|
-
# Your code goes here...
|
9
8
|
end
|
10
|
-
|
11
|
-
dir = TrackList::DirectoryParser.new(ARGV[0])
|
12
|
-
|
13
|
-
dir.parse.each do |track|
|
14
|
-
puts track.parse if track.parse.is_a? String
|
15
|
-
end
|
16
|
-
|
17
|
-
# dir_file_list = dir.list
|
18
|
-
|
19
|
-
# tracks = []
|
20
|
-
|
21
|
-
# dir_file_list.each do |n|
|
22
|
-
# tracks.push(TrackList::TrackParser.new(n))
|
23
|
-
# end
|
24
|
-
|
25
|
-
# tracks.each do |track|
|
26
|
-
# #p track.parse
|
27
|
-
# end
|
28
|
-
|
29
|
-
# dir.parse
|
data/lib/track_list/version.rb
CHANGED