vitunes 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module ViTunes
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
3
3
  end
Binary file
data/vitunes/main.m CHANGED
@@ -254,8 +254,9 @@ int main (int argc, const char * argv[]) {
254
254
  args = [rawArgs subarrayWithRange:aRange];
255
255
  }
256
256
  iTunes = [SBApplication applicationWithBundleIdentifier:@"com.apple.iTunes"];
257
- library = [[iTunes sources] objectWithName:@"Library"];
258
- libraryPlaylist = [[library playlists] objectWithName:@"Library"];
257
+ library = [[iTunes sources] objectAtIndex:0];
258
+ libraryPlaylist = [[library playlists] objectAtIndex:0];
259
+
259
260
 
260
261
  if ([action isEqual: @"search"]) {
261
262
  printTracks(search(args));
metadata CHANGED
@@ -1,31 +1,26 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: vitunes
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.3
4
5
  prerelease:
5
- version: 0.4.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Daniel Choi
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-07-09 00:00:00 -04:00
14
- default_executable:
12
+ date: 2011-08-02 00:00:00.000000000Z
15
13
  dependencies: []
16
-
17
14
  description: Control iTunes with Vim
18
- email:
15
+ email:
19
16
  - dhchoi@gmail.com
20
- executables:
17
+ executables:
21
18
  - vitunes
22
19
  - vitunes-help
23
20
  - vitunes-install
24
21
  extensions: []
25
-
26
22
  extra_rdoc_files: []
27
-
28
- files:
23
+ files:
29
24
  - .gitignore
30
25
  - MIT-LICENSE.txt
31
26
  - NOTES
@@ -48,36 +43,32 @@ files:
48
43
  - vitunes/main.m
49
44
  - vitunes/vitunes-Prefix.pch
50
45
  - vitunes/vitunes.1
51
- has_rdoc: true
52
46
  homepage: http://danielchoi.com/software/vitunes.html
53
47
  licenses: []
48
+ post_install_message: ! '**************************************************************
54
49
 
55
- post_install_message: |-
56
- **************************************************************
57
50
  ** Now please run vitunes-install to install the Vim plugin **
58
- **************************************************************
59
- rdoc_options: []
60
51
 
61
- require_paths:
52
+ **************************************************************'
53
+ rdoc_options: []
54
+ require_paths:
62
55
  - lib
63
- required_ruby_version: !ruby/object:Gem::Requirement
56
+ required_ruby_version: !ruby/object:Gem::Requirement
64
57
  none: false
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
68
61
  version: 1.8.6
69
- required_rubygems_version: !ruby/object:Gem::Requirement
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
63
  none: false
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- version: "0"
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
75
68
  requirements: []
76
-
77
69
  rubyforge_project: vitunes
78
- rubygems_version: 1.6.1
70
+ rubygems_version: 1.8.6
79
71
  signing_key:
80
72
  specification_version: 3
81
73
  summary: A Vim interface to iTunes
82
74
  test_files: []
83
-