tenon 1.0.31 → 1.0.32
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e2dd631ef71abc6203f5d55a183b27e801e2cb4e
|
|
4
|
+
data.tar.gz: e990d5f2bb84a8fc9cedeb5d71acfaf0fed32e2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc0688f73594b06a8d884a5b46af41c4b76614f9fd41213fc3ec70b417f00f9af6ce70c802e90dd712de36f4cd77c378af91eb535d10a91e31f75e823afaf55e
|
|
7
|
+
data.tar.gz: 5f615935b2a3f339bc15696ed8f191019de2835c72c7b1a71b67571a03d8a4cfe092ae99fd1cb1bde38ff30c2875035f5ab5ce1772699918c918f464ce5690bb
|
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }/
|
|
6
6
|
%meta{ :content => 'initial-scale=1,width=device-width', :name => 'viewport' }
|
|
7
7
|
%title
|
|
8
|
-
|
|
8
|
+
- if controller_name == 'passwords'
|
|
9
|
+
Forgot Password:
|
|
10
|
+
- else
|
|
11
|
+
Sign In:
|
|
9
12
|
= Tenon::MySettings.site_title if Tenon::MySettings.site_title
|
|
10
13
|
= stylesheet_link_tag 'tenon/tenon', '//fonts.googleapis.com/css?family=Open+Sans:400,700'
|
|
11
14
|
|
|
@@ -4,7 +4,9 @@ module Tenon
|
|
|
4
4
|
source_root File.expand_path('../templates', __FILE__)
|
|
5
5
|
|
|
6
6
|
def copy_files
|
|
7
|
-
|
|
7
|
+
ActiveRecord::Migration.check_pending!
|
|
8
|
+
fail 'You have not defined any languages in Tenon.config.languages' if languages.empty?
|
|
9
|
+
timestamp = Time.now.utc.strftime('%Y%m%d%H%M%S')
|
|
8
10
|
template('migration.rb', File.join('db/migrate', "#{timestamp}_add_i18n_fields_#{file_hash.downcase}.rb"))
|
|
9
11
|
end
|
|
10
12
|
|
|
@@ -15,7 +17,7 @@ module Tenon
|
|
|
15
17
|
end
|
|
16
18
|
|
|
17
19
|
def languages
|
|
18
|
-
Tenon.config.languages.values
|
|
20
|
+
Tenon.config.languages.try(:values) || []
|
|
19
21
|
end
|
|
20
22
|
|
|
21
23
|
def tables
|
data/lib/tenon/version.rb
CHANGED