Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
Remove Jewler gemification stuff in favor of a raw .gemspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew O'Connor & Damon McCormick authored and emerose committed Aug 18, 2010
1 parent 1e07cc1 commit ea5eaa3
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 28 deletions.
29 changes: 1 addition & 28 deletions Rakefile
@@ -1,24 +1,6 @@
require 'rubygems'
require 'rake'

begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "simplerrd"
gem.summary = %Q{SimpleRRD provides a simple Ruby interface for creating graphs with RRD}
gem.description = %Q{SimpleRRD provides a simple Ruby interface for creating graphs with RRD}
gem.email = "quigley@emerose.com"
gem.homepage = "http://github.com/emerose/simplerrd"
gem.authors = ["Sam Quigley"]
gem.add_development_dependency "rspec"
gem.add_development_dependency "yard"
gem.files.exclude 'examples/**'
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
Expand All @@ -35,13 +17,4 @@ end

task :spec => :check_dependencies

task :default => :spec

begin
require 'yard'
YARD::Rake::YardocTask.new
rescue LoadError
task :yardoc do
abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
end
end
task :default => :spec
31 changes: 31 additions & 0 deletions simplerrd.gemspec
@@ -0,0 +1,31 @@
# encoding: utf-8

require 'bundler'

Gem::Specification.new do |s|
s.name = "simplerrd"
s.version = File.read("VERSION").strip

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.rubygems_version = "1.3.7"

s.authors = ["Sam Quigley", "Damon McCormick", "Matthew O'Connor"]
s.email = "quigley@emerose.com"

s.date = "2010-08-17"
s.description = "SimpleRRD provides a simple Ruby interface for creating graphs with RRD"
s.summary = "SimpleRRD provides a simple Ruby interface for creating graphs with RRD"
s.homepage = "http://github.com/emerose/simplerrd"

s.rdoc_options = ["--charset=UTF-8"]
s.extra_rdoc_files = [
"LICENSE",
"README.markdown"
]

s.require_paths = ["lib"]
s.files = Dir['{lib,spec,examples}/**/*'] + %w(simplerrd.gemspec VERSION Rakefile README.markdown LICENSE Gemfile Gemfile.lock)
s.test_files = Dir['spec/**/*']

s.add_bundler_dependencies
end

0 comments on commit ea5eaa3

Please sign in to comment.