markbates-warp_drive 0.1.1.20090831154458 → 0.1.3.20090831155219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/bin/warpify CHANGED
@@ -17,7 +17,7 @@ WarpDrive.configure do |config|
17
17
  config.gem.version = "0.0.1"
18
18
 
19
19
  # Add your gem dependencies here:
20
- config.dependencies = {'warp_drive' => '>=0.1.0'}
20
+ config.dependencies = {'warp_drive' => '>=0.1.3'}
21
21
  end
22
22
  }
23
23
  end
@@ -9,7 +9,7 @@ namespace :warp_drive do
9
9
  WarpDriveGemGenerator.run('APP' => File.basename(pwd), 'OUT_DIR' => File.join(pwd, 'tmp', File.basename(pwd)))
10
10
 
11
11
  sh "cd #{$genosaurus_output_directory}; rake package"
12
- FileUtils.rm_rf($genosaurus_output_directory, :verbose => false)
12
+ # FileUtils.rm_rf($genosaurus_output_directory, :verbose => false)
13
13
  # FileUtils.rm_rf(File.join(pwd, 'pkg'), :verbose => true)
14
14
  # mv File.join($genosaurus_output_directory, 'pkg'), File.join(pwd, 'pkg')
15
15
  end
@@ -65,7 +65,10 @@ module WarpDrive
65
65
 
66
66
  [WarpDrive::Path.config.database.yml.to_s,
67
67
  File.join(RAILS_ROOT, 'config', 'database.yml')].each do |yml_path|
68
- db_opts.recursive_merge!(YAML::load(ERB.new(File.read(yml_path)).result)) if File.exists?(yml_path)
68
+ if File.exists?(yml_path)
69
+ opts = YAML::load(ERB.new(File.read(yml_path)).result)
70
+ db_opts.recursive_merge!(opts) if opts
71
+ end
69
72
  end
70
73
 
71
74
  db_opts
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markbates-warp_drive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.20090831154458
4
+ version: 0.1.3.20090831155219
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates