inspecstyle 0.1.0 → 0.1.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: e638a82024fe7f9482ea0f85766d10864e215739b29e46dd90cdde9977c9b7ee
4
- data.tar.gz: 2e07ab7f1a98d5e7820eb3a6b7af04814e4cc1ccd8ddd9d0b9b5207f167373c5
3
+ metadata.gz: bcb9ee68a7dd29338399f6b60bbde2a0b1e74eb0e92729a7e3f217d3260f0a08
4
+ data.tar.gz: 1e91471f1ce7c21d657a1dffdeddb3d0f8fb277162e9ddc469655ae117e2216c
5
5
  SHA512:
6
- metadata.gz: ba17616f81d48ed11ecc84a740973fced42aa2ef5c5833e6f407014337083179c4e597f71079d6afe635484e268ed8f5205d156a606245c413d79ed599e581df
7
- data.tar.gz: d2ff5b5d9da6786f15acb5afaa41a87e266a22551d627be464ae02fbe395324d1596a65f253da21cfb068f0a0afe33237f095910e487c313d3a03b8f8937e16b
6
+ metadata.gz: 8b0845a3f7b8fc29a3c37e7cf2afbfceb31135693757ab07a84c53e1f9966e70d61cff79118a42cf6c7fb80ed1c5dc58cd67f41f61f7300a86f34ec1ae53388e
7
+ data.tar.gz: d2b938a1bb46dac3a32d805b303a52606536d9a750459fae7afea3110b19d478f34ff59fc01fb9ef67ca6fae88b0e06b3be3f949be8f77f3276e9c7d8273b154
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Rubocop::InSpecStyle
1
+ # InSpecStyle
2
2
 
3
3
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rubocop/inspecstyle`. To experiment with that code, run `bin/console` for an interactive prompt.
4
4
 
@@ -22,7 +22,23 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
25
+ InSpecStyle integrates with rubocop to lint your InSpec code.
26
+
27
+ ```yaml
28
+ #.rubocop.yml
29
+ require:
30
+ - inspecstyle
31
+ ```
32
+
33
+ This gem must be installed to use the [InSpecStyle atom linter package](https://atom.io/packages/inspecstyle).
34
+
35
+ To only run these cops on your local rubocop run, execute:
36
+
37
+ `rubocop . --only InSpecStyle`
38
+
39
+ ## TODO:
40
+
41
+ - Instead of referencing issues in the cops, point to a general `inspecstyle.guide`
26
42
 
27
43
  ## Development
28
44
 
@@ -32,7 +48,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
48
 
33
49
  ## Contributing
34
50
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/inspecstyle. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/inspecstyle/blob/master/CODE_OF_CONDUCT.md).
51
+ Bug reports and pull requests are welcome on GitHub at https://github.com/schwad/inspecstyle. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/schwad]/inspecstyle/blob/master/CODE_OF_CONDUCT.md).
36
52
 
37
53
 
38
54
  ## License
@@ -41,4 +57,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
41
57
 
42
58
  ## Code of Conduct
43
59
 
44
- Everyone interacting in the Rubocop::InSpecStyle project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/inspecstyle/blob/master/CODE_OF_CONDUCT.md).
60
+ Everyone interacting in the Rubocop::InSpecStyle project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/schwad/inspecstyle/blob/master/CODE_OF_CONDUCT.md).
@@ -5,7 +5,7 @@ module RuboCop
5
5
  module Cop
6
6
  module InSpecStyle
7
7
  #
8
- # @example DeprecatedAttributes: Do not use attributes
8
+ # @example EnforcedStyle: input (default)
9
9
  # # Attributes have been deprecated for inputs
10
10
  # # https://github.com/inspec/inspec/issues/3802
11
11
  #
@@ -1,5 +1,5 @@
1
1
  module RuboCop
2
2
  module InSpecStyle
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspecstyle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Schwaderer