Skip to content

Commit e57510d

Browse files
committed
initial commit
0 parents  commit e57510d

File tree

8 files changed

+68
-0
lines changed

8 files changed

+68
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
data

Gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source 'http://rubygems.org'
2+
3+
gemspec

LICENSE

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Copyright (c) 2011 dan sinclair
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to
5+
deal in the Software without restriction, including without limitation the
6+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7+
sell copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16+
THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Rakefile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
require 'bundler'
2+
Bundler::GemHelper.install_tasks
3+
4+
require 'yard'
5+
require 'rspec/core/rake_task'
6+
7+
task :default => [:spec]
8+
9+
desc "run spec tests"
10+
RSPec::Core::RakeTask.new('spec') do |t|
11+
t.pattern = 'spec/**/*_spec.rb'
12+
end
13+
14+
desc 'Generate Documentation'
15+
YARD::Rake::YardocTask.new do |t|
16+
t.files = ['lib/**/*.rb', '-', 'LICENSE']
17+
t.options = ['--main', 'README', '--no-private']
18+
end

bin/rtf_parse

Whitespace-only changes.

lib/ruby-rtf.rb

Whitespace-only changes.

lib/ruby-rtf/version.rb

Whitespace-only changes.

ruby-rtf.gemspec

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
require 'ruby-rtf/version'
2+
3+
Gem::Specification.new do |s|
4+
s.name = 'ruby-rtf'
5+
6+
s.version = RubyRTF::VERSION
7+
8+
s.authors = 'dan sinclair'
9+
s.email = '[email protected]'
10+
11+
s.homepage = 'http://github.com/dj2/ruby-rtf'
12+
s.summary = 'Library for working with RTF files'
13+
s.description = s.summary
14+
15+
s.add_development_dependency 'rspec', '>2.0'
16+
s.add_development_dependency 'metric_fu'
17+
18+
s.add_development_dependency 'yard'
19+
s.add_development_dependency 'bluecloth'
20+
21+
s.bindir = 'bin'
22+
s.executables << 'rtf_parse'
23+
24+
s.files = `git ls-files`.split("\n")
25+
s.test_files = `git ls-files -- spec/*`.split("\n")
26+
27+
s.require_paths = ['lib']
28+
end

0 commit comments

Comments
 (0)