pronto-ansible_lint 0.1.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: d77a72389acf2b41da679233091eb8f99b2725a47effd56c01d8b0565e94b98e
4
- data.tar.gz: 22e98ae2fe18e7f2aa3fbbc581c07ad280f4629bbaa353448aee8a475126eaf5
3
+ metadata.gz: 72e57f69b4ab05b4eb274cd972ed68b4eeaa4718144eab07b9b42e4c7fa53018
4
+ data.tar.gz: cc024fc23fbfe6205253f47c9e10c1ab3eebb4d71388654f471bf0d54e2a032d
5
5
  SHA512:
6
- metadata.gz: cfed441783352cbc921286da9a69cc15150f90e578feb3d0ded40e0b58b4074ff70d15c615f45345e59339986ed016ac75391fabbad9a9e5a9ebcf3641b85ae6
7
- data.tar.gz: 77eea76ade2f314e45bc49581b38797e874598e91ca77685a7d03c51708e5085e53d5e32ddb1219d5e9acb0b535baba7249b064fd9b4404c7ff92ac96bf64cc9
6
+ metadata.gz: 3f04943e5043b6f546d4339ba65444e837204ae00ebe4a7b6167148c3575d7e987af7dc6757774ee76139887bb4069780cf34cfa560342f372bb4da15f97b359
7
+ data.tar.gz: f781a2c6d39f8949e8bffe6b64883418eb3c259cb137aac76c5471b686e00fb5be3b3d5e0fdccf9ba964f9f4f9f58e9d554dd95d632bceed89b293081197232c
data/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
  Pronto runner for [ansible-lint](https://github.com/ansible/ansible-lint), a Python Style Guide Enforcer. [What is Pronto?](https://github.com/mmozuras/pronto)
3
3
 
4
4
 
5
+ ## Usage
6
+ * `gem install pronto-ansible_lint`
7
+ * `pronto run`
8
+ * `PRONTO_ANSIBLE_LINT_OPTS="-x 301" pronto run` for passing CLI options to `ansible-lint`
9
+
5
10
  ## Contribution Guidelines
6
11
  ### Installation
7
12
  `git clone` this repo and `cd pronto-ansible_lint`
@@ -50,8 +50,9 @@ module Pronto
50
50
  Dir.chdir(git_repo_path) do
51
51
  yaml_files = filter_yaml_files(files)
52
52
  files = yaml_files.join(' ')
53
+ extra = ENV['PRONTO_ANSIBLE_LINT_OPTS']
53
54
  if !files.empty?
54
- cmd = "#{executable} --nocolor --parseable-severity #{files}"
55
+ cmd = "#{executable} --nocolor --parseable-severity #{extra} #{files}"
55
56
  parse_output `#{cmd}`
56
57
  else
57
58
  []
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module AnsibleLintVersion
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '0.2.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-ansible_lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nerijus Bendziunas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-10 00:00:00.000000000 Z
11
+ date: 2019-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pronto