supervision 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +23 -0
- data/.rspec +2 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +22 -0
- data/Gemfile +15 -0
- data/LICENSE.txt +22 -0
- data/README.md +154 -0
- data/Rakefile +8 -0
- data/lib/supervision/atomic.rb +41 -0
- data/lib/supervision/circuit_breaker.rb +89 -0
- data/lib/supervision/circuit_control.rb +182 -0
- data/lib/supervision/circuit_monitor.rb +13 -0
- data/lib/supervision/circuit_system.rb +16 -0
- data/lib/supervision/configuration.rb +73 -0
- data/lib/supervision/factory.rb +7 -0
- data/lib/supervision/registry.rb +69 -0
- data/lib/supervision/time_dsl.rb +36 -0
- data/lib/supervision/version.rb +5 -0
- data/lib/supervision.rb +67 -0
- data/spec/spec_helper.rb +20 -0
- data/spec/unit/atomic_spec.rb +30 -0
- data/spec/unit/circuit_breaker_spec.rb +102 -0
- data/spec/unit/circuit_control_spec.rb +72 -0
- data/spec/unit/circuit_monitor_spec.rb +6 -0
- data/spec/unit/configuration_spec.rb +14 -0
- data/spec/unit/initialize_spec.rb +55 -0
- data/spec/unit/registry_spec.rb +30 -0
- data/spec/unit/time_dsl_spec.rb +31 -0
- data/supervision.gemspec +23 -0
- data/tasks/console.rake +10 -0
- data/tasks/coverage.rake +11 -0
- data/tasks/spec.rake +29 -0
- metadata +117 -0
metadata
ADDED
@@ -0,0 +1,117 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: supervision
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Piotr Murach
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-04-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: finite_machine
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.4'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.6'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.6'
|
41
|
+
description: Write distributed systems that are resilient and self-heal. Remote calls
|
42
|
+
can fail or hang indefinietly without a response. Supervision will help to isolate
|
43
|
+
failure and keep individual components from bringing down the whole system.
|
44
|
+
email:
|
45
|
+
- ''
|
46
|
+
executables: []
|
47
|
+
extensions: []
|
48
|
+
extra_rdoc_files: []
|
49
|
+
files:
|
50
|
+
- .gitignore
|
51
|
+
- .rspec
|
52
|
+
- .ruby-gemset
|
53
|
+
- .ruby-version
|
54
|
+
- .travis.yml
|
55
|
+
- Gemfile
|
56
|
+
- LICENSE.txt
|
57
|
+
- README.md
|
58
|
+
- Rakefile
|
59
|
+
- lib/supervision.rb
|
60
|
+
- lib/supervision/atomic.rb
|
61
|
+
- lib/supervision/circuit_breaker.rb
|
62
|
+
- lib/supervision/circuit_control.rb
|
63
|
+
- lib/supervision/circuit_monitor.rb
|
64
|
+
- lib/supervision/circuit_system.rb
|
65
|
+
- lib/supervision/configuration.rb
|
66
|
+
- lib/supervision/factory.rb
|
67
|
+
- lib/supervision/registry.rb
|
68
|
+
- lib/supervision/time_dsl.rb
|
69
|
+
- lib/supervision/version.rb
|
70
|
+
- spec/spec_helper.rb
|
71
|
+
- spec/unit/atomic_spec.rb
|
72
|
+
- spec/unit/circuit_breaker_spec.rb
|
73
|
+
- spec/unit/circuit_control_spec.rb
|
74
|
+
- spec/unit/circuit_monitor_spec.rb
|
75
|
+
- spec/unit/configuration_spec.rb
|
76
|
+
- spec/unit/initialize_spec.rb
|
77
|
+
- spec/unit/registry_spec.rb
|
78
|
+
- spec/unit/time_dsl_spec.rb
|
79
|
+
- supervision.gemspec
|
80
|
+
- tasks/console.rake
|
81
|
+
- tasks/coverage.rake
|
82
|
+
- tasks/spec.rake
|
83
|
+
homepage: ''
|
84
|
+
licenses:
|
85
|
+
- MIT
|
86
|
+
metadata: {}
|
87
|
+
post_install_message:
|
88
|
+
rdoc_options: []
|
89
|
+
require_paths:
|
90
|
+
- lib
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - '>='
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0'
|
101
|
+
requirements: []
|
102
|
+
rubyforge_project:
|
103
|
+
rubygems_version: 2.0.3
|
104
|
+
signing_key:
|
105
|
+
specification_version: 4
|
106
|
+
summary: Write distributed systems that are resilient and self-heal.
|
107
|
+
test_files:
|
108
|
+
- spec/spec_helper.rb
|
109
|
+
- spec/unit/atomic_spec.rb
|
110
|
+
- spec/unit/circuit_breaker_spec.rb
|
111
|
+
- spec/unit/circuit_control_spec.rb
|
112
|
+
- spec/unit/circuit_monitor_spec.rb
|
113
|
+
- spec/unit/configuration_spec.rb
|
114
|
+
- spec/unit/initialize_spec.rb
|
115
|
+
- spec/unit/registry_spec.rb
|
116
|
+
- spec/unit/time_dsl_spec.rb
|
117
|
+
has_rdoc:
|