sports_db 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/layouts/application.html.erb +6 -6
- data/lib/sports_db/version.rb +1 -1
- metadata +4 -4
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<title><%= CONFIG.app_path.downcase %></title>
|
5
5
|
<meta id="meta_viewport" name="viewport" content="user-scalable=no, initial-scale=1, target-densityDpi=device-dpi">
|
6
|
-
<%= stylesheet_link_tag "
|
6
|
+
<%= stylesheet_link_tag "application" %>
|
7
7
|
<script>
|
8
8
|
// FIXED FB#21664.
|
9
9
|
if (navigator.userAgent.match(/Kindle/i)) {
|
@@ -17,17 +17,17 @@
|
|
17
17
|
<div id="flash" style="display: none;"></div>
|
18
18
|
<div id="buffer" style="display: none;"></div>
|
19
19
|
<div id="tmp" style="display: none;"></div>
|
20
|
-
<%= javascript_include_tag "
|
20
|
+
<%= javascript_include_tag "application" %>
|
21
21
|
<%# Allows us to use mock on test or production without screwing up caching of page. %>
|
22
22
|
<script>
|
23
23
|
if (Application.params.mock) {
|
24
|
-
document.write("<link rel='stylesheet' href='/<%= CONFIG.app_path %>/assets/mock.css'>");
|
25
|
-
document.write("<script src='/<%= CONFIG.app_path %>/assets/core/Mock.js'><\/script>");
|
24
|
+
document.write("<link rel='stylesheet' href='/<%= CONFIG.app_path %>/cache/<%= CONFIG.app_path %>/assets/mock.css'>");
|
25
|
+
document.write("<script src='/<%= CONFIG.app_path %>/cache/<%= CONFIG.app_path %>/assets/core/Mock.js'><\/script>");
|
26
26
|
}
|
27
27
|
</script>
|
28
28
|
<% if request.host == 'localhost' %>
|
29
|
-
<link rel='stylesheet' href='/<%= CONFIG.app_path %>/assets/mock.css'>
|
30
|
-
<script src='/<%= CONFIG.app_path %>/assets/core/Mock.js'></script>
|
29
|
+
<link rel='stylesheet' href='/<%= CONFIG.app_path %>/cache/<%= CONFIG.app_path %>/assets/mock.css'>
|
30
|
+
<script src='/<%= CONFIG.app_path %>/cache/<%= CONFIG.app_path %>/assets/core/Mock.js'></script>
|
31
31
|
<% end %>
|
32
32
|
</body>
|
33
33
|
</html>
|
data/lib/sports_db/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sports_db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alx Dark
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-05-
|
18
|
+
date: 2013-05-20 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|