lit 0.4.0.pre.alpha.2 → 0.4.0.pre.alpha.3

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: 2593f6821f5b28b0ac65d0bd7b746fb117ceca9a
4
- data.tar.gz: f5c0079a74026f528f1cab00f50e4cd52bd6d2ff
3
+ metadata.gz: 2eed64b6f3c006939c60bb3850cb780cdbaf271f
4
+ data.tar.gz: 81c8627bf675c560cc08daf9c2ed3d08064f7e29
5
5
  SHA512:
6
- metadata.gz: 0a916d4011baf37c64edc6f5f900b08eff704621f8ec32ea82b82fa005115341fdfcf8f5503d80714a36e0e1d417b52e51a239cc95259fbcc898754e3c323f1f
7
- data.tar.gz: cbc1c7c864fc53dacf1909353cbfab6b087a1c7e9ef5a4dc417f491a911595f325796118c12cfe6dcede0bdeffe2c25b25853eb5fa7c48c3fbf836f21f56b0fe
6
+ metadata.gz: 4690ca47f19899c3a1b0d3d09c7027fc0f12f76f92cfdac3e7ebd7cd8492c1c953c4262476243f4ad8fc2c6b6b905b67dbeb1411dba553c590b62fe457825f59
7
+ data.tar.gz: 072161c067037aba2cb4627ca389dc137d89439f19c9d65cd5103b8a67e5faa2d895265a28d1009efed5e3cd667ade6f37ff144004b906c80ac21574d44b3823
@@ -50,8 +50,8 @@ module Lit
50
50
  return if Thread.current[:lit_request_keys].nil?
51
51
  return unless lit_authorized?
52
52
  content_tag :div, class: 'lit-translations-info collapsed' do
53
- concat content_tag :span, 'Show translations', class: 'lit-open-button'
54
- concat content_tag :span, 'X', class: 'lit-close-button'
53
+ concat content_tag(:span, 'Show translations', class: 'lit-open-button')
54
+ concat content_tag(:span, 'X', class: 'lit-close-button')
55
55
  concat translations_list_content_tag
56
56
  end
57
57
  end
@@ -59,10 +59,10 @@ module Lit
59
59
  def translations_list_content_tag
60
60
  content_tag :ul, class: 'lit-translations-list' do
61
61
  Lit.init.cache.request_keys.each do |k, v|
62
- concat content_tag(:li) do
63
- concat content_tag :code, "#{k}:"
62
+ concat(content_tag(:li) do
63
+ concat content_tag(:code, "#{k}:")
64
64
  concat get_translateable_span(k, v, alternative_text: '[empty]')
65
- end
65
+ end)
66
66
  end
67
67
  end
68
68
  end
@@ -1,3 +1,3 @@
1
1
  module Lit
2
- VERSION = '0.4.0-alpha.2'.freeze
2
+ VERSION = '0.4.0-alpha.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.pre.alpha.2
4
+ version: 0.4.0.pre.alpha.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Litwiniuk
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-11-23 00:00:00.000000000 Z
13
+ date: 2018-11-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: i18n