automateit 0.71220 → 0.71221
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/CHANGES.txt +6 -0
- data/Rakefile +4 -1
- data/lib/automateit/package_manager/apt.rb +4 -0
- data/lib/automateit/package_manager/dpkg.rb +0 -4
- data/lib/automateit/root.rb +1 -1
- metadata +8 -8
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGES.txt
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
0.71221:
|
2
|
+
Date: Sun, 23 Dec 2007 00:48:30 -0800
|
3
|
+
Desc:
|
4
|
+
- (%) Fixed PackageManager::APT driver. In 0.71220, the DPKG driver was selected as the default driver over APT. The fix chooses APT as the default over DPKG, like before.
|
5
|
+
- Fixed Rakefile to work with latest version of RubyGems.
|
6
|
+
|
1
7
|
0.71220:
|
2
8
|
Date: Thu, 20 Dec 2007 23:36:05 -0800
|
3
9
|
Desc:
|
data/Rakefile
CHANGED
@@ -98,6 +98,7 @@ namespace :loc do
|
|
98
98
|
|
99
99
|
desc "Display lines of churn"
|
100
100
|
task :churn do
|
101
|
+
require 'rubygems'
|
101
102
|
require 'active_support'
|
102
103
|
puts "%s lines of Hg churn" % (`hg churn`.scan(/^[^\s]+\s+(\d+)\s/).flatten.map(&:to_i).sum).commify
|
103
104
|
end
|
@@ -142,7 +143,8 @@ end
|
|
142
143
|
|
143
144
|
desc "RFC-822 time for right now, optional D=x where x is delta like '1.day' ago"
|
144
145
|
task :now do
|
145
|
-
require '
|
146
|
+
require 'rubygems'
|
147
|
+
require 'activesupport'
|
146
148
|
time = Time.now
|
147
149
|
if delta = ENV["D"]
|
148
150
|
time = eval "time - #{delta}"
|
@@ -152,6 +154,7 @@ end
|
|
152
154
|
|
153
155
|
desc "RFC-822 time for yesterday"
|
154
156
|
task :yesterday do
|
157
|
+
require 'rubygems'
|
155
158
|
require 'active_support'
|
156
159
|
time = Time.now - 1.day
|
157
160
|
puts time.to_s(:rfc822)
|
@@ -5,6 +5,10 @@
|
|
5
5
|
class AutomateIt::PackageManager::APT < AutomateIt::PackageManager::DPKG
|
6
6
|
depends_on :programs => %w(apt-get dpkg)
|
7
7
|
|
8
|
+
def suitability(method, *args) # :nodoc:
|
9
|
+
return available? ? 1 : 0
|
10
|
+
end
|
11
|
+
|
8
12
|
# See AutomateIt::PackageManager#install
|
9
13
|
def install(*packages)
|
10
14
|
return _install_helper(*packages) do |list, opts|
|
@@ -5,10 +5,6 @@
|
|
5
5
|
class AutomateIt::PackageManager::DPKG < AutomateIt::PackageManager::BaseDriver
|
6
6
|
depends_on :programs => %w(dpkg)
|
7
7
|
|
8
|
-
def suitability(method, *args) # :nodoc:
|
9
|
-
return available? ? 1 : 0
|
10
|
-
end
|
11
|
-
|
12
8
|
# See AutomateIt::PackageManager#installed?
|
13
9
|
def installed?(*packages)
|
14
10
|
return _installed_helper?(*packages) do |list, opts|
|
data/lib/automateit/root.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: automateit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "0.
|
4
|
+
version: "0.71221"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igal Koshevoy
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
COR01yWDcVLdM89nNLk=
|
31
31
|
-----END CERTIFICATE-----
|
32
32
|
|
33
|
-
date: 2007-12-
|
33
|
+
date: 2007-12-23 00:00:00 -08:00
|
34
34
|
default_executable:
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
@@ -136,13 +136,13 @@ files:
|
|
136
136
|
- lib/automateit/plugin.rb
|
137
137
|
- lib/automateit/common.rb
|
138
138
|
- lib/automateit/template_manager.rb
|
139
|
-
- lib/automateit/package_manager/
|
139
|
+
- lib/automateit/package_manager/pear.rb
|
140
140
|
- lib/automateit/package_manager/apt.rb
|
141
|
-
- lib/automateit/package_manager/
|
141
|
+
- lib/automateit/package_manager/cpan.rb
|
142
142
|
- lib/automateit/package_manager/gem.rb
|
143
143
|
- lib/automateit/package_manager/egg.rb
|
144
144
|
- lib/automateit/package_manager/yum.rb
|
145
|
-
- lib/automateit/package_manager/
|
145
|
+
- lib/automateit/package_manager/dpkg.rb
|
146
146
|
- lib/automateit/package_manager/pecl.rb
|
147
147
|
- lib/automateit/package_manager/portage.rb
|
148
148
|
- lib/automateit/edit_manager.rb
|
@@ -152,10 +152,10 @@ files:
|
|
152
152
|
- lib/automateit/service_manager/sysv.rb
|
153
153
|
- lib/automateit/service_manager/update_rcd.rb
|
154
154
|
- lib/automateit/service_manager/chkconfig.rb
|
155
|
-
- lib/automateit/account_manager/nscd.rb
|
156
155
|
- lib/automateit/account_manager/base.rb
|
157
|
-
- lib/automateit/account_manager/
|
156
|
+
- lib/automateit/account_manager/nscd.rb
|
158
157
|
- lib/automateit/account_manager/etc.rb
|
158
|
+
- lib/automateit/account_manager/posix.rb
|
159
159
|
- lib/automateit/account_manager/passwd_expect.rb
|
160
160
|
- lib/automateit/account_manager/passwd_pty.rb
|
161
161
|
- lib/automateit/platform_manager/darwin.rb
|
@@ -266,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
266
|
requirements: []
|
267
267
|
|
268
268
|
rubyforge_project: automateit
|
269
|
-
rubygems_version: 0.
|
269
|
+
rubygems_version: 1.0.1
|
270
270
|
signing_key:
|
271
271
|
specification_version: 2
|
272
272
|
summary: AutomateIt is an open source tool for automating the setup and maintenance of servers, applications and their dependencies.
|
metadata.gz.sig
CHANGED
Binary file
|