secchecker 0.1.0 → 0.2.0

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: c2afd56529d49c34ab552c83f2a95d4d595d13a50c9b73008665db6b6748c4ed
4
- data.tar.gz: 64dde885c618b6a2789b26de29c15c814ee725db5ef9e3ffcc3e40319662ea1e
3
+ metadata.gz: d1d3ff515ada200c639f04d8c2935ac67d0fabc0e7bb8e054761e718b92e4b0c
4
+ data.tar.gz: 52cc1d5cf29c2056ea56cab8e5ba5325eaff4370bfe2e15fe816d44b5da2c96d
5
5
  SHA512:
6
- metadata.gz: 61abdc873a30f5c750969b11f7d79fdffe0064121f5ac4d2620ec6373b30b21ae59ae04a28fe8c362defc99067e32913ac28a856f25fbb3fea49f0f1b4a0c057
7
- data.tar.gz: 0f4f09e3d194fc890d87cc076afce7f94e9cbeb2779f3497bedbee3abbdb00296b8976a2a5852198145b9b050fa0ddc883887b4857e679d34eb75bc43ff298bd
6
+ metadata.gz: 7195e824be8d6d10d619fe0d12a87891c2f254e2620f601635f729bfaa1088cc38744baa07de592b716fd80169d7ca8aff00bfe79cc363abf30fcc77203329f3
7
+ data.tar.gz: d4a48c6f4b5c95ed21b286ce05391035d205689c7e96147a519a964af51e9ae7b1870cadbdc90605daa9b9027888b02beb489887a02493b0f1054198e1b97cf4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- secchecker (0.1.0)
4
+ secchecker (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module Secchecker
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
data/lib/secchecker.rb CHANGED
@@ -121,9 +121,12 @@ module Secchecker
121
121
 
122
122
  private
123
123
  def git_repository?(dir)
124
- repodir = File.join(dir, ".git")
125
- puts repodir
126
- FileTest.directory?(repodir)
124
+ system('git rev-parse')
125
+ # r = `git rev-parse --is-inside-work-tree`
126
+ # r =~ 'true'
127
+ # repodir = File.join(dir, ".git")
128
+ # puts repodir
129
+ # FileTest.directory?(repodir)
127
130
  end
128
131
 
129
132
  def ls_files(dir)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secchecker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - src
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-24 00:00:00.000000000 Z
11
+ date: 2021-09-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Check passwords and other sensitive information.
14
14
  email: