eir 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/.rubocop.yml +5 -0
- data/Rakefile +3 -0
- data/eir.gemspec +5 -5
- data/lib/eir/app/app.rb +0 -2
- data/lib/eir/request.rb +0 -2
- data/lib/eir/server.rb +0 -2
- data/lib/eir/version.rb +1 -1
- metadata +19 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 146648359cdf6f1dd6226bdc3b3f89c0f43d5b04
|
4
|
+
data.tar.gz: 7b1180296eea33fd3aab4fd62892ccd0a0e36bbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1727863985d1ce20db0edca64d34db91614cc0fa84689ec0834d5140bfb76c76c6f40f8cc681e4d9c8b7e5682b9b02890379af7fc13e8d396a72ecab0dc55e5d
|
7
|
+
data.tar.gz: 26ebe48d6df4e1eda24897fc1bf7030ed247c5152b77ac3797d81646ed944b512fa03e8ca621a944f562efbfda2b296c5041cf5701078e2333e71684e25d3a24
|
data/.rubocop.yml
ADDED
data/Rakefile
CHANGED
data/eir.gemspec
CHANGED
@@ -18,15 +18,15 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = %w(lib)
|
20
20
|
|
21
|
-
spec.add_dependency 'rest-client', '~> 1.6
|
22
|
-
spec.add_dependency 'sinatra', '~> 1.4
|
21
|
+
spec.add_dependency 'rest-client', '~> 1.6'
|
22
|
+
spec.add_dependency 'sinatra', '~> 1.4'
|
23
23
|
spec.add_dependency 'haml', '~> 4'
|
24
|
-
spec.add_dependency 'puma', '~>
|
24
|
+
spec.add_dependency 'puma', '~> 3'
|
25
25
|
spec.add_dependency 'colorize', '~> 0.7.3'
|
26
26
|
|
27
27
|
spec.add_development_dependency 'bundler', '~> 1.5'
|
28
28
|
spec.add_development_dependency 'rake', '~> 10'
|
29
29
|
spec.add_development_dependency 'rspec', '~> 2'
|
30
|
-
spec.add_development_dependency 'rack-test', '~> 0.6
|
31
|
-
spec.add_development_dependency 'rubocop'
|
30
|
+
spec.add_development_dependency 'rack-test', '~> 0.6'
|
31
|
+
spec.add_development_dependency 'rubocop'
|
32
32
|
end
|
data/lib/eir/app/app.rb
CHANGED
@@ -5,7 +5,6 @@ require 'logger'
|
|
5
5
|
configure { set :server, :puma }
|
6
6
|
|
7
7
|
class App < Sinatra::Base
|
8
|
-
|
9
8
|
configure do
|
10
9
|
set :root, File.dirname(__FILE__)
|
11
10
|
enable :logging
|
@@ -20,5 +19,4 @@ class App < Sinatra::Base
|
|
20
19
|
@responses = @eir.go
|
21
20
|
haml :dashboard, layout: (request.xhr? ? false : :layout)
|
22
21
|
end
|
23
|
-
|
24
22
|
end
|
data/lib/eir/request.rb
CHANGED
data/lib/eir/server.rb
CHANGED
data/lib/eir/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eir
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Snape
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.6
|
19
|
+
version: '1.6'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.6
|
26
|
+
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sinatra
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.4
|
33
|
+
version: '1.4'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.4
|
40
|
+
version: '1.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: haml
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '3'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '3'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: colorize
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,30 +128,30 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.6
|
131
|
+
version: '0.6'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.6
|
138
|
+
version: '0.6'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rubocop
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0
|
145
|
+
version: '0'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - "
|
150
|
+
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0
|
153
|
-
description:
|
154
|
-
|
152
|
+
version: '0'
|
153
|
+
description: '["Easily", "monitor", "the", "health", "of", "arbitrary", "URI''s",
|
154
|
+
"defined", "in", "YAML", "config"]'
|
155
155
|
email:
|
156
156
|
- bsnape@gmail.com
|
157
157
|
executables:
|
@@ -160,6 +160,7 @@ extensions: []
|
|
160
160
|
extra_rdoc_files: []
|
161
161
|
files:
|
162
162
|
- ".gitignore"
|
163
|
+
- ".rubocop.yml"
|
163
164
|
- Gemfile
|
164
165
|
- LICENSE.txt
|
165
166
|
- README.md
|
@@ -201,10 +202,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
202
|
version: '0'
|
202
203
|
requirements: []
|
203
204
|
rubyforge_project:
|
204
|
-
rubygems_version: 2.2.
|
205
|
+
rubygems_version: 2.2.5
|
205
206
|
signing_key:
|
206
207
|
specification_version: 4
|
207
|
-
summary:
|
208
|
+
summary: '["Monitor", "the", "health", "of", "URI''s"]'
|
208
209
|
test_files:
|
209
210
|
- spec/eir_spec.rb
|
210
211
|
- spec/sinatra_dashboard_spec.rb
|