sprinkle 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/CREDITS +2 -1
  2. data/Manifest.txt +11 -2
  3. data/{README.rdoc → README.txt} +7 -1
  4. data/bin/sprinkle +7 -0
  5. data/config/hoe.rb +2 -2
  6. data/lib/sprinkle/actors/actors.rb +17 -0
  7. data/lib/sprinkle/actors/capistrano.rb +41 -4
  8. data/lib/sprinkle/actors/vlad.rb +39 -4
  9. data/lib/sprinkle/configurable.rb +31 -0
  10. data/lib/sprinkle/deployment.rb +46 -6
  11. data/lib/sprinkle/extensions/arbitrary_options.rb +1 -1
  12. data/lib/sprinkle/extensions/array.rb +1 -3
  13. data/lib/sprinkle/extensions/blank_slate.rb +1 -1
  14. data/lib/sprinkle/extensions/dsl_accessor.rb +1 -1
  15. data/lib/sprinkle/extensions/string.rb +1 -1
  16. data/lib/sprinkle/extensions/symbol.rb +1 -1
  17. data/lib/sprinkle/installers/apt.rb +29 -3
  18. data/lib/sprinkle/installers/gem.rb +34 -6
  19. data/lib/sprinkle/installers/installer.rb +64 -29
  20. data/lib/sprinkle/installers/rake.rb +15 -2
  21. data/lib/sprinkle/installers/rpm.rb +20 -3
  22. data/lib/sprinkle/installers/source.rb +74 -16
  23. data/lib/sprinkle/package.rb +127 -2
  24. data/lib/sprinkle/policy.rb +42 -2
  25. data/lib/sprinkle/script.rb +11 -1
  26. data/lib/sprinkle/verifiers/directory.rb +16 -0
  27. data/lib/sprinkle/verifiers/executable.rb +36 -0
  28. data/lib/sprinkle/verifiers/file.rb +20 -0
  29. data/lib/sprinkle/verifiers/process.rb +21 -0
  30. data/lib/sprinkle/verifiers/ruby.rb +25 -0
  31. data/lib/sprinkle/verifiers/symlink.rb +30 -0
  32. data/lib/sprinkle/verify.rb +114 -0
  33. data/lib/sprinkle/version.rb +1 -1
  34. data/lib/sprinkle.rb +8 -2
  35. data/spec/sprinkle/actors/capistrano_spec.rb +21 -1
  36. data/spec/sprinkle/installers/gem_spec.rb +1 -1
  37. data/spec/sprinkle/installers/installer_spec.rb +55 -29
  38. data/spec/sprinkle/package_spec.rb +137 -0
  39. data/spec/sprinkle/verify_spec.rb +160 -0
  40. data/sprinkle.gemspec +6 -6
  41. metadata +14 -4
  42. data/examples/merb/deploy.rb +0 -5
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprinkle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcus Crafter
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-07-16 00:00:00 +10:00
12
+ date: 2008-07-21 00:00:00 +10:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -62,17 +62,17 @@ extensions: []
62
62
  extra_rdoc_files:
63
63
  - History.txt
64
64
  - Manifest.txt
65
+ - README.txt
65
66
  files:
66
67
  - CREDITS
67
68
  - History.txt
68
69
  - MIT-LICENSE
69
70
  - Manifest.txt
70
- - README.rdoc
71
+ - README.txt
71
72
  - Rakefile
72
73
  - bin/sprinkle
73
74
  - config/hoe.rb
74
75
  - config/requirements.rb
75
- - examples/merb/deploy.rb
76
76
  - examples/rails/README
77
77
  - examples/rails/deploy.rb
78
78
  - examples/rails/packages/database.rb
@@ -83,8 +83,10 @@ files:
83
83
  - examples/rails/rails.rb
84
84
  - examples/sprinkle/sprinkle.rb
85
85
  - lib/sprinkle.rb
86
+ - lib/sprinkle/actors/actors.rb
86
87
  - lib/sprinkle/actors/capistrano.rb
87
88
  - lib/sprinkle/actors/vlad.rb
89
+ - lib/sprinkle/configurable.rb
88
90
  - lib/sprinkle/deployment.rb
89
91
  - lib/sprinkle/extensions/arbitrary_options.rb
90
92
  - lib/sprinkle/extensions/array.rb
@@ -101,6 +103,13 @@ files:
101
103
  - lib/sprinkle/package.rb
102
104
  - lib/sprinkle/policy.rb
103
105
  - lib/sprinkle/script.rb
106
+ - lib/sprinkle/verifiers/directory.rb
107
+ - lib/sprinkle/verifiers/executable.rb
108
+ - lib/sprinkle/verifiers/file.rb
109
+ - lib/sprinkle/verifiers/process.rb
110
+ - lib/sprinkle/verifiers/ruby.rb
111
+ - lib/sprinkle/verifiers/symlink.rb
112
+ - lib/sprinkle/verify.rb
104
113
  - lib/sprinkle/version.rb
105
114
  - script/destroy
106
115
  - script/generate
@@ -119,6 +128,7 @@ files:
119
128
  - spec/sprinkle/policy_spec.rb
120
129
  - spec/sprinkle/script_spec.rb
121
130
  - spec/sprinkle/sprinkle_spec.rb
131
+ - spec/sprinkle/verify_spec.rb
122
132
  - sprinkle.gemspec
123
133
  - tasks/deployment.rake
124
134
  - tasks/environment.rake
@@ -1,5 +0,0 @@
1
- set :application, "application"
2
-
3
- role :app, "yourhost.com"
4
- role :web, "yourhost.com"
5
- role :db, "yourhost.com", :primary => true