apoptosis 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/apoptosis/apoptosis.rb +1 -1
- data/lib/apoptosis.rb +1 -1
- metadata +3 -3
data/lib/apoptosis/apoptosis.rb
CHANGED
@@ -27,7 +27,7 @@ module Apoptosis
|
|
27
27
|
#Should probably make it command line configurable
|
28
28
|
def old?(line)
|
29
29
|
today = Date.today()
|
30
|
-
return (today.year > line.year) && (today.month >= line.month) || (today.year
|
30
|
+
return (today.year > line.year) && (today.month >= line.month) || ((today.year - line.year) > 1)
|
31
31
|
end
|
32
32
|
|
33
33
|
def process_contents
|
data/lib/apoptosis.rb
CHANGED
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
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ default_executable:
|
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: hoe
|
17
|
-
requirement: &
|
17
|
+
requirement: &70174611646480 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
@@ -22,7 +22,7 @@ dependencies:
|
|
22
22
|
version: '2.10'
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70174611646480
|
26
26
|
description: ! 'A little gem for helping you figure out which lines of code may need
|
27
27
|
|
28
28
|
killed off and replaced with newer ones.'
|