capit 0.1.0 → 0.1.1

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 (4) hide show
  1. data/README.md +43 -0
  2. data/capit.gemspec +6 -5
  3. data/lib/capit/version.rb +1 -1
  4. metadata +17 -6
data/README.md ADDED
@@ -0,0 +1,43 @@
1
+ CapIt!
2
+ ======
3
+ CapIt provides a simple Ruby interface to Björn Höhrmann's
4
+ [CutyCapt][1].
5
+
6
+ Install CutyCapt
7
+ ----------------
8
+
9
+ ### Ubuntu/Debian
10
+ (from [Setting up Headless XServer and CutyCapt on Ubuntu][2])
11
+
12
+ sudo apt-get install xvfb
13
+ sudo apt-get install xfs xfonts-scalable xfonts-100dpi
14
+ sudo apt-get install libgl1-mesa-dri
15
+ sudo apt-get install subversion libqt4-webkit libqt4-dev g++
16
+ svn co https://cutycapt.svn.sourceforge.net/svnroot/cutycapt
17
+ cd cutycapt/CutyCapt
18
+ qmake
19
+ make
20
+
21
+ You'll also need to make sure the `CutyCapt` executable is in your PATH.
22
+
23
+ ### OSX (via Homebrew)
24
+
25
+ brew install cuty_capt
26
+
27
+ Install CapIt
28
+ -------------
29
+ gem install capit
30
+
31
+ Usage
32
+ -----
33
+ require 'capit'
34
+ capit = CapIt::Capture("http://www.github.com")
35
+
36
+
37
+ Notes
38
+ -----
39
+ Don't use this yet.
40
+
41
+ [1]: http://cutycapt.sourceforge.net/ "CutyCapt"
42
+ [2]: http://daveelkins.com/2009/04/10/setting-up-headless-xserver-and-cutycapt-on-ubuntu/ "Setting up Headless XServer and CutyCapt on Ubuntu"
43
+
data/capit.gemspec CHANGED
@@ -8,13 +8,14 @@ Gem::Specification.new do |s|
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Ezekiel Templin"]
10
10
  s.email = ["ezkl@me.com"]
11
+ s.date = %q{2011-03-24}
11
12
  s.homepage = "http://github.com/meadvillerb/capit"
12
13
  s.summary = %q{Easy screen captures with the help of CutyCapt}
13
- s.description = %q{ Easy screen captures with the help of CutyCapt. Very much a WIP.
14
- Install instructions, examples, etc coming very soon. }
15
-
14
+ s.description = %q{CapIt provides a simple Ruby interface to Björn Höhrmann's CutyCapt.}
15
+ s.extra_rdoc_files = [
16
+ "README.md"
17
+ ]
16
18
  s.files = `git ls-files`.split("\n")
17
- # s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
- # s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.add_runtime_dependency(%q<postrank-uri>, ["1.0.7"])
19
20
  s.require_paths = ["lib"]
20
21
  end
data/lib/capit/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module CapIt
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: capit
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ezekiel Templin
@@ -12,20 +12,31 @@ cert_chain: []
12
12
 
13
13
  date: 2011-03-24 00:00:00 -04:00
14
14
  default_executable:
15
- dependencies: []
16
-
17
- description: " Easy screen captures with the help of CutyCapt. Very much a WIP. \n Install instructions, examples, etc coming very soon. "
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: postrank-uri
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - "="
23
+ - !ruby/object:Gem::Version
24
+ version: 1.0.7
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ description: "CapIt provides a simple Ruby interface to Bj\xC3\xB6rn H\xC3\xB6hrmann's CutyCapt."
18
28
  email:
19
29
  - ezkl@me.com
20
30
  executables: []
21
31
 
22
32
  extensions: []
23
33
 
24
- extra_rdoc_files: []
25
-
34
+ extra_rdoc_files:
35
+ - README.md
26
36
  files:
27
37
  - .gitignore
28
38
  - Gemfile
39
+ - README.md
29
40
  - Rakefile
30
41
  - capit.gemspec
31
42
  - lib/capit.rb