geoffreywiseman-prune 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ end
21
21
 
22
22
  spec = Gem::Specification.new do |spec|
23
23
  spec.name = 'geoffreywiseman-prune'
24
- spec.version = '1.1.0'
24
+ spec.version = '1.1.1'
25
25
  spec.date = '2011-09-09'
26
26
  spec.summary = 'Prunes files from a folder based on a retention policy, often time-based.'
27
27
  spec.description = 'Prune is meant to analyze a folder full of files, run them against a retention policy and decide which to keep, which to remove and which to archive. It is extensible and embeddable.'
@@ -31,6 +31,8 @@ spec = Gem::Specification.new do |spec|
31
31
  spec.executables << 'prune'
32
32
 
33
33
  spec.files = Dir['{lib,spec}/**/*.rb', 'bin/*', 'Rakefile', 'README.mdown', 'UNLICENSE']
34
+
35
+ spec.add_dependency( 'minitar', '>= 0.5.3' )
34
36
  end
35
37
 
36
38
  Gem::PackageTask.new( spec ) do |pkg|
@@ -1,6 +1,5 @@
1
1
  #!/usr/bin/ruby
2
2
  require 'rubygems'
3
- require 'optparse'
4
3
  require 'date'
5
4
  require 'zlib'
6
5
  require 'archive/tar/minitar'
data/lib/prune/cli.rb CHANGED
@@ -2,9 +2,6 @@
2
2
  require 'rubygems'
3
3
  require 'optparse'
4
4
  require 'date'
5
- require 'zlib'
6
- require 'archive/tar/minitar'
7
- include Archive::Tar
8
5
 
9
6
  module Prune
10
7
  VERSION = [1,0,0]
data/lib/prune/pruner.rb CHANGED
@@ -1,10 +1,6 @@
1
1
  #!/usr/bin/ruby
2
2
  require 'rubygems'
3
- require 'optparse'
4
3
  require 'date'
5
- require 'zlib'
6
- require 'archive/tar/minitar'
7
- include Archive::Tar
8
4
 
9
5
  module Prune
10
6
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geoffreywiseman-prune
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Geoffrey Wiseman
@@ -16,8 +16,23 @@ bindir: bin
16
16
  cert_chain: []
17
17
 
18
18
  date: 2011-09-09 00:00:00 Z
19
- dependencies: []
20
-
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: minitar
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 13
29
+ segments:
30
+ - 0
31
+ - 5
32
+ - 3
33
+ version: 0.5.3
34
+ type: :runtime
35
+ version_requirements: *id001
21
36
  description: Prune is meant to analyze a folder full of files, run them against a retention policy and decide which to keep, which to remove and which to archive. It is extensible and embeddable.
22
37
  email: geoffrey.wiseman@codiform.com
23
38
  executables: