Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
sundbp committed Mar 30, 2011
0 parents commit 22bc2a4
Show file tree
Hide file tree
Showing 16 changed files with 146 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .document
@@ -0,0 +1,3 @@
-
ChangeLog.*
LICENSE.txt
Empty file added .gemtest
Empty file.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
doc/
pkg/
Gemfile.lock
vendor/cache/*.gem
1 change: 1 addition & 0 deletions .rspec
@@ -0,0 +1 @@
--colour --format documentation
1 change: 1 addition & 0 deletions .yardopts
@@ -0,0 +1 @@
--markup markdown --title "rfreechart Documentation" --protected
4 changes: 4 additions & 0 deletions ChangeLog.md
@@ -0,0 +1,4 @@
### 0.1.0 / 2011-03-30

* Initial release:

11 changes: 11 additions & 0 deletions Gemfile
@@ -0,0 +1,11 @@
source :rubygems

gemspec

group :development do
gem 'rake', '~> 0.8.7'
gem 'ore-tasks', '~> 0.4'
gem 'rspec', '~> 2.4'
gem 'kramdown'
gem 'yard', '~> 0.6.0'
end
20 changes: 20 additions & 0 deletions LICENSE.txt
@@ -0,0 +1,20 @@
Copyright (c) 2011 pts

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.
26 changes: 26 additions & 0 deletions README.md
@@ -0,0 +1,26 @@
# rfreechart

* [Homepage](http://rubygems.org/gems/rfreechart)
* [Documentation](http://rubydoc.info/gems/rfreechart/frames)

## Description

TODO: Description

## Features

## Examples

require 'rfreechart'

## Requirements

## Install

$ gem install rfreechart

## Copyright

Copyright (c) 2011 pts

See {file:LICENSE.txt} for details.
33 changes: 33 additions & 0 deletions Rakefile
@@ -0,0 +1,33 @@
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 'ore/tasks'
Ore::Tasks.new

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new

task :test => :spec
task :default => :spec


require 'yard'
YARD::Rake::YardocTask.new
task :doc => :yard
11 changes: 11 additions & 0 deletions gemspec.yml
@@ -0,0 +1,11 @@
name: rfreechart
summary: "TODO: Summary"
description: "TODO: Description"
license: MIT
authors: pts
homepage: http://rubygems.org/gems/rfreechart
has_yard: true

development_dependencies:
bundler: ~> 1.0.0
yard: ~> 0.6.0
1 change: 1 addition & 0 deletions lib/rfreechart.rb
@@ -0,0 +1 @@
require 'rfreechart/version'
4 changes: 4 additions & 0 deletions lib/rfreechart/version.rb
@@ -0,0 +1,4 @@
module Rfreechart
# rfreechart version
VERSION = "0.1.0"
end
15 changes: 15 additions & 0 deletions rfreechart.gemspec
@@ -0,0 +1,15 @@
# -*- encoding: utf-8 -*-

begin
Ore::Specification.new do |gemspec|
# custom logic here
end
rescue NameError
begin
require 'ore/specification'
retry
rescue LoadError
STDERR.puts "The '#{__FILE__}' file requires Ore."
STDERR.puts "Run `gem install ore-core` to install Ore."
end
end
8 changes: 8 additions & 0 deletions spec/rfreechart_spec.rb
@@ -0,0 +1,8 @@
require 'spec_helper'
require 'rfreechart'

describe Rfreechart do
it "should have a VERSION constant" do
subject.const_get('VERSION').should_not be_empty
end
end
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
@@ -0,0 +1,4 @@
require 'rspec'
require 'rfreechart/version'

include Rfreechart

0 comments on commit 22bc2a4

Please sign in to comment.