apoptosis 0.0.2 → 0.0.3
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.
- data/README.rdoc +3 -1
- data/lib/apoptosis/apoptosis.rb +1 -1
- data/lib/apoptosis.rb +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
= apoptosis
|
2
2
|
|
3
3
|
http://github.com/swerner/apoptosis
|
4
|
+
|
5
|
+
gem install apoptosis
|
4
6
|
|
5
7
|
Navigate to a project directory which is also a git repository and run
|
6
8
|
the command:
|
@@ -20,7 +22,7 @@ killed off and replaced with newer ones.
|
|
20
22
|
|
21
23
|
(The MIT License)
|
22
24
|
|
23
|
-
Copyright (c) 2011
|
25
|
+
Copyright (c) 2011 Scott Werner
|
24
26
|
|
25
27
|
Permission is hereby granted, free of charge, to any person obtaining
|
26
28
|
a copy of this software and associated documentation files (the
|
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)
|
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.3
|
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: &70279305333560 !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: *70279305333560
|
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.'
|