sprout-flashplayer-bundle 10.22.5 → 10.22.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,18 +28,19 @@ class CLIXFlashPlayer
28
28
  end
29
29
 
30
30
  setup_trap
31
-
31
+
32
32
  @thread = Thread.new {
33
33
  @player_pid = open4.popen4("#{player.split(' ').join('\ ')}")[0]
34
34
  begin
35
35
  raise "clix_wrapper.rb could not be found at: #{wrapper}" if !File.exists?($CLIX_WRAPPER_TARGET)
36
36
  command = "ruby #{$CLIX_WRAPPER_TARGET} '#{player}' '#{swf}'"
37
37
  @activate_pid, stdin, stdout, stderr = open4.popen4(command)
38
- puts stdout.read
38
+ $stdout.puts stdout.read
39
39
  error = stderr.read
40
40
  raise error if !error.nil? && error != ''
41
41
  Process.wait(@player_pid)
42
42
  rescue StandardError => e
43
+ $stdout.puts e.to_s
43
44
  kill
44
45
  raise e
45
46
  end
@@ -3,7 +3,7 @@ module Sprout
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 10
5
5
  MINOR = 22
6
- TINY = 5
6
+ TINY = 6
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  MAJOR_MINOR = [MAJOR, MINOR].join('.')
@@ -270,7 +270,7 @@ module Sprout
270
270
  if(usr.is_a?(WinUser))
271
271
  Thread.kill(@thread)
272
272
  elsif(usr.is_a?(OSXUser))
273
- @clix_player.kill
273
+ @clix_player.kill unless @clix_player.nil?
274
274
  else
275
275
  Process.kill("SIGALRM", @player_pid)
276
276
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprout-flashplayer-bundle
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.22.5
4
+ version: 10.22.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pattern Park
@@ -9,7 +9,7 @@ autorequire: sprout/flashplayer
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-21 00:00:00 -07:00
12
+ date: 2009-10-28 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements: []
72
72
 
73
73
  rubyforge_project: sprout
74
- rubygems_version: 1.3.3
74
+ rubygems_version: 1.3.5
75
75
  signing_key:
76
76
  specification_version: 3
77
77
  summary: Supporting tasks for Flash Player Rake integration