warp_drive 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/warpify +2 -2
  2. data/lib/tasks/compile.rake +3 -2
  3. metadata +2 -2
data/bin/warpify CHANGED
@@ -15,7 +15,7 @@ require 'warp_drive/tasks'
15
15
  WarpDrive.configure do |config|
16
16
  # Define your gem spec settings here:
17
17
  config.gem.version = "0.0.1"
18
- config.gem.name = '#{FileUtils.pwd}'
18
+ config.gem.name = '#{File.basename(FileUtils.pwd)}'
19
19
 
20
20
  # Add your gem dependencies here:
21
21
  config.dependencies = {'warp_drive' => '>=0.1.8'}
@@ -26,4 +26,4 @@ end
26
26
  puts 'completed!'
27
27
  else
28
28
  puts 'Your application is already a Warp Drive, so there is nothing to do.'
29
- end
29
+ end
@@ -4,9 +4,10 @@ namespace :warp_drive do
4
4
  task :compile do
5
5
  path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'warp_drive', 'warp_drive_gem_generator'))
6
6
  require path
7
+ puts pwd
7
8
  $genosaurus_output_directory = File.join(pwd, 'tmp', File.basename(pwd))
8
9
  FileUtils.rm_rf($genosaurus_output_directory, :verbose => false)
9
- WarpDriveGemGenerator.run('APP' => configatron.warp_drive.gem.retrieve(:name, File.basename(pwd)), 'OUT_DIR' => File.join(pwd, 'tmp', File.basename(pwd)))
10
+ WarpDriveGemGenerator.run('APP' => configatron.warp_drive.gem.retrieve(:name, File.basename(pwd)), 'OUT_DIR' => $genosaurus_output_directory)
10
11
 
11
12
  sh "cd #{$genosaurus_output_directory}; rake package"
12
13
  # FileUtils.rm_rf($genosaurus_output_directory, :verbose => false)
@@ -21,4 +22,4 @@ namespace :warp_drive do
21
22
  end
22
23
  end
23
24
 
24
- end
25
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: warp_drive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-21 00:00:00 -04:00
12
+ date: 2009-10-28 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency