six-updater-web 0.17.6 → 0.17.7
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.
- data/Rakefile +1 -1
- data/lib/six-updater-web/app/helpers/application_helper.rb +20 -0
- data/lib/six-updater-web/app/models/mod.rb +5 -1
- data/lib/six-updater-web/app/views/layouts/application.haml +3 -2
- data/lib/six-updater-web/config/six-updater-web.rb +1 -1
- data/lib/six-updater-web/init.rb +0 -2
- metadata +3 -3
data/Rakefile
CHANGED
@@ -10,4 +10,24 @@ module ApplicationHelper
|
|
10
10
|
def updated_version_column(record, b = nil)
|
11
11
|
time_ago_in_words(record.updated_version) + "_ago" if record.updated_version
|
12
12
|
end
|
13
|
+
|
14
|
+
def chrome
|
15
|
+
<<STREND
|
16
|
+
<!--[if IE]>
|
17
|
+
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
|
18
|
+
<style>
|
19
|
+
</style>
|
20
|
+
|
21
|
+
<script>
|
22
|
+
// The conditional ensures that this code will only execute in IE,
|
23
|
+
// Therefore we can use the IE-specific attachEvent without worry
|
24
|
+
window.attachEvent("onload", function() {
|
25
|
+
CFInstall.check({
|
26
|
+
mode: "overlay"
|
27
|
+
});
|
28
|
+
});
|
29
|
+
</script>
|
30
|
+
<![endif]-->
|
31
|
+
STREND
|
32
|
+
end
|
13
33
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
!!! Strict
|
2
2
|
%html{ "xml:lang" => "en", :lang => "en", :xmlns => "http://www.w3.org/1999/xhtml" }
|
3
3
|
%head
|
4
|
-
%
|
5
|
-
|
4
|
+
%meta{"http-equiv" => "X-UA-Compatible", :content => "chrome=1"}
|
5
|
+
%title= "#{Goldberg.settings.site_name} - #{goldberg_title}"
|
6
6
|
= auto_discovery_link_tag(:rss, :controller => :mods, :action => 'feed')
|
7
7
|
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "content-type" }
|
8
8
|
%link{ :href => "/goldberg/stylesheets/goldberg.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
|
@@ -16,6 +16,7 @@
|
|
16
16
|
stop_polling_logo = false;
|
17
17
|
= periodically_call_remote(:url => '/main/test', :frequency => '1', :condition => 'stop_polling_logo == false')
|
18
18
|
%body
|
19
|
+
=# chrome
|
19
20
|
#mainContainerBg
|
20
21
|
#mainContainer
|
21
22
|
#container
|
data/lib/six-updater-web/init.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 17
|
8
|
-
-
|
9
|
-
version: 0.17.
|
8
|
+
- 7
|
9
|
+
version: 0.17.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Sickboy
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-06
|
17
|
+
date: 2010-07-06 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|