redcar 0.5.4dev → 0.5.5dev

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- REDCAR_VERSION = "0.5.4dev" # also change in lib/redcar.rb!
1
+ REDCAR_VERSION = "0.5.5dev" # also change in lib/redcar.rb!
2
2
  require 'rubygems'
3
3
  require 'fileutils'
4
4
  require 'spec/rake/spectask'
data/lib/redcar.rb CHANGED
@@ -51,7 +51,7 @@ end
51
51
  #
52
52
  # and so on.
53
53
  module Redcar
54
- VERSION = '0.5.4dev' # also change in the Rakefile!
54
+ VERSION = '0.5.5dev' # also change in the Rakefile!
55
55
  VERSION_MAJOR = 0
56
56
  VERSION_MINOR = 5
57
57
  VERSION_RELEASE = 0
@@ -10,7 +10,7 @@ end
10
10
  module Redcar
11
11
  class Installer
12
12
  def initialize
13
- if ENV['http_proxy']
13
+ if ENV['http_proxy']
14
14
  proxy = URI.parse(ENV['http_proxy'])
15
15
  @connection = Net::HTTP::Proxy(proxy.host, proxy.port, proxy.user, proxy.password)
16
16
  else
@@ -19,7 +19,7 @@ module Redcar
19
19
  puts "found latest XULRunner release version: #{xulrunner_version}" if Redcar.platform == :windows
20
20
  end
21
21
 
22
- def install
22
+ def install
23
23
  Redcar.environment = :user
24
24
  puts "Downloading >10MB of binary assets. This may take a while the first time."
25
25
  fetch_all_assets
data/lib/redcar/runner.rb CHANGED
@@ -41,7 +41,7 @@ module Redcar
41
41
  return if jruby and not osx
42
42
 
43
43
  construct_command do |command|
44
- exec(*command)
44
+ exec(command.join(" "))
45
45
  end
46
46
  end
47
47
 
@@ -57,7 +57,13 @@ module Redcar
57
57
  exit 1
58
58
  end
59
59
  ENV['RUBYOPT'] = nil # disable other native args
60
-
60
+
61
+ # Windows XP updates
62
+ if [:windows].include?(Redcar.platform)
63
+ bin = "\"#{bin}\""
64
+ jruby_complete = "\"#{jruby_complete}\""
65
+ end
66
+
61
67
  # unfortuanately, ruby doesn't support [a, *b, c]
62
68
  command = ["java"]
63
69
  command.push(*java_args)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redcar
3
3
  version: !ruby/object:Gem::Version
4
- hash: -1574061313
4
+ hash: -769080784
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 4dev
10
- version: 0.5.4dev
9
+ - 5dev
10
+ version: 0.5.5dev
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Lucraft
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-05 00:00:00 +01:00
18
+ date: 2010-09-06 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency