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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/haml_i18n_lint.gemspec +1 -1
- data/lib/haml_i18n_lint/linter/compiler_extension.rb +1 -2
- data/lib/haml_i18n_lint/version.rb +1 -1
- data.tar.gz.sig +1 -2
- metadata +1 -2
- metadata.gz.sig +2 -2
- data/checksum/haml_i18n_lint-0.3.0.gem.sha512 +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bb308fd331c251ccf43f96620ade24c80174b2a
|
4
|
+
data.tar.gz: e998ab3fb26a7513d2f87304d7ba8b0e9f044cf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac0d81447e3874683ec0ec58e1a7e58e934e1fd88366ffcce14275b1f6ca4e0e09776ac7351deba57d2775ae244d5b1c3135c97de2a989ea0309e46c01091efe
|
7
|
+
data.tar.gz: ea03e92ab5db3ec31f3b73aa31e1afa06c0b7088e8f65bdf91c7cd15e14c85d6b089be654f99be9afc46191ab88fb35aaf9563888db3d08da91c9977e9bce290
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/haml_i18n_lint.gemspec
CHANGED
@@ -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
|
-
|
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
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
e�ר1��}n�b}�
|
1
|
+
h#)�6�&Z�S���K�w�8�vF{ߥ<���Pv#n�o~�h��C4 dž*��ev�����"�!�'v!�v�e�n��e�_n�M1���\y]�@���/�%1���'�A�lݦ��]5�*��[���AxWtPZ�M��Q=�;���{q���զD|��.�!�<uF���G��Q�wu��?���a*�]K0�A�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
|
+
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
|
-
|
2
|
-
|
1
|
+
ic�UXJ̀�|�F��#
|
2
|
+
a0�P|����j��t���hOc�zu�����:�0�WS$��y��;�V^��kM3�mZ-<l��p��r�b�ǼH`�D�M��+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
|