maid 0.1.2 → 0.1.3.beta.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.
- data/.gitignore +2 -0
- data/.rspec +3 -0
- data/.travis.yml +1 -0
- data/Guardfile +8 -0
- data/README.md +103 -66
- data/Rakefile +4 -7
- data/Vagrantfile +11 -0
- data/lib/maid.rb +7 -1
- data/lib/maid/app.rb +53 -0
- data/lib/maid/maid.rb +32 -10
- data/lib/maid/numeric_extensions.rb +111 -73
- data/lib/maid/platform.rb +17 -0
- data/lib/maid/rules.sample.rb +44 -35
- data/lib/maid/tools.rb +179 -25
- data/lib/maid/trash_migration.rb +38 -0
- data/lib/maid/version.rb +1 -1
- data/maid.gemspec +16 -5
- data/resources/OneThingWell.png +0 -0
- data/resources/ruby5.gif +0 -0
- data/script/provision +22 -0
- data/spec/lib/maid/app_spec.rb +4 -6
- data/spec/lib/maid/maid_spec.rb +51 -26
- data/spec/lib/maid/numeric_extensions_spec.rb +15 -1
- data/spec/lib/maid/platform_spec.rb +44 -0
- data/spec/lib/maid/tools_spec.rb +233 -31
- data/spec/lib/maid/trash_migration_spec.rb +76 -0
- data/spec/lib/maid_spec.rb +4 -1
- data/spec/spec_helper.rb +9 -1
- metadata +147 -47
- data/CONTRIBUTING.rdoc +0 -25
- data/Gemfile.lock +0 -32
- data/configure +0 -7
- data/script/micro-maid.sh +0 -18
data/configure
DELETED
data/script/micro-maid.sh
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
#!/usr/bin/env sh
|
2
|
-
# Script for testing Maid from scratch on MicroCore Linux (a 10 MB Linux distribution which is enough to run Maid)
|
3
|
-
|
4
|
-
if [ `whoami` == 'root' ]; then
|
5
|
-
mkdir maid
|
6
|
-
cd maid
|
7
|
-
tce-fetch.sh ruby.tcz
|
8
|
-
tce-load -i ruby.tcz
|
9
|
-
wget http://production.cf.rubygems.org/rubygems/rubygems-1.8.5.tgz
|
10
|
-
tar xvfz rubygems-1.8.5.tgz
|
11
|
-
cd rubygems-1.8.5
|
12
|
-
ruby setup.rb
|
13
|
-
# wget http://githubredir.debian.net/github/benjaminoakes/maid/0~master.tar.gz -O maid-master.tar.gz
|
14
|
-
# tar xvfz maid-master.tar.gz
|
15
|
-
gem install maid --pre
|
16
|
-
else
|
17
|
-
echo This should be run as root.
|
18
|
-
fi
|