Permalink
Browse files

version module added

  • Loading branch information...
1 parent 32df932 commit 68618216ec689acebab858e26bfa1e0758e0abc3 @thousandsofthem committed Mar 7, 2012
Showing with 19 additions and 6 deletions.
  1. +1 −1 Rakefile
  2. +6 −5 delayed_job_ironmq.gemspec
  3. +11 −0 lib/delayed/backend/version.rb
  4. +1 −0 lib/delayed_job_ironmq.rb
View
@@ -16,7 +16,7 @@ require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "delayed_job_ironmq"
- gem.homepage = "http://www.iron.io"
+ gem.homepage = "https://github.com/thousandsofthem/delayed_job_ironmq"
gem.description = %Q{IronMQ backend for delayed_job}
gem.summary = %Q{IronMQ backend for delayed_job}
gem.email = "info@iron.io"
View
@@ -1,15 +1,15 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in rakefile, and run 'rake gemspec'
+# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = "delayed_job_ironmq"
- s.version = "0.1.0"
+ s.version = "0.1.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Alexander Shapiotko", "Iron.io, Inc"]
- s.date = "2012-03-06"
+ s.date = "2012-03-07"
s.description = "IronMQ backend for delayed_job"
s.email = "info@iron.io"
s.extra_rdoc_files = [
@@ -23,14 +23,15 @@ Gem::Specification.new do |s|
"lib/delayed/backend/actions.rb",
"lib/delayed/backend/iron_mq_config.rb",
"lib/delayed/backend/ironmq.rb",
+ "lib/delayed/backend/version.rb",
"lib/delayed/backend/worker.rb",
"lib/delayed/serialization/ironmq.rb",
"lib/delayed_job_ironmq.rb",
"spec/.gitkeep"
]
- s.homepage = "http://www.iron.io"
+ s.homepage = "https://github.com/thousandsofthem/delayed_job_ironmq"
s.require_paths = ["lib"]
- s.rubygems_version = "1.8.11"
+ s.rubygems_version = "1.8.10"
s.summary = "IronMQ backend for delayed_job"
if s.respond_to? :specification_version then
@@ -0,0 +1,11 @@
+module Delayed
+ module Backend
+ module Ironmq
+ @@version = nil
+
+ def self.version
+ @@version ||= File.read(File.dirname(__FILE__) + '/../../../VERSION').strip
+ end
+ end
+ end
+end
@@ -6,6 +6,7 @@
require_relative 'delayed/backend/actions'
require_relative 'delayed/backend/iron_mq_config'
require_relative 'delayed/backend/worker'
+require_relative 'delayed/backend/version'
require_relative 'delayed/backend/ironmq'
Delayed::Worker.backend = :ironmq

0 comments on commit 6861821

Please sign in to comment.