sprinkle 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +1 -0
- data/config/hoe.rb +1 -1
- data/examples/rails/README +2 -2
- data/lib/sprinkle/installers/noop.rb +20 -0
- data/lib/sprinkle/version.rb +1 -1
- data/sprinkle.gemspec +2 -2
- metadata +3 -2
data/Manifest.txt
CHANGED
@@ -42,6 +42,7 @@ lib/sprinkle/extensions/dsl_accessor.rb
|
|
42
42
|
lib/sprinkle/extensions/string.rb
|
43
43
|
lib/sprinkle/extensions/symbol.rb
|
44
44
|
lib/sprinkle/installers/apt.rb
|
45
|
+
lib/sprinkle/installers/noop.rb
|
45
46
|
lib/sprinkle/installers/bsd_port.rb
|
46
47
|
lib/sprinkle/installers/deb.rb
|
47
48
|
lib/sprinkle/installers/freebsd_pkg.rb
|
data/config/hoe.rb
CHANGED
@@ -35,7 +35,7 @@ VERS = Sprinkle::VERSION::STRING + (REV ? ".#{REV}" : "")
|
|
35
35
|
RDOC_OPTS = ['--quiet', '--title', 'sprinkle documentation',
|
36
36
|
"--opname", "index.html",
|
37
37
|
"--line-numbers",
|
38
|
-
"--main", "README.
|
38
|
+
"--main", "README.markdown",
|
39
39
|
"--inline-source"]
|
40
40
|
|
41
41
|
class Hoe
|
data/examples/rails/README
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= Example Rails
|
1
|
+
= Example Rails Sprinkle Deployment Script
|
2
2
|
|
3
3
|
The following example shows how you can provision Rails and associated packages onto a remote server (or set of servers).
|
4
4
|
|
@@ -12,4 +12,4 @@ $> sprinkle -t -s rails.rb
|
|
12
12
|
|
13
13
|
== Information
|
14
14
|
|
15
|
-
For more information, please see: http://github.com/crafterm/sprinkle/tree/master/README.
|
15
|
+
For more information, please see: http://github.com/crafterm/sprinkle/tree/master/README.markdown
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Sprinkle
|
2
|
+
module Installers
|
3
|
+
# = Noop Installer
|
4
|
+
#
|
5
|
+
# This installer does nothing, it's simply useful for running pre / post hooks by themselves.
|
6
|
+
#
|
7
|
+
class Noop < Installer
|
8
|
+
def initialize(parent, name, options = {}, &block) #:nodoc:
|
9
|
+
super parent, options, &block
|
10
|
+
end
|
11
|
+
|
12
|
+
protected
|
13
|
+
|
14
|
+
def install_commands #:nodoc:
|
15
|
+
'echo noop'
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/lib/sprinkle/version.rb
CHANGED
data/sprinkle.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = %q{sprinkle}
|
3
|
-
s.version = "0.2.
|
3
|
+
s.version = "0.2.5"
|
4
4
|
|
5
5
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
6
6
|
s.authors = ["Marcus Crafter", "Mitchell Hashimoto"]
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
|
25
25
|
"lib/sprinkle/extensions/string.rb", "lib/sprinkle/extensions/symbol.rb", "lib/sprinkle/installers/apt.rb",
|
26
26
|
"lib/sprinkle/installers/deb.rb", "lib/sprinkle/installers/gem.rb", "lib/sprinkle/installers/installer.rb",
|
27
27
|
"lib/sprinkle/installers/rake.rb", "lib/sprinkle/installers/rpm.rb", "lib/sprinkle/installers/source.rb",
|
28
|
-
"lib/sprinkle/installers/yum.rb", "lib/sprinkle/installers/freebsd_pkg.rb", "lib/sprinkle/installers/openbsd_pkg.rb",
|
28
|
+
"lib/sprinkle/installers/yum.rb", "lib/sprinkle/installers/freebsd_pkg.rb", "lib/sprinkle/installers/openbsd_pkg.rb", "lib/sprinkle/installers/noop.rb",
|
29
29
|
"lib/sprinkle/installers/opensolaris_pkg.rb", "lib/sprinkle/installers/bsd_port.rb", "lib/sprinkle/installers/mac_port.rb", "lib/sprinkle/installers/push_text.rb",
|
30
30
|
"lib/sprinkle/package.rb", "lib/sprinkle/policy.rb", "lib/sprinkle/script.rb", "lib/sprinkle/verifiers/directory.rb",
|
31
31
|
"lib/sprinkle/verifiers/executable.rb", "lib/sprinkle/verifiers/file.rb", "lib/sprinkle/verifiers/process.rb",
|
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.2.
|
4
|
+
version: 0.2.5
|
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: 2009-07-
|
12
|
+
date: 2009-07-26 00:00:00 +10:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -107,6 +107,7 @@ files:
|
|
107
107
|
- lib/sprinkle/extensions/string.rb
|
108
108
|
- lib/sprinkle/extensions/symbol.rb
|
109
109
|
- lib/sprinkle/installers/apt.rb
|
110
|
+
- lib/sprinkle/installers/noop.rb
|
110
111
|
- lib/sprinkle/installers/bsd_port.rb
|
111
112
|
- lib/sprinkle/installers/deb.rb
|
112
113
|
- lib/sprinkle/installers/freebsd_pkg.rb
|