albacore 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. data/EULA.txt +1 -1
  2. data/VERSION +1 -1
  3. data/lib/albacore.rb +4 -4
  4. data/lib/albacore/ncoverconsole.rb +4 -4
  5. data/lib/albacore/ncoverreport.rb +3 -3
  6. data/lib/albacore/ndepend.rb +3 -3
  7. data/lib/albacore/nunittestrunner.rb +1 -1
  8. data/lib/albacore/plink.rb +4 -3
  9. data/lib/albacore/renamer.rb +17 -0
  10. data/lib/albacore/sqlcmd.rb +3 -3
  11. data/lib/albacore/support/failure.rb +1 -8
  12. data/lib/rake/assemblyinfotask.rb +2 -16
  13. data/lib/rake/docutask.rb +2 -16
  14. data/lib/rake/exectask.rb +3 -18
  15. data/lib/rake/expandtemplatestask.rb +2 -15
  16. data/lib/rake/msbuildtask.rb +2 -17
  17. data/lib/rake/mspectask.rb +2 -16
  18. data/lib/rake/nanttask.rb +2 -16
  19. data/lib/rake/ncoverconsoletask.rb +3 -17
  20. data/lib/rake/ncoverreporttask.rb +3 -17
  21. data/lib/rake/ndependtask.rb +3 -21
  22. data/lib/rake/nunittask.rb +3 -17
  23. data/lib/rake/plinktask.rb +3 -23
  24. data/lib/rake/renametask.rb +2 -19
  25. data/lib/rake/sftptask.rb +3 -16
  26. data/lib/rake/sqlcmdtask.rb +2 -16
  27. data/lib/rake/sshtask.rb +2 -15
  28. data/lib/rake/support/albacoretask.rb +16 -6
  29. data/lib/rake/support/createtask.rb +20 -0
  30. data/lib/rake/unziptask.rb +2 -16
  31. data/lib/rake/xbuildtask.rb +4 -19
  32. data/lib/rake/xunittask.rb +2 -16
  33. data/lib/rake/ziptask.rb +2 -16
  34. data/rakefile.rb +6 -6
  35. data/spec/assemblyinfo_spec.rb +2 -0
  36. data/spec/assemblyinfotask_spec.rb +13 -12
  37. data/spec/createtask_spec.rb +70 -0
  38. data/spec/docutask_spec.rb +34 -21
  39. data/spec/exec_spec.rb +2 -1
  40. data/spec/exectask_spec.rb +25 -10
  41. data/spec/expandtemplatestask_spec.rb +25 -10
  42. data/spec/msbuild_spec.rb +2 -1
  43. data/spec/msbuildtask_spec.rb +25 -10
  44. data/spec/mspectask_spec.rb +25 -10
  45. data/spec/nant_spec.rb +2 -1
  46. data/spec/nanttask_spec.rb +24 -9
  47. data/spec/ncoverconsole_spec.rb +16 -8
  48. data/spec/ncoverconsoletask_spec.rb +25 -10
  49. data/spec/ncoverreport_spec.rb +27 -13
  50. data/spec/ncoverreporttask_spec.rb +25 -10
  51. data/spec/ndepend_spec.rb +3 -1
  52. data/spec/ndependtask_spec.rb +37 -22
  53. data/spec/nunittask_spec.rb +25 -10
  54. data/spec/nunittestrunner_spec.rb +3 -3
  55. data/spec/patches/fail_patch.rb +9 -0
  56. data/spec/plink_spec.rb +1 -0
  57. data/spec/plinktask_spec.rb +37 -22
  58. data/spec/renametask_spec.rb +13 -11
  59. data/spec/sftptask_spec.rb +11 -10
  60. data/spec/sqlcmd_spec.rb +4 -2
  61. data/spec/sqlcmdtask_spec.rb +11 -10
  62. data/spec/sshtask_spec.rb +11 -10
  63. data/spec/support/spec_helper.rb +2 -1
  64. data/spec/xunit_spec.rb +2 -2
  65. data/spec/xunittask_spec.rb +11 -10
  66. data/spec/ziptask_spec.rb +12 -11
  67. metadata +10 -7
  68. data/spec/patches/tasklib_patch.rb +0 -12
@@ -1,12 +0,0 @@
1
- module TasklibPatch
2
- attr_accessor :task_failed
3
-
4
- def initialize
5
- super()
6
- @task_failed = false
7
- end
8
-
9
- def fail
10
- @task_failed = true
11
- end
12
- end