whats_up_doc 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/README.md +1 -1
- data/lib/whats_up_doc/middleware.rb +2 -1
- data/lib/whats_up_doc/version.rb +1 -1
- data/spec/whats_up_doc_spec.rb +3 -2
- metadata +5 -21
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MjY4OTc2ZDZkMzA4YWE3MGI0ZWJhYWE3YzY1MjQyODU1YjcyOGIxMg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZjNiMTdkYTdkOGQ3NWRlYWZiYWI4NjhkOGY5YTgwODg1NGUwNTE5Nw==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NjkzMmI4ZWY2NjliN2JkMTI1OTBlY2NmNjExODlkMmIxZWI0MjA3MWI3NTQx
|
10
|
+
YThhN2ZjM2EwMmFiODQ1YTM1ZjEyMTU5Y2ZmMjM0NDAwODYyMmZlNmQzZDgx
|
11
|
+
YTBkYmM5NjMwMDdkZWMwYWIzZWU0NTE1OGZlNjk2OTZmNjlhY2U=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ZTIyZTU2MmE1NjUyY2NkNWJiM2M4NTM0NjNlNjczOWJhNGQ4NzdmYjRmNTBi
|
14
|
+
MmY5NjVkNjc1ZTEzMjg3NzI2YTVkMDlhMDUwNGU4ZmRiNDRmNzdhNDM5YmE5
|
15
|
+
MzlhY2MzMTg3OTQ4YWJiNzdlYzdiMDYwYjQ4ODQ2NDIyODEwZTA=
|
data/README.md
CHANGED
data/lib/whats_up_doc/version.rb
CHANGED
data/spec/whats_up_doc_spec.rb
CHANGED
@@ -5,7 +5,6 @@ describe WhatsUpDoc::Middleware do
|
|
5
5
|
WhatsUpDoc::VERSION.should_not be_nil
|
6
6
|
end
|
7
7
|
|
8
|
-
|
9
8
|
let(:app){->(env) { [200, env, "app"]}}
|
10
9
|
let(:middleware){WhatsUpDoc::Middleware.new(app, path: '/up')}
|
11
10
|
|
@@ -13,9 +12,11 @@ describe WhatsUpDoc::Middleware do
|
|
13
12
|
let(:env){Rack::MockRequest.env_for('https://www.example.com/up', {})}
|
14
13
|
|
15
14
|
it 'responds to up with 200' do
|
16
|
-
code,
|
15
|
+
code, headers, body = middleware.call(env)
|
17
16
|
|
18
17
|
expect(code).to eq(200)
|
18
|
+
expect(headers).to eq('Content-Type' => 'text/plain')
|
19
|
+
expect(body).to eq([''])
|
19
20
|
end
|
20
21
|
end
|
21
22
|
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whats_up_doc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Allen Madsen
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-04-20 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rack
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: bundler
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rake
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rspec
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ! '>='
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ! '>='
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -98,33 +89,26 @@ files:
|
|
98
89
|
homepage: https://github.com/secondrotation/whats_up_doc
|
99
90
|
licenses:
|
100
91
|
- MIT
|
92
|
+
metadata: {}
|
101
93
|
post_install_message:
|
102
94
|
rdoc_options: []
|
103
95
|
require_paths:
|
104
96
|
- lib
|
105
97
|
required_ruby_version: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
98
|
requirements:
|
108
99
|
- - ! '>='
|
109
100
|
- !ruby/object:Gem::Version
|
110
101
|
version: '0'
|
111
|
-
segments:
|
112
|
-
- 0
|
113
|
-
hash: 1713955773353994232
|
114
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
103
|
requirements:
|
117
104
|
- - ! '>='
|
118
105
|
- !ruby/object:Gem::Version
|
119
106
|
version: '0'
|
120
|
-
segments:
|
121
|
-
- 0
|
122
|
-
hash: 1713955773353994232
|
123
107
|
requirements: []
|
124
108
|
rubyforge_project:
|
125
|
-
rubygems_version:
|
109
|
+
rubygems_version: 2.4.5
|
126
110
|
signing_key:
|
127
|
-
specification_version:
|
111
|
+
specification_version: 4
|
128
112
|
summary: Provides a low-level up route for load balancers.
|
129
113
|
test_files:
|
130
114
|
- spec/spec_helper.rb
|