captured 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/captured +3 -3
- data/etc/launchd.plist.erb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
data/bin/captured
CHANGED
@@ -50,8 +50,8 @@ OptionParser.new do |opts|
|
|
50
50
|
|
51
51
|
opts.on('--remove', "Remove captured from launchd") do
|
52
52
|
puts "Uninstalling captured"
|
53
|
-
File.delete "#{ENV['HOME']}/Library/LaunchAgents/com.
|
54
|
-
system "launchctl remove com.
|
53
|
+
File.delete "#{ENV['HOME']}/Library/LaunchAgents/com.codeography.captured"
|
54
|
+
system "launchctl remove com.codeography.captured"
|
55
55
|
exit
|
56
56
|
end
|
57
57
|
|
@@ -88,7 +88,7 @@ if options[:install] == true
|
|
88
88
|
plist_path = "#{ENV['HOME']}/Library/LaunchAgents/"
|
89
89
|
template = ERB.new(File.open("#{File.dirname(__FILE__)}/../etc/launchd.plist.erb", 'r').read)
|
90
90
|
FileUtils.mkdir_p plist_path
|
91
|
-
File.open("#{plist_path}/com.
|
91
|
+
File.open("#{plist_path}/com.codeography.captured", 'w') do |f|
|
92
92
|
f.write(template.result(binding))
|
93
93
|
end
|
94
94
|
system "launchctl load ~/Library/LaunchAgents"
|
data/etc/launchd.plist.erb
CHANGED
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.
|
4
|
+
version: 0.4.0
|
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: 2010-
|
12
|
+
date: 2010-05-18 00:00:00 -04:00
|
13
13
|
default_executable: captured
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|