git_tracking 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/git_tracking/detect.rb +2 -2
- data/lib/git_tracking/version.rb +1 -1
- metadata +2 -7
data/Gemfile.lock
CHANGED
data/lib/git_tracking/detect.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
class GitTracking
|
2
2
|
class << self
|
3
3
|
def detect_debuggers
|
4
|
-
file_names = `git diff-index --cached -Sdebugger --name-only HEAD
|
5
|
-
file_names = file_names.gsub(".git_tracking
|
4
|
+
file_names = `git diff-index --cached -Sdebugger --name-only HEAD`
|
5
|
+
file_names = file_names.gsub(".git_tracking",'').strip
|
6
6
|
if file_names != ""
|
7
7
|
highline.say highline.color("The following files have 'debugger' statements in them: ", :red)
|
8
8
|
highline.say file_names
|
data/lib/git_tracking/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_tracking
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 27
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
8
|
+
- 1
|
9
|
+
version: 0.1.1
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Steve Hull
|
@@ -27,7 +26,6 @@ dependencies:
|
|
27
26
|
requirements:
|
28
27
|
- - ">="
|
29
28
|
- !ruby/object:Gem::Version
|
30
|
-
hash: 3
|
31
29
|
segments:
|
32
30
|
- 0
|
33
31
|
version: "0"
|
@@ -41,7 +39,6 @@ dependencies:
|
|
41
39
|
requirements:
|
42
40
|
- - ">="
|
43
41
|
- !ruby/object:Gem::Version
|
44
|
-
hash: 3
|
45
42
|
segments:
|
46
43
|
- 0
|
47
44
|
version: "0"
|
@@ -91,7 +88,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
88
|
requirements:
|
92
89
|
- - ">="
|
93
90
|
- !ruby/object:Gem::Version
|
94
|
-
hash: 3
|
95
91
|
segments:
|
96
92
|
- 0
|
97
93
|
version: "0"
|
@@ -100,7 +96,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
96
|
requirements:
|
101
97
|
- - ">="
|
102
98
|
- !ruby/object:Gem::Version
|
103
|
-
hash: 3
|
104
99
|
segments:
|
105
100
|
- 0
|
106
101
|
version: "0"
|