stormy-cloud 0.1.0 → 0.1.1

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.
@@ -50,7 +50,7 @@ class Dashboard < Sinatra::Base
50
50
  set :logging, false
51
51
 
52
52
  get '/' do
53
- File.read('dashboard/index.html')
53
+ File.read(File.join(settings.public_folder, 'index.html'))
54
54
  end
55
55
 
56
56
  get '/status' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stormy-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -22,11 +22,11 @@ files:
22
22
  - lib/transport.rb
23
23
  - lib/transports/tcp.rb
24
24
  - dashboard/dash.rb
25
- - dashboard/index.html
26
25
  - dashboard/public/images/apple-touch-icon-114x114.png
27
26
  - dashboard/public/images/apple-touch-icon-72x72.png
28
27
  - dashboard/public/images/apple-touch-icon.png
29
28
  - dashboard/public/images/favicon.ico
29
+ - dashboard/public/index.html
30
30
  - dashboard/public/jquery.js
31
31
  - dashboard/public/stylesheets/base.css
32
32
  - dashboard/public/stylesheets/layout.css