daemon-kit 0.1.8.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. data/History.txt +10 -3
  2. data/README.rdoc +1 -0
  3. data/daemon-kit.gemspec +6 -2
  4. data/lib/daemon_kit.rb +1 -0
  5. data/lib/daemon_kit/application.rb +3 -3
  6. data/lib/daemon_kit/arguments.rb +18 -8
  7. data/lib/daemon_kit/config.rb +2 -0
  8. data/lib/daemon_kit/dk_sqs.rb +35 -0
  9. data/lib/daemon_kit/generators.rb +1 -3
  10. data/lib/daemon_kit/initializer.rb +10 -3
  11. data/lib/daemon_kit/version.rb +1 -1
  12. data/lib/generators/daemon_kit/amqp/templates/libexec/%app_name%-daemon.rb +3 -5
  13. data/lib/generators/daemon_kit/app/app_generator.rb +3 -1
  14. data/lib/generators/daemon_kit/app/templates/Gemfile +2 -2
  15. data/lib/generators/daemon_kit/app/templates/README.tt +7 -0
  16. data/lib/generators/daemon_kit/app/templates/config/environment.rb.tt +1 -1
  17. data/lib/generators/daemon_kit/rspec/rspec_generator.rb +10 -0
  18. data/lib/generators/daemon_kit/rspec/templates/spec/spec_helper.rb +3 -4
  19. data/lib/generators/daemon_kit/rspec/templates/tasks/rspec.rake +9 -17
  20. data/lib/generators/daemon_kit/sqs/USAGE +5 -0
  21. data/lib/generators/daemon_kit/sqs/sqs_generator.rb +24 -0
  22. data/lib/generators/daemon_kit/sqs/templates/config/pre-daemonize/sqs.rb +6 -0
  23. data/lib/generators/daemon_kit/sqs/templates/config/sqs.yml +20 -0
  24. data/lib/generators/daemon_kit/sqs/templates/libexec/%app_name%-daemon.rb +39 -0
  25. data/spec/daemon_kit_spec.rb +3 -1
  26. data/spec/initializer_spec.rb +4 -0
  27. data/tasks/rspec.rake +5 -17
  28. data/test/test_sqs_generator.rb +48 -0
  29. metadata +148 -181
  30. data/PostInstall.txt +0 -6
  31. data/lib/daemon_kit/vendor/thor-0.13.6/CHANGELOG.rdoc +0 -89
  32. data/lib/daemon_kit/vendor/thor-0.13.6/LICENSE +0 -20
  33. data/lib/daemon_kit/vendor/thor-0.13.6/README.rdoc +0 -297
  34. data/lib/daemon_kit/vendor/thor-0.13.6/Thorfile +0 -69
  35. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor.rb +0 -244
  36. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions.rb +0 -296
  37. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/create_file.rb +0 -103
  38. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/directory.rb +0 -91
  39. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/empty_directory.rb +0 -134
  40. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/file_manipulation.rb +0 -223
  41. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/inject_into_file.rb +0 -104
  42. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/base.rb +0 -540
  43. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/file_binary_read.rb +0 -9
  44. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/hash_with_indifferent_access.rb +0 -75
  45. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/ordered_hash.rb +0 -100
  46. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/error.rb +0 -30
  47. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/group.rb +0 -271
  48. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/invocation.rb +0 -180
  49. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser.rb +0 -4
  50. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/argument.rb +0 -67
  51. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/arguments.rb +0 -150
  52. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/option.rb +0 -128
  53. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/options.rb +0 -169
  54. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/rake_compat.rb +0 -66
  55. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/runner.rb +0 -314
  56. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell.rb +0 -83
  57. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell/basic.rb +0 -239
  58. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell/color.rb +0 -108
  59. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/task.rb +0 -102
  60. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/util.rb +0 -224
  61. data/lib/daemon_kit/vendor/thor-0.13.6/lib/thor/version.rb +0 -3
@@ -0,0 +1,6 @@
1
+ begin
2
+ require 'aws-sdk'
3
+ rescue LoadError
4
+ $stderr.puts "Missing aws-sdk gem. Please run 'bundle install'."
5
+ exit 1
6
+ end
@@ -0,0 +1,20 @@
1
+ # SQS client configuration file
2
+
3
+ # Variables in this file are passed directly into AWS::SQS.new.
4
+ # Please refer to the aws-sdk configuration for the most up-to-date
5
+ # list of options. If your credentials are available as environment
6
+ # variables or you're on an EC2 instance configured with an IAM role,
7
+ # you can simply delete the access/secret keys.
8
+
9
+ defaults: &defaults
10
+ access_key_id: your-access-key
11
+ secret_access_key: your-secret-key
12
+
13
+ development:
14
+ <<: *defaults
15
+
16
+ test:
17
+ <<: *defaults
18
+
19
+ production:
20
+ <<: *defaults
@@ -0,0 +1,39 @@
1
+ # Generated sqs daemon
2
+
3
+ # Do your post daemonization configuration here
4
+ # At minimum you need just the first line (without the block), or a lot
5
+ # of strange things might start happening...
6
+ DaemonKit::Application.running! do |config|
7
+ # Trap signals with blocks or procs
8
+ # config.trap( 'INT' ) do
9
+ # # do something clever
10
+ # end
11
+ # config.trap( 'TERM', Proc.new { puts 'Going down' } )
12
+ end
13
+
14
+ # IMPORTANT CONFIGURATION NOTES
15
+ #
16
+ # The aws-sdk gem provides various mechanisms for configuring the
17
+ # client libraries. It is recommended that you look at the
18
+ # documentation for the most up-to-date or appropriate way of
19
+ # configuring it.
20
+ #
21
+ # At the time of writing, the (aws-sdk) gem will attempt to use
22
+ # environment variables or the EC2 metadata service to auto-configure
23
+ # itself. If this is not the case, you can pass configuration options
24
+ # into DaemonKit::SQS.run which will be passed on to the underlying
25
+ # AWS::SQS client. By default, we use the 'config/sqs.yml' file to do
26
+ # this configuration.
27
+
28
+ # Run an event-loop for processing
29
+ DaemonKit::SQS.run do |sqs|
30
+ # Inside this block you have access to an AWS::SQS
31
+
32
+ queue = sqs.queues[sqs.queues.url_for('test')]
33
+ queue.poll do |msg|
34
+ # msg may be nil if long-polling is disabled or the poll expires -
35
+ # in either case, this is an indication that the queue is (almost)
36
+ # empty
37
+ DaemonKit.logger.debug "Received message: #{msg.inspect}"
38
+ end
39
+ end
@@ -2,6 +2,8 @@ require File.dirname(__FILE__) + '/spec_helper.rb'
2
2
 
3
3
  describe DaemonKit do
4
4
 
5
- it "should work"
5
+ it "exists" do
6
+ # proves that the DaemonKit module exists
7
+ end
6
8
 
7
9
  end
@@ -18,6 +18,10 @@ describe DaemonKit::Configuration do
18
18
  @configuration.log_level.should_not be_nil
19
19
  end
20
20
 
21
+ it "should have a default pid file" do
22
+ @configuration.pid_file.should_not be_nil
23
+ end
24
+
21
25
  it "should set a default umask" do
22
26
  File.umask.should_not eq(0)
23
27
  File.umask.should eq(18)
data/tasks/rspec.rake CHANGED
@@ -1,19 +1,7 @@
1
- begin
2
- require 'rspec'
3
- rescue LoadError
4
- require 'rubygems'
5
- require 'rspec'
6
- end
7
- begin
8
- require 'rspec/core/rake_task'
1
+ require 'rspec'
2
+ require 'rspec/core/rake_task'
9
3
 
10
- desc "Run the specs under spec/models"
11
- RSpec::Core::RakeTask.new do |t|
12
- t.rspec_opts = ['--options', "spec/spec.opts"]
13
- end
14
- rescue LoadError
15
- puts <<-EOS
16
- To use rspec for testing you must install rspec gem:
17
- gem install rspec
18
- EOS
4
+ desc "Run the specs under spec/"
5
+ RSpec::Core::RakeTask.new do |t|
6
+ t.rspec_opts = ['--options', "spec/spec.opts"]
19
7
  end
@@ -0,0 +1,48 @@
1
+ require File.join(File.dirname(__FILE__), "test_generator_helper.rb")
2
+
3
+
4
+ class TestSqsGenerator < Test::Unit::TestCase
5
+ include RubiGen::GeneratorTestHelper
6
+
7
+ def setup
8
+ bare_setup
9
+ end
10
+
11
+ def teardown
12
+ bare_teardown
13
+ end
14
+
15
+ # Some generator-related assertions:
16
+ # assert_generated_file(name, &block) # block passed the file contents
17
+ # assert_directory_exists(name)
18
+ # assert_generated_class(name, &block)
19
+ # assert_generated_module(name, &block)
20
+ # assert_generated_test_for(name, &block)
21
+ # The assert_generated_(class|module|test_for) &block is passed the body of the class/module within the file
22
+ # assert_has_method(body, *methods) # check that the body has a list of methods (methods with parentheses not supported yet)
23
+ #
24
+ # Other helper methods are:
25
+ # app_root_files - put this in teardown to show files generated by the test method (e.g. p app_root_files)
26
+ # bare_setup - place this in setup method to create the APP_ROOT folder for each test
27
+ # bare_teardown - place this in teardown method to destroy the TMP_ROOT or APP_ROOT folder after each test
28
+
29
+ def test_generator_without_options
30
+ name = "myapp"
31
+ run_generator('sqs', [name], sources)
32
+ assert_directory_exists "config"
33
+ assert_directory_exists "config/initializers"
34
+ assert_generated_file "config/sqs.yml"
35
+ assert_generated_file "config/initializers/myapp.rb"
36
+ assert_generated_file "libexec/myapp-daemon.rb"
37
+ end
38
+
39
+ private
40
+ def sources
41
+ [RubiGen::PathSource.new(:test, File.join(File.dirname(__FILE__),"..", generator_path))
42
+ ]
43
+ end
44
+
45
+ def generator_path
46
+ "daemon_generators"
47
+ end
48
+ end
metadata CHANGED
@@ -1,175 +1,165 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: daemon-kit
3
- version: !ruby/object:Gem::Version
4
- hash: 99
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 8
10
- - 2
11
- version: 0.1.8.2
12
6
  platform: ruby
13
- authors:
7
+ authors:
14
8
  - Kenneth Kalmer
15
9
  autorequire:
16
10
  bindir: bin
17
11
  cert_chain: []
18
-
19
- date: 2011-10-30 00:00:00 Z
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- version_requirements: &id001 !ruby/object:Gem::Requirement
12
+ date: 2012-09-30 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: thor
16
+ requirement: &13502360 !ruby/object:Gem::Requirement
23
17
  none: false
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- hash: 3
28
- segments:
29
- - 0
30
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
31
23
  prerelease: false
32
- requirement: *id001
33
- type: :development
24
+ version_requirements: *13502360
25
+ - !ruby/object:Gem::Dependency
34
26
  name: bundler
35
- - !ruby/object:Gem::Dependency
36
- version_requirements: &id002 !ruby/object:Gem::Requirement
27
+ requirement: &13501700 !ruby/object:Gem::Requirement
37
28
  none: false
38
- requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- hash: 3
42
- segments:
43
- - 0
44
- version: "0"
45
- prerelease: false
46
- requirement: *id002
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
47
33
  type: :development
34
+ prerelease: false
35
+ version_requirements: *13501700
36
+ - !ruby/object:Gem::Dependency
48
37
  name: rake
49
- - !ruby/object:Gem::Dependency
50
- version_requirements: &id003 !ruby/object:Gem::Requirement
38
+ requirement: &13500780 !ruby/object:Gem::Requirement
51
39
  none: false
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- hash: 3
56
- segments:
57
- - 0
58
- version: "0"
59
- prerelease: false
60
- requirement: *id003
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
61
44
  type: :development
45
+ prerelease: false
46
+ version_requirements: *13500780
47
+ - !ruby/object:Gem::Dependency
62
48
  name: rdoc
63
- - !ruby/object:Gem::Dependency
64
- version_requirements: &id004 !ruby/object:Gem::Requirement
49
+ requirement: &13517260 !ruby/object:Gem::Requirement
65
50
  none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- hash: 15
70
- segments:
71
- - 2
72
- - 6
73
- version: "2.6"
74
- prerelease: false
75
- requirement: *id004
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
76
55
  type: :development
56
+ prerelease: false
57
+ version_requirements: *13517260
58
+ - !ruby/object:Gem::Dependency
77
59
  name: rspec
78
- - !ruby/object:Gem::Dependency
79
- version_requirements: &id005 !ruby/object:Gem::Requirement
60
+ requirement: &13516020 !ruby/object:Gem::Requirement
80
61
  none: false
81
- requirements:
62
+ requirements:
82
63
  - - ~>
83
- - !ruby/object:Gem::Version
84
- hash: 55
85
- segments:
86
- - 0
87
- - 10
88
- - 0
89
- version: 0.10.0
90
- prerelease: false
91
- requirement: *id005
64
+ - !ruby/object:Gem::Version
65
+ version: '2.6'
92
66
  type: :development
67
+ prerelease: false
68
+ version_requirements: *13516020
69
+ - !ruby/object:Gem::Dependency
93
70
  name: cucumber
94
- - !ruby/object:Gem::Dependency
95
- version_requirements: &id006 !ruby/object:Gem::Requirement
71
+ requirement: &13515380 !ruby/object:Gem::Requirement
96
72
  none: false
97
- requirements:
73
+ requirements:
98
74
  - - ~>
99
- - !ruby/object:Gem::Version
100
- hash: 35
101
- segments:
102
- - 0
103
- - 9
104
- - 12
105
- version: 0.9.12
106
- prerelease: false
107
- requirement: *id006
75
+ - !ruby/object:Gem::Version
76
+ version: 0.10.0
108
77
  type: :development
78
+ prerelease: false
79
+ version_requirements: *13515380
80
+ - !ruby/object:Gem::Dependency
109
81
  name: mocha
110
- - !ruby/object:Gem::Dependency
111
- version_requirements: &id007 !ruby/object:Gem::Requirement
82
+ requirement: &13514200 !ruby/object:Gem::Requirement
112
83
  none: false
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- hash: 3
117
- segments:
118
- - 0
119
- version: "0"
120
- prerelease: false
121
- requirement: *id007
84
+ requirements:
85
+ - - ~>
86
+ - !ruby/object:Gem::Version
87
+ version: 0.9.12
122
88
  type: :development
89
+ prerelease: false
90
+ version_requirements: *13514200
91
+ - !ruby/object:Gem::Dependency
123
92
  name: SyslogLogger
124
- - !ruby/object:Gem::Dependency
125
- version_requirements: &id008 !ruby/object:Gem::Requirement
93
+ requirement: &13513280 !ruby/object:Gem::Requirement
126
94
  none: false
127
- requirements:
128
- - - ">="
129
- - !ruby/object:Gem::Version
130
- hash: 59
131
- segments:
132
- - 0
133
- - 12
134
- - 10
135
- version: 0.12.10
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ type: :development
136
100
  prerelease: false
137
- requirement: *id008
138
- type: :runtime
101
+ version_requirements: *13513280
102
+ - !ruby/object:Gem::Dependency
139
103
  name: eventmachine
140
- - !ruby/object:Gem::Dependency
141
- version_requirements: &id009 !ruby/object:Gem::Requirement
104
+ requirement: &13511220 !ruby/object:Gem::Requirement
142
105
  none: false
143
- requirements:
144
- - - ">="
145
- - !ruby/object:Gem::Version
146
- hash: 17
147
- segments:
148
- - 0
149
- - 3
150
- - 1
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: 0.12.10
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: *13511220
113
+ - !ruby/object:Gem::Dependency
114
+ name: safely
115
+ requirement: &13510180 !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
151
120
  version: 0.3.1
121
+ type: :runtime
152
122
  prerelease: false
153
- requirement: *id009
123
+ version_requirements: *13510180
124
+ - !ruby/object:Gem::Dependency
125
+ name: rubigen
126
+ requirement: &13526360 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
154
132
  type: :runtime
155
- name: safely
156
- 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.
157
- email:
133
+ prerelease: false
134
+ version_requirements: *13526360
135
+ - !ruby/object:Gem::Dependency
136
+ name: i18n
137
+ requirement: &13525600 !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ type: :runtime
144
+ prerelease: false
145
+ version_requirements: *13525600
146
+ description: daemon-kit aims to simplify creating Ruby daemons by providing a sound
147
+ application skeleton (through a generator), task specific generators (jabber bot,
148
+ etc) and robust environment management code.
149
+ email:
158
150
  - kenneth.kalmer@gmail.com
159
- executables:
151
+ executables:
160
152
  - daemon-kit
161
153
  extensions: []
162
-
163
- extra_rdoc_files:
154
+ extra_rdoc_files:
164
155
  - Configuration.txt
165
156
  - Deployment.txt
166
157
  - History.txt
167
158
  - Logging.txt
168
- - PostInstall.txt
169
159
  - README.rdoc
170
160
  - RuoteParticipants.txt
171
161
  - TODO.txt
172
- files:
162
+ files:
173
163
  - .gitignore
174
164
  - Configuration.txt
175
165
  - Deployment.txt
@@ -177,7 +167,6 @@ files:
177
167
  - Gemfile.lock
178
168
  - History.txt
179
169
  - Logging.txt
180
- - PostInstall.txt
181
170
  - README.rdoc
182
171
  - Rakefile
183
172
  - RuoteParticipants.txt
@@ -202,6 +191,7 @@ files:
202
191
  - lib/daemon_kit/cucumber/world.rb
203
192
  - lib/daemon_kit/deployment/capistrano.rb
204
193
  - lib/daemon_kit/dk_amqp.rb
194
+ - lib/daemon_kit/dk_sqs.rb
205
195
  - lib/daemon_kit/em.rb
206
196
  - lib/daemon_kit/exceptions.rb
207
197
  - lib/daemon_kit/generators.rb
@@ -220,37 +210,6 @@ files:
220
210
  - lib/daemon_kit/tasks/god.rake
221
211
  - lib/daemon_kit/tasks/log.rake
222
212
  - lib/daemon_kit/tasks/monit.rake
223
- - lib/daemon_kit/vendor/thor-0.13.6/CHANGELOG.rdoc
224
- - lib/daemon_kit/vendor/thor-0.13.6/LICENSE
225
- - lib/daemon_kit/vendor/thor-0.13.6/README.rdoc
226
- - lib/daemon_kit/vendor/thor-0.13.6/Thorfile
227
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor.rb
228
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions.rb
229
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/create_file.rb
230
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/directory.rb
231
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/empty_directory.rb
232
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/file_manipulation.rb
233
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/actions/inject_into_file.rb
234
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/base.rb
235
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/file_binary_read.rb
236
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/hash_with_indifferent_access.rb
237
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/core_ext/ordered_hash.rb
238
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/error.rb
239
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/group.rb
240
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/invocation.rb
241
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser.rb
242
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/argument.rb
243
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/arguments.rb
244
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/option.rb
245
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/parser/options.rb
246
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/rake_compat.rb
247
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/runner.rb
248
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell.rb
249
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell/basic.rb
250
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/shell/color.rb
251
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/task.rb
252
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/util.rb
253
- - lib/daemon_kit/vendor/thor-0.13.6/lib/thor/version.rb
254
213
  - lib/daemon_kit/version.rb
255
214
  - lib/daemon_kit/xmpp.rb
256
215
  - lib/generators/daemon_kit/amqp/USAGE
@@ -317,6 +276,11 @@ files:
317
276
  - lib/generators/daemon_kit/ruote/templates/lib/%app_name%.rb
318
277
  - lib/generators/daemon_kit/ruote/templates/lib/sample.rb
319
278
  - lib/generators/daemon_kit/ruote/templates/libexec/%app_name%-daemon.rb
279
+ - lib/generators/daemon_kit/sqs/USAGE
280
+ - lib/generators/daemon_kit/sqs/sqs_generator.rb
281
+ - lib/generators/daemon_kit/sqs/templates/config/pre-daemonize/sqs.rb
282
+ - lib/generators/daemon_kit/sqs/templates/config/sqs.yml
283
+ - lib/generators/daemon_kit/sqs/templates/libexec/%app_name%-daemon.rb
320
284
  - lib/generators/daemon_kit/test_unit/USAGE
321
285
  - lib/generators/daemon_kit/test_unit/templates/tasks/test_unit.rake
322
286
  - lib/generators/daemon_kit/test_unit/templates/test/%app_name%_test.rb.tt
@@ -354,45 +318,48 @@ files:
354
318
  - test/test_helper.rb
355
319
  - test/test_nanite_agent_generator.rb
356
320
  - test/test_ruote_generator.rb
321
+ - test/test_sqs_generator.rb
357
322
  - test/test_test_unit_generator.rb
358
323
  homepage: http://github.com/kennethkalmer/daemon-kit
359
324
  licenses: []
325
+ post_install_message: ! '
360
326
 
361
- post_install_message: |+
362
-
363
327
  For more information on daemon-kit, see http://kit.rubyforge.org/daemon-kit
364
-
365
- To get started quickly run 'daemon-kit' without any arguments
366
-
367
-
368
- rdoc_options: []
369
328
 
370
- require_paths:
329
+
330
+ For usage options, run:
331
+
332
+
333
+ $ daemon-kit -h
334
+
335
+
336
+
337
+ '
338
+ rdoc_options: []
339
+ require_paths:
371
340
  - lib
372
- required_ruby_version: !ruby/object:Gem::Requirement
341
+ required_ruby_version: !ruby/object:Gem::Requirement
373
342
  none: false
374
- requirements:
375
- - - ">="
376
- - !ruby/object:Gem::Version
377
- hash: 3
378
- segments:
343
+ requirements:
344
+ - - ! '>='
345
+ - !ruby/object:Gem::Version
346
+ version: '0'
347
+ segments:
379
348
  - 0
380
- version: "0"
381
- required_rubygems_version: !ruby/object:Gem::Requirement
349
+ hash: 2360863619473747853
350
+ required_rubygems_version: !ruby/object:Gem::Requirement
382
351
  none: false
383
- requirements:
384
- - - ">="
385
- - !ruby/object:Gem::Version
386
- hash: 3
387
- segments:
352
+ requirements:
353
+ - - ! '>='
354
+ - !ruby/object:Gem::Version
355
+ version: '0'
356
+ segments:
388
357
  - 0
389
- version: "0"
358
+ hash: 2360863619473747853
390
359
  requirements: []
391
-
392
360
  rubyforge_project:
393
361
  rubygems_version: 1.8.11
394
362
  signing_key:
395
363
  specification_version: 3
396
364
  summary: Opinionated framework for Ruby daemons
397
365
  test_files: []
398
-