glimmer-dsl-swt 4.17.8.2 → 4.17.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +47 -1
  3. data/README.md +228 -7
  4. data/VERSION +1 -1
  5. data/glimmer-dsl-swt.gemspec +11 -7
  6. data/lib/glimmer-dsl-swt.rb +4 -3
  7. data/lib/glimmer/data_binding/table_items_binding.rb +5 -5
  8. data/lib/glimmer/dsl/swt/table_items_data_binding_expression.rb +3 -3
  9. data/lib/glimmer/dsl/swt/widget_expression.rb +1 -0
  10. data/lib/glimmer/launcher.rb +9 -9
  11. data/lib/glimmer/swt/custom/code_text.rb +36 -34
  12. data/lib/glimmer/swt/date_time_proxy.rb +87 -0
  13. data/lib/glimmer/swt/display_proxy.rb +6 -6
  14. data/lib/glimmer/swt/dnd_proxy.rb +6 -10
  15. data/lib/glimmer/swt/message_box_proxy.rb +7 -7
  16. data/lib/glimmer/swt/sash_form_proxy.rb +3 -3
  17. data/lib/glimmer/swt/shell_proxy.rb +18 -3
  18. data/lib/glimmer/swt/style_constantizable.rb +5 -5
  19. data/lib/glimmer/swt/styled_text_proxy.rb +8 -13
  20. data/lib/glimmer/swt/swt_proxy.rb +7 -8
  21. data/lib/glimmer/swt/tab_item_proxy.rb +6 -1
  22. data/lib/glimmer/swt/table_column_proxy.rb +13 -5
  23. data/lib/glimmer/swt/table_proxy.rb +187 -66
  24. data/lib/glimmer/swt/widget_listener_proxy.rb +4 -4
  25. data/lib/glimmer/swt/widget_proxy.rb +70 -24
  26. data/samples/elaborate/contact_manager.rb +3 -3
  27. data/samples/elaborate/meta_sample.rb +9 -9
  28. data/samples/hello/hello_browser.rb +3 -3
  29. data/samples/hello/hello_checkbox_group.rb +3 -0
  30. data/samples/hello/hello_combo.rb +5 -5
  31. data/samples/hello/hello_date_time.rb +63 -0
  32. data/samples/hello/hello_group.rb +1 -1
  33. data/samples/hello/hello_menu_bar.rb +3 -3
  34. data/samples/hello/hello_pop_up_context_menu.rb +3 -3
  35. data/samples/hello/hello_radio_group.rb +3 -0
  36. data/samples/hello/hello_sash_form.rb +3 -3
  37. data/samples/hello/hello_spinner.rb +69 -0
  38. data/samples/hello/hello_tab.rb +3 -3
  39. data/samples/hello/hello_table.rb +287 -0
  40. metadata +10 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 517e5bcedc06e71150e504d4c8ad484adb383e839df9b09e9683d9ebcce72ce8
4
- data.tar.gz: b9792dd4d60cdb642b187848f9cc07d2d33c5bb1801bf2cb961a59f1247d9713
3
+ metadata.gz: a26a62cdb25e9f4ce06d4c6d0d7e753fbd9f520e96873d8fa224a7c4fba52f0e
4
+ data.tar.gz: ef7839e1659a53123cf1b027d1620db8635d300c8b7d80565b197f0b77b84a1a
5
5
  SHA512:
6
- metadata.gz: 74eae56731cba0eba1092b9a926cd995cc23190b78126436d5dff8454dc0b0a75e5a70ecc4c5a864d3580bb8f2ad4d003a3ef18bba4d7bb5b0a4f4a44eb5afe3
7
- data.tar.gz: 41b95e7e364eab995e026fec0c442162fefa138b504a48a95ba0e93f39e460b676e635a64228a8c51559ea4c0468afa09695fa1be63f375d6788c7914c6609fc
6
+ metadata.gz: 9b2530841419cc164c720e6ca5043de7a2c0a6a54eb63c7e8a748805ad985bb04d2d752b321291319cd2f2ffdca08d5ef3f502dade6d7876897fb1b9975956a4
7
+ data.tar.gz: 4f3c48cf36fd274b95222d3db1d07febb6cb15b64957ec11ae519855b5e194893ec6503437019958c3f9fef45ac94e8065d750ce7c87f20aeb781d9cbc0133c5
@@ -1,5 +1,51 @@
1
1
  # Change Log
2
2
 
3
+ ### 4.17.10.2
4
+
5
+ - Upgraded glimmer gem to version 1.0.4
6
+ - Fixed issues relating to data-binding `styled_text` widget
7
+
8
+ ### 4.17.10.1
9
+
10
+ - Upgraded glimmer gem to version 1.0.3
11
+ - Upgraded rouge gem to version 3.25.0
12
+
13
+ ### 4.17.10.0
14
+
15
+ - Support table editing via `date_time` for date/time values
16
+ - Support table default sort configuration via sort_property
17
+ - Support table default sort configuration via sort block
18
+ - Support table default sort configuration via sort_by block
19
+ - Hello, Table! Sample editor :date_time, property: :date_time in
20
+ - Hello, Table! Sample label for (Baseball Game Schedule)
21
+ - Hello, Table! Sample combo for selecting nlds, nlcs, alds, alcs, world series
22
+ - Hello, Table! Sample promotion field that indicates things like Free Bobblehead, Free Towel, Free Umbrella, etc...
23
+ - ShellProxy#include_focus_control?
24
+ - Fix issue with table selection data-binding when in single selection mode vs multi
25
+ - Hello, Spinner! Sample
26
+
27
+ ### 4.17.9.0
28
+
29
+ - Add table style :editable to hook editing listener on mouse click automatically (instead of manually via on_widget_selected)
30
+ - Support table editing via `spinner` for integer values
31
+ - date_time widget official data-binding support of date_time, date, time, year, month, day, hours, minutes, and seconds
32
+ - date widget alias for date_time(:date)
33
+ - time widget alias for date_time(:time)
34
+ - calendar widget alias for date_time(:calendar)
35
+ - date_drop_down widget alias for date_time(:date, :drop_down)
36
+ - Hello, Date Time! Sample
37
+
38
+ ### 4.17.8.3
39
+
40
+ - Hello, Table! Sample
41
+ - Disable editing on a column with `editor :none`
42
+ - Improve `code_text` performance immensely by only styling the lines being shown upon editing
43
+ - Fix dead spots with syntax highlighting in some files in Gladiator like file.rb
44
+
45
+ ### 4.17.8.2
46
+
47
+ - Hello, Group! Sample
48
+
3
49
  ### 4.17.8.1
4
50
 
5
51
  - Fixed an issue in Windows with code_text
@@ -370,4 +416,4 @@
370
416
 
371
417
  ## 0.1.0
372
418
 
373
- - Extracted Glimmer DSL for SWT (glimmer-dsl-swt gem) from Glimmer
419
+ - Extracted Glimmer DSL for SWT (glimmer-dsl-swt gem) from Glimmer
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
- # [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for SWT 4.17.8.2
2
- ## JRuby Desktop Development GUI Library
1
+ # [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for SWT 4.17.10.2
2
+
3
+ ## JRuby Desktop Development GUI Framework
3
4
  [![Gem Version](https://badge.fury.io/rb/glimmer-dsl-swt.svg)](http://badge.fury.io/rb/glimmer-dsl-swt)
4
5
  [![Travis CI](https://travis-ci.com/AndyObtiva/glimmer-dsl-swt.svg?branch=master)](https://travis-ci.com/github/AndyObtiva/glimmer-dsl-swt)
5
6
  [![Coverage Status](https://coveralls.io/repos/github/AndyObtiva/glimmer-dsl-swt/badge.svg?branch=master)](https://coveralls.io/github/AndyObtiva/glimmer-dsl-swt?branch=master)
@@ -237,7 +238,7 @@ Glimmer App:
237
238
 
238
239
  ## Table of contents
239
240
 
240
- - [Glimmer (Ruby Desktop Development GUI Library)](#-glimmer-ruby-desktop-development-gui-library)
241
+ - [Glimmer (JRuby Desktop Development GUI Framework)](#jruby-desktop-development-gui-framework)
241
242
  - [Examples](#examples)
242
243
  - [Hello, World!](#hello-world)
243
244
  - [Tic Tac Toe](#tic-tac-toe)
@@ -296,6 +297,7 @@ Glimmer App:
296
297
  - [List](#list)
297
298
  - [Table](#table)
298
299
  - [Tree](#tree)
300
+ - [DateTime](#datetime)
299
301
  - [Observer](#observer)
300
302
  - [Observing Widgets](#observing-widgets)
301
303
  - [Observing Models](#observing-models)
@@ -313,6 +315,8 @@ Glimmer App:
313
315
  - [Multi-DSL Support](#multi-dsl-support)
314
316
  - [Application Menu Items (About/Preferences)](#application-menu-items-aboutpreferences)
315
317
  - [App Name and Version](#app-name-and-version)
318
+ - [Checkbox Group Widget](#checkbox-group-widget)
319
+ - [Radio Group Widget](#radio-group-widget)
316
320
  - [Code Text Widget](#code-text-widget)
317
321
  - [Video Widget](#video-widget)
318
322
  - [Sash Form Widget](#sash-form-widget)
@@ -349,11 +353,15 @@ Glimmer App:
349
353
  - [Hello, Expand Bar!](#hello-expand-bar)
350
354
  - [Hello, Radio!](#hello-radio)
351
355
  - [Hello, Radio Group!](#hello-radio-group)
356
+ - [Hello, Checkbox!](#hello-checkbox)
352
357
  - [Hello, Group!](#hello-group)
353
358
  - [Hello, Checkbox!](#hello-checkbox)
354
359
  - [Hello, Checkbox Group!](#hello-checkbox-group)
355
360
  - [Hello, Directory Dialog!](#hello-directory-dialog)
356
361
  - [Hello, File Dialog!](#hello-file-dialog)
362
+ - [Hello, Date Time!](#hello-date-time)
363
+ - [Hello, Spinner!](#hello-spinner)
364
+ - [Hello, Table!](#hello-table)
357
365
  - [Elaborate Samples](#elaborate-samples)
358
366
  - [User Profile](#user-profile)
359
367
  - [Login](#login)
@@ -447,7 +455,8 @@ jgem install glimmer-dsl-swt
447
455
 
448
456
  Or this command if you want a specific version:
449
457
  ```
450
- jgem install glimmer-dsl-swt -v 4.17.8.2
458
+ jgem install glimmer-dsl-swt -v 4.17.10.2
459
+
451
460
  ```
452
461
 
453
462
  `jgem` is JRuby's version of `gem` command.
@@ -523,7 +532,8 @@ bin/glimmer samples
523
532
  Below are the full usage instructions that come up when running `glimmer` without args.
524
533
 
525
534
  ```
526
- Glimmer (Ruby Desktop Development GUI Library) - JRuby Gem: glimmer-dsl-swt v4.17.8.2
535
+ Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.17.10.2
536
+
527
537
 
528
538
  Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
529
539
 
@@ -1000,7 +1010,8 @@ Output:
1000
1010
 
1001
1011
  Css glimmer-dsl-css 1.1.0 AndyMaleh Glimmer DSL for CSS
1002
1012
  Opal glimmer-dsl-opal 0.4.0 AndyMaleh Glimmer DSL for Opal
1003
- Swt glimmer-dsl-swt 4.17.8.2 AndyMaleh Glimmer DSL for SWT
1013
+ Swt glimmer-dsl-swt 4.17.10.2
1014
+ AndyMaleh Glimmer DSL for SWT
1004
1015
  Tk glimmer-dsl-tk 0.0.6 AndyMaleh Glimmer DSL for Tk
1005
1016
  Xml glimmer-dsl-xml 1.1.0 AndyMaleh Glimmer DSL for XML
1006
1017
  ```
@@ -2260,6 +2271,117 @@ This automatically leverages the SWT TableEditor custom class behind the scenes,
2260
2271
  passed table item text into something else.
2261
2272
  It automatically persists the change to `items` data-bound model on ENTER/FOCUS-OUT or cancels on ESC/NO-CHANGE.
2262
2273
 
2274
+ ##### Table Selection
2275
+
2276
+ Table Selection data-binding is simply done via the `selection` property.
2277
+
2278
+ ```ruby
2279
+ selection bind(group, :selected_person)
2280
+ ```
2281
+
2282
+ If it's a multi-selection table (`table(:multi)`), then the data-bound model property oughta be a collection.
2283
+
2284
+ ```ruby
2285
+ selection bind(group, :selected_people)
2286
+ ```
2287
+
2288
+ ##### Table Editing
2289
+
2290
+ Glimmer provides a custom SWT style for table editing called `:editable` to obviate the need for an `on_mouse_up` listener.
2291
+
2292
+ For example, the code above could be simplified as:
2293
+
2294
+ ```ruby
2295
+ shell {
2296
+ @table = table(:editable) {
2297
+ table_column {
2298
+ text "Name"
2299
+ width 120
2300
+ }
2301
+ table_column {
2302
+ text "Age"
2303
+ width 120
2304
+ }
2305
+ table_column {
2306
+ text "Adult"
2307
+ width 120
2308
+ }
2309
+ items bind(group, :people), column_properties(:name, :age, :adult)
2310
+ selection bind(group, :selected_person)
2311
+ }
2312
+ }
2313
+ ```
2314
+
2315
+ Additionally, Glimmer supports the idea of custom editors or no editor per column.
2316
+
2317
+ Example:
2318
+
2319
+ ```ruby
2320
+ shell {
2321
+ @table = table(:editable) {
2322
+ table_column {
2323
+ text "Name"
2324
+ width 120
2325
+ }
2326
+ table_column {
2327
+ text "Age"
2328
+ width 120
2329
+ editor :spinner
2330
+ }
2331
+ table_column {
2332
+ text "Adult"
2333
+ width 120
2334
+ editor :checkbox
2335
+ }
2336
+ items bind(group, :people), column_properties(:name, :age, :adult)
2337
+ selection bind(group, :selected_person)
2338
+ }
2339
+ }
2340
+ ```
2341
+
2342
+ The example above uses a `spinner` widget editor for the age column since it's an `Integer` and
2343
+ a `checkbox` widget (`button(:check)`) editor for the adult column since it's a `Boolean`
2344
+
2345
+ Here are all the supported types of table editors:
2346
+ - `text`: expects a `String` property
2347
+ - `combo`: expects a `String` property accompanied by a matching `property_options` property by convention to provide items to present in the `combo`
2348
+ - `checkbox`: expects a `Boolean` property
2349
+ - `radio`: expects a `Boolean` property
2350
+ - `spinner`: expects an `Integer` property
2351
+ - `date`: expects a `DateTime` property
2352
+ - `date_drop_down`: expects a `DateTime` property
2353
+ - `time`: expects a `DateTime` property
2354
+
2355
+ An editor may also take additional arguments (SWT styles such as :long for the date field) that are passed to the editor widget, as well as hash options to
2356
+ customize the property being used for editing (e.g. property: :raw_name for a :formatted_name field) in case it differs from the property used to display
2357
+ the data in the table.
2358
+
2359
+ Example:
2360
+
2361
+ ```ruby
2362
+ shell {
2363
+ @table = table(:editable) {
2364
+ table_column {
2365
+ text "Date of Birth"
2366
+ width 120
2367
+ editor :date_drop_down, property: :date_time
2368
+ }
2369
+ table_column {
2370
+ text "Industry"
2371
+ width 120
2372
+ # assume there is a `Person#industry_options` property method on the model to provide items to the `combo`
2373
+ editor :combo, :read_only # passes :ready_only SWT style to `combo` widget
2374
+ }
2375
+ items bind(group, :people), column_properties(:formatted_date, :industry)
2376
+ selection bind(group, :selected_person)
2377
+ }
2378
+ }
2379
+ ```
2380
+
2381
+ Check out [Hello, Table!](#hello-table) for an actual example including table editors.
2382
+
2383
+ [Are We There Yet?](#are-we-there-yet) is an actual production Glimmer application that takes full advantage of table capabilities.
2384
+
2263
2385
  ##### Table Sorting
2264
2386
 
2265
2387
  Glimmer automatically adds sorting support to the SWT `Table` widget.
@@ -2276,6 +2398,8 @@ Should you have a special data type that could not be compared automatically, Gl
2276
2398
  - `sort_by(&block)`: this works just like Ruby `Enumerable` `sort_by`. The block receives the table column data as argument.
2277
2399
  - `sort(&comparator)`: this works just like Ruby `Enumerable` `sort`. The comparator block receives two objects from the table column data.
2278
2400
 
2401
+ These alternatives could be used inside `table_column` for column-clicked sorting or in the `table` body directly to set the initial default sort.
2402
+
2279
2403
  You may also set `additional_sort_properties` on the parent `table` widget to have secondary sorting applied. For example, if you set `additional_sort_properties :name, :project_name`, then whenever you sort by `:name`, it additionally sorts by `:project_name` afterwards, and vice versa. This only works for columns that either have no custom sort set or have a `sort_property` with one property only (but no sort or sort_by block)
2280
2404
 
2281
2405
  Example:
@@ -2360,6 +2484,31 @@ This finds the root node. The array is a Java array. This enables easy passing o
2360
2484
  To edit a tree, you must invoke `TreeProxy#edit_selected_tree_item` or `TreeProxy#edit_tree_item`. This automatically leverages the SWT TreeEditor custom class behind the scenes, displaying
2361
2485
  a text widget to the user to change the selected or passed tree item text into something else. It automatically persists the change to `items` data-bound model on ENTER/FOCUS-OUT or cancels on ESC/NO-CHANGE.
2362
2486
 
2487
+ #### DateTime
2488
+
2489
+ `date_time` represents the SWT DateTime widget.
2490
+
2491
+ Glimmer offers the following alias keywords for it for convenience:
2492
+ - `date`: `date_time(:date)`
2493
+ - `date_drop_down`: `date_time(:date, :drop_down)`
2494
+ - `time`: `date_time(:time)`
2495
+ - `calendar`: `date_time(:calendar)`
2496
+
2497
+ You can data-bind any of these properties:
2498
+ - `date_time bind(model, :property)`: produces a Ruby DateTime object
2499
+ - `date bind(model, :property)`: produces a Ruby Date object
2500
+ - `time bind(model, :property)`: produces a Ruby Time object
2501
+ - `year bind(model, :property)`: produces an integer
2502
+ - `month bind(model, :property)`: produces an integer
2503
+ - `day bind(model, :property)`: produces an integer
2504
+ - `hours bind(model, :property)`: produces an integer
2505
+ - `minutes bind(model, :property)`: produces an integer
2506
+ - `seconds bind(model, :property)`: produces an integer
2507
+
2508
+ Learn more at the [Hello, Date Time!](#hello-date-time) sample.
2509
+
2510
+ If you need a better widget with the ability to customize the date format pattern, check out the [Nebula CDateTime Glimmer Custom Widget](https://github.com/AndyObtiva/glimmer-cw-cdatetime-nebula)
2511
+
2363
2512
  ### Observer
2364
2513
 
2365
2514
  Glimmer comes with `Observer` module, which is used internally for data-binding, but can also be used externally for custom use of the Observer Pattern. It is hidden when observing widgets, and used explicitly when observing models.
@@ -3809,6 +3958,78 @@ Hello, File Dialog! Selected File
3809
3958
 
3810
3959
  ![Hello File Dialog](images/glimmer-hello-file-dialog-selected-file.png)
3811
3960
 
3961
+ #### Hello, Date Time!
3962
+
3963
+ This sample demonstrates the use of [date_time](#datetime) widget keywords in Glimmer: `date`, `date_drop_down`, `time`, and `calendar`
3964
+
3965
+ Code:
3966
+
3967
+ [samples/hello/hello_date_time.rb](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/samples/hello/hello_date_time.rb)
3968
+
3969
+ Hello, Date Time!
3970
+
3971
+ ![Hello Date Time](images/glimmer-hello-date-time.png)
3972
+
3973
+ #### Hello, Spinner!
3974
+
3975
+ This sample demonstrates the use of `spinner` widget in Glimmer
3976
+
3977
+ Code:
3978
+
3979
+ [samples/hello/hello_spinner.rb](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/samples/hello/hello_spinner.rb)
3980
+
3981
+ Hello, Spinner!
3982
+
3983
+ ![Hello Spinner](images/glimmer-hello-spinner.png)
3984
+
3985
+ #### Hello, Table!
3986
+
3987
+ This sample demonstrates the use of [table](#table) widget in Glimmer, including data-binding, multi-type editing, sorting, and filtering.
3988
+
3989
+ Code:
3990
+
3991
+ [samples/hello/hello_table.rb](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/samples/hello/hello_table.rb)
3992
+
3993
+ Hello, Table!
3994
+
3995
+ ![Hello Table](images/glimmer-hello-table.png)
3996
+
3997
+ Hello, Table! Editing Game Date
3998
+
3999
+ ![Hello Table](images/glimmer-hello-table-editing-game-date.png)
4000
+
4001
+ Hello, Table! Editing Game Time
4002
+
4003
+ ![Hello Table](images/glimmer-hello-table-editing-game-time.png)
4004
+
4005
+ Hello, Table! Editing Home Team
4006
+
4007
+ ![Hello Table](images/glimmer-hello-table-editing-home-team.png)
4008
+
4009
+ Hello, Table! Sorted Game Date Ascending
4010
+
4011
+ ![Hello Table](images/glimmer-hello-table-sorted-game-date-ascending.png)
4012
+
4013
+ Hello, Table! Sorted Game Date Descending
4014
+
4015
+ ![Hello Table](images/glimmer-hello-table-sorted-game-date-descending.png)
4016
+
4017
+ Hello, Table! Playoff Type Combo
4018
+
4019
+ ![Hello Table](images/glimmer-hello-table-playoff-type-combo.png)
4020
+
4021
+ Hello, Table! Playoff Type Changed
4022
+
4023
+ ![Hello Table](images/glimmer-hello-table-playoff-type-changed.png)
4024
+
4025
+ Hello, Table! Game Booked
4026
+
4027
+ ![Hello Table](images/glimmer-hello-table-game-booked.png)
4028
+
4029
+ Hello, Table! Context Menu
4030
+
4031
+ ![Hello Table](images/glimmer-hello-table-context-menu.png)
4032
+
3812
4033
  ### Elaborate Samples
3813
4034
 
3814
4035
  For more elaborate samples, check the following:
@@ -4202,4 +4423,4 @@ Copyright (c) 2007-2020 - Andy Maleh.
4202
4423
 
4203
4424
  --
4204
4425
 
4205
- [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=40 />](https://github.com/AndyObtiva/glimmer) Built for [Glimmer](https://github.com/AndyObtiva/glimmer) (Ruby Desktop Development GUI Library).
4426
+ [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=40 />](https://github.com/AndyObtiva/glimmer) Built for [Glimmer](https://github.com/AndyObtiva/glimmer) (DSL Framework).
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.17.8.2
1
+ 4.17.10.2
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: glimmer-dsl-swt 4.17.8.2 ruby lib
5
+ # stub: glimmer-dsl-swt 4.17.10.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "glimmer-dsl-swt".freeze
9
- s.version = "4.17.8.2"
9
+ s.version = "4.17.10.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["AndyMaleh".freeze]
14
- s.date = "2020-11-03"
14
+ s.date = "2020-11-23"
15
15
  s.description = "Glimmer DSL for SWT (JRuby Desktop Development GUI Library)".freeze
16
16
  s.email = "andy.am@gmail.com".freeze
17
17
  s.executables = ["glimmer".freeze, "girb".freeze]
@@ -92,6 +92,7 @@ Gem::Specification.new do |s|
92
92
  "lib/glimmer/swt/custom/checkbox_group.rb",
93
93
  "lib/glimmer/swt/custom/code_text.rb",
94
94
  "lib/glimmer/swt/custom/radio_group.rb",
95
+ "lib/glimmer/swt/date_time_proxy.rb",
95
96
  "lib/glimmer/swt/directory_dialog_proxy.rb",
96
97
  "lib/glimmer/swt/display_proxy.rb",
97
98
  "lib/glimmer/swt/dnd_proxy.rb",
@@ -137,6 +138,7 @@ Gem::Specification.new do |s|
137
138
  "samples/hello/hello_computed/contact.rb",
138
139
  "samples/hello/hello_custom_shell.rb",
139
140
  "samples/hello/hello_custom_widget.rb",
141
+ "samples/hello/hello_date_time.rb",
140
142
  "samples/hello/hello_directory_dialog.rb",
141
143
  "samples/hello/hello_drag_and_drop.rb",
142
144
  "samples/hello/hello_expand_bar.rb",
@@ -150,8 +152,10 @@ Gem::Specification.new do |s|
150
152
  "samples/hello/hello_radio.rb",
151
153
  "samples/hello/hello_radio_group.rb",
152
154
  "samples/hello/hello_sash_form.rb",
155
+ "samples/hello/hello_spinner.rb",
153
156
  "samples/hello/hello_styled_text.rb",
154
157
  "samples/hello/hello_tab.rb",
158
+ "samples/hello/hello_table.rb",
155
159
  "samples/hello/hello_world.rb",
156
160
  "vendor/swt/linux/swt.jar",
157
161
  "vendor/swt/mac/swt.jar",
@@ -168,7 +172,7 @@ Gem::Specification.new do |s|
168
172
  end
169
173
 
170
174
  if s.respond_to? :add_runtime_dependency then
171
- s.add_runtime_dependency(%q<glimmer>.freeze, ["~> 1.0.2"])
175
+ s.add_runtime_dependency(%q<glimmer>.freeze, ["~> 1.0.4"])
172
176
  s.add_runtime_dependency(%q<super_module>.freeze, ["~> 1.4.1"])
173
177
  s.add_runtime_dependency(%q<nested_inherited_jruby_include_package>.freeze, ["~> 0.3.0"])
174
178
  s.add_runtime_dependency(%q<puts_debuggerer>.freeze, ["~> 0.10.2"])
@@ -178,7 +182,7 @@ Gem::Specification.new do |s|
178
182
  s.add_runtime_dependency(%q<os>.freeze, [">= 1.0.0", "< 2.0.0"])
179
183
  s.add_runtime_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
180
184
  s.add_runtime_dependency(%q<text-table>.freeze, [">= 1.2.4", "< 2.0.0"])
181
- s.add_runtime_dependency(%q<rouge>.freeze, [">= 3.23.0", "< 4.0.0"])
185
+ s.add_runtime_dependency(%q<rouge>.freeze, [">= 3.25.0", "< 4.0.0"])
182
186
  s.add_development_dependency(%q<juwelier>.freeze, [">= 2.4.9", "< 3.0.0"])
183
187
  s.add_development_dependency(%q<warbler>.freeze, [">= 2.0.5", "< 3.0.0"])
184
188
  s.add_development_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])
@@ -187,7 +191,7 @@ Gem::Specification.new do |s|
187
191
  s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
188
192
  s.add_development_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
189
193
  else
190
- s.add_dependency(%q<glimmer>.freeze, ["~> 1.0.2"])
194
+ s.add_dependency(%q<glimmer>.freeze, ["~> 1.0.4"])
191
195
  s.add_dependency(%q<super_module>.freeze, ["~> 1.4.1"])
192
196
  s.add_dependency(%q<nested_inherited_jruby_include_package>.freeze, ["~> 0.3.0"])
193
197
  s.add_dependency(%q<puts_debuggerer>.freeze, ["~> 0.10.2"])
@@ -197,7 +201,7 @@ Gem::Specification.new do |s|
197
201
  s.add_dependency(%q<os>.freeze, [">= 1.0.0", "< 2.0.0"])
198
202
  s.add_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
199
203
  s.add_dependency(%q<text-table>.freeze, [">= 1.2.4", "< 2.0.0"])
200
- s.add_dependency(%q<rouge>.freeze, [">= 3.23.0", "< 4.0.0"])
204
+ s.add_dependency(%q<rouge>.freeze, [">= 3.25.0", "< 4.0.0"])
201
205
  s.add_dependency(%q<juwelier>.freeze, [">= 2.4.9", "< 3.0.0"])
202
206
  s.add_dependency(%q<warbler>.freeze, [">= 2.0.5", "< 3.0.0"])
203
207
  s.add_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])