Permalink
Browse files

Using bundler for gem. Changed resque dependency version.

  • Loading branch information...
1 parent 6328469 commit 57825533d5a7bd37e1c5b909a5137ac39549aaac @agibralter agibralter committed Feb 24, 2011
Showing with 41 additions and 135 deletions.
  1. +5 −12 .gitignore
  2. +4 −0 Gemfile
  3. +2 −4 Rakefile
  4. +0 −1 VERSION
  5. +7 −0 lib/thinking_sphinx/deltas/resque_delta/version.rb
  6. +0 −30 tasks/distribution.rb
  7. +2 −2 tasks/testing.rb
  8. +21 −86 ts-resque-delta.gemspec
View
@@ -1,23 +1,16 @@
-## MAC OS
+*.gem
+.bundle
+Gemfile.lock
+pkg/*
+*~
.DS_Store
-
-## TEXTMATE
*.tmproj
tmtags
-
-## EMACS
*~
\#*
.\#*
-
-## VIM
*.swp
-
-## PROJECT::GENERAL
coverage
rdoc
-pkg
-
-## PROJECT::SPECIFIC
features/thinking_sphinx/database.yml
tmp
View
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in ts-resque-delta.gemspec
+gemspec
View
@@ -1,6 +1,4 @@
-require 'rubygems'
-
-require 'tasks/distribution'
+require 'bundler'
+Bundler::GemHelper.install_tasks
require 'tasks/testing'
-
task :default => :spec
View
@@ -1 +0,0 @@
-0.0.4
@@ -0,0 +1,7 @@
+module ThinkingSphinx
+ module Deltas
+ module ResqueDelta
+ VERSION = "0.0.5"
+ end
+ end
+end
View
@@ -1,30 +0,0 @@
-require "jeweler"
-require "yard"
-
-YARD::Rake::YardocTask.new
-
-Jeweler::Tasks.new do |gem|
- gem.name = "ts-resque-delta"
- gem.summary = "Thinking Sphinx - Resque Deltas"
- gem.description = "Manage delta indexes via Resque for Thinking Sphinx"
- gem.email = "aaron.gibralter@gmail.com"
- gem.homepage = "http://github.com/agibralter/ts-resque-delta"
- gem.authors = ["Aaron Gibralter"]
- gem.add_dependency("thinking-sphinx", ">= 1.3.6")
- gem.add_dependency("resque", "~> 1.10.0")
- gem.add_dependency("resque-lock-timeout", "~> 0.2.1")
- gem.add_development_dependency("rspec", ">= 1.2.9")
- gem.add_development_dependency("yard", ">= 0")
- gem.add_development_dependency("cucumber", ">= 0")
- gem.add_development_dependency("database_cleaner", ">= 0.5.2")
- gem.files = FileList[
- "lib/**/*.rb",
- "LICENSE",
- "README.markdown"
- ]
- gem.test_files = FileList[
- ["Rakefile"] + %w(config features spec tasks).collect { |d| "#{d}/**/*" }
- ]
-end
-
-Jeweler::GemcutterTasks.new
View
@@ -16,5 +16,5 @@
task.cucumber_opts = '--exclude features/thinking_sphinx'
end
-task :spec => :check_dependencies
-task :cucumber => :check_dependencies
+task :spec
+task :cucumber
View
@@ -1,94 +1,29 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "thinking_sphinx/deltas/resque_delta/version"
Gem::Specification.new do |s|
- s.name = %q{ts-resque-delta}
- s.version = "0.0.4"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Aaron Gibralter"]
- s.date = %q{2010-11-20}
+ s.name = "ts-resque-delta"
+ s.version = ThinkingSphinx::Deltas::ResqueDelta::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Aaron Gibralter"]
+ s.email = ["aaron.gibralter@gmail.com"]
+ s.homepage = "http://github.com/agibralter/ts-resque-delta"
+ s.summary = %q{Thinking Sphinx - Resque Deltas}
s.description = %q{Manage delta indexes via Resque for Thinking Sphinx}
- s.email = %q{aaron.gibralter@gmail.com}
- s.extra_rdoc_files = [
- "LICENSE",
- "README.markdown"
- ]
- s.files = [
- "LICENSE",
- "README.markdown",
- "lib/thinking_sphinx/deltas/resque_delta.rb",
- "lib/thinking_sphinx/deltas/resque_delta/delta_job.rb",
- "lib/thinking_sphinx/deltas/resque_delta/flag_as_deleted_job.rb",
- "lib/thinking_sphinx/deltas/resque_delta/tasks.rb"
- ]
- s.homepage = %q{http://github.com/agibralter/ts-resque-delta}
- s.rdoc_options = ["--charset=UTF-8"]
+
+ s.rubyforge_project = "ts-resque-delta"
+
+ 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"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Thinking Sphinx - Resque Deltas}
- s.test_files = [
- "Rakefile",
- "config/redis-cucumber.conf",
- "features/resque_deltas.feature",
- "features/step_definitions",
- "features/step_definitions/common_steps.rb",
- "features/step_definitions/resque_delta_steps.rb",
- "features/support",
- "features/support/env.rb",
- "features/support/redis_test_setup.rb",
- "features/thinking_sphinx",
- "features/thinking_sphinx/database.example.yml",
- "features/thinking_sphinx/database.yml",
- "features/thinking_sphinx/db",
- "features/thinking_sphinx/db/migrations",
- "features/thinking_sphinx/db/migrations/create_delayed_betas.rb",
- "features/thinking_sphinx/models",
- "features/thinking_sphinx/models/delayed_beta.rb",
- "spec/spec.opts",
- "spec/spec_helper.rb",
- "spec/thinking_sphinx",
- "spec/thinking_sphinx/deltas",
- "spec/thinking_sphinx/deltas/resque_delta",
- "spec/thinking_sphinx/deltas/resque_delta/delta_job_spec.rb",
- "spec/thinking_sphinx/deltas/resque_delta/flag_as_deleted_job_spec.rb",
- "spec/thinking_sphinx/deltas/resque_delta_spec.rb",
- "tasks/distribution.rb",
- "tasks/rails.rake",
- "tasks/testing.rb"
- ]
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.add_dependency "thinking-sphinx", ">= 1.3.6"
+ s.add_dependency "resque", "~> 1.10"
+ s.add_dependency "resque-lock-timeout", "~> 0.2.1"
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<thinking-sphinx>, [">= 1.3.6"])
- s.add_runtime_dependency(%q<resque>, ["~> 1.10.0"])
- s.add_runtime_dependency(%q<resque-lock-timeout>, ["~> 0.2.1"])
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
- s.add_development_dependency(%q<yard>, [">= 0"])
- s.add_development_dependency(%q<cucumber>, [">= 0"])
- s.add_development_dependency(%q<database_cleaner>, [">= 0.5.2"])
- else
- s.add_dependency(%q<thinking-sphinx>, [">= 1.3.6"])
- s.add_dependency(%q<resque>, ["~> 1.10.0"])
- s.add_dependency(%q<resque-lock-timeout>, ["~> 0.2.1"])
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
- s.add_dependency(%q<yard>, [">= 0"])
- s.add_dependency(%q<cucumber>, [">= 0"])
- s.add_dependency(%q<database_cleaner>, [">= 0.5.2"])
- end
- else
- s.add_dependency(%q<thinking-sphinx>, [">= 1.3.6"])
- s.add_dependency(%q<resque>, ["~> 1.10.0"])
- s.add_dependency(%q<resque-lock-timeout>, ["~> 0.2.1"])
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
- s.add_dependency(%q<yard>, [">= 0"])
- s.add_dependency(%q<cucumber>, [">= 0"])
- s.add_dependency(%q<database_cleaner>, [">= 0.5.2"])
- end
+ s.add_development_dependency "rspec", ">= 1.2.9"
+ s.add_development_dependency "cucumber", ">= 0"
+ s.add_development_dependency "database_cleaner", ">= 0.5.2"
end
-

0 comments on commit 5782553

Please sign in to comment.