clean_files 1.1.0 → 1.1.1
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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/clean_files.gemspec +2 -2
- data/lib/clean_files/runner.rb +2 -13
- metadata +3 -3
- data/clean_files-1.0.1.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b3e033462bf35eff28ac33a747db465e490fe8c9
|
|
4
|
+
data.tar.gz: 3f0be2856dfe635691fb4afa1272b6e9dcec3d6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a6f21af4fb2ac4c57752f34703d354c723ba664c9d09af2cf02b8335ca05758efc75cf98791335ecb03f3bd9c2f7629bf5ef4d563a997044d68e7e5eea3edb6
|
|
7
|
+
data.tar.gz: bb2f94b10a1a24491d597592d80bd8040eb0e79710de332e272efca6faeef9a82dbd76bef54c72794843b1f9ea65748d4b61217bf0c648cd0e2e27b864abe118
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/clean_files.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = "clean_files"
|
|
5
|
-
s.version = "1.1.
|
|
5
|
+
s.version = "1.1.1"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Tor Erik Linnerud"]
|
|
9
9
|
s.date = "2009-05-05"
|
|
10
10
|
s.default_executable = "clean_files"
|
|
11
11
|
s.email = "torerik.linnerud@alphasights.com"
|
|
12
|
+
s.files = `git ls-files`.split($/)
|
|
12
13
|
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
|
13
14
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
|
14
|
-
s.files = `git ls-files`.split($/)
|
|
15
15
|
s.has_rdoc = true
|
|
16
16
|
s.homepage = "http://github.com/alphasights/clean_files"
|
|
17
17
|
s.require_paths = ["lib"]
|
data/lib/clean_files/runner.rb
CHANGED
|
@@ -69,21 +69,10 @@ module CleanFiles
|
|
|
69
69
|
end
|
|
70
70
|
|
|
71
71
|
def rdoc(*sections)
|
|
72
|
-
readme_path = File.join(File.dirname(__FILE__), '
|
|
72
|
+
readme_path = File.join(File.dirname(__FILE__), '/../../README.rdoc')
|
|
73
73
|
comment = File.read(readme_path)
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
flow_convertor = SM::ToFlow.new
|
|
77
|
-
flow = markup.convert(comment, flow_convertor)
|
|
78
|
-
|
|
79
|
-
unless sections.empty?
|
|
80
|
-
flow = RDoc.extract_sections(flow, sections)
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
options = RI::Options.instance
|
|
84
|
-
|
|
85
|
-
formatter = options.formatter.new(options, "")
|
|
86
|
-
formatter.display_flow(flow)
|
|
75
|
+
puts comment.gsub(/.*Usage/m, '')
|
|
87
76
|
end
|
|
88
77
|
|
|
89
78
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clean_files
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tor Erik Linnerud
|
|
@@ -69,7 +69,8 @@ dependencies:
|
|
|
69
69
|
description: Executable to delete files which fit certain criteria e.g. you can delete
|
|
70
70
|
files older than 1 month keeping one weekly file
|
|
71
71
|
email: torerik.linnerud@alphasights.com
|
|
72
|
-
executables:
|
|
72
|
+
executables:
|
|
73
|
+
- clean_files
|
|
73
74
|
extensions: []
|
|
74
75
|
extra_rdoc_files:
|
|
75
76
|
- LICENSE
|
|
@@ -82,7 +83,6 @@ files:
|
|
|
82
83
|
- LICENSE
|
|
83
84
|
- README.rdoc
|
|
84
85
|
- bin/clean_files
|
|
85
|
-
- clean_files-1.0.1.gem
|
|
86
86
|
- clean_files.gemspec
|
|
87
87
|
- lib/clean_files.rb
|
|
88
88
|
- lib/clean_files/cleaner.rb
|
data/clean_files-1.0.1.gem
DELETED
|
Binary file
|