olde_code_finder 0.0.2 → 0.0.3

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: c120f362e2baec2817818015fc8018335efbffd9
4
- data.tar.gz: ea8381dd41766942e9c4eb6404e20e1cc6c0055f
3
+ metadata.gz: 31e6f9ecb786945c12caadf81ad7373a84082f70
4
+ data.tar.gz: dd3514c360a463517364b6d1d929b0fda9173134
5
5
  SHA512:
6
- metadata.gz: 8a767acc5f4b4052efe0b0d273de3fdc6b77711917b430d32c3f0c6c95ba54512fde9ed7817461bf735f495729f302b3a755beb09280835385c44923563ec07a
7
- data.tar.gz: 6c73c453675c6151bfdea4dc28d9214ed97747b155956e6829b20427564069b8ef96e3c92619963009191cc2cd26636314715ca815c14f6089beefdd8f7cf5d6
6
+ metadata.gz: 5b21ed729e0e4abd57944c362127377018ad88dc4b1176686b84065e811ed20a37ee418ff0a9e195d5be958fa95d2eac7ddf6f8c0b0ce1bd42ed2e5416c3abbb
7
+ data.tar.gz: a25730507cc19aacf63ca1ce22502cf51566df0d51506af5053986081e352c97553c99f10dc6c924bc902931742486890d26c71136faa6734e69b8ef2ae01e77
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg/
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ Sep 22, 2014: 0.0.3
2
+ Skip Ruby comment lines
3
+
1
4
  Sep 20, 2014: 0.0.2
2
5
  New task to support find old code by date, not by authors - thanks to Jonathan Rochkind for the idea!
3
6
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- olde_code_finder (0.0.2)
4
+ olde_code_finder (0.0.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -31,7 +31,7 @@ module OldeCodeFinder
31
31
  private
32
32
 
33
33
  def git_blame_output
34
- @git_blame_output ||= `git blame --date=short #{file}`.split("\n")
34
+ @git_blame_output ||= `git blame --date=short #{file}`.split("\n").select {|x| x !~ /\s+\d+\)\s#/ }
35
35
  end
36
36
  end
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module OldeCodeFinder
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -0,0 +1,10 @@
1
+ require 'test/unit'
2
+ require 'olde_code_finder'
3
+
4
+ class FinderTest < Test::Unit::TestCase
5
+
6
+ def test_constructor
7
+ assert OldeCodeFinder::Finder.new("test.rb", 90)
8
+ end
9
+
10
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: olde_code_finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Copeland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-20 00:00:00.000000000 Z
11
+ date: 2014-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -45,6 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - ".gitignore"
48
49
  - ".ruby-version"
49
50
  - CHANGELOG.md
50
51
  - Gemfile
@@ -57,6 +58,7 @@ files:
57
58
  - lib/olde_code_finder/tasks.rb
58
59
  - lib/olde_code_finder/version.rb
59
60
  - olde_code_finder.gemspec
61
+ - test/finder_test.rb
60
62
  - vendor/cache/rake-10.2.2.gem
61
63
  homepage: ''
62
64
  licenses:
@@ -82,4 +84,5 @@ rubygems_version: 2.2.2
82
84
  signing_key:
83
85
  specification_version: 4
84
86
  summary: OldeCodeFinder finds your olde code.
85
- test_files: []
87
+ test_files:
88
+ - test/finder_test.rb