daemon-kit 0.1.8rc2 → 0.1.8rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. data/Rakefile +1 -0
  2. data/daemon-kit.gemspec +36 -36
  3. data/lib/daemon_kit.rb +1 -1
  4. data/lib/daemon_kit/amqp.rb +1 -0
  5. data/lib/daemon_kit/cron.rb +16 -0
  6. data/lib/daemon_kit/deployment/capistrano.rb +34 -0
  7. data/lib/daemon_kit/error_handlers/hoptoad.rb +8 -2
  8. data/lib/daemon_kit/generators.rb +1 -1
  9. data/lib/daemon_kit/generators/base.rb +1 -1
  10. data/lib/daemon_kit/ruote_participants.rb +7 -1
  11. data/lib/daemon_kit/ruote_workitem.rb +30 -20
  12. data/lib/daemon_kit/tasks/environment.rake +1 -0
  13. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/CHANGELOG.rdoc +9 -0
  14. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/LICENSE +0 -0
  15. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/README.rdoc +65 -2
  16. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/Thorfile +14 -9
  17. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor.rb +10 -8
  18. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/actions.rb +34 -12
  19. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/actions/create_file.rb +0 -0
  20. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/actions/directory.rb +0 -0
  21. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/actions/empty_directory.rb +0 -0
  22. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/actions/file_manipulation.rb +1 -1
  23. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/actions/inject_into_file.rb +9 -6
  24. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/base.rb +45 -20
  25. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/core_ext/file_binary_read.rb +0 -0
  26. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/core_ext/hash_with_indifferent_access.rb +0 -0
  27. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/core_ext/ordered_hash.rb +0 -0
  28. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/error.rb +3 -0
  29. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/group.rb +21 -21
  30. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/invocation.rb +19 -17
  31. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/parser.rb +0 -0
  32. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/parser/argument.rb +0 -0
  33. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/parser/arguments.rb +9 -4
  34. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/parser/option.rb +0 -4
  35. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/parser/options.rb +41 -14
  36. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/rake_compat.rb +0 -0
  37. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/runner.rb +20 -9
  38. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/shell.rb +8 -3
  39. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/shell/basic.rb +0 -0
  40. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/shell/color.rb +0 -0
  41. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/task.rb +24 -33
  42. data/lib/daemon_kit/vendor/{thor-0.12.3 → thor-0.13.6}/lib/thor/util.rb +9 -18
  43. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/version.rb +3 -0
  44. data/lib/generators/daemon_kit/amqp/amqp_generator.rb +1 -1
  45. data/lib/generators/daemon_kit/amqp/templates/config/pre-daemonize/amqp.rb +1 -1
  46. data/lib/generators/daemon_kit/app/app_generator.rb +1 -1
  47. data/lib/generators/daemon_kit/app/templates/README.tt +58 -0
  48. data/lib/generators/daemon_kit/capistrano/capistrano_generator.rb +5 -0
  49. data/lib/generators/daemon_kit/cron/cron_generator.rb +1 -1
  50. data/lib/generators/daemon_kit/cron/templates/config/pre-daemonize/cron.rb +1 -1
  51. data/lib/generators/daemon_kit/nanite_agent/nanite_agent_generator.rb +1 -1
  52. data/lib/generators/daemon_kit/nanite_agent/templates/config/pre-daemonize/nanite_agent.rb +1 -1
  53. data/lib/generators/daemon_kit/ruote/ruote_generator.rb +2 -2
  54. data/lib/generators/daemon_kit/ruote/templates/config/pre-daemonize/ruote.rb +2 -2
  55. data/lib/generators/daemon_kit/xmpp/templates/config/pre-daemonize/xmpp.rb +1 -1
  56. data/lib/generators/daemon_kit/xmpp/xmpp_generator.rb +1 -1
  57. data/tasks/rspec.rake +6 -7
  58. metadata +77 -49
  59. data/lib/daemon_kit/vendor/thor-0.12.3/lib/thor/version.rb +0 -3
  60. data/lib/generators/daemon_kit/app/templates/README +0 -48
@@ -1,6 +1,6 @@
1
1
  class Thor
2
2
  class Task < Struct.new(:name, :description, :usage, :options)
3
- FILE_REGEXP = /^#{Regexp.escape(File.expand_path(__FILE__))}:[\w:]+ `run'$/
3
+ FILE_REGEXP = /^#{Regexp.escape(File.dirname(__FILE__))}/
4
4
 
5
5
  # A dynamic task that handles method missing scenarios.
6
6
  class Dynamic < Task
@@ -9,10 +9,11 @@ class Thor
9
9
  end
10
10
 
11
11
  def run(instance, args=[])
12
- unless (instance.methods & [name.to_s, name.to_sym]).empty?
13
- raise Error, "could not find Thor class or task '#{name}'"
12
+ if (instance.methods & [name.to_s, name.to_sym]).empty?
13
+ super
14
+ else
15
+ instance.class.handle_no_task_error(name)
14
16
  end
15
- super
16
17
  end
17
18
  end
18
19
 
@@ -28,14 +29,14 @@ class Thor
28
29
  # By default, a task invokes a method in the thor class. You can change this
29
30
  # implementation to create custom tasks.
30
31
  def run(instance, args=[])
31
- raise UndefinedTaskError, "the '#{name}' task of #{instance.class} is private" unless public_method?(instance)
32
- instance.send(name, *args)
32
+ public_method?(instance) ?
33
+ instance.send(name, *args) : instance.class.handle_no_task_error(name)
33
34
  rescue ArgumentError => e
34
- raise e if instance.class.respond_to?(:debugging) && instance.class.debugging
35
- parse_argument_error(instance, e, caller)
35
+ handle_argument_error?(instance, e, caller) ?
36
+ instance.class.handle_argument_error(self, e) : (raise e)
36
37
  rescue NoMethodError => e
37
- raise e if instance.class.respond_to?(:debugging) && instance.class.debugging
38
- parse_no_method_error(instance, e)
38
+ handle_no_method_error?(instance, e, caller) ?
39
+ instance.class.handle_no_task_error(name) : (raise e)
39
40
  end
40
41
 
41
42
  # Returns the formatted usage by injecting given required arguments
@@ -68,6 +69,10 @@ class Thor
68
69
 
69
70
  protected
70
71
 
72
+ def not_debugging?(instance)
73
+ !(instance.class.respond_to?(:debugging) && instance.class.debugging)
74
+ end
75
+
71
76
  def required_options
72
77
  @required_options ||= options.map{ |_, o| o.usage if o.required? }.compact.sort.join(" ")
73
78
  end
@@ -78,33 +83,19 @@ class Thor
78
83
  (collection & [name.to_s, name.to_sym]).empty?
79
84
  end
80
85
 
81
- # For Ruby <= 1.8.7, we have to match the method name that we are trying to call.
82
- # In Ruby >= 1.9.1, we have to match the method run in this file.
83
- def backtrace_match?(backtrace) #:nodoc:
84
- method_name = /`#{Regexp.escape(name.split(':').last)}'/
85
- backtrace =~ method_name || backtrace =~ FILE_REGEXP
86
+ def sans_backtrace(backtrace, caller) #:nodoc:
87
+ saned = backtrace.reject { |frame| frame =~ FILE_REGEXP }
88
+ saned -= caller
86
89
  end
87
90
 
88
- def parse_argument_error(instance, e, caller) #:nodoc:
89
- if e.message =~ /wrong number of arguments/ && backtrace_match?(e.backtrace.first.to_s)
90
- if instance.is_a?(Thor::Group)
91
- raise e, "'#{name}' was called incorrectly. Are you sure it has arity equals to 0?"
92
- else
93
- raise InvocationError, "'#{name}' was called incorrectly. Call as " <<
94
- "'#{formatted_usage(instance.class)}'"
95
- end
96
- else
97
- raise e
98
- end
91
+ def handle_argument_error?(instance, error, caller)
92
+ not_debugging?(instance) && error.message =~ /wrong number of arguments/ &&
93
+ sans_backtrace(error.backtrace, caller).empty?
99
94
  end
100
95
 
101
- def parse_no_method_error(instance, e) #:nodoc:
102
- if e.message =~ /^undefined method `#{name}' for #{Regexp.escape(instance.to_s)}$/
103
- raise UndefinedTaskError, "The #{instance.class.namespace} namespace " <<
104
- "doesn't have a '#{name}' task"
105
- else
106
- raise e
107
- end
96
+ def handle_no_method_error?(instance, error, caller)
97
+ not_debugging?(instance) &&
98
+ error.message =~ /^undefined method `#{name}' for #{Regexp.escape(instance.to_s)}$/
108
99
  end
109
100
 
110
101
  end
@@ -23,10 +23,7 @@ class Thor
23
23
  #
24
24
  def self.find_by_namespace(namespace)
25
25
  namespace = "default#{namespace}" if namespace.empty? || namespace =~ /^:/
26
-
27
- Thor::Base.subclasses.find do |klass|
28
- klass.namespace == namespace
29
- end
26
+ Thor::Base.subclasses.find { |klass| klass.namespace == namespace }
30
27
  end
31
28
 
32
29
  # Receives a constant and converts it to a Thor namespace. Since Thor tasks
@@ -43,10 +40,9 @@ class Thor
43
40
  # ==== Returns
44
41
  # String:: If we receive Foo::Bar::Baz it returns "foo:bar:baz"
45
42
  #
46
- def self.namespace_from_thor_class(constant, remove_default=true)
43
+ def self.namespace_from_thor_class(constant)
47
44
  constant = constant.to_s.gsub(/^Thor::Sandbox::/, "")
48
45
  constant = snake_case(constant).squeeze(":")
49
- constant.gsub!(/^default/, '') if remove_default
50
46
  constant
51
47
  end
52
48
 
@@ -132,24 +128,19 @@ class Thor
132
128
  # ==== Parameters
133
129
  # namespace<String>
134
130
  #
135
- # ==== Errors
136
- # Thor::Error:: raised if the namespace cannot be found.
137
- #
138
- # Thor::Error:: raised if the namespace evals to a class which does not
139
- # inherit from Thor or Thor::Group.
140
- #
141
- def self.namespace_to_thor_class_and_task(namespace, raise_if_nil=true)
142
- if namespace.include?(?:)
131
+ def self.find_class_and_task_by_namespace(namespace, fallback = true)
132
+ if namespace.include?(?:) # look for a namespaced task
143
133
  pieces = namespace.split(":")
144
134
  task = pieces.pop
145
135
  klass = Thor::Util.find_by_namespace(pieces.join(":"))
146
136
  end
147
-
148
- unless klass
137
+ unless klass # look for a Thor::Group with the right name
149
138
  klass, task = Thor::Util.find_by_namespace(namespace), nil
150
139
  end
151
-
152
- raise Error, "could not find Thor class or task '#{namespace}'" if raise_if_nil && klass.nil?
140
+ if !klass && fallback # try a task in the default namespace
141
+ task = namespace
142
+ klass = Thor::Util.find_by_namespace('')
143
+ end
153
144
  return klass, task
154
145
  end
155
146
 
@@ -0,0 +1,3 @@
1
+ class Thor
2
+ VERSION = "0.13.6".freeze
3
+ end
@@ -3,7 +3,7 @@ module DaemonKit
3
3
  class AmqpGenerator < Base
4
4
 
5
5
  def update_gemfile
6
- append_file 'Gemfile', %q(gem 'amqp')
6
+ append_file 'Gemfile', "gem 'amqp'\n"
7
7
  end
8
8
 
9
9
  def create_config_files
@@ -2,6 +2,6 @@ begin
2
2
  require 'amqp'
3
3
  require 'mq'
4
4
  rescue LoadError
5
- $stderr.puts "Missing amqp gem. Please run 'gem install amqp'."
5
+ $stderr.puts "Missing amqp gem. Please run 'bundle install'."
6
6
  exit 1
7
7
  end
@@ -43,7 +43,7 @@ module DaemonKit
43
43
  end
44
44
 
45
45
  def create_root_files
46
- copy_file 'README'
46
+ template 'README.tt', 'README'
47
47
  copy_file 'Rakefile'
48
48
  copy_file 'Gemfile'
49
49
  end
@@ -0,0 +1,58 @@
1
+ daemon-kit README
2
+ ================
3
+
4
+ daemon-kit has generated a skeleton Ruby daemon for you to build on. Please read
5
+ through this file to ensure you get going quickly.
6
+
7
+ Directories
8
+ ===========
9
+
10
+ bin/
11
+ <%= app_name %> - Stub executable to control your daemon with
12
+
13
+ config/
14
+ Environment configuration files
15
+
16
+ lib/
17
+ Place for your libraries
18
+
19
+ libexec/
20
+ <%= app_name %>.rb - Your daemon code
21
+
22
+ log/
23
+ Log files based on the environment name
24
+
25
+ spec/
26
+ rspec's home
27
+
28
+ tasks/
29
+ Place for rake tasks
30
+
31
+ vendor/
32
+ Place for unpacked gems and DaemonKit
33
+
34
+ tmp/
35
+ Scratch folder
36
+
37
+
38
+ Logging
39
+ =======
40
+
41
+ One of the biggest issues with writing daemons are getting insight into what your
42
+ daemons are doing. Logging with daemon-kit is simplified as DaemonKit creates log
43
+ files per environment in log.
44
+
45
+ On all environments except production the log level is set to DEBUG, but you can
46
+ toggle the log level by sending the running daemon SIGUSR1 and SIGUSR2 signals.
47
+ SIGUSR1 will toggle between DEBUG and INFO levels, SIGUSR2 will blatantly set the
48
+ level to DEBUG.
49
+
50
+ Bundler
51
+ =======
52
+
53
+ daemon-kit uses bundler to ease the nightmare of dependency loading in Ruby
54
+ projects. daemon-kit and its generators all create/update the Gemfile in the
55
+ root of the daemon. You can satisfy the project's dependencies by running
56
+ `bundle install` from within the project root.
57
+
58
+ For more information on bundler, please see http://github.com/carlhuda/bundler
@@ -2,6 +2,11 @@ module DaemonKit
2
2
  module Generators
3
3
  class CapistranoGenerator < Base
4
4
 
5
+ def update_gemfile
6
+ append_file 'Gemfile', "gem 'capistrano'\n"
7
+ append_file 'Gemfile', "gem 'capistrano-ext'\n"
8
+ end
9
+
5
10
  def create_capfile
6
11
  copy_file 'Capfile'
7
12
  end
@@ -3,7 +3,7 @@ module DaemonKit
3
3
  class CronGenerator < Base
4
4
 
5
5
  def update_gemfile
6
- append_file 'Gemfile', "gem 'rufus-scheduler', '>= 2.0.3'"
6
+ append_file 'Gemfile', "gem 'rufus-scheduler', '>= 2.0.3'\n"
7
7
  end
8
8
 
9
9
  def create_initializers
@@ -1,7 +1,7 @@
1
1
  begin
2
2
  require 'rufus/scheduler'
3
3
  rescue LoadError => e
4
- $stderr.puts "Missing rufus-scheduler gem. Please run 'gem install rufus-scheduler'."
4
+ $stderr.puts "Missing rufus-scheduler gem. Please run 'bundle install'."
5
5
  exit 1
6
6
  end
7
7
 
@@ -3,7 +3,7 @@ module DaemonKit
3
3
  class NaniteAgentGenerator < Base
4
4
 
5
5
  def update_gemfile
6
- append_file 'Gemfile', "gem 'nanite'"
6
+ append_file 'Gemfile', "gem 'nanite'\n"
7
7
  end
8
8
 
9
9
  def create_config
@@ -1,6 +1,6 @@
1
1
  begin
2
2
  require 'nanite'
3
3
  rescue LoadError
4
- $stderr.puts "Missing nanite gem. Please run 'gem install nanite'."
4
+ $stderr.puts "Missing nanite gem. Please run 'bundle install'."
5
5
  exit 1
6
6
  end
@@ -3,8 +3,8 @@ module DaemonKit
3
3
  class RuoteGenerator < Base
4
4
 
5
5
  def update_gemfile
6
- append_file 'Gemfile', "gem 'amqp'"
7
- append_file 'Gemfile', "gem 'json' # Can be replaced with json_pure"
6
+ append_file 'Gemfile', "gem 'amqp' # Only needed if running the AMQP participant/listener pair\n"
7
+ append_file 'Gemfile', "gem 'json' # Can be replaced with json_pure\n"
8
8
  end
9
9
 
10
10
  def create_configs
@@ -1,7 +1,7 @@
1
1
  begin
2
2
  require 'json'
3
3
  rescue LoadError
4
- $stderr.puts "Missing json gem. Please run 'gem install json'"
4
+ $stderr.puts "Missing json gem. Please run 'bundle install'"
5
5
  exit 1
6
6
  end
7
7
 
@@ -9,5 +9,5 @@ begin
9
9
  require 'amqp'
10
10
  require 'mq'
11
11
  rescue LoadError
12
- $stderr.puts "Missing amqp gem. Please run 'gem install amqp' if you wish to use the AMQP participant/listener pair in ruote"
12
+ $stderr.puts "Missing amqp gem. Please uncomment the amqp section in the Gemfile and run 'bundle install' if you wish to use the AMQP participant/listener pair in ruote"
13
13
  end
@@ -1,6 +1,6 @@
1
1
  begin
2
2
  require 'blather'
3
3
  rescue LoadError
4
- $stderr.puts "Missing blather gem. Please run 'gem install blather'."
4
+ $stderr.puts "Missing blather gem. Please run 'bundle install'."
5
5
  exit 1
6
6
  end
@@ -3,7 +3,7 @@ module DaemonKit
3
3
  class XmppGenerator < Base
4
4
 
5
5
  def update_gemfile
6
- append_file 'Gemfile', "gem 'blather'"
6
+ append_file 'Gemfile', "gem 'blather'\n"
7
7
  end
8
8
 
9
9
  def create_config
@@ -6,16 +6,15 @@ rescue LoadError
6
6
  end
7
7
  begin
8
8
  require 'spec/rake/spectask'
9
+
10
+ desc "Run the specs under spec/models"
11
+ Spec::Rake::SpecTask.new do |t|
12
+ t.spec_opts = ['--options', "spec/spec.opts"]
13
+ t.spec_files = FileList['spec/**/*_spec.rb']
14
+ end
9
15
  rescue LoadError
10
16
  puts <<-EOS
11
17
  To use rspec for testing you must install rspec gem:
12
18
  gem install rspec
13
19
  EOS
14
- exit(0)
15
- end
16
-
17
- desc "Run the specs under spec/models"
18
- Spec::Rake::SpecTask.new do |t|
19
- t.spec_opts = ['--options', "spec/spec.opts"]
20
- t.spec_files = FileList['spec/**/*_spec.rb']
21
20
  end
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daemon-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8rc2
4
+ hash: 1679823647
5
+ prerelease: true
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 8rc3
10
+ version: 0.1.8rc3
5
11
  platform: ruby
6
12
  authors:
7
13
  - kenneth.kalmer@gmail.com
@@ -9,39 +15,53 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2010-04-14 00:00:00 +02:00
18
+ date: 2010-08-02 00:00:00 +02:00
13
19
  default_executable: daemon-kit
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: eventmachine
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 59
30
+ segments:
31
+ - 0
32
+ - 12
33
+ - 10
23
34
  version: 0.12.10
24
- version:
35
+ type: :runtime
36
+ version_requirements: *id001
25
37
  - !ruby/object:Gem::Dependency
26
38
  name: rspec
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
30
42
  requirements:
31
43
  - - ">="
32
44
  - !ruby/object:Gem::Version
45
+ hash: 3
46
+ segments:
47
+ - 0
33
48
  version: "0"
34
- version:
49
+ type: :development
50
+ version_requirements: *id002
35
51
  - !ruby/object:Gem::Dependency
36
52
  name: cucumber
37
- type: :development
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
40
56
  requirements:
41
57
  - - ">="
42
58
  - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
43
62
  version: "0"
44
- version:
63
+ type: :development
64
+ version_requirements: *id003
45
65
  description: daemon-kit aims to simplify creating Ruby daemons by providing a sound application skeleton (through a generator), task specific generators (jabber bot, etc) and robust environment management code.
46
66
  email: kenneth.kalmer@gmail.com
47
67
  executables:
@@ -108,37 +128,37 @@ files:
108
128
  - lib/daemon_kit/tasks/god.rake
109
129
  - lib/daemon_kit/tasks/log.rake
110
130
  - lib/daemon_kit/tasks/monit.rake
111
- - lib/daemon_kit/vendor/thor-0.12.3/CHANGELOG.rdoc
112
- - lib/daemon_kit/vendor/thor-0.12.3/LICENSE
113
- - lib/daemon_kit/vendor/thor-0.12.3/README.rdoc
114
- - lib/daemon_kit/vendor/thor-0.12.3/Thorfile
115
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor.rb
116
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/actions.rb
117
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/actions/create_file.rb
118
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/actions/directory.rb
119
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/actions/empty_directory.rb
120
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/actions/file_manipulation.rb
121
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/actions/inject_into_file.rb
122
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/base.rb
123
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/core_ext/file_binary_read.rb
124
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/core_ext/hash_with_indifferent_access.rb
125
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/core_ext/ordered_hash.rb
126
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/error.rb
127
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/group.rb
128
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/invocation.rb
129
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/parser.rb
130
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/parser/argument.rb
131
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/parser/arguments.rb
132
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/parser/option.rb
133
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/parser/options.rb
134
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/rake_compat.rb
135
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/runner.rb
136
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/shell.rb
137
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/shell/basic.rb
138
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/shell/color.rb
139
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/task.rb
140
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/util.rb
141
- - lib/daemon_kit/vendor/thor-0.12.3/lib/thor/version.rb
131
+ - lib/daemon_kit/vendor/thor-0.13.6/CHANGELOG.rdoc
132
+ - lib/daemon_kit/vendor/thor-0.13.6/LICENSE
133
+ - lib/daemon_kit/vendor/thor-0.13.6/README.rdoc
134
+ - lib/daemon_kit/vendor/thor-0.13.6/Thorfile
135
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor.rb
136
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions.rb
137
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/create_file.rb
138
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/directory.rb
139
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/empty_directory.rb
140
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/file_manipulation.rb
141
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/inject_into_file.rb
142
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/base.rb
143
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/file_binary_read.rb
144
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/hash_with_indifferent_access.rb
145
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/ordered_hash.rb
146
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/error.rb
147
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/group.rb
148
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/invocation.rb
149
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser.rb
150
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/argument.rb
151
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/arguments.rb
152
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/option.rb
153
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/options.rb
154
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/rake_compat.rb
155
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/runner.rb
156
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell.rb
157
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell/basic.rb
158
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell/color.rb
159
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/task.rb
160
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/util.rb
161
+ - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/version.rb
142
162
  - lib/daemon_kit/xmpp.rb
143
163
  - lib/generators/daemon_kit/amqp/USAGE
144
164
  - lib/generators/daemon_kit/amqp/amqp_generator.rb
@@ -148,7 +168,7 @@ files:
148
168
  - lib/generators/daemon_kit/app/USAGE
149
169
  - lib/generators/daemon_kit/app/app_generator.rb
150
170
  - lib/generators/daemon_kit/app/templates/Gemfile
151
- - lib/generators/daemon_kit/app/templates/README
171
+ - lib/generators/daemon_kit/app/templates/README.tt
152
172
  - lib/generators/daemon_kit/app/templates/Rakefile
153
173
  - lib/generators/daemon_kit/app/templates/bin/daemon.tt
154
174
  - lib/generators/daemon_kit/app/templates/config/arguments.rb
@@ -258,21 +278,29 @@ rdoc_options:
258
278
  require_paths:
259
279
  - lib
260
280
  required_ruby_version: !ruby/object:Gem::Requirement
281
+ none: false
261
282
  requirements:
262
283
  - - ">="
263
284
  - !ruby/object:Gem::Version
285
+ hash: 3
286
+ segments:
287
+ - 0
264
288
  version: "0"
265
- version:
266
289
  required_rubygems_version: !ruby/object:Gem::Requirement
290
+ none: false
267
291
  requirements:
268
292
  - - ">"
269
293
  - !ruby/object:Gem::Version
294
+ hash: 25
295
+ segments:
296
+ - 1
297
+ - 3
298
+ - 1
270
299
  version: 1.3.1
271
- version:
272
300
  requirements: []
273
301
 
274
302
  rubyforge_project:
275
- rubygems_version: 1.3.5
303
+ rubygems_version: 1.3.7
276
304
  signing_key:
277
305
  specification_version: 3
278
306
  summary: Opinionated framework for Ruby daemons