Permalink
Browse files

Regenerate gemspec for version 1.1.0

  • Loading branch information...
1 parent 62dc4d1 commit fb446c90d403366ae59825d9091f761bae845bc3 @ssoroka committed Feb 23, 2011
Showing with 104 additions and 71 deletions.
  1. +13 −1 Gemfile.lock
  2. +7 −6 README.markdown
  3. +30 −30 Rakefile
  4. +54 −34 scheduler_daemon.gemspec
View
@@ -1,15 +1,26 @@
PATH
remote: .
specs:
- scheduler_daemon (1.0.0)
+ scheduler_daemon (1.1.0)
+ activesupport
chronic (>= 0.2.0)
+ chronic (>= 0.2.0)
+ chronic (>= 0.2.0)
+ daemons (>= 1.0.10)
+ daemons (>= 1.0.10)
daemons (>= 1.0.10)
eventmachine (>= 0.12.8)
+ eventmachine (>= 0.12.8)
+ eventmachine (>= 0.12.8)
+ rufus-scheduler (>= 2.0.1)
+ rufus-scheduler (>= 2.0.1)
rufus-scheduler (>= 2.0.1)
+ scheduler_daemon
GEM
remote: http://rubygems.org/
specs:
+ activesupport (3.0.4)
chronic (0.3.0)
daemons (1.1.0)
eventmachine (0.12.10)
@@ -21,6 +32,7 @@ PLATFORMS
ruby
DEPENDENCIES
+ activesupport
chronic (>= 0.2.0)
daemons (>= 1.0.10)
eventmachine (>= 0.12.8)
View
@@ -22,12 +22,11 @@ Install as a gem or plugin.
As a gem, the old-fashioned way:
- gem install scheduler_daemon -s http://gemcutter.org
+ gem install scheduler_daemon
As a gem with bundler, add to your ./Gemfile:
- source "http://gemcutter.org"
- gem 'scheduler_daemon', :only => :bundle
+ gem 'scheduler_daemon'
As a plugin: (might be awkward to call the binary to start up the daemon...)
@@ -37,11 +36,11 @@ As a plugin: (might be awkward to call the binary to start up the daemon...)
Optionally generate the default scheduler daemon task for your rails app:
- script/generate scheduler
+ script/rails generate scheduler_task MyNewTask
-which will create an excellent example task named:
+which will create an task named:
- lib/scheduled_tasks/session_cleaner_task.rb
+ scheduled_tasks/my_new_task.rb
Usage
=====
@@ -66,6 +65,8 @@ Tasks support their own special DSL; commands are:
fire up the daemon in console mode to test it out
scheduler_daemon run
+ or
+ bundle exec scheduler_daemon run
For production environments, add the daemon to the system start-up, and
capistrano deploy scripts, etc. Something like:
View
@@ -37,33 +37,33 @@ rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo 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 :default => :spec
-
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- if File.exist?('VERSION.yml')
- config = YAML.load(File.read('VERSION.yml'))
- version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
- else
- version = ""
- end
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "scheduler_daemon #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-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 :default => :spec
+#
+# require 'rake/rdoctask'
+# Rake::RDocTask.new do |rdoc|
+# if File.exist?('VERSION.yml')
+# config = YAML.load(File.read('VERSION.yml'))
+# version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
+# else
+# version = ""
+# end
+#
+# rdoc.rdoc_dir = 'rdoc'
+# rdoc.title = "scheduler_daemon #{version}"
+# rdoc.rdoc_files.include('README*')
+# rdoc.rdoc_files.include('lib/**/*.rb')
+# end
+#
View
@@ -1,78 +1,98 @@
# Generated by jeweler
-# DO NOT EDIT THIS FILE
-# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{scheduler_daemon}
- s.version = "1.0.0"
+ s.version = "1.1.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Steven Soroka"]
- s.date = %q{2009-10-29}
+ s.date = %q{2011-02-23}
s.default_executable = %q{scheduler_daemon}
s.email = %q{ssoroka78@gmail.com}
s.executables = ["scheduler_daemon"]
s.extra_rdoc_files = [
"README.markdown"
]
s.files = [
+ "Gemfile",
+ "Gemfile.lock",
"MIT-LICENSE",
- "README.markdown",
- "Rakefile",
- "VERSION",
- "bin/scheduler_daemon",
- "generators/scheduler/USAGE",
- "generators/scheduler/scheduler_generator.rb",
- "generators/scheduler/templates/README",
- "generators/scheduler/templates/lib/scheduled_tasks/session_cleaner_task.rb",
- "generators/scheduler_task/scheduler_task_generator.rb",
- "generators/scheduler_task/templates/README",
- "generators/scheduler_task/templates/scheduled_tasks/example_task.rb",
- "init.rb",
- "install.rb",
- "lib/loader/find_rails_root.rb",
- "lib/loader/scheduler_loader.rb",
- "lib/scheduler.rb",
- "lib/scheduler/exception_handler.rb",
- "lib/scheduler/scheduler_task.rb",
- "scheduler_daemon.gemspec",
- "spec/README",
- "spec/scheduled_tasks/session_cleaner_task_spec.rb",
- "spec/scheduler_spec.rb",
- "spec/spec_helper.rb",
- "uninstall.rb"
+ "README.markdown",
+ "Rakefile",
+ "VERSION",
+ "bin/scheduler_daemon",
+ "lib/loader/scheduler_loader.rb",
+ "lib/scheduler_daemon.rb",
+ "lib/scheduler_daemon/base.rb",
+ "lib/scheduler_daemon/command_line_args_to_hash.rb",
+ "lib/scheduler_daemon/exception_handler.rb",
+ "lib/scheduler_daemon/rails/generators/scheduler/USAGE",
+ "lib/scheduler_daemon/rails/generators/scheduler/scheduler_generator.rb",
+ "lib/scheduler_daemon/rails/generators/scheduler/templates/README",
+ "lib/scheduler_daemon/rails/generators/scheduler/templates/lib/scheduled_tasks/session_cleaner_task.rb",
+ "lib/scheduler_daemon/rails/generators/scheduler_task/scheduler_task_generator.rb",
+ "lib/scheduler_daemon/rails/generators/scheduler_task/templates/README",
+ "lib/scheduler_daemon/rails/generators/scheduler_task/templates/scheduled_tasks/example_task.rb",
+ "lib/scheduler_daemon/rails/railtie.rb",
+ "lib/scheduler_daemon/scheduler_task.rb",
+ "scheduler_daemon.gemspec",
+ "spec/command_line_args_to_hash_spec.rb",
+ "spec/scheduled_tasks/session_cleaner_task_spec.rb",
+ "spec/scheduler_spec.rb",
+ "spec/spec_helper.rb"
]
s.homepage = %q{http://github.com/ssoroka/scheduler_daemon}
- s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.5}
- s.summary = %q{Rails 2.3.2 compatible scheduler daemon. Replaces cron/rake pattern of periodically running rake tasks to perform maintenance tasks in Rails apps. Scheduler Daemon is made specifically for your Rails app, and only loads the environment once, no matter how many tasks run. What's so great about it? Well, I'm glad you asked! - Only loads your Rails environment once on daemon start, not every time a task is run - Allows you to easily deploy the scheduled tasks with your Rails app instead of depending on an administrator to update crontab - It doesn't use rake or cron! - Gets you up and running with your own daemon in under 2 minutes}
+ s.rubygems_version = %q{1.3.7}
+ s.summary = %q{Rails 3 compatible scheduler daemon. Replaces cron/rake pattern of periodically running rake tasks to perform maintenance tasks in Rails apps. Scheduler Daemon is made specifically for your Rails app, and only loads the environment once, no matter how many tasks run. What's so great about it? Well, I'm glad you asked! - Only loads your Rails environment once on daemon start, not every time a task is run - Allows you to easily deploy the scheduled tasks with your Rails app instead of depending on an administrator to update crontab - It doesn't use rake or cron! - Gets you up and running with your own daemon in under 2 minutes}
s.test_files = [
+ "spec/command_line_args_to_hash_spec.rb",
"spec/scheduled_tasks/session_cleaner_task_spec.rb",
- "spec/scheduler_spec.rb",
- "spec/spec_helper.rb"
+ "spec/scheduler_spec.rb",
+ "spec/spec_helper.rb"
]
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<scheduler_daemon>, [">= 0"])
+ s.add_runtime_dependency(%q<eventmachine>, [">= 0.12.8"])
+ s.add_runtime_dependency(%q<daemons>, [">= 1.0.10"])
+ s.add_runtime_dependency(%q<rufus-scheduler>, [">= 2.0.1"])
+ s.add_runtime_dependency(%q<chronic>, [">= 0.2.0"])
+ s.add_runtime_dependency(%q<activesupport>, [">= 0"])
s.add_runtime_dependency(%q<eventmachine>, [">= 0.12.8"])
s.add_runtime_dependency(%q<daemons>, [">= 1.0.10"])
s.add_runtime_dependency(%q<rufus-scheduler>, [">= 2.0.1"])
s.add_runtime_dependency(%q<chronic>, [">= 0.2.0"])
else
+ s.add_dependency(%q<scheduler_daemon>, [">= 0"])
+ s.add_dependency(%q<eventmachine>, [">= 0.12.8"])
+ s.add_dependency(%q<daemons>, [">= 1.0.10"])
+ s.add_dependency(%q<rufus-scheduler>, [">= 2.0.1"])
+ s.add_dependency(%q<chronic>, [">= 0.2.0"])
+ s.add_dependency(%q<activesupport>, [">= 0"])
s.add_dependency(%q<eventmachine>, [">= 0.12.8"])
s.add_dependency(%q<daemons>, [">= 1.0.10"])
s.add_dependency(%q<rufus-scheduler>, [">= 2.0.1"])
s.add_dependency(%q<chronic>, [">= 0.2.0"])
end
else
+ s.add_dependency(%q<scheduler_daemon>, [">= 0"])
+ s.add_dependency(%q<eventmachine>, [">= 0.12.8"])
+ s.add_dependency(%q<daemons>, [">= 1.0.10"])
+ s.add_dependency(%q<rufus-scheduler>, [">= 2.0.1"])
+ s.add_dependency(%q<chronic>, [">= 0.2.0"])
+ s.add_dependency(%q<activesupport>, [">= 0"])
s.add_dependency(%q<eventmachine>, [">= 0.12.8"])
s.add_dependency(%q<daemons>, [">= 1.0.10"])
s.add_dependency(%q<rufus-scheduler>, [">= 2.0.1"])
s.add_dependency(%q<chronic>, [">= 0.2.0"])
end
end
+

0 comments on commit fb446c9

Please sign in to comment.