sprinkle 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sprinkle/package.rb +8 -0
- data/lib/sprinkle/version.rb +1 -1
- data/sprinkle.gemspec +1 -1
- metadata +1 -1
data/lib/sprinkle/package.rb
CHANGED
@@ -124,10 +124,18 @@ module Sprinkle
|
|
124
124
|
@installer = Sprinkle::Installers::Apt.new(self, *names, &block)
|
125
125
|
end
|
126
126
|
|
127
|
+
def deb(*names, &block)
|
128
|
+
@installer = Sprinkle::Installers::Deb.new(self, *names, &block)
|
129
|
+
end
|
130
|
+
|
127
131
|
def rpm(*names, &block)
|
128
132
|
@installer = Sprinkle::Installers::Rpm.new(self, *names, &block)
|
129
133
|
end
|
130
134
|
|
135
|
+
def yum(*names, &block)
|
136
|
+
@installer = Sprinkle::Installers::Yum.new(self, *names, &block)
|
137
|
+
end
|
138
|
+
|
131
139
|
def gem(name, options = {}, &block)
|
132
140
|
@recommends << :rubygems
|
133
141
|
@installer = Sprinkle::Installers::Gem.new(self, name, options, &block)
|
data/lib/sprinkle/version.rb
CHANGED
data/sprinkle.gemspec
CHANGED