gettext_simple_rails 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gettext_simple_rails/cache_handler.rb +1 -1
- data/lib/gettext_simple_rails/version.rb +1 -1
- data/spec/dummy/log/test.log +17 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 437253d9347f11dd342a98323d1a2c49b1d39fca
|
4
|
+
data.tar.gz: c2886228b1d17cf03000dc0ddc020b47d9290ecd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7c56ce25d770ae12bd8f82d3d19d5bdc301b0382e09ec448ce9ea089922e17de6ba2f1888a5c10b83d2d96fcba18e4caf042eea1b2ccd628cd64528ea90389e
|
7
|
+
data.tar.gz: 3b0ecfa49a687f76d9a4dd4fcf96a190d58ec0e09a7b551f605534877f7d3f5963facbd3d657611da2bea784f01f5f213ec3209df548f3391feb399848a5ad72
|
@@ -24,7 +24,7 @@ class GettextSimpleRails::CacheHandler
|
|
24
24
|
def cache_file_too_old?
|
25
25
|
if !File.exists?(static_cache_file_path)
|
26
26
|
return true
|
27
|
-
elsif File.mtime(static_cache_file_path) < File.mtime(newest_po_file)
|
27
|
+
elsif newest_po_file && File.mtime(static_cache_file_path) < File.mtime(newest_po_file)
|
28
28
|
return true
|
29
29
|
else
|
30
30
|
return false
|
data/spec/dummy/log/test.log
CHANGED
@@ -975,3 +975,20 @@ Migrating to CreateUserTranslations (20140515092420)
|
|
975
975
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
976
976
|
[1m[35m (0.0ms)[0m begin transaction
|
977
977
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
978
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
979
|
+
[1m[35m (0.1ms)[0m begin transaction
|
980
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
981
|
+
[1m[35m (0.0ms)[0m begin transaction
|
982
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
983
|
+
[1m[35m (0.2ms)[0m begin transaction
|
984
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
985
|
+
[1m[35m (0.2ms)[0m begin transaction
|
986
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
987
|
+
[1m[35m (0.2ms)[0m begin transaction
|
988
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
989
|
+
[1m[35m (0.1ms)[0m begin transaction
|
990
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
991
|
+
[1m[35m (0.0ms)[0m begin transaction
|
992
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
993
|
+
[1m[35m (0.0ms)[0m begin transaction
|
994
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gettext_simple_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kasper Johansen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|