itunes_video 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/itunes_video.rb +2 -2
  2. metadata +3 -4
data/lib/itunes_video.rb CHANGED
@@ -7,8 +7,8 @@ class Itunes_video
7
7
 
8
8
  def initialize(file)
9
9
  if !(Pathname.new file).absolute?
10
- if File.exist?(FileUtils.pwd + "/" + file)
11
- file = FileUtils.pwd + "/" + file
10
+ if File.exist?(File.join(FileUtils.pwd, file))
11
+ file = File.join(FileUtils.pwd, file)
12
12
  else
13
13
  raise "could not find video to import"
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itunes_video
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,10 +9,9 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-26 00:00:00.000000000 Z
12
+ date: 2013-04-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: A gem to import and organize your video collection in iTunes. Mac OS
15
- X only.
14
+ description: A gem to import and organize your video collection in iTunes. OS X only.
16
15
  email: rick.myers@me.com
17
16
  executables: []
18
17
  extensions: []