six-updater-web 0.14.6 → 0.14.7

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ require 'rake/testtask'
7
7
 
8
8
  spec = Gem::Specification.new do |s|
9
9
  s.name = 'six-updater-web'
10
- s.version = '0.14.6'
10
+ s.version = '0.14.7'
11
11
  s.has_rdoc = false
12
12
  #s.extra_rdoc_files = ['README', 'LICENSE']
13
13
  s.summary = 'Your summary here'
@@ -37,6 +37,6 @@ class QueryserversController < ApplicationController
37
37
  def latest
38
38
  @record = Queryserver.find(params[:id])
39
39
  @record.latest
40
- @record.save
40
+ @record.save # if @record.changed?
41
41
  end
42
42
  end
@@ -102,7 +102,7 @@ class Queryserver < ActiveRecord::Base
102
102
  #unless self.updated_at < Time.now - 1.minutes
103
103
  n = get_latest
104
104
  if n
105
- self.convert(n)
105
+ self.attributes = self.convert(n)
106
106
  self.mods = self.mods_fetch2 if self.mod
107
107
  end
108
108
  end
@@ -11,6 +11,9 @@
11
11
  = javascript_include_tag :defaults
12
12
  = record_select_includes
13
13
  = active_scaffold_includes
14
+ %script
15
+ stop_polling_logo = false;
16
+ = periodically_call_remote(:url => '/main/test', :frequency => '1', :condition => 'stop_polling_logo == false')
14
17
  %body
15
18
  #mainContainerBg
16
19
  #mainContainer
@@ -23,9 +26,6 @@
23
26
  %ul#suckerfish
24
27
  = goldberg_suckerfish_menu
25
28
  #mainBarStats{ :align => "right" }
26
- %a{:href => "http://updater.dev-heaven.net/stats", :target => "_blank", :title => "Six Updater Suite - Stats"}
27
- %img{:src => "http://updater.dev-heaven.net/images/stats.png", :alt => "Six Updater Suite - Stats"}
28
- = link_to "v#{SixUpdaterWeb::VERSION}", "http://six.dev-heaven.net/wagn/Six_Updater_Suite", :target => "_blank"
29
29
  .centerColumn.clearfix
30
30
  .breadcrumbs
31
31
  = goldberg_breadcrumbs
@@ -0,0 +1,5 @@
1
+ %script
2
+ stop_polling_logo = true;
3
+ %a{:href => "http://updater.dev-heaven.net/stats", :target => "_blank", :title => "Six Updater Suite - Stats"}
4
+ %img{:src => "http://updater.dev-heaven.net/images/stats.png", :alt => "Six Updater Suite - Stats"}
5
+ = link_to "v#{SixUpdaterWeb::VERSION}", "http://six.dev-heaven.net/wagn/Six_Updater_Suite", :target => "_blank"
@@ -0,0 +1 @@
1
+ page.replace_html 'mainBarStats', :partial => 'main/test'
@@ -22,7 +22,7 @@ case RUBY_VERSION
22
22
  end
23
23
 
24
24
  module SixUpdaterWeb
25
- VERSION = "0.14.6"
25
+ VERSION = "0.14.7"
26
26
  COMPONENT = "six-updater-web"
27
27
 
28
28
  DEFAULT_IP = "127.0.0.1" unless defined?(DEFAULT_IP)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 14
8
- - 6
9
- version: 0.14.6
8
+ - 7
9
+ version: 0.14.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sickboy
@@ -159,7 +159,9 @@ files:
159
159
  - lib/six-updater-web/app/views/main/modlogs.erb
160
160
  - lib/six-updater-web/app/views/main/reset.erb
161
161
  - lib/six-updater-web/app/views/main/reset_act.haml
162
+ - lib/six-updater-web/app/views/main/test.rjs
162
163
  - lib/six-updater-web/app/views/main/_check.haml
164
+ - lib/six-updater-web/app/views/main/_test.haml
163
165
  - lib/six-updater-web/app/views/mods/imp.haml
164
166
  - lib/six-updater-web/app/views/Repositories/imp.erb
165
167
  - lib/six-updater-web/app/views/servers/imp.erb