tiendapp_validator 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0335ad02bf9cef037e1408bfbc5bfa7ac9c49f04
|
4
|
+
data.tar.gz: 61376c5fa00b4572b311a952be879fa7f50657af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecdab7417e51d580a16f22ab850867335b319f6d7b868de6eb89be482ddbc57bb3e144d3c32f538d67fc305b64007fcb59a65c6a9e075824fd1e294234f0a853
|
7
|
+
data.tar.gz: c121450bcb0e773c9a9ce982a0c76575b776cc3b756c945a975c7601510a5a047c9dcf94e5f05b210c6b9e7188755a3aaffb667c0fdabc71cab9c3baa7275821
|
@@ -50,9 +50,7 @@ module TiendappValidator
|
|
50
50
|
Find.find(root_path) do |p|
|
51
51
|
next unless p.include? '.'
|
52
52
|
next if permit_extension? p
|
53
|
-
|
54
|
-
puts get_format p
|
55
|
-
return response 'ERROR', 'not support extension: ' + p, false
|
53
|
+
return response 'ERROR', 'not support extension: ' + p.split(root_path)[1], false
|
56
54
|
end
|
57
55
|
response 'OK', 'all format support', true
|
58
56
|
end
|
@@ -54,7 +54,7 @@ module TiendappValidator
|
|
54
54
|
file_paths = get_files root_path, 'liquid'
|
55
55
|
file_paths.each do |liquid|
|
56
56
|
next if Liquid::Template.parse(get_content(liquid), error_mode: :strict)
|
57
|
-
return response 'error', 'syntax error: ' + liquid, false
|
57
|
+
return response 'error', 'syntax error: ' + liquid.split(root_path)[0], false
|
58
58
|
end
|
59
59
|
response 'OK', 'liquid files have correct syntax', true
|
60
60
|
end
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tiendapp_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nahif
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: liquid
|
@@ -156,6 +156,7 @@ files:
|
|
156
156
|
- public/store_templates/public/widgets/_tiendapp_footer.liquid
|
157
157
|
- tiendapp_validator-0.1.0.gem
|
158
158
|
- tiendapp_validator-0.1.1.gem
|
159
|
+
- tiendapp_validator-0.1.2.gem
|
159
160
|
- tiendapp_validator-1.0.0.gem
|
160
161
|
- tiendapp_validator.gemspec
|
161
162
|
homepage: http://www.tiendapp.cl
|