csexton-captured 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/README.markdown +16 -0
- data/bin/capture +8 -0
- data/bin/captured +34 -0
- data/etc/captured.yml-example +4 -0
- data/spec/captured_spec.rb +7 -0
- data/spec/spec_helper.rb +9 -0
- metadata +58 -0
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 Christopher Sexton
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.markdown
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
captured
|
2
|
+
========
|
3
|
+
|
4
|
+
Quick screen capture and sharing application for Mac OS X.
|
5
|
+
|
6
|
+
|
7
|
+
Icon
|
8
|
+
====
|
9
|
+
|
10
|
+
Icons from the [Crystal Clear](http://www.everaldo.com/crystal/) icon set by [Everaldo Coelho](http://en.wikipedia.org/wiki/Everaldo_Coelho). – The icons are [licensed](http://www.everaldo.com/crystal/?action=license) under the [GNU Lesser General Public License (LGPL)](http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License).
|
11
|
+
|
12
|
+
|
13
|
+
Copyright
|
14
|
+
=========
|
15
|
+
|
16
|
+
Copyright (c) 2009 Christopher Sexton. See LICENSE for details.
|
data/bin/capture
ADDED
data/bin/captured
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'rubygems'
|
3
|
+
require 'optparse'
|
4
|
+
|
5
|
+
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
|
6
|
+
require 'captured'
|
7
|
+
|
8
|
+
OptionParser.new do |opts|
|
9
|
+
opts.summary_width = 25
|
10
|
+
|
11
|
+
opts.banner = "captured: Quick screen capture and sharing on OS X"
|
12
|
+
|
13
|
+
opts.on('--help', "Print this message") do
|
14
|
+
puts "#{opts}\n"
|
15
|
+
exit
|
16
|
+
end
|
17
|
+
|
18
|
+
opts.on('--startup', "Run at startup") do
|
19
|
+
puts "install launchd!"
|
20
|
+
exit
|
21
|
+
end
|
22
|
+
|
23
|
+
opts.on('--config', "Install a config file to #{Captured.config_file}") do
|
24
|
+
puts "install config file!"
|
25
|
+
if (File.exists? Captured.config_file)
|
26
|
+
FileUtils.copy("#{File.dirname(__FILE__)}/../etc/captured.yml-example", Captured.config_file)
|
27
|
+
|
28
|
+
end
|
29
|
+
exit
|
30
|
+
end
|
31
|
+
end.parse!
|
32
|
+
|
33
|
+
Captured::run!
|
34
|
+
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: csexton-captured
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Christopher Sexton
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-06-23 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description:
|
17
|
+
email: csexton@gmail.com
|
18
|
+
executables:
|
19
|
+
- capture
|
20
|
+
- captured
|
21
|
+
extensions: []
|
22
|
+
|
23
|
+
extra_rdoc_files:
|
24
|
+
- LICENSE
|
25
|
+
- README.markdown
|
26
|
+
files:
|
27
|
+
- etc/captured.yml-example
|
28
|
+
- LICENSE
|
29
|
+
- README.markdown
|
30
|
+
has_rdoc: false
|
31
|
+
homepage: http://github.com/csexton/captured
|
32
|
+
post_install_message:
|
33
|
+
rdoc_options:
|
34
|
+
- --charset=UTF-8
|
35
|
+
require_paths:
|
36
|
+
- lib
|
37
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: "0"
|
42
|
+
version:
|
43
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: "0"
|
48
|
+
version:
|
49
|
+
requirements: []
|
50
|
+
|
51
|
+
rubyforge_project:
|
52
|
+
rubygems_version: 1.2.0
|
53
|
+
signing_key:
|
54
|
+
specification_version: 3
|
55
|
+
summary: TODO
|
56
|
+
test_files:
|
57
|
+
- spec/captured_spec.rb
|
58
|
+
- spec/spec_helper.rb
|