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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19ccf4d5c9f27359f814c7f0eedc6e7da542776f76ed93ba750a8ed8c9a6ae60
4
- data.tar.gz: ca406f21d8aa70b501ca11cbfb02c1dc56cc45a4524f229dfa52d55a4cd0a33b
3
+ metadata.gz: c32d55d4cb898bc51d11d9405f0ad05b0f50a6e85813e8efa4ef3ee31f8ece31
4
+ data.tar.gz: 4ab44145070f803818b6a5c81f3150582a4fb9355b032c09aa0283437bee4196
5
5
  SHA512:
6
- metadata.gz: 3dc08e75b5820ac67bbdb6e35ea3eca637288cef65894d0af55d0e5e761a0dcedcdc6f203b4fc37c9607284631bc64e6154df4643ae46142978b6d7bd956c3e4
7
- data.tar.gz: a285701de7d1442e70d64a3e7e784112c893d27c94c40d8ff6524e02cad2c81c208184482841aa35b3e84305d6220e3210c86d7b83d58115766ef0b180ea336d
6
+ metadata.gz: 66cd3907f193b343e8547460aebf8254786a6d3f228800cabb51c8a11355dc9fdd0f07d11c6044fb289b85b8541ea207e4ad71b856e679e91ce82102ead7a791
7
+ data.tar.gz: 8c2ce484fe8c0cdcd954f9b57ec447f79c6004138146fbb0f532646306196c1d8336da48d81ffc192aae023ac24c9c5483b25774b21f16c412f3c30a0cdff8cc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- track_list (0.1.0)
4
+ track_list (0.1.1)
5
5
  taglib-ruby (~> 0.7)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -41,7 +41,7 @@ And then execute:
41
41
 
42
42
  Or install it yourself as:
43
43
 
44
- $ gem install ruby-tracklist
44
+ $ gem install track_list
45
45
 
46
46
 
47
47
  ## Usage
data/bin/tracklist CHANGED
@@ -31,3 +31,9 @@ if ARGV.length != 1
31
31
  puts "Missing album directory (try --help)"
32
32
  exit 0
33
33
  end
34
+
35
+ dir = TrackList::DirectoryParser.new(ARGV[0])
36
+
37
+ dir.parse.each do |track|
38
+ puts track.parse if track.parse.is_a? String
39
+ end
data/lib/track_list.rb CHANGED
@@ -1,29 +1,8 @@
1
- require "track_list/version"
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
@@ -1,3 +1,3 @@
1
1
  module TrackList
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: track_list
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
  - Domenic Fiore