Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Moved to Jeweler
  • Loading branch information
mdarby committed Dec 17, 2009
1 parent b6365b3 commit 8d6ecee
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 14 deletions.
2 changes: 1 addition & 1 deletion MIT-LICENSE → LICENSE
@@ -1,4 +1,4 @@
Copyright (c) 2008 [name of plugin creator]
Copyright (c) 2009 Matt Darby

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
29 changes: 21 additions & 8 deletions Rakefile
Expand Up @@ -3,16 +3,18 @@ require 'rake'

begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "Scribd_fu"
gemspec.summary = "A Rails gem that streamlines interactions with the Scribd service"
gemspec.description = "A Rails gem that streamlines interactions with the Scribd service"
gemspec.email = "matt@matt-darby.com"
gemspec.homepage = "http://github.com/mdarby/scribd_fu"
gemspec.authors = ["Matt Darby"]
Jeweler::Tasks.new do |gem|
gem.name = "scribd_fu"
gem.summary = %Q{A Rails gem that streamlines interactions with the Scribd service}
gem.description = %Q{A Rails gem that streamlines interactions with the Scribd service}
gem.email = "matt@matt-darby.com"
gem.homepage = "http://github.com/mdarby/scribd_fu"
gem.authors = ["Matt Darby"]
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'rake/testtask'
Expand All @@ -37,6 +39,17 @@ end

task :test => :check_dependencies

begin
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features)

task :features => :check_dependencies
rescue LoadError
task :features do
abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
end
end

task :default => :test

require 'rake/rdoctask'
Expand Down
13 changes: 8 additions & 5 deletions scribd_fu.gemspec
Expand Up @@ -4,21 +4,22 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{Scribd_fu}
s.name = %q{scribd_fu}
s.version = "2.0.6"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Matt Darby"]
s.date = %q{2009-11-23}
s.date = %q{2009-12-16}
s.description = %q{A Rails gem that streamlines interactions with the Scribd service}
s.email = %q{matt@matt-darby.com}
s.extra_rdoc_files = [
"README.textile"
"LICENSE",
"README.rdoc",
"README.textile"
]
s.files = [
".document",
".gitignore",
"MIT-LICENSE",
"README.textile",
"Rakefile",
"VERSION",
Expand All @@ -41,7 +42,9 @@ Gem::Specification.new do |s|
s.summary = %q{A Rails gem that streamlines interactions with the Scribd service}
s.test_files = [
"spec/scribd_fu_spec.rb",
"spec/spec_helper.rb"
"spec/spec_helper.rb",
"test/helper.rb",
"test/test_scribd_fu.rb"
]

if s.respond_to? :specification_version then
Expand Down

0 comments on commit 8d6ecee

Please sign in to comment.