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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e25516b74c174b0368c18ddcd975e70782e3cef8
4
- data.tar.gz: 3239d2f4aabf310d52291f80ded6a7447488466e
3
+ metadata.gz: 214571d63d5d89c0a8a4198da1769b162b99c2ef
4
+ data.tar.gz: 79cc8aa7e6197c66843663fcc72d71f586519407
5
5
  SHA512:
6
- metadata.gz: 9a956738ea315fc92ebe8641d331526b66b480a843dd9b6d1f4ffe9b1d18681ae946e9584edc672699c5b21c131b66f73b92d5006d34a8d418d633a0a2549dd5
7
- data.tar.gz: f212d2ca2dbcbedb8ab89be1e9de0fd756e6c30e694a5611e213bf5e1a50d344646ef8bdad2bdfbd402be3bb6f352d61f5e6bb26c17048a058f80f3fda61b59f
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.0
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|
@@ -1,3 +1,3 @@
1
1
  module Sanctify
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
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.1
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-09 00:00:00.000000000 Z
11
+ date: 2018-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler