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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 687e080038b7ca8e3b794a76d5a2eef0eef6ea19
4
- data.tar.gz: b4b3377605241443b5d7327bb17c03c388122ef1
3
+ metadata.gz: a10f4f7fda0e2ba79854a21d70aefd502df3536e
4
+ data.tar.gz: d6b35fcfa58f6593966c15cfeaf0fd5cfe8bd457
5
5
  SHA512:
6
- metadata.gz: 8e8619e306cdbea2e3edd8b8dea1d3347aaffd89a771b04f1725a5750737e8563f8582293dba9aed78143d6698aeccdab13c89282120f646571a8bdd27edd53a
7
- data.tar.gz: bff38a8313cc3f0fc37ee0c47d2eb3e5c2843132beec88430165b8e76724523e8e1b986a66ae738a8e2cb9d3b7ae0840cef8d7d68afa9863bb6fc723a2bb5223
6
+ metadata.gz: fb6f475e8a480b83dc83824e84847f4a0e61060fe79d8328824ac87c45b8d0237da745a9032fa81fc8b499cbe92860af0f9a3d42feaa9c622d033c91a72dbd32
7
+ data.tar.gz: 540760ae4cac672828cb6133ca89ff47122f7623a7ecdd984e0abcb6e24963e36cf2860bf76e4b2dc0f99a02090ebc9365b6ab70bbc947abdeaebadc5f87a130
@@ -33,7 +33,7 @@ module Taifu
33
33
  raise ArgumentError.new 'Not found wav file'
34
34
  end
35
35
 
36
- track = Itunes::Application.instance.add(wav_path)
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
@@ -1,4 +1,4 @@
1
1
  # coding: utf-8
2
2
  module Taifu
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
@@ -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::Application.any_instance.stub(:add).with(wav_path).and_return(track)
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!)
@@ -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.0.6"
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.0
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-07-06 00:00:00.000000000 Z
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.0.6
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.0.6
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