reap 9.2.1 → 9.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/CHANGES +4 -0
  2. data/COPYING +675 -674
  3. data/MANIFEST +37 -44
  4. data/NOTES +4 -4
  5. data/Rakefile +1486 -0
  6. data/data/reap/base/COPYING +674 -674
  7. data/data/reap/base/README +23 -2
  8. data/data/reap/base/Rakefile +1486 -0
  9. data/data/reap/base/test/template.rb +16 -0
  10. data/data/reap/init/meta/project.yaml +19 -14
  11. data/lib/reap/default.yaml +57 -45
  12. data/lib/reap/extensions/file.rb +8 -0
  13. data/lib/reap/extensions/net/smtp_tls.rb +108 -0
  14. data/lib/reap/extensions.rb +2 -0
  15. data/lib/reap/metadata.rb +3 -2
  16. data/lib/reap/{manager → project}/announce.rb +3 -3
  17. data/lib/reap/{manager → project}/check.rb +1 -1
  18. data/lib/reap/{manager → project}/clean.rb +1 -1
  19. data/lib/reap/{manager → project}/gem.rb +5 -5
  20. data/lib/reap/{manager → project}/html.rb +25 -24
  21. data/lib/reap/{manager → project}/log.rb +19 -9
  22. data/lib/reap/{manager → project}/make.rb +29 -36
  23. data/lib/reap/{manager → project}/package.rb +4 -8
  24. data/lib/reap/{manager → project}/publish.rb +3 -3
  25. data/lib/reap/{manager → project}/rdoc.rb +13 -30
  26. data/lib/reap/{manager → project}/release.rb +5 -5
  27. data/lib/reap/{manager → project}/rubyforge.rb +7 -6
  28. data/lib/reap/{manager → project}/scaffold.rb +7 -2
  29. data/lib/reap/{manager → project}/scm.rb +3 -3
  30. data/lib/reap/{manager → project}/site.rb +1 -1
  31. data/lib/reap/{manager → project}/spec.rb +1 -1
  32. data/lib/reap/{manager → project}/stamp.rb +14 -11
  33. data/lib/reap/{manager → project}/stats.rb +1 -1
  34. data/lib/reap/{manager → project}/svn.rb +1 -1
  35. data/lib/reap/{manager → project}/test.rb +2 -20
  36. data/lib/reap/project.rb +34 -2
  37. data/lib/reap/systems/rubyforge.rb +5 -12
  38. data/lib/reap/systems/subversion.rb +4 -6
  39. data/lib/reap/{utilities/fileutils.rb → utilities.rb} +148 -60
  40. data/log/Changelog.txt +118 -0
  41. data/log/Fixme.txt +26 -0
  42. data/log/Todo.txt +94 -0
  43. data/meta/VERSION +1 -1
  44. data/meta/project.yaml +1 -1
  45. data/meta/unixname +1 -0
  46. data/test/unit/lib/reap/extensions/test_array.rb +12 -0
  47. metadata +44 -46
  48. data/data/reap/build/rake/Rakefile +0 -130
  49. data/data/reap/build/rake/setup.rb +0 -1616
  50. data/data/reap/build/rake-lite/install.rb +0 -79
  51. data/data/reap/build/tasks/task/rdoc +0 -211
  52. data/data/reap/build/tasks/task/setup +0 -1616
  53. data/data/reap/build/tasks/task/test +0 -38
  54. data/lib/reap/manager.rb +0 -75
  55. data/lib/reap/utilities/netutils.rb +0 -221
  56. data/lib/reap/utilities/setuputils.rb +0 -124
  57. data/lib/reap/utilities/shellutils.rb +0 -175
  58. data/log/FIXME.txt +0 -25
  59. data/log/TODO.txt +0 -72
  60. data/task/man +0 -14
  61. data/task/rdoc +0 -20
  62. data/task/setup +0 -1616
data/log/TODO.txt DELETED
@@ -1,72 +0,0 @@
1
-
2
- = TODO
3
-
4
- file://lib/reap/iobject.rb
5
- * TODO Use in method missing instead? (125)
6
- * TODO Change name of this method to something better? (141)
7
- * TODO Could add yield(self) via:
8
- yld.to_h.each do |k,v|
9
- send( "#{k}=", v ) rescue nil
10
- end (113)
11
-
12
- file://lib/reap/manager.rb
13
- * TODO Adjust these according to SCM used. (259)
14
-
15
- file://lib/reap/manager/gem.rb
16
- * TODO: Sepcify version? (92)
17
- * TODO: Endure that we even need a gem package using #out_of_date? (83)
18
- * TODO: Should this use staging too, like zip/tgz? (31)
19
-
20
- file://lib/reap/manager/log.rb
21
- * TODO Add ability to read header notes. (21)
22
-
23
- file://lib/reap/manager/make.rb
24
- * TODO Perhaps make a true compiler class in the future. (5)
25
-
26
- file://lib/reap/manager/publish.rb
27
- * TODO: Add FTP/SFTP support. (12)
28
-
29
- file://lib/reap/manager/release.rb
30
- * TODO: Should we also update a lib/version.rb file? (9)
31
-
32
- file://lib/reap/manager/site.rb
33
- * TODO: Create uninstall task. (16)
34
-
35
- file://lib/reap/manager/stats.rb
36
- * TODO Support - and + augmentations for configuration ? (14)
37
-
38
- file://lib/reap/manager/svn.rb
39
- * TODO: How should metadata.repository come into play here? (24)
40
- * TODO: How should metadata.repository come into play here? (12)
41
-
42
- file://lib/reap/manager/test.rb
43
- * TODO:
44
- - Needs to be made DRY.
45
- - Perhaps simplifiy this, making it more like the load test.
46
- And simply collect that parse the output of each test. (5)
47
-
48
- file://lib/reap/project.rb
49
- * TODO: Fit release name into name or package_name (?)
50
- def name
51
- @name ||= release.name
52
- end (132)
53
- * TODO Move to Variants? (166)
54
- * TODO: if current? (421)
55
-
56
- file://lib/reap/rubyforge.rb
57
- * TODO Deal with https, and possible other protocols too. (40)
58
- * TODO IS THIS WORKING? (533)
59
- * TODO Remove package argument, it is no longer needed. (575)
60
-
61
- file://lib/reap/systems/subversion.rb
62
- * TODO: Generate the text based changelog from the XML. (130)
63
- * TODO: Allow for a way to dump the text-based Changelog to standard out. (131)
64
- * TODO: Perhaps format prefix, like:
65
- prefix = prefix + '_' if prefix && prefix !~ /[_-]$/ (51)
66
-
67
- file://lib/reap/utilities/fileutils.rb
68
- * TODO: Make more robust. Probably needs to be fixed for Windows. (172)
69
- * TODO: (24)
70
- * TODO Dryrun test here or before folder creation? (240)
71
- * TODO: Do this programatically rather then via shell. (259)
72
- * TODO: Make more robust. (185)
data/task/man DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ratch
2
-
3
- # generate man pages
4
-
5
- require 'ratchets/doc/man'
6
-
7
- main :man do
8
- cd 'man' do
9
- files = glob('*.man')
10
- files.each do |file|
11
- ManPage.generate(file, :dryrun=>dryrun?)
12
- end
13
- end
14
- end
data/task/rdoc DELETED
@@ -1,20 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'fileutils'
4
-
5
- cmd = "rdoc"
6
- cmd << " --op='doc/rdoc'"
7
- cmd << " --merge"
8
- cmd << " --exclude='task'"
9
- cmd << " --inline-source"
10
- cmd << " --template='jamis'"
11
- cmd << " lib [A-Z]*"
12
-
13
- if ARGV.include?('--dryrun')
14
- puts "rm_r doc/rdoc"
15
- puts cmd
16
- else
17
- FileUtils.rm_r "doc/rdoc"
18
- system cmd
19
- end
20
-