Permalink
Browse files

first commit

  • Loading branch information...
0 parents commit 6edeec5c0d98d719348531d1178e91a58eeac574 @suranyami suranyami committed May 23, 2011
Showing with 75 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +3 −0 CHANGELOG.md
  3. +4 −0 Gemfile
  4. +10 −0 Guardfile
  5. +2 −0 Rakefile
  6. +30 −0 guard-delayed_job.gemspec
  7. +5 −0 lib/guard-delayed_job.rb
  8. +2 −0 lib/guard/delayed_job/templates/Guardfile
  9. +5 −0 lib/guard/delayed_job/version.rb
  10. +10 −0 spec/spec_helper.rb
@@ -0,0 +1,4 @@
+*.gem
+.bundle
+Gemfile.lock
+pkg/*
@@ -0,0 +1,3 @@
+## 0.0.01 (2011-05-23)
+
+ * Initial release.
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in guard-delayed_job.gemspec
+gemspec
@@ -0,0 +1,10 @@
+guard 'bundler' do
+ watch(/^Gemfile/)
+ watch(/^.+\.gemspec/)
+end
+
+guard 'rspec', :version => 2 do
+ watch(/^spec\/.*_spec\.rb/)
+ watch(/^lib\/(.*)\.rb/) { |m| "spec/#{m[1]}_spec.rb" }
+ watch(/^spec\/spec_helper\.rb/) { "spec" }
+end
@@ -0,0 +1,2 @@
+require 'bundler'
+Bundler::GemHelper.install_tasks
@@ -0,0 +1,30 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "guard/delayed_job/version"
+
+Gem::Specification.new do |s|
+ s.name = "guard-delayed_job"
+ s.version = Guard::Delayedjob::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["David Parry"]
+ s.email = ["david.parry@suranyami.com"]
+ s.homepage = 'http://rubygems.org/gems/guard-delayed_job'
+ s.summary = %q{guard gem for delayed_job}
+ s.description = %q{Guard::DelayedJob automatically starts/stops/restarts delayed_job}
+
+ s.required_rubygems_version = '>= 1.3.6'
+ s.rubyforge_project = "guard-delayed_job"
+
+ s.add_dependency 'guard', '~> 0.3'
+ s.add_dependency 'delayed_job'
+
+ s.add_development_dependency 'bundler', '~> 1.0.10'
+ s.add_development_dependency 'rspec', '~> 2.5.0'
+ s.add_development_dependency 'guard-rspec', '~> 0.2.0'
+ s.add_development_dependency 'guard-bundler', '~> 0.1.1'
+
+ 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"]
+end
@@ -0,0 +1,5 @@
+module Guard
+ module Delayedjob
+ # Your code goes here...
+ end
+end
@@ -0,0 +1,2 @@
+guard 'delayed_job' do
+end
@@ -0,0 +1,5 @@
+module Guard
+ module Delayedjob
+ VERSION = "0.0.1"
+ end
+end
@@ -0,0 +1,10 @@
+require 'rspec'
+require 'guard/delayed_job'
+
+ENV["GUARD_ENV"] = 'test'
+
+RSpec.configure do |config|
+ config.color_enabled = true
+ config.filter_run :focus => true
+ config.run_all_when_everything_filtered = true
+end

0 comments on commit 6edeec5

Please sign in to comment.