Skip to content

Commit

Permalink
moved from jeweler to bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
gucki committed Dec 20, 2011
1 parent ed35bfa commit b411b9e
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 123 deletions.
5 changes: 0 additions & 5 deletions .document

This file was deleted.

26 changes: 4 additions & 22 deletions .gitignore
@@ -1,22 +1,4 @@
## MAC OS
.DS_Store

## TEXTMATE
*.tmproj
tmtags

## EMACS
*~
\#*
.\#*

## VIM
*.swp

## PROJECT::GENERAL
coverage
rdoc
pkg
nbproject

## PROJECT::SPECIFIC
*.gem
.bundle
Gemfile.lock
pkg/*
4 changes: 4 additions & 0 deletions Gemfile
@@ -0,0 +1,4 @@
source "http://rubygems.org"

# Specify your gem's dependencies in sequel_paperclip.gemspec
gemspec
47 changes: 1 addition & 46 deletions Rakefile
@@ -1,46 +1 @@
require 'rubygems'
require 'rake'

begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'sequel_paperclip'
gem.authors = ['Corin Langosch']
gem.date = Date.today.to_s
gem.email = 'info@netskin.com'
gem.homepage = 'http://github.com/gucki/sequel_paperclip'
gem.summary = 'Easy file attachment management for Sequel'
gem.description = 'Sequel plugin which provides Paperclip (attachments, thumbnail resizing, etc.) functionality for model.'
gem.add_development_dependency "rspec", ">= 1.2.9"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""

rdoc.rdoc_dir = 'rdoc'
rdoc.title = "sequel_paperclip #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
require "bundler/gem_tasks"
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

3 changes: 3 additions & 0 deletions lib/sequel_paperclip/version.rb
@@ -0,0 +1,3 @@
module SequelPaperclip
VERSION = "0.5.6"
end
65 changes: 16 additions & 49 deletions sequel_paperclip.gemspec
@@ -1,57 +1,24 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "sequel_paperclip/version"

Gem::Specification.new do |s|
s.name = %q{sequel_paperclip}
s.version = "0.5.5"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Corin Langosch"]
s.date = %q{2010-12-09}
s.name = "sequel_paperclip"
s.version = SequelPaperclip::VERSION
s.authors = ["Corin Langosch"]
s.email = ["info@corinlangosch.com"]
s.homepage = %q{http://github.com/gucki/sequel_paperclip}
s.summary = %q{Easy file attachment management for Sequel}
s.description = %q{Sequel plugin which provides Paperclip (attachments, thumbnail resizing, etc.) functionality for model.}
s.email = %q{info@netskin.com}
s.extra_rdoc_files = [
"LICENSE",
"README.rdoc"
]
s.files = [
".document",
"LICENSE",
"README.rdoc",
"Rakefile",
"VERSION",
"lib/sequel_paperclip.rb",
"lib/sequel_paperclip/attachment.rb",
"lib/sequel_paperclip/interpolations.rb",
"lib/sequel_paperclip/processors/dummy.rb",
"lib/sequel_paperclip/processors/image.rb",
"sequel_paperclip.gemspec",
"spec/sequel_paperclip_spec.rb",
"spec/spec.opts",
"spec/spec_helper.rb"
]
s.homepage = %q{http://github.com/gucki/sequel_paperclip}
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{Easy file attachment management for Sequel}
s.test_files = [
"spec/sequel_paperclip_spec.rb",
"spec/spec_helper.rb"
]

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
s.rubyforge_project = "sequel_paperclip"

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
else
s.add_dependency(%q<rspec>, [">= 1.2.9"])
end
else
s.add_dependency(%q<rspec>, [">= 1.2.9"])
end
# specify any dependencies here; for example:
s.add_development_dependency "rspec"
end

0 comments on commit b411b9e

Please sign in to comment.