swt 0.12 → 0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/swt/event_loop.rb +8 -2
  2. data/lib/swt/minimal.rb +1 -1
  3. metadata +60 -68
@@ -10,8 +10,14 @@ module Swt
10
10
  @running = true
11
11
  @display = Swt.display
12
12
  while @running and not @display.disposed?
13
- unless read = @display.read_and_dispatch
14
- @display.sleep
13
+ begin
14
+ unless read = @display.read_and_dispatch
15
+ @display.sleep
16
+ end
17
+ rescue java.lang.Throwable => e
18
+ puts "Error in Event Loop:"
19
+ p e
20
+ puts e.backtrace
15
21
  end
16
22
  end
17
23
  @display.dispose
data/lib/swt/minimal.rb CHANGED
@@ -4,7 +4,7 @@ require 'swt/event_loop'
4
4
  require 'swt/cucumber_runner'
5
5
 
6
6
  module Swt
7
- VERSION = "0.12" # also change in swt.gemspec
7
+ VERSION = "0.13" # also change in swt.gemspec
8
8
 
9
9
  import org.eclipse.swt.SWT
10
10
 
metadata CHANGED
@@ -1,90 +1,82 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: swt
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.13'
4
5
  prerelease:
5
- version: "0.12"
6
6
  platform: ruby
7
- authors:
8
- - Daniel Lucraft
7
+ authors:
8
+ - Daniel Lucraft
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-12-28 00:00:00 Z
12
+ date: 2012-03-31 00:00:00.000000000 Z
14
13
  dependencies: []
15
-
16
14
  description: Includes SWT jars and imports SWT classes into Ruby.
17
- email:
18
- - dan@fluentradical.com
19
- executables:
20
- - swt_cucumber
15
+ email:
16
+ - dan@fluentradical.com
17
+ executables:
18
+ - swt_cucumber
21
19
  extensions: []
22
-
23
20
  extra_rdoc_files: []
24
-
25
- files:
26
- - bin/swt_cucumber
27
- - lib/swt.rb
28
- - lib/swt/cucumber_patches.rb
29
- - lib/swt/cucumber_runner.rb
30
- - lib/swt/event_loop.rb
31
- - lib/swt/full.rb
32
- - lib/swt/grid_data.rb
33
- - lib/swt/jar_loader.rb
34
- - lib/swt/minimal.rb
35
- - lib/swt/swt_bot_extensions.rb
36
- - LICENSE
37
- - README.md
38
- - vendor/jface/org.eclipse.core.commands.jar
39
- - vendor/jface/org.eclipse.core.jobs.jar
40
- - vendor/jface/org.eclipse.core.resources.jar
41
- - vendor/jface/org.eclipse.core.runtime_3.5.0.v20090525.jar
42
- - vendor/jface/org.eclipse.equinox.common.jar
43
- - vendor/jface/org.eclipse.jface.databinding_1.3.0.I20090525-2000.jar
44
- - vendor/jface/org.eclipse.jface.jar
45
- - vendor/jface/org.eclipse.jface.text_3.5.0.jar
46
- - vendor/jface/org.eclipse.osgi.jar
47
- - vendor/jface/org.eclipse.text_3.5.0.v20090513-2000.jar
48
- - vendor/swt/swt-linux32.jar
49
- - vendor/swt/swt-linux64.jar
50
- - vendor/swt/swt-osx32.jar
51
- - vendor/swt/swt-osx64.jar
52
- - vendor/swt/swt-win32.jar
53
- - vendor/swt/swt-win64.jar
54
- - vendor/swtbot/org.apache.log4j_1.2.13.v200903072027.jar
55
- - vendor/swtbot/org.eclipse.swtbot.junit4_x_2.0.4.20110304_0338-e5aff47-dev-e36.jar
56
- - vendor/swtbot/org.eclipse.swtbot.swt.finder_2.0.4.20110304_0338-e5aff47-dev-e36.jar
57
- - vendor/swtbot/org.hamcrest.core_1.1.0.v20090501071000.jar
58
- - vendor/swtbot/org.hamcrest.integration_1.1.0.v20090501071000.jar
59
- - vendor/swtbot/org.hamcrest.library_1.1.0.v20090501071000.jar
60
- - vendor/swtbot/org.hamcrest.text_1.1.0.v20090501071000.jar
61
- - vendor/swtbot/org.hamcrest_1.1.0.v20090501071000.jar
21
+ files:
22
+ - bin/swt_cucumber
23
+ - lib/swt/cucumber_patches.rb
24
+ - lib/swt/cucumber_runner.rb
25
+ - lib/swt/event_loop.rb
26
+ - lib/swt/full.rb
27
+ - lib/swt/grid_data.rb
28
+ - lib/swt/jar_loader.rb
29
+ - lib/swt/minimal.rb
30
+ - lib/swt/swt_bot_extensions.rb
31
+ - lib/swt.rb
32
+ - LICENSE
33
+ - README.md
34
+ - vendor/jface/org.eclipse.core.commands.jar
35
+ - vendor/jface/org.eclipse.core.jobs.jar
36
+ - vendor/jface/org.eclipse.core.resources.jar
37
+ - vendor/jface/org.eclipse.core.runtime_3.5.0.v20090525.jar
38
+ - vendor/jface/org.eclipse.equinox.common.jar
39
+ - vendor/jface/org.eclipse.jface.databinding_1.3.0.I20090525-2000.jar
40
+ - vendor/jface/org.eclipse.jface.jar
41
+ - vendor/jface/org.eclipse.jface.text_3.5.0.jar
42
+ - vendor/jface/org.eclipse.osgi.jar
43
+ - vendor/jface/org.eclipse.text_3.5.0.v20090513-2000.jar
44
+ - vendor/swt/swt-linux32.jar
45
+ - vendor/swt/swt-linux64.jar
46
+ - vendor/swt/swt-osx32.jar
47
+ - vendor/swt/swt-osx64.jar
48
+ - vendor/swt/swt-win32.jar
49
+ - vendor/swt/swt-win64.jar
50
+ - vendor/swtbot/org.apache.log4j_1.2.13.v200903072027.jar
51
+ - vendor/swtbot/org.eclipse.swtbot.junit4_x_2.0.4.20110304_0338-e5aff47-dev-e36.jar
52
+ - vendor/swtbot/org.eclipse.swtbot.swt.finder_2.0.4.20110304_0338-e5aff47-dev-e36.jar
53
+ - vendor/swtbot/org.hamcrest.core_1.1.0.v20090501071000.jar
54
+ - vendor/swtbot/org.hamcrest.integration_1.1.0.v20090501071000.jar
55
+ - vendor/swtbot/org.hamcrest.library_1.1.0.v20090501071000.jar
56
+ - vendor/swtbot/org.hamcrest.text_1.1.0.v20090501071000.jar
57
+ - vendor/swtbot/org.hamcrest_1.1.0.v20090501071000.jar
62
58
  homepage: http://github.com/danlucraft/swt
63
59
  licenses: []
64
-
65
60
  post_install_message:
66
61
  rdoc_options: []
67
-
68
- require_paths:
69
- - lib
70
- required_ruby_version: !ruby/object:Gem::Requirement
62
+ require_paths:
63
+ - lib
64
+ required_ruby_version: !ruby/object:Gem::Requirement
71
65
  none: false
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: "0"
76
- required_rubygems_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
71
  none: false
78
- requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- version: "0"
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
82
76
  requirements: []
83
-
84
77
  rubyforge_project:
85
- rubygems_version: 1.8.9
78
+ rubygems_version: 1.8.10
86
79
  signing_key:
87
80
  specification_version: 3
88
81
  summary: The SWT library available to JRuby.
89
82
  test_files: []
90
-