Permalink
Browse files

use jeweler for gem management

  • Loading branch information...
1 parent a789fde commit 8b222c1818ef6936019199fd9d0536f5d37cc0e9 @netskin-ci netskin-ci committed Aug 31, 2010
Showing with 89 additions and 7 deletions.
  1. +5 −0 .document
  2. +21 −0 .gitignore
  3. 0 CHANGELOG
  4. +46 −0 Rakefile
  5. +0 −7 lib/sequel_bulk_attributes/version.rb
  6. +7 −0 spec/sequel_bulk_attributes_spec.rb
  7. +1 −0 spec/spec.opts
  8. +9 −0 spec/spec_helper.rb
View
@@ -0,0 +1,5 @@
+README.rdoc
+lib/**/*.rb
+bin/*
+features/**/*.feature
+LICENSE
View
@@ -0,0 +1,21 @@
+## MAC OS
+.DS_Store
+
+## TEXTMATE
+*.tmproj
+tmtags
+
+## EMACS
+*~
+\#*
+.\#*
+
+## VIM
+*.swp
+
+## PROJECT::GENERAL
+coverage
+rdoc
+pkg
+
+## PROJECT::SPECIFIC
View
No changes.
View
@@ -0,0 +1,46 @@
+require 'rubygems'
+require 'rake'
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gem|
+ gem.name = 'sequel_bulk_attributes'
+ gem.authors = ['Corin Langosch']
+ gem.date = Date.today.to_s
+ gem.email = 'info@netskin.com'
+ gem.homepage = 'http://github.com/gucki/sequel_bulk_attributes'
+ gem.summary = 'Easy mass assign ability for many associations for Sequel'
+ gem.description = 'Sequel plugin which add mass assign ability for one_to_many associations 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_bulk_attributes #{version}"
+ rdoc.rdoc_files.include('README*')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+end
@@ -1,7 +0,0 @@
-module Sequel
- module Plugins
- module BulkAttributes
- VERSION = '0.0.1'.freeze
- end
- end
-end
@@ -0,0 +1,7 @@
+require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
+
+describe "SequelPaperclip" do
+ it "fails" do
+ fail "hey buddy, you should probably rename this file and start specing for real"
+ end
+end
View
@@ -0,0 +1 @@
+--color
View
@@ -0,0 +1,9 @@
+$LOAD_PATH.unshift(File.dirname(__FILE__))
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+require 'sequel_bulk_attributes'
+require 'spec'
+require 'spec/autorun'
+
+Spec::Runner.configure do |config|
+
+end

0 comments on commit 8b222c1

Please sign in to comment.