captured 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,10 +50,11 @@ class FileUploader
50
50
 
51
51
  def process_upload(file)
52
52
  remote_name = Digest::MD5.hexdigest(file+Time.now.to_i.to_s) + File.extname(file)
53
+ growl("Processing Upload", "#{File.dirname(File.expand_path(__FILE__))}/../../resources/action_run.png")
53
54
  remote_path = @upload_proc.call(file, remote_name)
54
55
  puts "Uploaded '#{file}' to '#{remote_path}'"
55
56
  raise "Copy Failed" unless system("echo '#{remote_path}' | /usr/bin/pbcopy")
56
- growl("Uploaded Image", "#{File.dirname(File.expand_path(__FILE__))}/../../resources/green_check.png")
57
+ growl("Upload Succeeded", "#{File.dirname(File.expand_path(__FILE__))}/../../resources/green_check.png")
57
58
  rescue => e
58
59
  puts e
59
60
  puts e.backtrace
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: captured
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Sexton
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-26 00:00:00 -04:00
12
+ date: 2009-07-02 00:00:00 -04:00
13
13
  default_executable: captured
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -40,6 +40,8 @@ files:
40
40
  - lib/captured/file_tracker.rb
41
41
  - lib/captured/file_uploader.rb
42
42
  - lib/captured/fs_events.rb
43
+ - resources/2uparrow.png
44
+ - resources/action_run.png
43
45
  - resources/captured.png
44
46
  - resources/green_check.png
45
47
  - resources/red_star.png