onceover-codequality 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -2
- data/lib/onceover/codequality/syntax.rb +1 -1
- data/lib/onceover/codequality/version.rb +1 -1
- data/res/validate_yaml.py +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cc85533082f17d96152a3c59fc6348ea8be68b55042b6d1bb0f6cff652ef2a4
|
4
|
+
data.tar.gz: 87de572b5cfa41d75e561b11b6203a8b08ea9697dc6b34b9c5c9c08eb62b48b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc5f19fa30675b22d3dcfa22426160270cfa701daf5b5e42873308276850a069af0b6457b0b637d28bc071ed767c63b0c93910dfece1874e5a349c573409a568
|
7
|
+
data.tar.gz: 3613935fb0d6dca40cd26275db0db1242bf796b3e820b67085e55157db4e8a2035b5b64c89ec539961e71890538cd3dc8fa7317131201d90c626350448340302
|
data/.travis.yml
CHANGED
@@ -44,7 +44,7 @@ class Onceover
|
|
44
44
|
# file and make it consistent. This is yaml implementation dependent but
|
45
45
|
# users would be advised to fix the file, so lets _also_ validate yaml
|
46
46
|
# files with python if available on our path...
|
47
|
-
if system("python --version", :err => File::NULL)
|
47
|
+
if system("python --version && python -c 'import yaml'", :err => File::NULL)
|
48
48
|
logger.info("Running additional python YAML validation")
|
49
49
|
script = File.join(File.dirname(File.expand_path(__FILE__)), "../../../res/validate_yaml.py")
|
50
50
|
output, s = Open3.capture2e("python #{script}")
|
data/res/validate_yaml.py
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onceover-codequality
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Declarative Systems
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|