apoptosis 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,9 @@
1
- = apoptosis
1
+ = DESCRIPTION:
2
+ https://rubygems.org/gems/apoptosis
2
3
 
3
- http://github.com/swerner/apoptosis
4
+ I got the idea for this gem during JRubyConf during Michael Feathers' talk. He made a point that software is alive and unlike biological systems, doesn't have an automatic way to kill off old 'cells'. This gem is to aid in finding old, potentially crufty areas of your project that may need to be killed off and remade, or at least looked at.
5
+
6
+ Currently the gem alerts you to any lines that haven't been touched in at least a year.
4
7
 
5
8
  gem install apoptosis
6
9
 
@@ -13,10 +16,6 @@ This command will create a DeathRow.md file in the directory with a list
13
16
  of files and lines in your project which have not been touched in a
14
17
  year. The idea is that you should re-evaluate and/or refactor them.
15
18
 
16
- == DESCRIPTION:
17
-
18
- A little gem for helping you figure out which lines of code may need
19
- killed off and replaced with newer ones.
20
19
 
21
20
  == LICENSE:
22
21
 
@@ -5,5 +5,5 @@ require 'date'
5
5
  require 'apoptosis/apoptosis.rb'
6
6
 
7
7
  module Apoptosis
8
- VERSION = '0.0.4'
8
+ VERSION = '0.0.5'
9
9
  end
@@ -4,7 +4,7 @@ module Apoptosis
4
4
 
5
5
  def initialize
6
6
  @basedir = Dir.pwd
7
- @contents = Dir['**/*.*']
7
+ @contents = (`git ls-files`).split("\n")
8
8
  end
9
9
 
10
10
  def get_blame(file)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apoptosis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-04 00:00:00.000000000 -04:00
12
+ date: 2011-08-05 00:00:00.000000000 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: hoe
17
- requirement: &70174611646480 !ruby/object:Gem::Requirement
17
+ requirement: &70336293085700 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,18 @@ dependencies:
22
22
  version: '2.10'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *70174611646480
26
- description: ! 'A little gem for helping you figure out which lines of code may need
27
-
28
- killed off and replaced with newer ones.'
25
+ version_requirements: *70336293085700
26
+ description: ! "https://rubygems.org/gems/apoptosis\n\nI got the idea for this gem
27
+ during JRubyConf during Michael Feathers' talk. He made a point that software is
28
+ alive and unlike biological systems, doesn't have an automatic way to kill off old
29
+ 'cells'. This gem is to aid in finding old, potentially crufty areas of your project
30
+ that may need to be killed off and remade, or at least looked at.\n\nCurrently the
31
+ gem alerts you to any lines that haven't been touched in at least a year. \n \n
32
+ \ gem install apoptosis\n\nNavigate to a project directory which is also a git repository
33
+ and run\nthe command:\n\n apoptosis\n\nThis command will create a DeathRow.md file
34
+ in the directory with a list\nof files and lines in your project which have not
35
+ been touched in a\nyear. The idea is that you should re-evaluate and/or refactor
36
+ them."
29
37
  email:
30
38
  - stwerner@vt.edu
31
39
  executables:
@@ -51,7 +59,7 @@ files:
51
59
  - test/test_helper.rb
52
60
  - .gemtest
53
61
  has_rdoc: true
54
- homepage: http://github.com/swerner/apoptosis
62
+ homepage: https://rubygems.org/gems/apoptosis
55
63
  licenses: []
56
64
  post_install_message: PostInstall.txt
57
65
  rdoc_options:
@@ -76,8 +84,8 @@ rubyforge_project: apoptosis
76
84
  rubygems_version: 1.6.2
77
85
  signing_key:
78
86
  specification_version: 3
79
- summary: A little gem for helping you figure out which lines of code may need killed
80
- off and replaced with newer ones.
87
+ summary: https://rubygems.org/gems/apoptosis I got the idea for this gem during JRubyConf
88
+ during Michael Feathers' talk
81
89
  test_files:
82
90
  - test/test_apoptosis.rb
83
91
  - test/test_helper.rb