taifu 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/lib/taifu/app.rb +1 -1
- data/lib/taifu/version.rb +1 -1
- data/spec/taifu_spec.rb +1 -1
- data/taifu.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a10f4f7fda0e2ba79854a21d70aefd502df3536e
|
4
|
+
data.tar.gz: d6b35fcfa58f6593966c15cfeaf0fd5cfe8bd457
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb6f475e8a480b83dc83824e84847f4a0e61060fe79d8328824ac87c45b8d0237da745a9032fa81fc8b499cbe92860af0f9a3d42feaa9c622d033c91a72dbd32
|
7
|
+
data.tar.gz: 540760ae4cac672828cb6133ca89ff47122f7623a7ecdd984e0abcb6e24963e36cf2860bf76e4b2dc0f99a02090ebc9365b6ab70bbc947abdeaebadc5f87a130
|
data/lib/taifu/app.rb
CHANGED
@@ -33,7 +33,7 @@ module Taifu
|
|
33
33
|
raise ArgumentError.new 'Not found wav file'
|
34
34
|
end
|
35
35
|
|
36
|
-
track = Itunes::
|
36
|
+
track = Itunes::Player.add(wav_path)
|
37
37
|
converted_track = track.convert
|
38
38
|
converted_track.update_attributes(name: 'Taifu')
|
39
39
|
track.delete! if clean_up
|
data/lib/taifu/version.rb
CHANGED
data/spec/taifu_spec.rb
CHANGED
@@ -114,7 +114,7 @@ describe Taifu do
|
|
114
114
|
let(:converted_track) { Itunes::Track.new }
|
115
115
|
|
116
116
|
it 'calls Itunes util methods', fakefs: true do
|
117
|
-
Itunes::
|
117
|
+
Itunes::Player.stub(:add).with(wav_path).and_return(track)
|
118
118
|
track.should_receive(:convert).and_return(converted_track)
|
119
119
|
converted_track.should_receive(:update_attributes)
|
120
120
|
track.should_receive(:delete!)
|
data/taifu.gemspec
CHANGED
@@ -29,5 +29,5 @@ Gem::Specification.new do |s|
|
|
29
29
|
s.add_development_dependency "coveralls", "~> 0.6.6"
|
30
30
|
s.add_development_dependency "simplecov", "~> 0.7.1"
|
31
31
|
s.add_development_dependency "pry", "~> 0.9.12.2"
|
32
|
-
s.add_dependency "itunes-client", "~> 0.
|
32
|
+
s.add_dependency "itunes-client", "~> 0.1.2"
|
33
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taifu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Katsuma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - ~>
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0.
|
159
|
+
version: 0.1.2
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - ~>
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0.
|
166
|
+
version: 0.1.2
|
167
167
|
description: taifu brings YouTube sound to your iTunes library silently
|
168
168
|
email:
|
169
169
|
- katsuma@gmail.com
|