service-status 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +77 -0
- data/.rspec +2 -0
- data/.rubocop.yml +5 -0
- data/.travis.yml +18 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +123 -0
- data/Guardfile +30 -0
- data/LICENSE +675 -0
- data/README.md +80 -0
- data/Rakefile +35 -0
- data/lib/service_status/status.rb +93 -0
- data/lib/service_status/version.rb +3 -0
- data/service-status.gemspec +37 -0
- data/spec/cassettes/ServiceStatus_Status/add_http_get_check/ok.yml +917 -0
- data/spec/service_status_spec.rb +130 -0
- data/spec/spec_helper.rb +118 -0
- metadata +276 -0
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YjZlYTdiZTI0NTllZjk1N2Y4NmVkNDRiNmUxNjQ5MjdjZmFlODM5Mw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZTQzOTllY2E0NzkyMzM1YmJkZGZkN2E0ZTU2MjM4NTc1MWYzZGJmOQ==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MDVlY2YwYzdiNWMyMzM5MjM5MzVkOThkOWNmMTc2NDI1NWM3ZTc1M2I1ZjVm
|
10
|
+
MWUzNDk5NDI1YmIxOWQxOWFiODY3OTBlM2UzNmYxYWRhNjA2YmUwNDdlNDUx
|
11
|
+
OTlkNTkwMGE2ZTk2YTI1NTUxZTYxODdkNWY0NmQxNmJiMGFmOWE=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NTlhM2JlOGYyZTNkZTllY2MzNjllZTBmYTUwODdiMGI1ODMzOGQ1NWUwNDI3
|
14
|
+
NGE4NWY1YjE3NGZiMDQwNDU1ODJkYjcxNWY0NTg4MjA5ZTI5NzM1ZmM3ZTgw
|
15
|
+
OTBlMjVmYmQ4NTk3MmFiNzFmMDMyODg4YmJjYzJkODQ4NjYwZjI=
|
data/.gitignore
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
pkg
|
2
|
+
# Created by https://www.gitignore.io
|
3
|
+
|
4
|
+
### OSX ###
|
5
|
+
.DS_Store
|
6
|
+
.AppleDouble
|
7
|
+
.LSOverride
|
8
|
+
|
9
|
+
# Icon must end with two \r
|
10
|
+
Icon
|
11
|
+
|
12
|
+
# Thumbnails
|
13
|
+
._*
|
14
|
+
|
15
|
+
# Files that might appear in the root of a volume
|
16
|
+
.DocumentRevisions-V100
|
17
|
+
.fseventsd
|
18
|
+
.Spotlight-V100
|
19
|
+
.TemporaryItems
|
20
|
+
.Trashes
|
21
|
+
.VolumeIcon.icns
|
22
|
+
|
23
|
+
# Directories potentially created on remote AFP share
|
24
|
+
.AppleDB
|
25
|
+
.AppleDesktop
|
26
|
+
Network Trash Folder
|
27
|
+
Temporary Items
|
28
|
+
.apdisk
|
29
|
+
|
30
|
+
|
31
|
+
### Linux ###
|
32
|
+
*~
|
33
|
+
|
34
|
+
# KDE directory preferences
|
35
|
+
.directory
|
36
|
+
|
37
|
+
# Linux trash folder which might appear on any partition or disk
|
38
|
+
.Trash-*
|
39
|
+
|
40
|
+
|
41
|
+
### Ruby ###
|
42
|
+
*.gem
|
43
|
+
*.rbc
|
44
|
+
/.config
|
45
|
+
/coverage/
|
46
|
+
/InstalledFiles
|
47
|
+
/pkg/
|
48
|
+
/spec/reports/
|
49
|
+
/test/tmp/
|
50
|
+
/test/version_tmp/
|
51
|
+
/tmp/
|
52
|
+
|
53
|
+
## Specific to RubyMotion:
|
54
|
+
.dat*
|
55
|
+
.repl_history
|
56
|
+
build/
|
57
|
+
|
58
|
+
## Documentation cache and generated files:
|
59
|
+
/.yardoc/
|
60
|
+
/_yardoc/
|
61
|
+
/doc/
|
62
|
+
/rdoc/
|
63
|
+
|
64
|
+
## Environment normalisation:
|
65
|
+
/.bundle/
|
66
|
+
/vendor/bundle
|
67
|
+
/lib/bundler/man/
|
68
|
+
|
69
|
+
# for a library or gem, you might want to ignore these files since the code is
|
70
|
+
# intended to run in multiple environments; otherwise, check them in:
|
71
|
+
# Gemfile.lock
|
72
|
+
# .ruby-version
|
73
|
+
# .ruby-gemset
|
74
|
+
|
75
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
76
|
+
.rvmrc
|
77
|
+
|
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
language: ruby
|
2
|
+
sudo: false
|
3
|
+
rvm:
|
4
|
+
- 2.0.0
|
5
|
+
- 2.1.5
|
6
|
+
- 2.2.0
|
7
|
+
addons:
|
8
|
+
code_climate:
|
9
|
+
repo_token:
|
10
|
+
secure: "iihmypO05MOWpS7c9K0uao+Xj6ooQoPQr+tawYrUGb8KgrEc3EUPcgeh0nTAMFVsuxL+/eWLJoruh3KOvtJKUOvRrEuqs8NinO1yfGTdKa8kGIsaxRzEjcKuSGhAh4hna0FjEFrgGQClw2TxU+UrGnSm8Gobh1i+wEGL2yzJWFBSPZ1NuDA1frPisN8aLIF0BiqmpYVG7IfnbMUsLgH2gFubXDoZiFw/ik0n8xQwIAoHye0mSrXWvPgeYFV+qOzXebQPdP5AF6li4HRJk1zbrNgN1lg2zy4pLq/6TazOGhl2dXQVRZy7c+LdeUzNIilBoiZmisBjDcHF8Goz2H4ngYMmkQNah4Ma/43pDQWd85aqQp/KXVcJnRbTsYHMfBk6Ybkpo0XRRAZ3aHUqDSu0XTBSJDFeqzjX69HLxt13kOas4bveejPjhcsrSpR5EdeiARH977QVw1w2HZqMaqxK2Qu9eHtybifRWDGeLZV+8qP+NbkMw1zxIP6L5CNKvaCM3A9N9bcaobBnzFf+Azevw0ukIk2GnhuxfcI2NAZbN6/v4QYrFdRcwa2f4U/kcEh/9zMqczPLDnWl0KWABMJWrg96npTk8Mflhdo8oXANNgBhpc0KsY+qVFTMAfM6w4yoInUu1p9W107JcCrRIxJx3ErCrKqBALEVu808bhNB3Gk="
|
11
|
+
deploy:
|
12
|
+
provider: rubygems
|
13
|
+
api_key:
|
14
|
+
secure: "FQBPExcxHKVmcX7Dj8Ud1EOxmQBiVxc3OOqT3muiCeczAo0KekQooQmFqHVNY3kmI7LfXdbhs/j4Fpf64SMtWgi9FHmcPXqDLvKrdnNDGmv4FSut9Hq0jXSD0RreWtlF0CQmyNTr2Xafcvu4CWbojp2US4x9JqziF/18vL4yz51QqdNbawLV78NN5ZWsPvxWCXg+gptKxdfTaeF515t14fjs69Zej/3iQBKIg5OIoYDcsS0Zy/5DpK6jTetKczhFsMz84pXkC0dQq4GtDNxRbzNRugn7LjjHnhjtIfaA5hfaXAy/0f69P7j5SXeBDJkJPKOa6KvyFlfc6hrbz+Z8sFPeOPEWG3TArkmSZlFUh9IeuIkpV7vQRRuYcNHtVDHE683m6D0sTHWrkj2lZLSOU3ku9+fMjVGWmsHB8jBPqH1xdG7uLdnCKl/DWPW/PpIqU32DG9aEYjuuIzQDB/Dfvs59zelIfBU3IqQS1rVE3AOMwZPWfCoVrM6wqkltQHliPG5CnCMA8EUrIKWYSOhBVpuxTVnCILDDAq+YkxqLNe5oTz76tx/SB0cXsDg58bcehyygb3ByRhCfRRvtdqiEivJVIjd+GDJsJfUARnwOQ1k3sxE1gMi91sc675kGFvl1i2AQEKMZsbx9JoqrjBzVgp6i38xDclFvR2Ougr7l2EU="
|
15
|
+
gem: service-status
|
16
|
+
on:
|
17
|
+
ruby: 2.0.0
|
18
|
+
repo: TheBookPeople/service-status-ruby
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
service-status (0.0.4)
|
5
|
+
sys-filesystem (~> 1.1)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
addressable (2.3.8)
|
11
|
+
ast (2.0.0)
|
12
|
+
astrolabe (1.3.0)
|
13
|
+
parser (>= 2.2.0.pre.3, < 3.0)
|
14
|
+
celluloid (0.16.0)
|
15
|
+
timers (~> 4.0.0)
|
16
|
+
codeclimate-test-reporter (0.4.7)
|
17
|
+
simplecov (>= 0.7.1, < 1.0.0)
|
18
|
+
coderay (1.1.0)
|
19
|
+
crack (0.4.2)
|
20
|
+
safe_yaml (~> 1.0.0)
|
21
|
+
diff-lcs (1.2.5)
|
22
|
+
docile (1.1.5)
|
23
|
+
ffi (1.9.8)
|
24
|
+
formatador (0.2.5)
|
25
|
+
guard (2.12.5)
|
26
|
+
formatador (>= 0.2.4)
|
27
|
+
listen (~> 2.7)
|
28
|
+
lumberjack (~> 1.0)
|
29
|
+
nenv (~> 0.1)
|
30
|
+
notiffany (~> 0.0)
|
31
|
+
pry (>= 0.9.12)
|
32
|
+
shellany (~> 0.0)
|
33
|
+
thor (>= 0.18.1)
|
34
|
+
guard-compat (1.2.1)
|
35
|
+
guard-rspec (4.5.0)
|
36
|
+
guard (~> 2.1)
|
37
|
+
guard-compat (~> 1.1)
|
38
|
+
rspec (>= 2.99.0, < 4.0)
|
39
|
+
hitimes (1.2.2)
|
40
|
+
json (1.8.2)
|
41
|
+
listen (2.10.0)
|
42
|
+
celluloid (~> 0.16.0)
|
43
|
+
rb-fsevent (>= 0.9.3)
|
44
|
+
rb-inotify (>= 0.9)
|
45
|
+
lumberjack (1.0.9)
|
46
|
+
method_source (0.8.2)
|
47
|
+
nenv (0.2.0)
|
48
|
+
notiffany (0.0.6)
|
49
|
+
nenv (~> 0.1)
|
50
|
+
shellany (~> 0.0)
|
51
|
+
parser (2.2.2.2)
|
52
|
+
ast (>= 1.1, < 3.0)
|
53
|
+
powerpack (0.1.1)
|
54
|
+
pry (0.10.1)
|
55
|
+
coderay (~> 1.1.0)
|
56
|
+
method_source (~> 0.8.1)
|
57
|
+
slop (~> 3.4)
|
58
|
+
rainbow (2.0.0)
|
59
|
+
rake (10.4.2)
|
60
|
+
rb-fchange (0.0.6)
|
61
|
+
ffi
|
62
|
+
rb-fsevent (0.9.4)
|
63
|
+
rb-inotify (0.9.5)
|
64
|
+
ffi (>= 0.5.0)
|
65
|
+
rspec (3.2.0)
|
66
|
+
rspec-core (~> 3.2.0)
|
67
|
+
rspec-expectations (~> 3.2.0)
|
68
|
+
rspec-mocks (~> 3.2.0)
|
69
|
+
rspec-core (3.2.3)
|
70
|
+
rspec-support (~> 3.2.0)
|
71
|
+
rspec-expectations (3.2.1)
|
72
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
73
|
+
rspec-support (~> 3.2.0)
|
74
|
+
rspec-mocks (3.2.1)
|
75
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
76
|
+
rspec-support (~> 3.2.0)
|
77
|
+
rspec-support (3.2.2)
|
78
|
+
rubocop (0.31.0)
|
79
|
+
astrolabe (~> 1.3)
|
80
|
+
parser (>= 2.2.2.1, < 3.0)
|
81
|
+
powerpack (~> 0.1)
|
82
|
+
rainbow (>= 1.99.1, < 3.0)
|
83
|
+
ruby-progressbar (~> 1.4)
|
84
|
+
ruby-progressbar (1.7.5)
|
85
|
+
safe_yaml (1.0.4)
|
86
|
+
shellany (0.0.1)
|
87
|
+
simplecov (0.10.0)
|
88
|
+
docile (~> 1.1.0)
|
89
|
+
json (~> 1.8)
|
90
|
+
simplecov-html (~> 0.10.0)
|
91
|
+
simplecov-html (0.10.0)
|
92
|
+
slop (3.6.0)
|
93
|
+
sys-filesystem (1.1.4)
|
94
|
+
ffi
|
95
|
+
terminal-notifier-guard (1.6.4)
|
96
|
+
thor (0.19.1)
|
97
|
+
timecop (0.7.3)
|
98
|
+
timers (4.0.1)
|
99
|
+
hitimes
|
100
|
+
vcr (2.9.3)
|
101
|
+
webmock (1.21.0)
|
102
|
+
addressable (>= 2.3.6)
|
103
|
+
crack (>= 0.3.2)
|
104
|
+
|
105
|
+
PLATFORMS
|
106
|
+
ruby
|
107
|
+
|
108
|
+
DEPENDENCIES
|
109
|
+
bundler (~> 1.7)
|
110
|
+
codeclimate-test-reporter (~> 0.4)
|
111
|
+
guard-rspec (~> 4.5)
|
112
|
+
rake (~> 10.4)
|
113
|
+
rb-fchange (~> 0.0)
|
114
|
+
rb-fsevent (~> 0.9)
|
115
|
+
rb-inotify (~> 0.9)
|
116
|
+
rspec (~> 3.1)
|
117
|
+
rubocop (~> 0.28)
|
118
|
+
service-status!
|
119
|
+
simplecov (~> 0.9)
|
120
|
+
terminal-notifier-guard (~> 1.6)
|
121
|
+
timecop (~> 0.7)
|
122
|
+
vcr (~> 2.9)
|
123
|
+
webmock (~> 1.21)
|
data/Guardfile
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# A sample Guardfile
|
2
|
+
# More info at https://github.com/guard/guard#readme
|
3
|
+
|
4
|
+
## Uncomment and set this to only include directories you want to watch
|
5
|
+
# directories %w(app lib config test spec feature)
|
6
|
+
|
7
|
+
## Uncomment to clear the screen before every task
|
8
|
+
# clearing :on
|
9
|
+
|
10
|
+
## Guard internally checks for changes in the Guardfile and exits.
|
11
|
+
## If you want Guard to automatically start up again, run guard in a
|
12
|
+
## shell loop, e.g.:
|
13
|
+
##
|
14
|
+
## $ while bundle exec guard; do echo "Restarting Guard..."; done
|
15
|
+
##
|
16
|
+
## Note: if you are using the `directories` clause above and you are not
|
17
|
+
## watching the project directory ('.'), the you will want to move the Guardfile
|
18
|
+
## to a watched dir and symlink it back, e.g.
|
19
|
+
#
|
20
|
+
# $ mkdir config
|
21
|
+
# $ mv Guardfile config/
|
22
|
+
# $ ln -s config/Guardfile .
|
23
|
+
#
|
24
|
+
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"
|
25
|
+
|
26
|
+
guard :rspec, cmd: 'bundle exec rspec' do
|
27
|
+
watch(%r{^spec/.+_spec\.rb$})
|
28
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
29
|
+
watch('spec/spec_helper.rb') { 'spec' }
|
30
|
+
end
|