daemons-rails 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/README.markdown +8 -1
- data/daemons-rails.gemspec +3 -2
- data/lib/daemons/rails/version.rb +1 -1
- data/lib/tasks/daemons.rake +1 -1
- metadata +30 -46
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZTVjYzA3MjFjNzJmNTcxOTViMjUzNTBiNDcwM2I5ZjcwNmUwNWZkOQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
N2JiMjYzNTYyOTVkYTUzMTIxM2M3NjM0NzE0YWFiMzJkNTBlZjQ3ZQ==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZDNjOTg3MmRlZGZjMWU5NzM3MjQxZTVlZWVhYmZjYmVlOTg2YjkxODQzYmEy
|
10
|
+
OTUwYTY4MzY2NzRjZDNmNzcwN2EwN2U1NDllNzM0OWZkMzBhZmZlMWRkMzgz
|
11
|
+
YzY3NzBlYmY3MDQxOTNlZDAyYTY5NjBkNTBiOGZkZDllOThiN2M=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
Y2MwZTU0YTJkNTE2MDVmZTczZDBhYzZmNTBiYmI3ZTcwMTBjZDFkYTAzNDBj
|
14
|
+
NGQ3ZDZmODdmYzk5ZTQ4NjZlMzhjMWJkODQwNTk0OTYyZWM3ZDA1MmZiMTNl
|
15
|
+
MmMxYjc3Njg0MzA1YWIzYTA2YjlmNDE2OTMyNzRhNDQxZDAyMTY=
|
data/README.markdown
CHANGED
@@ -19,13 +19,14 @@ Then insert your code in the lib/daemons/\<name\>.rb stub. All pids and logs wil
|
|
19
19
|
Individual control script:
|
20
20
|
|
21
21
|
./lib/daemons/<name>_ctl [start|stop|restart|status]
|
22
|
-
rake daemon:<name>[:(start|stop|status)]
|
22
|
+
rake daemon:<name>[:(start|stop|restart|status)]
|
23
23
|
|
24
24
|
Examples:
|
25
25
|
|
26
26
|
rake daemon:test - runs lib/daemons/test.rb not daemonized
|
27
27
|
rake daemon:test:start - start daemon using lib/daemons/test_ctl start
|
28
28
|
rake daemon:test:stop - stop daemon using lib/daemons/test_ctl stop
|
29
|
+
rake daemon:test:restart - restart daemon using lib/daemons/test_ctl restart
|
29
30
|
rake daemon:test:status - show running status for daemon using lib/daemons/test_ctl status
|
30
31
|
|
31
32
|
App-wide control script:
|
@@ -79,9 +80,15 @@ and same set of methods. Effectively, *Daemons::Rails::Monitoring* just delegate
|
|
79
80
|
|
80
81
|
## CHANGES ##
|
81
82
|
|
83
|
+
* 1.2.1 - add `rake daemon:<name>:restart` command
|
82
84
|
* 1.2.0 - development dependency on Rails bumped to support Rails 4 (dmilisic). Removed direct dependency on Daemons gem from generated files (in preparation for more daemonization providers)
|
83
85
|
* 1.1.2 - fix script template to load environment within Rails.root directory. It takes no effect on already generated scripts.
|
84
86
|
* 1.1.1 - fix dependencies, clean-up specs
|
85
87
|
* 1.1.0 - supported custom directory for daemons, support multiple daemons directories
|
86
88
|
* 1.0.0 - changed api for Daemons::Rails::Monitoring, fixed path in template for script, improved documentation, added RSpec
|
87
89
|
* 0.0.3 - added rake for running script without daemonization (rake daemon:\<name\>)
|
90
|
+
|
91
|
+
## License
|
92
|
+
|
93
|
+
You are free to choose kind of license to use:
|
94
|
+
[MIT License](http://www.opensource.org/licenses/MIT) or [GPL-2 License](http://www.gnu.org/licenses/gpl-2.0.html)
|
data/daemons-rails.gemspec
CHANGED
@@ -4,9 +4,10 @@ require File.expand_path('../lib/daemons/rails/version', __FILE__)
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ["mirasrael"]
|
6
6
|
gem.email = []
|
7
|
-
gem.description = %q{
|
8
|
-
gem.summary = %q{
|
7
|
+
gem.description = %q{daemonization support for Rails 3+}
|
8
|
+
gem.summary = %q{daemonization support for Rails 3+}
|
9
9
|
gem.homepage = ""
|
10
|
+
gem.licenses = %w(MIT GPL-2)
|
10
11
|
|
11
12
|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
12
13
|
gem.files = `git ls-files`.split("\n")
|
data/lib/tasks/daemons.rake
CHANGED
metadata
CHANGED
@@ -1,97 +1,86 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daemons-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- mirasrael
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-08-23 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ! '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
none: false
|
21
14
|
version_requirements: !ruby/object:Gem::Requirement
|
22
15
|
requirements:
|
23
16
|
- - ! '>='
|
24
17
|
- !ruby/object:Gem::Version
|
25
18
|
version: '0'
|
26
|
-
|
19
|
+
type: :runtime
|
27
20
|
prerelease: false
|
28
21
|
name: daemons
|
29
|
-
type: :runtime
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
22
|
requirement: !ruby/object:Gem::Requirement
|
32
23
|
requirements:
|
33
|
-
- -
|
24
|
+
- - ! '>='
|
34
25
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
36
|
-
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
37
28
|
version_requirements: !ruby/object:Gem::Requirement
|
38
29
|
requirements:
|
39
30
|
- - ~>
|
40
31
|
- !ruby/object:Gem::Version
|
41
32
|
version: '1.0'
|
42
|
-
|
33
|
+
type: :runtime
|
43
34
|
prerelease: false
|
44
35
|
name: multi_json
|
45
|
-
type: :runtime
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
36
|
requirement: !ruby/object:Gem::Requirement
|
48
37
|
requirements:
|
49
|
-
- -
|
38
|
+
- - ~>
|
50
39
|
- !ruby/object:Gem::Version
|
51
|
-
version:
|
52
|
-
|
40
|
+
version: '1.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
53
42
|
version_requirements: !ruby/object:Gem::Requirement
|
54
43
|
requirements:
|
55
44
|
- - ! '>='
|
56
45
|
- !ruby/object:Gem::Version
|
57
46
|
version: 3.0.0
|
58
|
-
|
47
|
+
type: :development
|
59
48
|
prerelease: false
|
60
49
|
name: rails
|
61
|
-
type: :development
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
50
|
requirement: !ruby/object:Gem::Requirement
|
64
51
|
requirements:
|
65
52
|
- - ! '>='
|
66
53
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
68
|
-
|
54
|
+
version: 3.0.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
69
56
|
version_requirements: !ruby/object:Gem::Requirement
|
70
57
|
requirements:
|
71
58
|
- - ! '>='
|
72
59
|
- !ruby/object:Gem::Version
|
73
60
|
version: '0'
|
74
|
-
|
61
|
+
type: :development
|
75
62
|
prerelease: false
|
76
63
|
name: rake
|
77
|
-
type: :development
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
64
|
requirement: !ruby/object:Gem::Requirement
|
80
65
|
requirements:
|
81
66
|
- - ! '>='
|
82
67
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
84
|
-
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
85
70
|
version_requirements: !ruby/object:Gem::Requirement
|
86
71
|
requirements:
|
87
72
|
- - ! '>='
|
88
73
|
- !ruby/object:Gem::Version
|
89
74
|
version: '2.12'
|
90
|
-
|
75
|
+
type: :development
|
91
76
|
prerelease: false
|
92
77
|
name: rspec
|
93
|
-
|
94
|
-
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.12'
|
83
|
+
description: daemonization support for Rails 3+
|
95
84
|
email: []
|
96
85
|
executables: []
|
97
86
|
extensions: []
|
@@ -129,7 +118,10 @@ files:
|
|
129
118
|
- spec/lib/daemons/rails/monitoring_spec.rb
|
130
119
|
- spec/spec_helper.rb
|
131
120
|
homepage: ''
|
132
|
-
licenses:
|
121
|
+
licenses:
|
122
|
+
- MIT
|
123
|
+
- GPL-2
|
124
|
+
metadata: {}
|
133
125
|
post_install_message:
|
134
126
|
rdoc_options: []
|
135
127
|
require_paths:
|
@@ -138,24 +130,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
138
130
|
requirements:
|
139
131
|
- - ! '>='
|
140
132
|
- !ruby/object:Gem::Version
|
141
|
-
hash: 3041252732915999327
|
142
133
|
version: '0'
|
143
|
-
segments:
|
144
|
-
- 0
|
145
|
-
none: false
|
146
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
135
|
requirements:
|
148
136
|
- - ! '>='
|
149
137
|
- !ruby/object:Gem::Version
|
150
|
-
hash: 3041252732915999327
|
151
138
|
version: '0'
|
152
|
-
segments:
|
153
|
-
- 0
|
154
|
-
none: false
|
155
139
|
requirements: []
|
156
140
|
rubyforge_project:
|
157
|
-
rubygems_version:
|
141
|
+
rubygems_version: 2.0.7
|
158
142
|
signing_key:
|
159
|
-
specification_version:
|
160
|
-
summary:
|
143
|
+
specification_version: 4
|
144
|
+
summary: daemonization support for Rails 3+
|
161
145
|
test_files: []
|