playlist_transfer 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/playlist_transfer.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db1b63c3551df3450ec71f7fb4c73e0fff4d569c0c8c4a390815157034c03241
4
- data.tar.gz: 5fcec64262b151f6ea6c2a6a3585c9ef004b7913e052430dc9f5c290ddbbf966
3
+ metadata.gz: 65dda72126d59ae2ea215a58b7fd0750301c39a6632b6926b340fa91168ea3f8
4
+ data.tar.gz: c36d183d71736ac502093cb7fdbede7e5d78ffcf10b7c1f275f0798bb8386751
5
5
  SHA512:
6
- metadata.gz: 32c81bd1b72cdf7e5f4f1bb2e2f5c70d53980540266724ebfff0a1cf1816e0b4cb1e12bb71293ef20742f65bfb8468bf8c1e04aa4bc115fdf8ce249ae19e467b
7
- data.tar.gz: d56be9eb2e63a0b8dddfe54e9a7c760898d05a872a73b5caf4b9245d8e14a8b8acbb2905703d4037516fa12fd42eda08e9095433954ba50f65eeb022446a402b
6
+ metadata.gz: 473cf7afa7ddf43258b8fc14086f8bab575293c2ed0eac42bedd97c34f0ddf68c5e70f146129179763450eccbd8dc117c9feae4dbe2d020d746fd81329e1c73a
7
+ data.tar.gz: 3c72f7a131039ca6a9a55c57e8a1c188f6a19801ef874b726b0c7d5ae2c61b01b3ca7e9525bafc4939484069dee74796abc36878901fe540e4dd3466422e529c
@@ -69,8 +69,8 @@ class MusicTrack
69
69
 
70
70
  # If encoding process is interrupted (by pressinc Ctrl + C), remove probably incomplete file in destination.
71
71
  rescue Interrupt
72
- FileUtils.rm(mp3name) if mp3name.file?
73
- abort "Interrupted when encoding #{mp3name}. Incomplete file removed from destination."
72
+ FileUtils.rm(outputfile) if outputfile.file?
73
+ abort "Interrupted when encoding #{outputfile}. Incomplete file removed from destination."
74
74
  end
75
75
 
76
76
  # Returns true if track type is FLAC. Identified by file extension.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playlist_transfer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kisuke