svdir 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/CHANGELOG +29 -0
  2. data/LICENSE +19 -0
  3. data/README +67 -0
  4. data/Rakefile +66 -0
  5. data/example/svctl +117 -0
  6. data/lib/sys/sv/statusbytes.rb +53 -0
  7. data/lib/sys/sv/svdir.rb +224 -0
  8. data/lib/sys/sv/util.rb +36 -0
  9. data/test/fixtures/PrefabSvDir.rb +22 -0
  10. data/test/fixtures/TempSvDir.rb +62 -0
  11. data/test/services/corrupt-normd/down +0 -0
  12. data/test/services/corrupt-normd/supervise/ok +0 -0
  13. data/test/services/corrupt-normd/supervise/status +0 -0
  14. data/test/services/corrupt-normu/supervise/ok +0 -0
  15. data/test/services/corrupt-normu/supervise/status +0 -0
  16. data/test/services/corrupt-zero-normd/down +0 -0
  17. data/test/services/corrupt-zero-normd/supervise/ok +0 -0
  18. data/test/services/corrupt-zero-normd/supervise/status +0 -0
  19. data/test/services/corrupt-zero-normu/supervise/ok +0 -0
  20. data/test/services/corrupt-zero-normu/supervise/status +0 -0
  21. data/test/services/down-0-normd-nowant/down +0 -0
  22. data/test/services/down-0-normd-nowant/supervise/ok +0 -0
  23. data/test/services/down-0-normd-nowant/supervise/status +0 -0
  24. data/test/services/down-0-normu-nowant/supervise/ok +0 -0
  25. data/test/services/down-0-normu-nowant/supervise/status +0 -0
  26. data/test/services/up-12526-normu-wantd/supervise/ok +0 -0
  27. data/test/services/up-12526-normu-wantd/supervise/status +0 -0
  28. data/test/services/up-12581-normd-wantd-paused/down +0 -0
  29. data/test/services/up-12581-normd-wantd-paused/supervise/ok +0 -0
  30. data/test/services/up-12581-normd-wantd-paused/supervise/status +0 -0
  31. data/test/services/up-12581-normu-wantd-paused/supervise/ok +0 -0
  32. data/test/services/up-12581-normu-wantd-paused/supervise/status +0 -0
  33. data/test/services/up-12816-normd-nowant/down +0 -0
  34. data/test/services/up-12816-normd-nowant/supervise/ok +0 -0
  35. data/test/services/up-12816-normd-nowant/supervise/status +0 -0
  36. data/test/services/up-12816-normu-nowant/supervise/ok +0 -0
  37. data/test/services/up-12816-normu-nowant/supervise/status +0 -0
  38. data/test/services/up-12868-normd-wantu-paused/down +0 -0
  39. data/test/services/up-12868-normd-wantu-paused/supervise/ok +0 -0
  40. data/test/services/up-12868-normd-wantu-paused/supervise/status +0 -0
  41. data/test/services/up-12868-normd-wantu/down +0 -0
  42. data/test/services/up-12868-normd-wantu/supervise/ok +0 -0
  43. data/test/services/up-12868-normd-wantu/supervise/status +0 -0
  44. data/test/services/up-12868-normu-wantu-paused/supervise/ok +0 -0
  45. data/test/services/up-12868-normu-wantu-paused/supervise/status +0 -0
  46. data/test/services/up-12868-normu-wantu/supervise/ok +0 -0
  47. data/test/services/up-12868-normu-wantu/supervise/status +0 -0
  48. data/test/services/up-16464-normd-wantd/down +0 -0
  49. data/test/services/up-16464-normd-wantd/supervise/ok +0 -0
  50. data/test/services/up-16464-normd-wantd/supervise/status +0 -0
  51. data/test/testbase.rb +30 -0
  52. data/test/ts_corrupt.rb +133 -0
  53. data/test/ts_nosupervisor.rb +81 -0
  54. data/test/ts_signal.rb +128 -0
  55. data/test/ts_svstat.rb +548 -0
  56. metadata +117 -0
metadata ADDED
@@ -0,0 +1,117 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: svdir
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: "0.2"
6
+ platform: ruby
7
+ authors:
8
+ - Mike Pomraning
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-02-28 00:00:00 -06:00
14
+ default_executable:
15
+ dependencies: []
16
+
17
+ description: |
18
+ The svdir package controls service directories, a scheme for reliably
19
+ controlling daemon processes as implemented in Dan Bernstein's daemontools
20
+ software ("supervise") or Gerit Pape's runit software ("runsv").
21
+
22
+ email:
23
+ executables: []
24
+
25
+ extensions: []
26
+
27
+ extra_rdoc_files: []
28
+
29
+ files:
30
+ - Rakefile
31
+ - CHANGELOG
32
+ - LICENSE
33
+ - README
34
+ - lib/sys/sv/util.rb
35
+ - lib/sys/sv/statusbytes.rb
36
+ - lib/sys/sv/svdir.rb
37
+ - test/services/corrupt-zero-normu/supervise/ok
38
+ - test/services/corrupt-zero-normu/supervise/status
39
+ - test/services/up-12816-normd-nowant/down
40
+ - test/services/up-12816-normd-nowant/supervise/ok
41
+ - test/services/up-12816-normd-nowant/supervise/status
42
+ - test/services/up-16464-normd-wantd/down
43
+ - test/services/up-16464-normd-wantd/supervise/ok
44
+ - test/services/up-16464-normd-wantd/supervise/status
45
+ - test/services/up-12868-normd-wantu/down
46
+ - test/services/up-12868-normd-wantu/supervise/ok
47
+ - test/services/up-12868-normd-wantu/supervise/status
48
+ - test/services/down-0-normu-nowant/supervise/ok
49
+ - test/services/down-0-normu-nowant/supervise/status
50
+ - test/services/corrupt-normu/supervise/ok
51
+ - test/services/corrupt-normu/supervise/status
52
+ - test/services/corrupt-normd/down
53
+ - test/services/corrupt-normd/supervise/ok
54
+ - test/services/corrupt-normd/supervise/status
55
+ - test/services/up-12581-normd-wantd-paused/down
56
+ - test/services/up-12581-normd-wantd-paused/supervise/ok
57
+ - test/services/up-12581-normd-wantd-paused/supervise/status
58
+ - test/services/up-12868-normu-wantu-paused/supervise/ok
59
+ - test/services/up-12868-normu-wantu-paused/supervise/status
60
+ - test/services/up-12581-normu-wantd-paused/supervise/ok
61
+ - test/services/up-12581-normu-wantd-paused/supervise/status
62
+ - test/services/corrupt-zero-normd/down
63
+ - test/services/corrupt-zero-normd/supervise/ok
64
+ - test/services/corrupt-zero-normd/supervise/status
65
+ - test/services/up-12868-normu-wantu/supervise/ok
66
+ - test/services/up-12868-normu-wantu/supervise/status
67
+ - test/services/up-12816-normu-nowant/supervise/ok
68
+ - test/services/up-12816-normu-nowant/supervise/status
69
+ - test/services/down-0-normd-nowant/down
70
+ - test/services/down-0-normd-nowant/supervise/ok
71
+ - test/services/down-0-normd-nowant/supervise/status
72
+ - test/services/up-12526-normu-wantd/supervise/ok
73
+ - test/services/up-12526-normu-wantd/supervise/status
74
+ - test/services/up-12868-normd-wantu-paused/down
75
+ - test/services/up-12868-normd-wantu-paused/supervise/ok
76
+ - test/services/up-12868-normd-wantu-paused/supervise/status
77
+ - test/ts_corrupt.rb
78
+ - test/fixtures/TempSvDir.rb
79
+ - test/fixtures/PrefabSvDir.rb
80
+ - test/ts_signal.rb
81
+ - test/ts_svstat.rb
82
+ - test/testbase.rb
83
+ - test/ts_nosupervisor.rb
84
+ - example/svctl
85
+ has_rdoc: true
86
+ homepage:
87
+ licenses: []
88
+
89
+ post_install_message:
90
+ rdoc_options: []
91
+
92
+ require_paths:
93
+ - lib
94
+ required_ruby_version: !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ version: "0"
100
+ required_rubygems_version: !ruby/object:Gem::Requirement
101
+ none: false
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: "0"
106
+ requirements: []
107
+
108
+ rubyforge_project:
109
+ rubygems_version: 1.5.0
110
+ signing_key:
111
+ specification_version: 3
112
+ summary: An interface to service directories ala supervise/runsv
113
+ test_files:
114
+ - test/ts_corrupt.rb
115
+ - test/ts_signal.rb
116
+ - test/ts_svstat.rb
117
+ - test/ts_nosupervisor.rb