haml_i18n_lint 0.11.0 → 0.12.0

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: 92371c38e13089e237c3f9208a03300effdbad22
4
- data.tar.gz: 12be2772d233c1a7f173857f6de0bdaf4e0faf01
3
+ metadata.gz: 52e66f5ac4f6ab9a1f6ab5d5c3ef23cf52027a9c
4
+ data.tar.gz: 26e9b88e133ef1d2fb8539eaa407e2fd6a9a4990
5
5
  SHA512:
6
- metadata.gz: 261397e52363434dd01c5410c449b7e674770db7faff5a3872a9cf227e917884b15a1a2f2ff541ef136e0d3b2e90dec2de072475d95d520a32badaf36125c815
7
- data.tar.gz: c5ba7e28a4d3eb3b3f4bc4fec4c0d5002ab0bcda68359a414595fcfce5d1913c86fa0200a2fe6a00f8c579ed607e0947b8fa4a217498515b09b9492fec449189
6
+ metadata.gz: c276b8ddef37d74ae04779553a8d377fd92eeaf7f7030c9283528d56b601401c6151dea1bac9931260a84e2db181224b6ca35c91c2f3f9ae6d5176c5f9f1da3d
7
+ data.tar.gz: 93fdbc76a1fa1b3d0217052b1876f6293fba513e18ac6cc777f3db42a9f29cef6a133789573689289e77f59bb6b9bece22f3e6b9a6c8d6594d7e341f99df5684
@@ -1,2 +1 @@
1
- �M!�k�jI�v�N��0��\]�TK�w�])R�"��ۏ��d9�/o[�>d��du;�M햺���D��Oh�%�OH�(���O�7ҟ��ks�
2
- ���m�]_���(\fp35d�~BWG4��&��(2*�����%��؄�Sa�����]��d�U9���>?�ϩ&E��~f1ha�}���{��0a�h!o��[�W,����j�'�L�����PxY��|��*�E�޳����Y��zl�����-[*`��
1
+ k�ke;p:�������@J؋y=>�_�oP}$v��jk6���^/���"�. {���,�@WLӣ�*�&���� Ё�F�Цi���S#m6��_�%>�qb@��
data.tar.gz.sig CHANGED
Binary file
@@ -59,6 +59,12 @@ module HamlI18nLint
59
59
  case type
60
60
  when :@label
61
61
  return k == "#{key}:"
62
+ when :string_literal
63
+ _type, _s, _lineno, k = assoc_key
64
+ return k.size == 2 &&
65
+ k.first == :string_content &&
66
+ k.last[0] == :@tstring_content &&
67
+ k.last[1] == key
62
68
  when :dyna_symbol
63
69
  return k.size == 2 &&
64
70
  k.first == :string_content &&
@@ -1,3 +1,3 @@
1
1
  module HamlI18nLint
2
- VERSION = "0.11.0"
2
+ VERSION = "0.12.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml_i18n_lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seiei Miyagi
@@ -30,7 +30,7 @@ cert_chain:
30
30
  +zDzgwp9Z4A8i47ioz1YEGIkQhDKZeGQznwkht0zsrtswEAiOisL5uJDtWvQiwt6
31
31
  a9nBgrpUm8NHrucdUDtMYjixgmU=
32
32
  -----END CERTIFICATE-----
33
- date: 2017-05-30 00:00:00.000000000 Z
33
+ date: 2017-06-14 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: haml
metadata.gz.sig CHANGED
@@ -1,3 +1 @@
1
- h|a }G�4�l1w���:���A1���h̝�rkY��}p*Lr��#"�.�۬m��mV��s��kr�”%�p���@ L�:j��I\.wc7=L}<'��*u\�϶��C��� �����|���Hvѥ�
2
- iU�������tC��W�B{��/[w������i��Ͱ=���4@�
3
- K���7z�mᐢY�:ҁ���M��4���R��;��X kG��Y�-U���҆�䁜��
1
+ A.cI�?Z�P4h� 1�\toU�i"9�wY[�e|S��p:a���a��W��cM7R������u"L|K:p/9����4���$�_WeTey`A ���U41�?q�垠�L�i�2�_ �F���&k�� �onpA[Z�����[��