Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
robflynn committed Nov 8, 2010
0 parents commit f4b61e0
Show file tree
Hide file tree
Showing 14 changed files with 128 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .document
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-
ChangeLog.*
LICENSE.txt
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
doc/
pkg/
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--colour --format documentation
4 changes: 4 additions & 0 deletions ChangeLog.rdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
=== 0.1.0 / 2010-11-08

* Initial release:

9 changes: 9 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source :rubygems

gemspec

group :development do
gem 'rake', '~> 0.8.7'
gem 'ore-core', '~> 0.1.0'
gem 'rspec', '~> 2.0.0'
end
20 changes: 20 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2010 rob

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 changes: 23 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
= pdftoimage

* {Homepage}[http://rubygems.org/gems/pdftoimage]

== Description

TODO: Description

== Features

== Examples

== Requirements

== Install

$ gem install pdftoimage

== Copyright

Copyright (c) 2010 rob

See LICENSE.txt for details.
30 changes: 30 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
require 'rubygems'

begin
require 'bundler'
rescue LoadError => e
STDERR.puts e.message
STDERR.puts "Run `gem install bundler` to install Bundler."
exit e.status_code
end

begin
Bundler.setup(:development)
rescue Bundler::BundlerError => e
STDERR.puts e.message
STDERR.puts "Run `bundle install` to install missing gems."
exit e.status_code
end

require 'rake'

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new
task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
rdoc.title = "pdftoimage"
rdoc.rdoc_files.include("README.rdoc")
rdoc.rdoc_files.include("lib/**/*.rb")
end
9 changes: 9 additions & 0 deletions gemspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: pdftoimage
summary: "TODO: Summary"
description: "TODO: Description"
license: MIT
authors: rob
homepage: http://rubygems.org/gems/pdftoimage

development_dependencies:
bundler: ~> 1.0.0
1 change: 1 addition & 0 deletions lib/pdftoimage.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require 'pdftoimage/version'
4 changes: 4 additions & 0 deletions lib/pdftoimage/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module Pdftoimage
# pdftoimage version
VERSION = "0.1.0"
end
10 changes: 10 additions & 0 deletions pdftoimage.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# -*- encoding: utf-8 -*-

begin
Ore::Specification.new do |gemspec|
# custom logic here
end
rescue NameError
STDERR.puts "The 'pdftoimage.gemspec' file requires Ore."
STDERR.puts "Run `gem install ore-core` to install Ore."
end
8 changes: 8 additions & 0 deletions spec/pdftoimage_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require 'spec_helper'
require 'pdftoimage'

describe Pdftoimage do
it "should have a VERSION constant" do
Pdftoimage.const_get('VERSION').should_not be_empty
end
end
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
require 'rspec'
require 'pdftoimage/version'

include Pdftoimage

0 comments on commit f4b61e0

Please sign in to comment.