swt 0.11 → 0.12

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/full.rb +1 -0
  2. data/lib/swt/minimal.rb +4 -3
  3. metadata +68 -62
data/lib/swt/full.rb CHANGED
@@ -23,6 +23,7 @@ module Swt
23
23
  import org.eclipse.swt.widgets.Slider
24
24
  import org.eclipse.swt.widgets.TabFolder
25
25
  import org.eclipse.swt.widgets.TabItem
26
+ import org.eclipse.swt.widgets.TableColumn
26
27
  import org.eclipse.swt.widgets.Text
27
28
  import org.eclipse.swt.widgets.ToolTip
28
29
  import org.eclipse.swt.widgets.Table
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.11" # also change in swt.gemspec
7
+ VERSION = "0.12" # also change in swt.gemspec
8
8
 
9
9
  import org.eclipse.swt.SWT
10
10
 
@@ -48,15 +48,16 @@ module Swt
48
48
 
49
49
  # Runs the given block in the SWT Event thread
50
50
  def self.sync_exec(&block)
51
- error = nil
51
+ error, throwable = nil, false
52
52
  result = nil
53
53
  runnable = Swt::RRunnable.new do
54
54
  begin
55
55
  result = block.call
56
- rescue => e
56
+ rescue Object => e
57
57
  error = e
58
58
  end
59
59
  end
60
+
60
61
  unless display.is_disposed
61
62
  display.syncExec(runnable)
62
63
  if error
metadata CHANGED
@@ -1,84 +1,90 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: swt
3
- version: !ruby/object:Gem::Version
4
- version: '0.11'
3
+ version: !ruby/object:Gem::Version
5
4
  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
- date: 2011-11-16 00:00:00.000000000 +00:00
13
- default_executable:
12
+
13
+ date: 2011-12-28 00:00:00 Z
14
14
  dependencies: []
15
+
15
16
  description: Includes SWT jars and imports SWT classes into Ruby.
16
- email:
17
- - dan@fluentradical.com
18
- executables:
19
- - swt_cucumber
17
+ email:
18
+ - dan@fluentradical.com
19
+ executables:
20
+ - swt_cucumber
20
21
  extensions: []
22
+
21
23
  extra_rdoc_files: []
22
- files:
23
- - bin/swt_cucumber
24
- - lib/swt/cucumber_patches.rb
25
- - lib/swt/cucumber_runner.rb
26
- - lib/swt/event_loop.rb
27
- - lib/swt/full.rb
28
- - lib/swt/grid_data.rb
29
- - lib/swt/jar_loader.rb
30
- - lib/swt/minimal.rb
31
- - lib/swt/swt_bot_extensions.rb
32
- - lib/swt.rb
33
- - LICENSE
34
- - README.md
35
- - vendor/jface/org.eclipse.core.commands.jar
36
- - vendor/jface/org.eclipse.core.jobs.jar
37
- - vendor/jface/org.eclipse.core.resources.jar
38
- - vendor/jface/org.eclipse.core.runtime_3.5.0.v20090525.jar
39
- - vendor/jface/org.eclipse.equinox.common.jar
40
- - vendor/jface/org.eclipse.jface.databinding_1.3.0.I20090525-2000.jar
41
- - vendor/jface/org.eclipse.jface.jar
42
- - vendor/jface/org.eclipse.jface.text_3.5.0.jar
43
- - vendor/jface/org.eclipse.osgi.jar
44
- - vendor/jface/org.eclipse.text_3.5.0.v20090513-2000.jar
45
- - vendor/swt/swt-linux32.jar
46
- - vendor/swt/swt-linux64.jar
47
- - vendor/swt/swt-osx32.jar
48
- - vendor/swt/swt-osx64.jar
49
- - vendor/swt/swt-win32.jar
50
- - vendor/swt/swt-win64.jar
51
- - vendor/swtbot/org.apache.log4j_1.2.13.v200903072027.jar
52
- - vendor/swtbot/org.eclipse.swtbot.junit4_x_2.0.4.20110304_0338-e5aff47-dev-e36.jar
53
- - vendor/swtbot/org.eclipse.swtbot.swt.finder_2.0.4.20110304_0338-e5aff47-dev-e36.jar
54
- - vendor/swtbot/org.hamcrest.core_1.1.0.v20090501071000.jar
55
- - vendor/swtbot/org.hamcrest.integration_1.1.0.v20090501071000.jar
56
- - vendor/swtbot/org.hamcrest.library_1.1.0.v20090501071000.jar
57
- - vendor/swtbot/org.hamcrest.text_1.1.0.v20090501071000.jar
58
- - vendor/swtbot/org.hamcrest_1.1.0.v20090501071000.jar
59
- has_rdoc: true
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
60
62
  homepage: http://github.com/danlucraft/swt
61
63
  licenses: []
64
+
62
65
  post_install_message:
63
66
  rdoc_options: []
64
- require_paths:
65
- - lib
66
- required_ruby_version: !ruby/object:Gem::Requirement
67
+
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
67
71
  none: false
68
- requirements:
69
- - - ! '>='
70
- - !ruby/object:Gem::Version
71
- version: '0'
72
- required_rubygems_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: "0"
76
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
77
  none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: "0"
78
82
  requirements: []
83
+
79
84
  rubyforge_project:
80
- rubygems_version: 1.6.2
85
+ rubygems_version: 1.8.9
81
86
  signing_key:
82
87
  specification_version: 3
83
88
  summary: The SWT library available to JRuby.
84
89
  test_files: []
90
+