git-headlines 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/git-headlines.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '070691db8cfa2fefff8d43f6332fb2c7170340ac25e75a6dcafa8e88f00ef21f'
4
- data.tar.gz: 201ec271c4759de749418ff91ab5b96fcc5ae2225ab01b2c8cbd8055b08fc269
3
+ metadata.gz: 2c38c7a6210b61d6cb744bef74ff55a342b3c8f88b43ab2e42a515011a95d1e8
4
+ data.tar.gz: 19f928b73502343e51d65f48648413c4c800aa49c1d6e2d735dbbd84fcbdf029
5
5
  SHA512:
6
- metadata.gz: ac9f98d70ac2704d1b38e1ab497874069ce500d5573b052eeb6eb334b2c1edb663913992996df3b5dd0f766925eb78a227f9834c1d321f01c2c4683fdb8070f7
7
- data.tar.gz: c6ba81d33eb41a58d2acb02b7105db5c04d6a4a92bf6f74e3dd65b51670e527f0d5fa0b2d135f76331af76909207c39f8d9693e1207637dcae9cc40c126bec33
6
+ metadata.gz: 924377ee7b72d9723e5486fe5384e48f68fdae89d01b8e6f6f9b6cd7678347d95191b6bf5752b8727b16e63288725a4b20db1990a4ffbb5289f1f9b72ceb20fc
7
+ data.tar.gz: aa06a29687132fd2ba88bb897b9d6401ba18740f8b8416eeb0f7dd599b35380e098eeb9cf016526f28922f23425a672234e369a0b1b97ba112a70051bdbdc213
data/lib/git-headlines.rb CHANGED
@@ -1,13 +1,13 @@
1
1
  require 'slop'
2
2
  require 'byebug'
3
3
 
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
 
6
6
  class HeadLines
7
7
  def initialize
8
8
  parse_cla
9
- construct_paths
10
9
  handle_extensions
10
+ construct_paths
11
11
  to_h
12
12
  end
13
13
 
@@ -34,7 +34,7 @@ class HeadLines
34
34
  end
35
35
 
36
36
  def construct_paths
37
- search_path = @opts[:path] || 'app'
37
+ search_path = @opts[:path] || '.'
38
38
 
39
39
  file_paths = `find #{search_path} -type f -not -path '*/\.*' \
40
40
  #{@ignore_grep} #{@allow_grep}`.split("\n") - @opts[:ignore]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-headlines
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - vikdotdev