setup 5.0.1 → 5.1.0

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.
Files changed (48) hide show
  1. data/Assembly +46 -0
  2. data/Gemfile +2 -0
  3. data/{HISTORY → HISTORY.rdoc} +21 -0
  4. data/LICENSE.txt +28 -0
  5. data/{COPYING → NOTICE.txt} +11 -4
  6. data/README.rdoc +28 -40
  7. data/SetupReceipt +405 -0
  8. data/bin/setup.rb +1302 -3
  9. data/lib/setup.rb +4 -3
  10. data/lib/setup/base.rb +1 -1
  11. data/lib/setup/command.rb +41 -18
  12. data/lib/setup/configuration.rb +21 -16
  13. data/lib/setup/constants.rb +4 -1
  14. data/lib/setup/documentor.rb +47 -41
  15. data/lib/setup/installer.rb +2 -2
  16. data/lib/setup/project.rb +85 -35
  17. data/lib/setup/session.rb +44 -31
  18. data/lib/setup/version.rb +4 -0
  19. data/meta/authors +4 -2
  20. data/meta/copyrights +4 -0
  21. data/meta/description +1 -1
  22. data/meta/organization +1 -0
  23. data/meta/repositories +2 -0
  24. data/meta/requirements +4 -0
  25. data/meta/resources +6 -0
  26. data/meta/version +1 -1
  27. data/script/{bstrap → bootstrap} +0 -0
  28. data/script/bundle +23 -6
  29. data/script/setup +122 -164
  30. data/test/features/{make.feature → compile.feature} +5 -6
  31. data/test/features/config.feature +1 -1
  32. data/test/features/install.feature +5 -5
  33. data/test/features/step_definitions/compile_steps.rb +26 -0
  34. data/test/features/step_definitions/config_steps.rb +2 -2
  35. data/test/features/step_definitions/install_steps.rb +11 -5
  36. data/test/features/uninstall.feature +1 -1
  37. data/test/fixtures/faux-project/.setup/metaconfig.rb +6 -0
  38. metadata +99 -60
  39. data/MANIFEST +0 -65
  40. data/Syckfile +0 -77
  41. data/meta/collection +0 -1
  42. data/meta/contact +0 -1
  43. data/meta/homepage +0 -1
  44. data/meta/released +0 -1
  45. data/meta/repository +0 -1
  46. data/meta/ruby +0 -3
  47. data/test/features/document.feature +0 -2
  48. data/test/features/step_definitions/setup_steps.rb +0 -30
@@ -1 +0,0 @@
1
- proutils
@@ -1 +0,0 @@
1
- Tiger Ops <tigerops-community@rubyforge.org>
@@ -1 +0,0 @@
1
- http://setup.rubyforge.org
@@ -1 +0,0 @@
1
- 2008-11-17
@@ -1 +0,0 @@
1
- git://github.com/proutils/setup.git
data/meta/ruby DELETED
@@ -1,3 +0,0 @@
1
- ---
2
- - 1.8.6
3
- - 1.8.7
@@ -1,2 +0,0 @@
1
- Feature: Document
2
-
@@ -1,30 +0,0 @@
1
- Given /'setup.rb make' has been run$/ do
2
- Setup::Command.run("make", "--quiet") #, "--trace")
3
- end
4
-
5
- When /^I issue the command 'setup\.rb make'$/ do
6
- Setup::Command.run("make", "--quiet")
7
- end
8
-
9
- When /^I issue the command 'setup\.rb make' unprepared$/ do
10
- begin
11
- Setup::Command.run("make", "--quiet")
12
- rescue SystemExit => error
13
- $setup_feature_error = error
14
- end
15
- end
16
-
17
- Then /^the extensions should be compiled$/ do
18
- exts = Dir['ext/faux/faux.so']
19
- exts.assert!.empty?
20
- end
21
-
22
- Then /^I will be told that I must first run 'setup\.rb config'$/ do
23
- $setup_feature_error.message.assert == "must run \'setup config\' first"
24
- end
25
-
26
- Then /^the extensions will not be compiled$/ do
27
- exts = Dir['ext/faux/faux.so']
28
- exts.assert.empty?
29
- end
30
-