snowman-io 0.1.0 → 0.2.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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/snowman-io/api/agent.rb +1 -1
- data/lib/snowman-io/launcher.rb +2 -2
- data/lib/snowman-io/loop/checks.rb +3 -1
- data/lib/snowman-io/loop/main.rb +6 -4
- data/lib/snowman-io/loop/spiders.rb +28 -0
- data/lib/snowman-io/migration.rb +5 -0
- data/lib/snowman-io/models/app.rb +13 -0
- data/lib/snowman-io/ui/assets/ui-d190960e7df2e7119d592ffd60a19ee9.css +1 -0
- data/lib/snowman-io/ui/assets/ui-eaac3f6e07b933b851c15ff3329643cb.js +8 -0
- data/lib/snowman-io/ui/index.html +3 -3
- data/lib/snowman-io/version.rb +1 -1
- data/lib/snowman-io.rb +1 -1
- metadata +5 -5
- data/lib/snowman-io/loop/ping.rb +0 -25
- data/lib/snowman-io/ui/assets/ui-0e39dafcb798020fb855e325931c8451.css +0 -1
- data/lib/snowman-io/ui/assets/ui-d362f30d01b07ba93506380bca1f84c6.js +0 -8
@@ -7,7 +7,7 @@
|
|
7
7
|
<title>SnowmanIO: be a little snowy</title>
|
8
8
|
|
9
9
|
<base href="/" />
|
10
|
-
<meta name="ui/config/environment" content="%7B%22modulePrefix%22%3A%22ui%22%2C%22environment%22%3A%22production%22%2C%22baseURL%22%3A%22/%22%2C%22apiPrefix%22%3A%22api%22%2C%22locationType%22%3A%22auto%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%7D%2C%22APP%22%3A%7B%22name%22%3A%22ui%22%2C%22version%22%3A%220.0.0.
|
10
|
+
<meta name="ui/config/environment" content="%7B%22modulePrefix%22%3A%22ui%22%2C%22environment%22%3A%22production%22%2C%22baseURL%22%3A%22/%22%2C%22apiPrefix%22%3A%22api%22%2C%22locationType%22%3A%22auto%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%7D%2C%22APP%22%3A%7B%22name%22%3A%22ui%22%2C%22version%22%3A%220.0.0.2a4b008f%22%7D%2C%22simple-auth-devise%22%3A%7B%22serverTokenEndpoint%22%3A%22/api/users/login%22%2C%22identificationAttributeName%22%3A%22email%22%7D%2C%22simple-auth%22%3A%7B%22authorizer%22%3A%22simple-auth-authorizer%3Adevise%22%2C%22routeAfterAuthentication%22%3A%22apps%22%7D%2C%22api%22%3A%22/api%22%2C%22contentSecurityPolicyHeader%22%3A%22Content-Security-Policy-Report-Only%22%2C%22contentSecurityPolicy%22%3A%7B%22default-src%22%3A%22%27none%27%22%2C%22script-src%22%3A%22%27self%27%22%2C%22font-src%22%3A%22%27self%27%22%2C%22connect-src%22%3A%22%27self%27%22%2C%22img-src%22%3A%22%27self%27%22%2C%22style-src%22%3A%22%27self%27%22%2C%22media-src%22%3A%22%27self%27%22%7D%2C%22exportApplicationGlobal%22%3Afalse%7D" />
|
11
11
|
|
12
12
|
|
13
13
|
|
@@ -156,12 +156,12 @@ html,body{ margin:0; padding:0; height:100%; width:100%; }
|
|
156
156
|
|
157
157
|
onloadCSS(vendor, function() {
|
158
158
|
progress.style.width = "150px";
|
159
|
-
var ui = loadCSS( "assets/ui-
|
159
|
+
var ui = loadCSS( "assets/ui-d190960e7df2e7119d592ffd60a19ee9.css" );
|
160
160
|
onloadCSS(ui, function() {
|
161
161
|
progress.style.width = "250px";
|
162
162
|
loadScript("assets/vendor-6bc0d5ff67eccfbd9b0903afd6cc1d52.js", function() {
|
163
163
|
progress.style.width = "350px";
|
164
|
-
loadScript("assets/ui-
|
164
|
+
loadScript("assets/ui-eaac3f6e07b933b851c15ff3329643cb.js", function() {
|
165
165
|
progress.style.width = "450px";
|
166
166
|
});
|
167
167
|
});
|
data/lib/snowman-io/version.rb
CHANGED
data/lib/snowman-io.rb
CHANGED
@@ -22,9 +22,9 @@ require "snowman-io/launcher"
|
|
22
22
|
require "snowman-io/cli"
|
23
23
|
require "snowman-io/web_server"
|
24
24
|
require "snowman-io/aggregate"
|
25
|
-
require "snowman-io/loop/ping"
|
26
25
|
require "snowman-io/loop/main"
|
27
26
|
require "snowman-io/loop/checks"
|
27
|
+
require "snowman-io/loop/spiders"
|
28
28
|
require "snowman-io/snow_mailer"
|
29
29
|
require "snowman-io/migration"
|
30
30
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snowman-io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Vakhov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-07
|
12
|
+
date: 2015-09-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sinatra
|
@@ -325,7 +325,7 @@ files:
|
|
325
325
|
- lib/snowman-io/loop/checks.rb
|
326
326
|
- lib/snowman-io/loop/checks_perform.rb
|
327
327
|
- lib/snowman-io/loop/main.rb
|
328
|
-
- lib/snowman-io/loop/
|
328
|
+
- lib/snowman-io/loop/spiders.rb
|
329
329
|
- lib/snowman-io/migration.rb
|
330
330
|
- lib/snowman-io/models/aggregation.rb
|
331
331
|
- lib/snowman-io/models/app.rb
|
@@ -340,8 +340,8 @@ files:
|
|
340
340
|
- lib/snowman-io/options.rb
|
341
341
|
- lib/snowman-io/snow_mailer.rb
|
342
342
|
- lib/snowman-io/ui/AUTO_GENERATED_FOLDER
|
343
|
-
- lib/snowman-io/ui/assets/ui-
|
344
|
-
- lib/snowman-io/ui/assets/ui-
|
343
|
+
- lib/snowman-io/ui/assets/ui-d190960e7df2e7119d592ffd60a19ee9.css
|
344
|
+
- lib/snowman-io/ui/assets/ui-eaac3f6e07b933b851c15ff3329643cb.js
|
345
345
|
- lib/snowman-io/ui/assets/vendor-6bc0d5ff67eccfbd9b0903afd6cc1d52.js
|
346
346
|
- lib/snowman-io/ui/assets/vendor-7edfd1432c1bbd806306d5583c75b1fc.css
|
347
347
|
- lib/snowman-io/ui/bootstrap-3.3.1/css/bootstrap-theme.css
|
data/lib/snowman-io/loop/ping.rb
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
module SnowmanIO
|
2
|
-
module Loop
|
3
|
-
# Ping itself every 5 minutes to be in fit
|
4
|
-
class Ping
|
5
|
-
include Celluloid
|
6
|
-
|
7
|
-
def initialize
|
8
|
-
after(10) { tick }
|
9
|
-
end
|
10
|
-
|
11
|
-
def tick
|
12
|
-
perform
|
13
|
-
after(5*60) { tick }
|
14
|
-
end
|
15
|
-
|
16
|
-
private
|
17
|
-
|
18
|
-
def perform
|
19
|
-
if base_url = Setting.get(SnowmanIO::BASE_URL_KEY)
|
20
|
-
open(base_url + "/ping")
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
body{padding-bottom:42px}.navbar{border-radius:0!important}.navbar-brand:hover{color:#9d9d9d!important}.nav-sidebar{margin-left:-30px;margin-top:-20px}.nav-sidebar>li>a{border-radius:0!important}.app-slot table td,.app-slot table th{text-align:center}.app-slot .yesterday{color:#999}.panel-custom{margin-top:35px}.check-status.green{font-weight:700;color:green}.check-status.red{font-weight:700;color:red}.big{font-size:42px;font-weight:700}.checks-failed{background-color:#f5f5f5}
|