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: 450d9b9467792fe75c3d3f5129c9f927758b7fb3
4
- data.tar.gz: 3d64f42088d484c999864ff3e23c00b4488b752f
3
+ metadata.gz: 94f60b99c9928f167191700e0f68dfb3bf6d3fbb
4
+ data.tar.gz: 8e60fefc6d7dbd3726ea714d3ad2eaa7f8f8a88d
5
5
  SHA512:
6
- metadata.gz: 1673b96fb65ad4a14633bb7ab609b11fa446cc6d2bb8a8c01f25c9aba76aa4ed92dacb74f20302fc3cce2046fcb6af9e8a4b64992c14789698fb6e6318ecc810
7
- data.tar.gz: 9b15b04bce8054a797c5a8a968c65abb1aef1d4ebbf6f6a9ff6b70060233ebd50d0eba17784653d8c70a6cfbfcc44ca037fedba9d97d893e76223252aa222a9a
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
- def available_locales
9
- I18nline::enabled_locales
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
- end
13
- TRANSLATION_STORE = I18nline::MyBackend.new
14
- I18n.backend = I18n::Backend::Chain.new(TRANSLATION_STORE, I18n::Backend::Simple.new)
15
- module I18n
16
- class JustRaiseExceptionHandler < ExceptionHandler
17
- def call(exception, locale, key, options)
18
- if exception.is_a?(MissingTranslation)
19
- TRANSLATION_STORE.store_default_translations(locale, key, options)
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 = "\login_url"
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)
@@ -1,3 +1,3 @@
1
1
  module I18nline
2
- VERSION = "0.0.5.alpha"
2
+ VERSION = "0.0.6.alpha"
3
3
  end
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
+  (0.6ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('foo') OR "key" LIKE 'foo.%')
30668
+ I18n::Backend::ActiveRecord::Translation Exists (0.3ms) SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('foo') OR "key" LIKE 'foo.%') LIMIT 1
30669
+  (0.3ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%')
30670
+ I18n::Backend::ActiveRecord::Translation Load (0.3ms) 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
+ I18n::Backend::ActiveRecord::Translation Exists (0.3ms) 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
30672
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
30674
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
30676
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
30678
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
30680
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
+  (0.2ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%')
30686
+ I18n::Backend::ActiveRecord::Translation Load (0.4ms) 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
+  (0.2ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%')
30706
+ I18n::Backend::ActiveRecord::Translation Load (0.4ms) 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
+  (0.3ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%')
30726
+ I18n::Backend::ActiveRecord::Translation Load (0.5ms) 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
+ I18n::Backend::ActiveRecord::Translation Exists (0.4ms) SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%') LIMIT 1
30728
+ I18n::Backend::ActiveRecord::Translation Exists (0.3ms) SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%') LIMIT 1
30729
+ I18n::Backend::ActiveRecord::Translation Exists (0.3ms) SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'it' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%') LIMIT 1
30730
+ I18n::Backend::ActiveRecord::Translation Exists (0.3ms) SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'pt' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%') LIMIT 1
30731
+ CACHE (0.0ms) SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('thanks') OR "key" LIKE 'thanks.%') LIMIT 1
30732
+  (0.3ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('interpolate.from.yml') OR "key" LIKE 'interpolate.from.yml.%')
30733
+ I18n::Backend::ActiveRecord::Translation Load (0.4ms) SELECT "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
30734
+ I18n::Backend::ActiveRecord::Translation Exists (0.3ms) 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
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) SELECT 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
30736
+ I18n::Backend::ActiveRecord::Translation Exists (0.4ms) 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
+ I18n::Backend::ActiveRecord::Translation Exists (0.5ms) SELECT 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
30738
+ CACHE (0.0ms) 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
+  (0.3ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('this.yaml.tell_me') OR "key" LIKE 'this.yaml.tell_me.%')
30740
+ I18n::Backend::ActiveRecord::Translation Load (0.4ms) 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
+  (0.3ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('hello') OR "key" LIKE 'hello.%')
30742
+ I18n::Backend::ActiveRecord::Translation Load (0.4ms) 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
+  (0.4ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'es' AND ("key" IN ('translated') OR "key" LIKE 'translated.%')
30744
+ I18n::Backend::ActiveRecord::Translation Load (0.4ms) 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
+  (0.3ms) SELECT 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.%')
30746
+ I18n::Backend::ActiveRecord::Translation Load (0.4ms) 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
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) SELECT 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
30748
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
+ I18n::Backend::ActiveRecord::Translation Exists (0.3ms) SELECT 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
30750
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
+ CACHE (0.0ms) SELECT 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
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
+ SQL (0.2ms) DELETE FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox','inbox.one') OR "key" LIKE 'inbox.one.%')
30782
+  (0.1ms) begin transaction
30783
+ SQL (24.3ms) INSERT INTO "i18nline_translations" ("created_at", "interpolations", "key", "locale", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (169.3ms) commit transaction
30785
+ SQL (0.3ms) DELETE FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox','inbox.more') OR "key" LIKE 'inbox.more.%')
30786
+  (0.1ms) begin transaction
30787
+ SQL (0.3ms) INSERT INTO "i18nline_translations" ("created_at", "interpolations", "key", "locale", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (211.4ms) commit transaction
30789
+  (0.7ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%')
30790
+ I18n::Backend::ActiveRecord::Translation Load (1.1ms) 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
+ I18n::Backend::ActiveRecord::Translation Load (0.3ms) SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%')
30792
+ I18nline::Translation Load (1.4ms) SELECT "i18nline_translations".* FROM "i18nline_translations" ORDER BY created_at ASC LIMIT 1
30793
+ I18nline::Translation Load (0.9ms) SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE (key like '%inbox%') ORDER BY created_at desc
30794
+ I18nline::Translation Load (0.7ms) SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."id" = ? ORDER BY created_at desc LIMIT 1 [["id", 70]]
30795
+  (0.2ms) begin transaction
30796
+ SQL (1.0ms) 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
+  (160.6ms) commit transaction
30798
+  (0.7ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%')
30799
+ I18n::Backend::ActiveRecord::Translation Load (0.9ms) 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
30800
+ I18n::Backend::ActiveRecord::Translation Load (0.7ms) 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
+ SQL (205.9ms) DELETE FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox','inbox.one') OR "key" LIKE 'inbox.one.%')
30805
+  (0.2ms) begin transaction
30806
+ SQL (0.9ms) INSERT INTO "i18nline_translations" ("created_at", "interpolations", "key", "locale", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (164.5ms) commit transaction
30808
+ SQL (0.3ms) DELETE FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox','inbox.other') OR "key" LIKE 'inbox.other.%')
30809
+  (0.1ms) begin transaction
30810
+ SQL (0.3ms) INSERT INTO "i18nline_translations" ("created_at", "interpolations", "key", "locale", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (169.5ms) commit transaction
30812
+  (0.8ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%')
30813
+ I18n::Backend::ActiveRecord::Translation Load (0.9ms) 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
+ I18n::Backend::ActiveRecord::Translation Load (0.8ms) SELECT "i18nline_translations".* FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('inbox') OR "key" LIKE 'inbox.%')
30815
+  (0.7ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('dinero') OR "key" LIKE 'dinero.%')
30816
+ I18n::Backend::ActiveRecord::Translation Exists (0.3ms) SELECT 1 AS one FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('dinero') OR "key" LIKE 'dinero.%') LIMIT 1
30817
+  (0.2ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('i18n.plural.keys') OR "key" LIKE 'i18n.plural.keys.%')
30818
+ I18n::Backend::ActiveRecord::Translation Load (0.3ms) 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
30819
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
30821
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
30823
+ I18n::Backend::ActiveRecord::Translation Exists (0.2ms) 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
+ SQL (0.7ms) DELETE FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('juas') OR "key" LIKE 'juas.%')
30828
+  (0.2ms) begin transaction
30829
+ SQL (1.0ms) INSERT INTO "i18nline_translations" ("created_at", "interpolations", "key", "locale", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?) [["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
+  (155.0ms) commit transaction
30831
+  (0.8ms) SELECT COUNT(*) FROM "i18nline_translations" WHERE "i18nline_translations"."locale" = 'en' AND ("key" IN ('juas') OR "key" LIKE 'juas.%')
30832
+ I18n::Backend::ActiveRecord::Translation Load (0.9ms) 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.5.alpha
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-19 00:00:00.000000000 Z
11
+ date: 2013-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails