tenon 1.0.51 → 1.0.52

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: 1052906ed20a82597981ba08ce6fd371e4623da7
4
- data.tar.gz: 63a66b9c310d34277cfb168311e23a0de6a7bf70
3
+ metadata.gz: 4296ddf61302faf87edb6a8363f44c53740d8379
4
+ data.tar.gz: f2d1796e9310b20d953b25a5bdb83d08f662b626
5
5
  SHA512:
6
- metadata.gz: 7793cd262a35059f3eb9222d8914aa43b83a7c75996089fa64e4ff0d836a764f8c3f93d49dee0d77dd651c4060e8e7eabd0eafa4c35ca37bd323b5fb35cce556
7
- data.tar.gz: 41e7edfeaeee739cf8bf1bae76ab9599ba3d0d98b236c532b665004f1c471dcb43bb6e64fffc637a695c9d4b05547875b77835eb98bc3601496ad04827ac76e5
6
+ metadata.gz: c7d7d47ef297c28a1186449e0af33910b5d83c979624534d56e25b86a62abf97fba4bc3ceae1a2532a45823e92a6ea7656cdf88a8d2cf6b17f4be40e9aba9cbf
7
+ data.tar.gz: 4650c9b0b21560cb0c43800f76148312bc7b3153da4cd14f030c7aea269fe3798923f24fad2b1919cc4b408770d9b76db9aa6e51da37e4278df6361019e37f4b
@@ -7,7 +7,7 @@
7
7
  = platform_hints(Tenon.config.primary_color) if Tenon.config.primary_color.present?
8
8
 
9
9
  %title
10
- = Tenon::MySettings.site_title if Tenon::MySettings.site_title
10
+ = Tenon::MySettings.site_title.present? ? Tenon::MySettings.site_title : 'Tenon'
11
11
 
12
12
  = stylesheet_link_tag 'tenon/tenon', '//fonts.googleapis.com/css?family=Open+Sans:400,700'
13
13
  = javascript_include_tag 'tenon/tenon_manifest'
@@ -7,7 +7,7 @@
7
7
  = platform_hints(Tenon.config.client_color) if Tenon.config.client_color.present?
8
8
 
9
9
  %title
10
- = Tenon::MySettings.site_title if Tenon::MySettings.site_title
10
+ = Tenon::MySettings.site_title.present? ? Tenon::MySettings.site_title : 'Tenon'
11
11
 
12
12
  = stylesheet_link_tag 'tenon/tenon', '//fonts.googleapis.com/css?family=Open+Sans:400,700'
13
13
  = javascript_include_tag 'tenon/tenon_manifest'
@@ -3,24 +3,23 @@
3
3
  -# http://updates.html5rocks.com/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
4
4
  %meta{ :content => color, :name => 'theme-color' }
5
5
  %meta{ :content => 'yes', :name => 'mobile-web-app-capable' }
6
- %link{ :rel => 'icon', :sizes => '192x192', :href => '/assets/tenon/icon-192x192.png' }
6
+ %link{ :rel => 'icon', :sizes => '192x192', :href => image_path('tenon/icon-192x192.png') }
7
7
  %link{ :rel => 'manifest', :href => '/assets/javascripts/manifest.json' }
8
8
 
9
9
  -# iOS
10
10
  -# https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html
11
- %link{ :rel => 'apple-touch-icon', :sizes => '57x57', :href => '/assets/tenon/icon-57x57.png' }
12
- %link{ :rel => 'apple-touch-icon', :sizes => '72x72', :href => '/assets/tenon/icon-72x72.png' }
13
- %link{ :rel => 'apple-touch-icon', :sizes => '114x114', :href => '/assets/tenon/icon-114x114.png' }
14
- %link{ :rel => 'apple-touch-icon', :sizes => '144x144', :href => '/assets/tenon/icon-144x144.png' }
11
+ %link{ :rel => 'apple-touch-icon', :sizes => '57x57', :href => image_path('tenon/icon-57x57.png') }
12
+ %link{ :rel => 'apple-touch-icon', :sizes => '72x72', :href => image_path('tenon/icon-72x72.png') }
13
+ %link{ :rel => 'apple-touch-icon', :sizes => '114x114', :href => image_path('tenon/icon-114x114.png') }
14
+ %link{ :rel => 'apple-touch-icon', :sizes => '144x144', :href => image_path('tenon/icon-144x144.png') }
15
15
  %meta{ :content => 'yes', :name => 'apple-mobile-web-app-capable' }
16
16
  %meta{ :content => 'default', :name => 'apple-mobile-web-app-status-bar-style' }
17
17
 
18
18
  -# Windows
19
19
  -# http://msdn.microsoft.com/en-us/library/ie/gg491732(v=vs.85).aspx
20
20
  -# http://blogs.msdn.com/b/ie/archive/2012/06/08/high-quality-visuals-for-pinned-sites-in-windows-8.aspx
21
- %meta{ :content => 'Tenon', :name => 'application-name' }
22
- %meta{ :content => 'Tenon', :name => 'msapplication-tooltip' }
23
- %meta{ :content => '/tenon', :name => 'msapplication-starturl' }
21
+ %meta{ :content => Tenon::MySettings.site_title ? Tenon::MySettings.site_title : 'Tenon', :name => 'application-name' }
22
+ %meta{ :content => Tenon::MySettings.site_title ? Tenon::MySettings.site_title : 'Tenon', :name => 'msapplication-tooltip' }
24
23
  %meta{ :content => color, :name => 'msapplication-navbutton-color' }
25
24
  %meta{ :content => color, :name => 'msapplication-TileColor' }
26
- %meta{ :content => '/assets/tenon/icon-144x144.png', :name => 'msapplication-TileImage' }
25
+ %meta{ :content => image_path('tenon/icon-144x144.png'), :name => 'msapplication-TileImage' }
@@ -1,5 +1,5 @@
1
1
  %util-nav
2
- #logo= link_to image_tag('tenon/tenon_icon.png'), "/tenon"
2
+ #logo= link_to image_tag('tenon/tenon_icon.png'), tenon.root_path
3
3
  - unless Tenon::MySettings.site_title.blank?
4
4
  .site-title
5
5
  - if Rails.application.routes.named_routes.helpers.include?(:root_path)
data/lib/tenon/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tenon
2
- VERSION = '1.0.51'
2
+ VERSION = '1.0.52'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tenon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.51
4
+ version: 1.0.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - factor[e] design initiative
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-29 00:00:00.000000000 Z
11
+ date: 2014-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: better_errors