sanctify 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/sanctify/cli.rb +1 -1
- data/lib/sanctify/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 214571d63d5d89c0a8a4198da1769b162b99c2ef
|
4
|
+
data.tar.gz: 79cc8aa7e6197c66843663fcc72d71f586519407
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62e3470ad013841ababf20bb15c39b4b7e997fa40e85b35bccdedd06bb73cea53971cf3fde22a4f1efd412c57e54d930ee9b1f963e9d81d28f16e05d8b3e35f6
|
7
|
+
data.tar.gz: 9327bb2cc39e974471d4e5a681c8ee611ba48a8de868a748abde388cc7090bc2b892c155fbd126233c50559e3cbb342717974710e8858d4ce31bc7416fa41c73
|
data/README.md
CHANGED
@@ -37,9 +37,11 @@ To integrate with pre-commit, add the following to your `pre-commit-config.yaml`
|
|
37
37
|
```
|
38
38
|
repos:
|
39
39
|
- repo: https://github.com/onetwopunch/sanctify
|
40
|
-
sha: v0.2.
|
40
|
+
sha: v0.2.2
|
41
41
|
hooks:
|
42
42
|
- id: sanctify
|
43
|
+
args:
|
44
|
+
- -c sanctify.yml
|
43
45
|
```
|
44
46
|
|
45
47
|
## Configuration
|
data/lib/sanctify/cli.rb
CHANGED
@@ -14,7 +14,7 @@ module Sanctify
|
|
14
14
|
end
|
15
15
|
|
16
16
|
opts.on("-c CONFIG", "--config CONFIG", "Configuration file in YAML") do |config|
|
17
|
-
args[:config] = YAML.load(File.open(config))
|
17
|
+
args[:config] = YAML.load(File.open(config.chomp))
|
18
18
|
end
|
19
19
|
|
20
20
|
opts.on("-d DIFF", "--diff DIFF", "Specify a diff or commit from which to check secrets") do |diff|
|
data/lib/sanctify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sanctify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Canty
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|