i18nline 0.0.5.alpha → 0.0.6.alpha
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94f60b99c9928f167191700e0f68dfb3bf6d3fbb
|
4
|
+
data.tar.gz: 8e60fefc6d7dbd3726ea714d3ad2eaa7f8f8a88d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc7e484713913f499205f1a5f32ffaffbe720a361b34fe4392dc5d8820bf412bcdf122ea1ab2d0655bc5f7cdc9e21d6acf0b3950f2b6a3536d0c58ff32d5a28a
|
7
|
+
data.tar.gz: 99a7a910877b20a99ab6780c3bf9e1f5e1ef8b763eba7cb0c76cd50cbd94293b783df3607a51f9d8bd366686be206792430900e0ff984e513543a72174f72426
|
@@ -4,22 +4,35 @@ module I18nline
|
|
4
4
|
Translation.table_name = "i18nline_translations"
|
5
5
|
include I18n::Backend::ActiveRecord::Missing
|
6
6
|
include I18n::Backend::Memoize
|
7
|
+
end
|
8
|
+
end
|
7
9
|
|
8
|
-
|
9
|
-
|
10
|
+
# This check is needed to make possible to install migrations with
|
11
|
+
# rake when there are other gems using I18n at setup before the
|
12
|
+
# table is created.
|
13
|
+
if ActiveRecord::Base.connection.table_exists? 'i18nline_translations'
|
14
|
+
module I18n
|
15
|
+
module Backend
|
16
|
+
class Chain
|
17
|
+
def available_locales
|
18
|
+
I18nline::enabled_locales
|
19
|
+
end
|
20
|
+
end
|
10
21
|
end
|
11
22
|
end
|
12
|
-
|
13
|
-
TRANSLATION_STORE = I18nline::MyBackend.new
|
14
|
-
I18n.backend = I18n::Backend::Chain.new(TRANSLATION_STORE, I18n::Backend::Simple.new)
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
23
|
+
|
24
|
+
TRANSLATION_STORE = I18nline::MyBackend.new
|
25
|
+
I18n.backend = I18n::Backend::Chain.new(TRANSLATION_STORE, I18n::Backend::Simple.new)
|
26
|
+
|
27
|
+
module I18n
|
28
|
+
class JustRaiseExceptionHandler < ExceptionHandler
|
29
|
+
def call(exception, locale, key, options)
|
30
|
+
if exception.is_a?(MissingTranslation)
|
31
|
+
TRANSLATION_STORE.store_default_translations(locale, key, options)
|
32
|
+
end
|
33
|
+
super
|
20
34
|
end
|
21
|
-
super
|
22
35
|
end
|
23
36
|
end
|
37
|
+
I18n.exception_handler = I18n::JustRaiseExceptionHandler.new
|
24
38
|
end
|
25
|
-
I18n.exception_handler = I18n::JustRaiseExceptionHandler.new
|
@@ -14,7 +14,7 @@ I18nline.setup do |config|
|
|
14
14
|
# A route available in your application to redirect the user to login
|
15
15
|
# when he tries to access to protected views. This route should be
|
16
16
|
# available on your 'rake routes'.
|
17
|
-
#config.login_route = "
|
17
|
+
#config.login_route = "/login_url"
|
18
18
|
|
19
19
|
# Missing translations will be generated for this locales.
|
20
20
|
#config.enabled_locales = %w(en es it)
|
data/lib/i18nline/version.rb
CHANGED
Binary file
|
@@ -30664,3 +30664,169 @@ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-11-19 17:23:45
|
|
30664
30664
|
|
30665
30665
|
|
30666
30666
|
Started GET "/assets/i18nline/application.js?body=1" for 127.0.0.1 at 2013-11-19 17:23:45 +0100
|
30667
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('foo') OR "key" LIKE 'foo.%')[0m
|
30668
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.3ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('foo') OR "key" LIKE 'foo.%') LIMIT 1
|
30669
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%')[0m
|
30670
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Load (0.3ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1
|
30671
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1[0m
|
30672
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1
|
30673
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'it' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1[0m
|
30674
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'pt' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1
|
30675
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1[0m
|
30676
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1
|
30677
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1[0m
|
30678
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'it' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1
|
30679
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'pt' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1[0m
|
30680
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1
|
30681
|
+
|
30682
|
+
|
30683
|
+
Started GET "/" for 127.0.0.1 at 2013-11-19 21:09:10 +0100
|
30684
|
+
Processing by HelloController#hello as HTML
|
30685
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%')[0m
|
30686
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Load (0.4ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1
|
30687
|
+
Rendered hello/hello.html.erb within layouts/application (25.8ms)
|
30688
|
+
Completed 500 Internal Server Error in 59ms
|
30689
|
+
|
30690
|
+
ActionView::Template::Error (undefined method `store_default_translations' for #<I18nline::MyBackend:0xa63a628>):
|
30691
|
+
1: <%= t("thanks", name: "Jeremy") %>
|
30692
|
+
2:
|
30693
|
+
3: <%= t("interpolate.from.yml", fruit: "Orange") %>
|
30694
|
+
4:
|
30695
|
+
app/views/hello/hello.html.erb:1:in `_app_views_hello_hello_html_erb___471407813_86949340'
|
30696
|
+
|
30697
|
+
|
30698
|
+
Rendered /home/ruben/.rvm/gems/ruby-2.0.0-p247@i18nline/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
|
30699
|
+
Rendered /home/ruben/.rvm/gems/ruby-2.0.0-p247@i18nline/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
|
30700
|
+
Rendered /home/ruben/.rvm/gems/ruby-2.0.0-p247@i18nline/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (18.6ms)
|
30701
|
+
|
30702
|
+
|
30703
|
+
Started GET "/" for 127.0.0.1 at 2013-11-19 21:11:19 +0100
|
30704
|
+
Processing by HelloController#hello as HTML
|
30705
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%')[0m
|
30706
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Load (0.4ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1
|
30707
|
+
Rendered hello/hello.html.erb within layouts/application (25.4ms)
|
30708
|
+
Completed 500 Internal Server Error in 59ms
|
30709
|
+
|
30710
|
+
ActionView::Template::Error (undefined method `store_default_translations' for #<I18nline::MyBackend:0xae6a4b0>):
|
30711
|
+
1: <%= t("thanks", name: "Jeremy") %>
|
30712
|
+
2:
|
30713
|
+
3: <%= t("interpolate.from.yml", fruit: "Orange") %>
|
30714
|
+
4:
|
30715
|
+
app/views/hello/hello.html.erb:1:in `_app_views_hello_hello_html_erb__995507180_91249670'
|
30716
|
+
|
30717
|
+
|
30718
|
+
Rendered /home/ruben/.rvm/gems/ruby-2.0.0-p247@i18nline/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
|
30719
|
+
Rendered /home/ruben/.rvm/gems/ruby-2.0.0-p247@i18nline/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
|
30720
|
+
Rendered /home/ruben/.rvm/gems/ruby-2.0.0-p247@i18nline/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (18.4ms)
|
30721
|
+
|
30722
|
+
|
30723
|
+
Started GET "/" for 127.0.0.1 at 2013-11-19 21:17:13 +0100
|
30724
|
+
Processing by HelloController#hello as HTML
|
30725
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%')[0m
|
30726
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Load (0.5ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1
|
30727
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%') LIMIT 1[0m
|
30728
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.3ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%') LIMIT 1
|
30729
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'it' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%') LIMIT 1[0m
|
30730
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.3ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'pt' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%') LIMIT 1
|
30731
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%') LIMIT 1[0m
|
30732
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('interpolate.from.yml') OR "key" LIKE 'interpolate.from.yml.%')
|
30733
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Load (0.4ms)[0m [1mSELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('interpolate.from.yml') OR "key" LIKE 'interpolate.from.yml.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1[0m
|
30734
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.3ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('interpolate.from.yml') OR "key" LIKE 'interpolate.from.yml.%') LIMIT 1
|
30735
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('interpolate.from.yml') OR "key" LIKE 'interpolate.from.yml.%') LIMIT 1[0m
|
30736
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.4ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'it' AND ("key" IN ('interpolate.from.yml') OR "key" LIKE 'interpolate.from.yml.%') LIMIT 1
|
30737
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'pt' AND ("key" IN ('interpolate.from.yml') OR "key" LIKE 'interpolate.from.yml.%') LIMIT 1[0m
|
30738
|
+
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('interpolate.from.yml') OR "key" LIKE 'interpolate.from.yml.%') LIMIT 1
|
30739
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('this.yaml.tell_me') OR "key" LIKE 'this.yaml.tell_me.%')[0m
|
30740
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Load (0.4ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('this.yaml.tell_me') OR "key" LIKE 'this.yaml.tell_me.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1
|
30741
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('hello') OR "key" LIKE 'hello.%')[0m
|
30742
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Load (0.4ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('hello') OR "key" LIKE 'hello.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1
|
30743
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('translated') OR "key" LIKE 'translated.%')[0m
|
30744
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Load (0.4ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('translated') OR "key" LIKE 'translated.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1
|
30745
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('not.translated.key.with.dots') OR "key" LIKE 'not.translated.key.with.dots.%')[0m
|
30746
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Load (0.4ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('not.translated.key.with.dots') OR "key" LIKE 'not.translated.key.with.dots.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1
|
30747
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('not.translated.key.with.dots') OR "key" LIKE 'not.translated.key.with.dots.%') LIMIT 1[0m
|
30748
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('not.translated.key.with.dots') OR "key" LIKE 'not.translated.key.with.dots.%') LIMIT 1
|
30749
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'it' AND ("key" IN ('not.translated.key.with.dots') OR "key" LIKE 'not.translated.key.with.dots.%') LIMIT 1[0m
|
30750
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'pt' AND ("key" IN ('not.translated.key.with.dots') OR "key" LIKE 'not.translated.key.with.dots.%') LIMIT 1
|
30751
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('not.translated.key.with.dots') OR "key" LIKE 'not.translated.key.with.dots.%') LIMIT 1[0m
|
30752
|
+
Rendered hello/hello.html.erb within layouts/application (68.2ms)
|
30753
|
+
Completed 200 OK in 195ms (Views: 157.8ms | ActiveRecord: 8.6ms)
|
30754
|
+
|
30755
|
+
|
30756
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-11-19 21:17:13 +0100
|
30757
|
+
|
30758
|
+
|
30759
|
+
Started GET "/assets/hello.css?body=1" for 127.0.0.1 at 2013-11-19 21:17:13 +0100
|
30760
|
+
|
30761
|
+
|
30762
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-11-19 21:17:13 +0100
|
30763
|
+
|
30764
|
+
|
30765
|
+
Started GET "/assets/hello.js?body=1" for 127.0.0.1 at 2013-11-19 21:17:13 +0100
|
30766
|
+
|
30767
|
+
|
30768
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-11-19 21:17:13 +0100
|
30769
|
+
|
30770
|
+
|
30771
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-11-19 21:17:13 +0100
|
30772
|
+
|
30773
|
+
|
30774
|
+
Started GET "/assets/i18nline_to_host.css?body=1" for 127.0.0.1 at 2013-11-19 21:17:13 +0100
|
30775
|
+
|
30776
|
+
|
30777
|
+
Started GET "/assets/i18nline_to_host.js?body=1" for 127.0.0.1 at 2013-11-19 21:17:13 +0100
|
30778
|
+
|
30779
|
+
***** Debugger requested, but was not available (ensure the debugger gem is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
30780
|
+
|
30781
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox','inbox.one') OR "key" LIKE 'inbox.one.%')[0m
|
30782
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30783
|
+
[1m[36mSQL (24.3ms)[0m [1mINSERT INTO "i18nline_translations" ("created_at", "interpolations", "key", "locale", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Nov 2013 20:20:39 UTC +00:00], ["interpolations", "--- []\n"], ["key", "inbox.one"], ["locale", "en"], ["updated_at", Tue, 19 Nov 2013 20:20:39 UTC +00:00], ["value", "--- 1 message\n...\n"]]
|
30784
|
+
[1m[35m (169.3ms)[0m commit transaction
|
30785
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox','inbox.more') OR "key" LIKE 'inbox.more.%')[0m
|
30786
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30787
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i18nline_translations" ("created_at", "interpolations", "key", "locale", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Nov 2013 20:20:39 UTC +00:00], ["interpolations", "--- []\n"], ["key", "inbox.more"], ["locale", "en"], ["updated_at", Tue, 19 Nov 2013 20:20:39 UTC +00:00], ["value", "--- '%{count} messages'\n"]]
|
30788
|
+
[1m[35m (211.4ms)[0m commit transaction
|
30789
|
+
[1m[36m (0.7ms)[0m [1mSELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%')[0m
|
30790
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Load (1.1ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1
|
30791
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Load (0.3ms)[0m [1mSELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%')[0m
|
30792
|
+
[1m[35mI18nline::Translation Load (1.4ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" ORDER BY created_at ASC LIMIT 1
|
30793
|
+
[1m[36mI18nline::Translation Load (0.9ms)[0m [1mSELECT "i18nline_translations".* FROM "i18nline_translations" WHERE (key like '%inbox%') ORDER BY created_at desc[0m
|
30794
|
+
[1m[35mI18nline::Translation Load (0.7ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."id" = ? ORDER BY created_at desc LIMIT 1 [["id", 70]]
|
30795
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
30796
|
+
[1m[35mSQL (1.0ms)[0m UPDATE "i18nline_translations" SET "updated_at" = ?, "value" = ?, "interpolations" = ? WHERE "i18nline_translations"."id" = 70 [["updated_at", Tue, 19 Nov 2013 20:25:59 UTC +00:00], ["value", "--- '%{count} messages'\n"], ["interpolations", "---\n- count\n"]]
|
30797
|
+
[1m[36m (160.6ms)[0m [1mcommit transaction[0m
|
30798
|
+
[1m[35m (0.7ms)[0m SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%')
|
30799
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Load (0.9ms)[0m [1mSELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1[0m
|
30800
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Load (0.7ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%')
|
30801
|
+
|
30802
|
+
***** Debugger requested, but was not available (ensure the debugger gem is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
30803
|
+
|
30804
|
+
[1m[36mSQL (205.9ms)[0m [1mDELETE FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox','inbox.one') OR "key" LIKE 'inbox.one.%')[0m
|
30805
|
+
[1m[35m (0.2ms)[0m begin transaction
|
30806
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "i18nline_translations" ("created_at", "interpolations", "key", "locale", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Nov 2013 21:36:15 UTC +00:00], ["interpolations", "--- []\n"], ["key", "inbox.one"], ["locale", "en"], ["updated_at", Tue, 19 Nov 2013 21:36:15 UTC +00:00], ["value", "--- 1 message\n...\n"]]
|
30807
|
+
[1m[35m (164.5ms)[0m commit transaction
|
30808
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox','inbox.other') OR "key" LIKE 'inbox.other.%')[0m
|
30809
|
+
[1m[35m (0.1ms)[0m begin transaction
|
30810
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "i18nline_translations" ("created_at", "interpolations", "key", "locale", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Nov 2013 21:36:15 UTC +00:00], ["interpolations", "--- []\n"], ["key", "inbox.other"], ["locale", "en"], ["updated_at", Tue, 19 Nov 2013 21:36:15 UTC +00:00], ["value", "--- '%{count} messages'\n"]]
|
30811
|
+
[1m[35m (169.5ms)[0m commit transaction
|
30812
|
+
[1m[36m (0.8ms)[0m [1mSELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%')[0m
|
30813
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Load (0.9ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1
|
30814
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Load (0.8ms)[0m [1mSELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%')[0m
|
30815
|
+
[1m[35m (0.7ms)[0m SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('dinero') OR "key" LIKE 'dinero.%')
|
30816
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('dinero') OR "key" LIKE 'dinero.%') LIMIT 1[0m
|
30817
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%')
|
30818
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Load (0.3ms)[0m [1mSELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1[0m
|
30819
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1
|
30820
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1[0m
|
30821
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'it' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1
|
30822
|
+
[1m[36mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'pt' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1[0m
|
30823
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Exists (0.2ms)[0m SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%') LIMIT 1
|
30824
|
+
|
30825
|
+
***** Debugger requested, but was not available (ensure the debugger gem is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
30826
|
+
|
30827
|
+
[1m[36mSQL (0.7ms)[0m [1mDELETE FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('juas') OR "key" LIKE 'juas.%')[0m
|
30828
|
+
[1m[35m (0.2ms)[0m begin transaction
|
30829
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "i18nline_translations" ("created_at", "interpolations", "key", "locale", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 19 Nov 2013 21:53:31 UTC +00:00], ["interpolations", "--- []\n"], ["key", "juas"], ["locale", "en"], ["updated_at", Tue, 19 Nov 2013 21:53:31 UTC +00:00], ["value", "---\n- :zero\n- :one\n- :other\n"]]
|
30830
|
+
[1m[35m (155.0ms)[0m commit transaction
|
30831
|
+
[1m[36m (0.8ms)[0m [1mSELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('juas') OR "key" LIKE 'juas.%')[0m
|
30832
|
+
[1m[35mI18n::Backend::ActiveRecord::Translation Load (0.9ms)[0m SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('juas') OR "key" LIKE 'juas.%') ORDER BY "i18nline_translations"."id" ASC LIMIT 1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18nline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6.alpha
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rubén Díaz-Jorge Gil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|