stoplight 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +73 -27
- data/lib/stoplight.rb +19 -8
- data/lib/stoplight/data_store/base.rb +22 -8
- data/lib/stoplight/data_store/memory.rb +54 -29
- data/lib/stoplight/data_store/redis.rb +46 -36
- data/lib/stoplight/error.rb +1 -3
- data/lib/stoplight/light.rb +14 -12
- data/lib/stoplight/mixin.rb +9 -0
- data/lib/stoplight/notifier.rb +6 -0
- data/lib/stoplight/notifier/base.rb +11 -0
- data/lib/stoplight/notifier/hip_chat.rb +27 -0
- data/lib/stoplight/notifier/standard_error.rb +11 -0
- data/spec/spec_helper.rb +4 -0
- data/spec/stoplight/data_store/base_spec.rb +2 -0
- data/spec/stoplight/data_store/memory_spec.rb +1 -181
- data/spec/stoplight/data_store/redis_spec.rb +3 -182
- data/spec/stoplight/light_spec.rb +23 -3
- data/spec/stoplight/mixin_spec.rb +35 -0
- data/spec/stoplight/notifier/base_spec.rb +21 -0
- data/spec/stoplight/notifier/hip_chat_spec.rb +21 -0
- data/spec/stoplight/notifier/standard_error_spec.rb +18 -0
- data/spec/stoplight/notifier_spec.rb +6 -0
- data/spec/stoplight_spec.rb +33 -3
- data/spec/support/data_store.rb +178 -0
- metadata +23 -6
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stoplight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Desautels
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-08-
|
12
|
+
date: 2014-08-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: coveralls
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.7.
|
20
|
+
version: 0.7.1
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.7.
|
27
|
+
version: 0.7.1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: fakeredis
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,14 +73,14 @@ dependencies:
|
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.
|
76
|
+
version: 0.25.0
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - ~>
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.
|
83
|
+
version: 0.25.0
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: yard
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -110,6 +110,11 @@ files:
|
|
110
110
|
- lib/stoplight/error.rb
|
111
111
|
- lib/stoplight/failure.rb
|
112
112
|
- lib/stoplight/light.rb
|
113
|
+
- lib/stoplight/mixin.rb
|
114
|
+
- lib/stoplight/notifier/base.rb
|
115
|
+
- lib/stoplight/notifier/hip_chat.rb
|
116
|
+
- lib/stoplight/notifier/standard_error.rb
|
117
|
+
- lib/stoplight/notifier.rb
|
113
118
|
- lib/stoplight.rb
|
114
119
|
- spec/spec_helper.rb
|
115
120
|
- spec/stoplight/data_store/base_spec.rb
|
@@ -117,7 +122,13 @@ files:
|
|
117
122
|
- spec/stoplight/data_store/redis_spec.rb
|
118
123
|
- spec/stoplight/failure_spec.rb
|
119
124
|
- spec/stoplight/light_spec.rb
|
125
|
+
- spec/stoplight/mixin_spec.rb
|
126
|
+
- spec/stoplight/notifier/base_spec.rb
|
127
|
+
- spec/stoplight/notifier/hip_chat_spec.rb
|
128
|
+
- spec/stoplight/notifier/standard_error_spec.rb
|
129
|
+
- spec/stoplight/notifier_spec.rb
|
120
130
|
- spec/stoplight_spec.rb
|
131
|
+
- spec/support/data_store.rb
|
121
132
|
- CHANGELOG.md
|
122
133
|
- LICENSE.md
|
123
134
|
- README.md
|
@@ -152,5 +163,11 @@ test_files:
|
|
152
163
|
- spec/stoplight/data_store/redis_spec.rb
|
153
164
|
- spec/stoplight/failure_spec.rb
|
154
165
|
- spec/stoplight/light_spec.rb
|
166
|
+
- spec/stoplight/mixin_spec.rb
|
167
|
+
- spec/stoplight/notifier/base_spec.rb
|
168
|
+
- spec/stoplight/notifier/hip_chat_spec.rb
|
169
|
+
- spec/stoplight/notifier/standard_error_spec.rb
|
170
|
+
- spec/stoplight/notifier_spec.rb
|
155
171
|
- spec/stoplight_spec.rb
|
172
|
+
- spec/support/data_store.rb
|
156
173
|
has_rdoc:
|