alfred-workflow 1.0.2 → 1.0.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.
Files changed (3) hide show
  1. data/lib/alfred.rb +2 -2
  2. data/lib/alfred/version.rb +1 -1
  3. metadata +1 -1
data/lib/alfred.rb CHANGED
@@ -73,7 +73,7 @@ module Alfred
73
73
  def volatile_storage_path
74
74
  raise NoBundleIDError unless bundle_id
75
75
  path = "#{ENV['HOME']}/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/#{bundle_id}"
76
- unless Dir.exist?(path)
76
+ unless File.exist?(path)
77
77
  FileUtils.mkdir_p(path)
78
78
  end
79
79
  path
@@ -83,7 +83,7 @@ module Alfred
83
83
  def storage_path
84
84
  raise NoBundleIDError unless bundle_id
85
85
  path = "#{ENV['HOME']}/Library/Application Support/Alfred 2/Workflow Data/#{bundle_id}"
86
- unless Dir.exist?(path)
86
+ unless File.exist?(path)
87
87
  FileUtils.mkdir_p(path)
88
88
  end
89
89
  path
@@ -1,3 +1,3 @@
1
1
  module Alfred
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alfred-workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: