[rubygem-delayed_job] Initial import (#676608).

Vít Ondruch vondruch at fedoraproject.org
Tue Jul 26 11:03:09 UTC 2011


commit a790f590360c6f2dceada75231d98c5cae467895
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Mon Jul 25 13:52:00 2011 +0200

    Initial import (#676608).

 .gitignore               |    1 +
 rubygem-delayed_job.spec |   96 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 98 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9604e8a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/delayed_job-2.1.4.gem
diff --git a/rubygem-delayed_job.spec b/rubygem-delayed_job.spec
new file mode 100644
index 0000000..3986cf4
--- /dev/null
+++ b/rubygem-delayed_job.spec
@@ -0,0 +1,96 @@
+# Generated from delayed_job-2.1.3.gem by gem2rpm -*- rpm-spec -*-
+%global gemname delayed_job
+
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global rubyabi 1.8
+
+Summary: Database-backed asynchronous priority queue system
+Name: rubygem-%{gemname}
+Version: 2.1.4
+Release: 1%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/collectiveidea/%{gemname}
+Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems)
+Requires: ruby
+Requires: rubygem(daemons)
+Requires: rubygem(activesupport) => 3.0
+Requires: rubygem(activesupport) < 4
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(rubygems)
+BuildRequires: ruby
+BuildRequires: rubygem(bundler) => 1.0.0
+# Use rspec-core until rspec are not migrated to RSpec 2.x
+BuildRequires: rubygem(rspec-core)
+BuildRequires: rubygem(rails) => 3.0.0
+BuildRequires: rubygem(sqlite3) => 1.3.0
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+Delayed_job (or DJ) encapsulates the common pattern of asynchronously
+executing longer tasks in the background. It is a direct extraction from
+Shopify where the job table is responsible for a multitude of core tasks.
+This gem is collectiveidea's fork
+(http://github.com/collectiveidea/delayed_job).
+
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires:%{name} = %{version}-%{release}
+
+%description doc
+Documentation for %{name}
+
+%prep
+%setup -q -c -T
+mkdir -p .%{gemdir}
+gem install --local --install-dir .%{gemdir} \
+            --force --rdoc %{SOURCE0}
+
+%build
+
+%install
+mkdir -p %{buildroot}%{gemdir}
+cp -a .%{gemdir}/* \
+        %{buildroot}%{gemdir}/
+
+%check
+pushd .%{geminstdir}
+
+# Use sqlite3 instead of mysql for testing.
+sed -i -e 's|adapter: mysql|adapter: sqlite3|' spec/database.yml
+
+# Disable test failing with RSpec 2.6. The test is passing with RSpec 2.5
+# and the functionality appears to be OK.
+# https://github.com/collectiveidea/delayed_job/issues/272
+sed -i '25,31d' spec/worker_spec.rb
+
+rspec spec
+popd
+
+%files
+%dir %{geminstdir}
+%doc %{geminstdir}/MIT-LICENSE
+%{geminstdir}/lib
+%{geminstdir}/contrib
+%{geminstdir}/recipes
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+%files doc
+%doc %{gemdir}/doc/%{gemname}-%{version}
+%doc %{geminstdir}/README.textile
+%doc %{geminstdir}/spec
+
+
+%changelog
+* Fri Jul 22 2011 Vít Ondruch <vondruch at redhat.com> - 2.1.4-1
+- Update to the delayed_job 2.1.4.
+
+* Thu Feb 10 2011 Vít Ondruch <vondruch at redhat.com> - 2.1.3-1
+- Initial package
diff --git a/sources b/sources
index e69de29..852cb2a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1271aeface78834d797bc43b8ec77186  delayed_job-2.1.4.gem


More information about the scm-commits mailing list