lazar-gui 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63fad5e104b2e9a3d87993b4ce490de848ab14ac
4
- data.tar.gz: 4f50c319f247c6716c0df6490c8d63a592d9202c
3
+ metadata.gz: 25fb4c468fb020f6d7488b5f84d01f4eac315fce
4
+ data.tar.gz: 40ced446c36a930269735bdeb96e86b217e06b9d
5
5
  SHA512:
6
- metadata.gz: 177829a3a7d2025d2ac5819a37a7b87ec3e659ab427758a1305d8aa3c62bee0c3e445b0a976ac72f8bc404d0be004c1ff79545fd022bbd32fb40513fd7b11303
7
- data.tar.gz: ea8728c578e29b430a4a0d4a7192c6ce53bb45f9af2e0a8320159db26dec2dd182234d445396b99ea082244489a85dfe36f6c8064cf8384f7e3530e2c345dabb
6
+ metadata.gz: 8f2dcf4bbe751fb8ba4824ded8b0b660a6e8028aa55ab05c56e655c087402c473639cfdf0b44d5bffd446a93f557182539d88678aa2113c7c9ce2d94cbe08e77
7
+ data.tar.gz: a1f119c1a8070e2069156005cf77c081640214924f43eee12b3a8d6cae8ada0a47948f585ebfea004c3c45ff146c0d3b58c13f9be6ba959ef20d9de6a9da9e43
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
data/application.rb CHANGED
@@ -25,6 +25,7 @@ get '/?' do
25
25
  end
26
26
 
27
27
  get '/predict/?' do
28
+ @version = File.read("VERSION").chomp
28
29
  @models = OpenTox::Model::Prediction.all
29
30
  @endpoints = @models.collect{|m| m.endpoint}.sort.uniq
30
31
  @models.count <= 0 ? (haml :info) : (haml :predict)
data/bin/lazar-start CHANGED
@@ -1,5 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
  bin_dir = File.expand_path(File.dirname(__FILE__))
3
3
  shell_script_path = File.join(bin_dir, 'lazar-start.sh')
4
+ app_dir = File.expand_path('..')
5
+ unicorn_conf = File.join(app_dir, 'unicorn.rb')
4
6
 
5
7
  `#{shell_script_path}`
8
+ `#{unicorn_conf}`
data/views/layout.haml CHANGED
@@ -38,10 +38,11 @@
38
38
  %div.row
39
39
  %div.col-md-8
40
40
  Problems, bugs, ideas for improvements ? Please report at our
41
- %a{:href => 'https://github.com/opentox/lazar-gui/issues', :rel => "external"} issue tracker.
42
- or send us an email:
41
+ %a{:href => 'https://github.com/opentox/lazar-gui/issues', :rel => "external"} issue tracker
42
+ or send us an email
43
43
  %a{ :href=>"mailto:info@in-silico.ch", :target=>"_top"}
44
44
  %img.share{:src=>"/images/Email.png"}
45
+ (version #{@version}).
45
46
  %div.col-md-2
46
47
  %div.col-md-2
47
48
  %a{:href=>"https://twitter.com/intent/tweet?source=http%3A%2F%2Flazar.in-silico.ch&text=:%20http%3A%2F%2Flazar.in-silico.ch", :target=>"_blank", :title=>"Tweet"}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lazar-gui
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Helma