haml_i18n_lint 0.4.0 → 0.5.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: a293a7c2b2c4df8e438af76d9403ac7fd1777a0f
4
- data.tar.gz: 8a38f5e7d38c9ccb3cd0c6101386924072158c5b
3
+ metadata.gz: 4bb308fd331c251ccf43f96620ade24c80174b2a
4
+ data.tar.gz: e998ab3fb26a7513d2f87304d7ba8b0e9f044cf5
5
5
  SHA512:
6
- metadata.gz: 3aab066b41cde91fc1c88dca8b6376d28757b00d90aef0447f197b7f6555f0bd3e9f4fb748b2f10b9aca0bc54d03991c85f8d62066c818eec3295cb5acbffdf8
7
- data.tar.gz: 493f28a7034e25a4500f66f9038a9ea44f39f34424cac28066a2236852e165cf4d8478dafced194e6f76dd33577a7951b39ffd7bcfdf78717ac18bef3b58c127
6
+ metadata.gz: ac0d81447e3874683ec0ec58e1a7e58e934e1fd88366ffcce14275b1f6ca4e0e09776ac7351deba57d2775ae244d5b1c3135c97de2a989ea0309e46c01091efe
7
+ data.tar.gz: ea03e92ab5db3ec31f3b73aa31e1afa06c0b7088e8f65bdf91c7cd15e14c85d6b089be654f99be9afc46191ab88fb35aaf9563888db3d08da91c9977e9bce290
checksums.yaml.gz.sig CHANGED
Binary file
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.homepage = "https://github.com/okinawarb/haml_i18n_lint"
16
16
  spec.license = "MIT"
17
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
- f.match(%r{^(test|spec|features)/})
18
+ f.match(%r{^(test|spec|features|checksum)/})
19
19
  end
20
20
  spec.bindir = "exe"
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
@@ -4,8 +4,7 @@ module HamlI18nLint
4
4
 
5
5
  def compile_script
6
6
  super
7
- _, on_kw, kw_do = Ripper.lex(@node.value[:text].rstrip).last
8
- if on_kw == :on_kw && kw_do == "do"
7
+ if Ripper.lex(@node.value[:text].rstrip).any? { |(_, on_kw, kw_do)| on_kw == :on_kw && kw_do == "do" }
9
8
  program = Ripper.sexp(@node.value[:text] + "\nend").flatten
10
9
  else
11
10
  program = Ripper.sexp(@node.value[:text]).flatten
@@ -1,3 +1,3 @@
1
1
  module HamlI18nLint
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
data.tar.gz.sig CHANGED
@@ -1,2 +1 @@
1
- UK�!׻$�,߭����8ۊ=W���HPX豢Tnp��w[�� �E;�^�\K���Is��+�����|n�����ukꊳ! -��Q8���ÌpEe`�R����\G5�-8� {�6�ϙ��w��!O�$Y=5�]z6��3��4�:��kCBvc����x×&,�,Q����Z��uE�������"[/�2�� *����u�+��y�(@�L7a+�[.)y��Q�o��,`�1 s
2
- e�ר1��}n�b}�
1
+ h#)6�&ZS���K�w�8�vF{ߥ<���Pv#no~�h��C4 dž*��ev�����"�!�'v!�ve�n��e�_nM1���\y]�@���/�%1���'A�lݦ��]5�*��[���AxWtPZM��Q=�;���{q���զD|��.�!�<uF���G��Q�w u��?���a * ]K0A�3����ԕ@�煟��
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.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seiei Miyagi
@@ -135,7 +135,6 @@ files:
135
135
  - bin/console
136
136
  - bin/setup
137
137
  - certs/hanachin.pem
138
- - checksum/haml_i18n_lint-0.3.0.gem.sha512
139
138
  - exe/haml-i18n-lint
140
139
  - gemfiles/haml_4.gemfile
141
140
  - gemfiles/haml_5.gemfile
metadata.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- v�������*gUc����� ��Z��9������/p�bnv7y���f�&�Ӽ���m"ު�2��~B!��d��h���;S&�/�b�TT� +:f?�o\��C�߃���ɽtM[�/*"L;��/X��;��Uh.Դ-�;=5�G� e��h����l@%��r�u3�AɑX�����NSz�v'�aˇ}$�V
2
- ������&��[U$OީA�;�|�C7��4TX1>�‚��{Z6�j��K[�/�����T�I��t���
1
+ icUXJ̀�|�F��#
2
+ a0P|����j��t���hOczu�����:�0�WS$��y��;�V^��kM3�mZ-<l��p��r�b�ǼH`�DM��+a�RP�pN�)�YOG��Sa���MEճ30P�a�I,���1B�Ff2]36�&�?�� ��뒒S���=�|W?��U��ﺘ)Ҭ�1�)��M�þΑ���+�A����T��kQx,�%��a��T%!�P���}��`
@@ -1 +0,0 @@
1
- 17d064a699bc123a907cd91680a85a33216f9eadf100cf8f7aeec7a396b079307248d036e73b0c3d02d6c6639f687fd4620f690dfe60e311c91a3c82d99f7e3a