rails-app-installer 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/examples/installer CHANGED
@@ -9,11 +9,7 @@ class AppInstaller < RailsInstaller
9
9
  rails_version '1.1.6'
10
10
  end
11
11
 
12
- # Installer program
13
12
  directory = ARGV[1]
14
13
 
15
14
  app = AppInstaller.new(directory)
16
- app.message_proc = Proc.new do |msg|
17
- STDERR.puts " #{msg}"
18
- end
19
15
  app.execute_command(*ARGV)
data/examples/typo CHANGED
@@ -15,7 +15,7 @@ class TypoInstaller < RailsInstaller
15
15
  def sweep_cache
16
16
  in_directory install_directory do
17
17
  message "Cleaning out #{@@app_name.capitalize}'s cache"
18
- status = system_silently("rake -s sweep_cache")
18
+ system_silently("rake -s sweep_cache")
19
19
  end
20
20
  end
21
21
  end
@@ -76,6 +76,7 @@ class RailsInstaller
76
76
 
77
77
  data[table].each do |record|
78
78
  r = TempClass.new(record)
79
+ r.id = record['id'] if record.has_key?('id')
79
80
  r.save
80
81
  end
81
82
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.10
3
3
  specification_version: 1
4
4
  name: rails-app-installer
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.4
7
- date: 2006-08-10
6
+ version: 0.1.5
7
+ date: 2006-08-12
8
8
  summary: An installer for Rails apps
9
9
  require_paths:
10
10
  - lib