asproject 0.1.42 → 0.1.43

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module AsProject
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 42
5
+ TINY = 43
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/lib/path_finder.rb CHANGED
@@ -458,10 +458,19 @@ EOF
458
458
  end
459
459
 
460
460
  class CygwinUser < WinUser
461
- def flash_player_config_content
462
- content = super
463
- windowized = File.join("#{ENV['HOMEDRIVE']}#{ENV['HOMEPATH']}", 'Application Data', 'Macromedia', 'Flash Player', 'Logs', 'flashlog.txt')
464
- content.gsub!(flash_player_log, windowized)
461
+ # def flash_player_config_content
462
+ # content = super
463
+ # content.gsub!(flash_player_log, win_flash_player_log)
464
+ # end
465
+
466
+ def flash_player_log
467
+ drive = "/cygdrive/#{ENV['HOMEDRIVE'].downcase.gsub(':', '')}"
468
+ home = ENV['HOMEPATH'].split('\\').join('/')
469
+ return File.join(drive, home, 'Application Data', 'Macromedia', 'Flash Player', 'Logs', 'flashlog.txt')
470
+ end
471
+
472
+ def win_flash_player_log
473
+ return File.join("#{ENV['HOMEDRIVE']}#{ENV['HOMEPATH']}", 'Application Data', 'Macromedia', 'Flash Player', 'Logs', 'flashlog.txt')
465
474
  end
466
475
 
467
476
  def remote_file_task(name, task)
data/lib/tasks/hamtasc.rb CHANGED
@@ -12,6 +12,7 @@ module AsProject
12
12
  def initialize(name=:compile, do_not_define=false)
13
13
  @pack_path = []
14
14
  @exclude_packages = []
15
+ @rb_exclude_swf = []
15
16
  @rb_exclude_path = []
16
17
  super(name, true) do |s|
17
18
  s.compiler_version = '1.12.rb.20'
@@ -54,7 +55,8 @@ module AsProject
54
55
  result = super
55
56
  input = result.pop if(input)
56
57
  result << "-rb_entry" << rb_entry if rb_entry
57
- result << "-rb_exclude_swf" << clean_path(rb_exclude_swf) if rb_exclude_swf
58
+ # result << "-rb_exclude_swf" << clean_path(rb_exclude_swf) if rb_exclude_swf
59
+ result << "-rb_exclude_swf " << @rb_exclude_swf.join(" -rb_exclude_swf ") if @rb_exclude_swf.size > 0
58
60
  result << "-rb_exclude_package " << @exclude_packages.join(" -rb_exclude_package ") if @exclude_packages.size > 0
59
61
  result << "-pack " + @cleaned_pack_path.join(" -pack ") if pack_path.size > 0
60
62
  result << input if input
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: asproject
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.42
7
- date: 2007-03-04 00:00:00 -08:00
6
+ version: 0.1.43
7
+ date: 2007-03-05 00:00:00 -08:00
8
8
  summary: AsProject is a tool set that simplifies the process of beginning and growing a new ActionScript project.
9
9
  require_paths:
10
10
  - lib
@@ -35,7 +35,6 @@ files:
35
35
  - lib
36
36
  - Manifest.txt
37
37
  - MIT-LICENSE.txt
38
- - pkg
39
38
  - rakefile.rb
40
39
  - README.txt
41
40
  - setup.rb