rails-app-installer 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/typo +5 -4
- data/lib/rails-installer/databases.rb +1 -2
- metadata +62 -29
data/examples/typo
CHANGED
@@ -5,7 +5,7 @@ require 'rails-installer'
|
|
5
5
|
class TypoInstaller < RailsInstaller
|
6
6
|
application_name 'typo'
|
7
7
|
support_location 'the Typo mailing list'
|
8
|
-
rails_version '1.1.
|
8
|
+
rails_version '1.1.5'
|
9
9
|
|
10
10
|
def install_post_hook
|
11
11
|
sweep_cache
|
@@ -13,9 +13,10 @@ class TypoInstaller < RailsInstaller
|
|
13
13
|
|
14
14
|
# Sweep the cache
|
15
15
|
def sweep_cache
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
in_directory install_directory do
|
17
|
+
message "Cleaning out #{@@app_name.capitalize}'s cache"
|
18
|
+
status = system_silently("rake -s sweep_cache")
|
19
|
+
end
|
19
20
|
end
|
20
21
|
end
|
21
22
|
|
@@ -19,7 +19,7 @@ class RailsInstaller
|
|
19
19
|
if tables.size > 0
|
20
20
|
return true
|
21
21
|
end
|
22
|
-
rescue
|
22
|
+
rescue Exception
|
23
23
|
# okay
|
24
24
|
end
|
25
25
|
return false
|
@@ -28,7 +28,6 @@ class RailsInstaller
|
|
28
28
|
# Back up the database. This is fully DB and schema agnostic. It
|
29
29
|
# serializes all tables to a single YAML file.
|
30
30
|
def self.backup(installer)
|
31
|
-
STDERR.puts "** backup **"
|
32
31
|
return unless connect(installer)
|
33
32
|
|
34
33
|
interesting_tables = ActiveRecord::Base.connection.tables.sort - ['sessions']
|
metadata
CHANGED
@@ -1,54 +1,87 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.
|
2
|
+
rubygems_version: 0.9.0
|
3
3
|
specification_version: 1
|
4
4
|
name: rails-app-installer
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.1.
|
7
|
-
date: 2006-07
|
6
|
+
version: 0.1.1
|
7
|
+
date: 2006-08-09 00:00:00 -07:00
|
8
8
|
summary: An installer for Rails apps
|
9
9
|
require_paths:
|
10
|
-
|
10
|
+
- lib
|
11
11
|
email: scott@sigkill.org
|
12
12
|
homepage: http://scottstuff.net
|
13
13
|
rubyforge_project:
|
14
|
-
description:
|
14
|
+
description: ""
|
15
15
|
autorequire: rails-installer
|
16
16
|
default_executable:
|
17
17
|
bindir: bin
|
18
18
|
has_rdoc: true
|
19
19
|
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
20
|
requirements:
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
version: 0.0.0
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
25
24
|
version:
|
26
25
|
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
post_install_message:
|
27
29
|
authors:
|
28
|
-
|
30
|
+
- Scott Laird
|
29
31
|
files:
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
32
|
+
- lib/apache13.conf.example.template
|
33
|
+
- lib/apache20.conf.example.template
|
34
|
+
- lib/lighttpd.conf.example.template
|
35
|
+
- lib/rails-installer
|
36
|
+
- lib/rails-installer.rb
|
37
|
+
- examples/installer
|
38
|
+
- examples/rails_installer_defaults.yml
|
39
|
+
- examples/typo
|
40
|
+
- README
|
41
|
+
- lib/rails-installer/commands.rb
|
42
|
+
- lib/rails-installer/databases.rb
|
43
|
+
- lib/rails-installer/web-servers.rb
|
42
44
|
test_files: []
|
45
|
+
|
43
46
|
rdoc_options:
|
44
|
-
|
45
|
-
|
47
|
+
- --main
|
48
|
+
- RailsInstaller
|
46
49
|
extra_rdoc_files:
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
50
|
+
- README
|
51
|
+
- lib/rails-installer/commands.rb
|
52
|
+
- lib/rails-installer/databases.rb
|
53
|
+
- lib/rails-installer/web-servers.rb
|
51
54
|
executables: []
|
55
|
+
|
52
56
|
extensions: []
|
57
|
+
|
53
58
|
requirements: []
|
54
|
-
|
59
|
+
|
60
|
+
dependencies:
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: mongrel
|
63
|
+
version_requirement:
|
64
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.3.13.3
|
69
|
+
version:
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: mongrel_cluster
|
72
|
+
version_requirement:
|
73
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.2.0
|
78
|
+
version:
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: sqlite3-ruby
|
81
|
+
version_requirement:
|
82
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 1.1.0
|
87
|
+
version:
|