Permalink
Browse files

moved from jeweler to bundler

  • Loading branch information...
1 parent ed35bfa commit b411b9e1e22e6b9215659ea00fd4ffe2216496f8 @gucki committed Dec 20, 2011
Showing with 28 additions and 123 deletions.
  1. +0 −5 .document
  2. +4 −22 .gitignore
  3. +4 −0 Gemfile
  4. +1 −46 Rakefile
  5. +0 −1 VERSION
  6. +3 −0 lib/sequel_paperclip/version.rb
  7. +16 −49 sequel_paperclip.gemspec
View
@@ -1,5 +0,0 @@
-README.rdoc
-lib/**/*.rb
-bin/*
-features/**/*.feature
-LICENSE
View
@@ -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/*
View
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in sequel_paperclip.gemspec
+gemspec
View
@@ -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"
View
@@ -1 +0,0 @@
-0.5.5
@@ -0,0 +1,3 @@
+module SequelPaperclip
+ VERSION = "0.5.6"
+end
View
@@ -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.