glimmer-dsl-swt 4.27.0.0 → 4.28.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9aab7b5e9c41bf232186fd30f3bb904ae1423104ccba819eb3f79f0a4b7f0654
4
- data.tar.gz: 843c255af7431b5201cbe77cf66299841b0b78b4612b1c56a2ac8d46456f6510
3
+ metadata.gz: 2f4118fd1f815ce25180ca5c27839e9951899ab535e2dd8ff0de1a724d0d2dc5
4
+ data.tar.gz: e95df70274b50d1219900e8ef5d6bbf577d08a214cf28ec5a6928966a6a37e7b
5
5
  SHA512:
6
- metadata.gz: f820fbe5f2ca9c74a5e5b5eab8a26e1ac25b17cac98ee7adddf66238d5185f699ae5398b8847cc20c9a3115b34c44ebb08b34db48de449898a81db776e3aba20
7
- data.tar.gz: 6ba56ddf4c8ec48a96ca37d71169a0942e4a28b5667b04ccf812bb0d1b0ec2abc220afe587034bfb8c4c31d02de204e080f02c76e7ddf1de7193d3bb293060f0
6
+ metadata.gz: 7013b1469138bce792c17d18e8c58cab74817f90d408f3486f32740a619091b4842e624aac945b42908059199ec884ea772c0ef31cb7171dc8d6d08665e73762
7
+ data.tar.gz: 22fc82833e5596539b9bb7d313eb58dad80ba252dffa3c2a1df2304803ae5f03fb85ff7ee377c632a43349d46eb23e7966a7cb6a27204326a2a59f7c0ddddd52
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.28.0.0
4
+
5
+ - Upgrade to SWT 4.28
6
+
7
+ ## 4.27.0.1
8
+
9
+ - Avoid displaying confusing "No such file or directory" message when scaffolding fails due to missing GitHub user configuration (by displaying a friendly message for when either GitHub user or Git user is missing)
10
+
3
11
  ## 4.27.0.0
4
12
 
5
13
  - Upgrade to SWT 4.27
data/README.md CHANGED
@@ -1,5 +1,5 @@
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.27.0.0
2
- ## JRuby Desktop Development GUI Framework
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.28.0.0
2
+ ## JRuby Desktop Development Cross-Platform Native GUI Framework
3
3
  ### The Quickest Way From Zero To GUI
4
4
  [![Gem Version](https://badge.fury.io/rb/glimmer-dsl-swt.svg)](http://badge.fury.io/rb/glimmer-dsl-swt)
5
5
  [![Travis CI](https://travis-ci.com/AndyObtiva/glimmer-dsl-swt.svg?branch=master)](https://travis-ci.com/github/AndyObtiva/glimmer-dsl-swt)
@@ -7,6 +7,8 @@
7
7
  [![Maintainability](https://api.codeclimate.com/v1/badges/aaf1cba142dd351f84bd/maintainability)](https://codeclimate.com/github/AndyObtiva/glimmer-dsl-swt/maintainability)
8
8
  [![Join the chat at https://gitter.im/AndyObtiva/glimmer](https://badges.gitter.im/AndyObtiva/glimmer.svg)](https://gitter.im/AndyObtiva/glimmer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
9
9
 
10
+ **[If You Liked Shoes, You'll Love Glimmer!](https://github.com/AndyObtiva/glimmer#faq)**
11
+
10
12
  **(The Original Glimmer Library Handling the World’s Ruby GUI Needs Since 2007. Beware of Imitators!)**
11
13
 
12
14
  (**[***RubyConf 2022 Talk - Building Native GUI Apps in Ruby***](https://andymaleh.blogspot.com/2023/02/rubyconf-2022-talk-video-for-building.html)**)
@@ -19,7 +21,7 @@
19
21
 
20
22
  ![Glimmer DSL for SWT Demo of Hello, World!](/images/glimmer-dsl-swt-demo-hello-world.gif)
21
23
 
22
- [Glimmer](https://github.com/AndyObtiva/glimmer) DSL for [SWT](https://www.eclipse.org/swt/) (formerly [Glimmer](https://github.com/AndyObtiva/glimmer)) is a native GUI (Graphical User Interface) cross-platform desktop development library written in [JRuby](https://www.jruby.org/), an OS-threaded faster [JVM](https://www.java.com/en/download/help/whatis_java.html) version of [Ruby](https://www.ruby-lang.org/en/). [Glimmer](https://github.com/AndyObtiva/glimmer)'s main innovation is a declarative [Ruby DSL](docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#glimmer-dsl-syntax) (Domain Specific Language) that enables productive and efficient authoring of desktop application user-interfaces by relying on the robust [Eclipse SWT library](https://www.eclipse.org/swt/). [Glimmer](https://rubygems.org/gems/glimmer) additionally innovates by having built-in [data-binding](docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#data-binding) support, which greatly facilitates synchronizing the GUI with domain models, thus achieving true decoupling of object oriented components and enabling developers to solve business problems (test-first) without worrying about GUI concerns, or alternatively drive development GUI-first, and then write clean business models afterwards. Not only does Glimmer provide a large set of GUI [widgets](docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#widgets), but it also supports drawing Canvas Graphics like [Shapes](docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#canvas-shape-dsl) and [Animations](docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#canvas-animation-dsl). To get started quickly, [Glimmer](https://rubygems.org/gems/glimmer) offers [scaffolding](docs/reference/GLIMMER_COMMAND.md#scaffolding) options for [Apps](#in-production), [Gems](docs/reference/GLIMMER_COMMAND.md#custom-shell-gem), and [Custom Widgets](docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#custom-widgets). [Glimmer](https://rubygems.org/gems/glimmer) also includes native-executable [packaging](docs/reference/GLIMMER_PACKAGING_AND_DISTRIBUTION.md) support, sorely lacking in other libraries, thus enabling the delivery of desktop apps written in [Ruby](https://www.ruby-lang.org/en/) as truly native DMG/PKG/APP files on the [Mac](https://www.apple.com/ca/macos), MSI/EXE files on [Windows](https://www.microsoft.com/en-ca/windows), and DEB/RPM files on [Linux](https://www.linux.org/). [Glimmer](https://github.com/AndyObtiva/glimmer) was the [first Ruby gem](https://rubygems.org/gems/glimmer) to bring [SWT](https://www.eclipse.org/swt/) (Standard Widget Toolkit) to [Ruby](https://www.ruby-lang.org/en/), thanks to creator [Andy Maleh](https://andymaleh.blogspot.com/), EclipseCon/EclipseWorld/RubyConf speaker.
24
+ [Glimmer](https://github.com/AndyObtiva/glimmer) DSL for [SWT](https://www.eclipse.org/swt/) (formerly [Glimmer](https://github.com/AndyObtiva/glimmer)) is a native GUI (Graphical User Interface) cross-platform desktop development library written in [JRuby](https://www.jruby.org/), an OS-threaded faster [JVM](https://www.java.com/en/download/help/whatis_java.html) version of [Ruby](https://www.ruby-lang.org/en/). [Glimmer](https://github.com/AndyObtiva/glimmer)'s main innovation is a minimalistic declarative [Ruby DSL](docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#glimmer-dsl-syntax) (Domain Specific Language) that enables productive and efficient authoring of professional-grade desktop applications by relying on the robust [Eclipse SWT library](https://www.eclipse.org/swt/), with the familiar native look, feel, and behavior of GUI on Mac, Windows, and Linux. [Glimmer](https://rubygems.org/gems/glimmer) additionally innovates by having built-in [data-binding](docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#data-binding) support, which greatly facilitates synchronizing the GUI with domain models, thus achieving true decoupling of object oriented components and enabling developers to solve business problems (test-first) without worrying about GUI concerns, or alternatively drive development GUI-first, and then write clean business models afterwards. Not only does Glimmer provide a large set of GUI [widgets](docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#widgets), but it also supports drawing Canvas Graphics like [Shapes](docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#canvas-shape-dsl) and [Animations](docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#canvas-animation-dsl). To get started quickly, [Glimmer](https://rubygems.org/gems/glimmer) offers [scaffolding](docs/reference/GLIMMER_COMMAND.md#scaffolding) options for [Apps](#in-production), [Gems](docs/reference/GLIMMER_COMMAND.md#custom-shell-gem), and [Custom Widgets](docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#custom-widgets). [Glimmer](https://rubygems.org/gems/glimmer) also includes native-executable [packaging](docs/reference/GLIMMER_PACKAGING_AND_DISTRIBUTION.md) support, sorely lacking in other libraries, thus enabling the delivery of desktop apps written in [Ruby](https://www.ruby-lang.org/en/) as truly native DMG/PKG/APP files on the [Mac](https://www.apple.com/ca/macos), MSI/EXE files on [Windows](https://www.microsoft.com/en-ca/windows), and DEB/RPM files on [Linux](https://www.linux.org/). [Glimmer](https://github.com/AndyObtiva/glimmer) was the [first Ruby gem](https://rubygems.org/gems/glimmer) to bring [SWT](https://www.eclipse.org/swt/) (Standard Widget Toolkit) to [Ruby](https://www.ruby-lang.org/en/), thanks to creator [Andy Maleh](https://andymaleh.blogspot.com/), EclipseCon/EclipseWorld/RubyConf speaker.
23
25
 
24
26
  [<img src="https://covers.oreillystatic.com/images/9780596519650/lrg.jpg" width=105 /><br />
25
27
  Featured in JRuby Cookbook](http://shop.oreilly.com/product/9780596519650.do) and [Chalmers/Gothenburg University Software Engineering Master's Lecture Material](http://www.cse.chalmers.se/~bergert/slides/guest_lecture_DSLs.pdf)
@@ -28,25 +30,13 @@ Featured in JRuby Cookbook](http://shop.oreilly.com/product/9780596519650.do) an
28
30
 
29
31
  ![Eclipse SWT RCP NASA Mars Rover](/images/glimmer-eclipse-swt-rcp-nasa-mars-rover.png)
30
32
 
31
- [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.27.0.0 includes [SWT 4.27](https://download.eclipse.org/eclipse/downloads/drops4/R-4.27-202303020300/), which was released on Mar 2, 2023. Gem version numbers are in sync with the SWT library versions. The first two digits represent the SWT version number. The last two digits represent the minor and patch versions of Glimmer DSL for SWT.
33
+ [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.28.0.0 includes [SWT 4.28](https://download.eclipse.org/eclipse/downloads/drops4/R-4.28-202306050440/), which was released on June 5, 2023. Gem version numbers are in sync with the SWT library versions. The first two digits represent the SWT version number. The last two digits represent the minor and patch versions of Glimmer DSL for SWT.
32
34
 
33
35
  **Starting in version 4.20.0.0, [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) comes with the new [***Shine***](/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#shine) syntax** for highly intuitive and visually expressive View/Model Attribute Mapping, relying on `<=>` for bidirectional (two-way) data-binding and `<=` for unidirectional (one-way) data-binding, providing an alternative to the `bind` keyword. That was [originally conceived back in 2007](https://andymaleh.blogspot.com/2007/12/data-shining-in-glimmer.html).
34
36
 
35
37
  Please help make [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) better by providing feedback and [contributing](#contributing) whenever possible. Any feature suggestions that are accepted could be implemented within weeks if not days.
36
38
 
37
- **[Glimmer](https://github.com/AndyObtiva/glimmer) DSL Comparison Table:**
38
- DSL | Platforms | Native? | Vector Graphics? | Pros | Cons | Prereqs
39
- ----|-----------|---------|------------------|------|------|--------
40
- [Glimmer DSL for SWT (JRuby Desktop Development GUI Framework)](https://github.com/AndyObtiva/glimmer-dsl-swt) | Mac / Windows / Linux | Yes | Yes (Canvas Shape DSL) | Very Mature / Scaffolding / Native Executable Packaging / Custom Widgets | Slow JRuby Startup Time / Heavy Memory Footprint | Java / JRuby
41
- [Glimmer DSL for Opal (Pure Ruby Web GUI and Auto-Webifier of Desktop Apps)](https://github.com/AndyObtiva/glimmer-dsl-opal) | All Web Browsers | No | Yes (Canvas Shape DSL) | Simpler than All JavaScript Technologies / Auto-Webify Desktop Apps | Setup Process / Incomplete Alpha | Rails
42
- [Glimmer DSL for LibUI (Prerequisite-Free Ruby Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-libui) | Mac / Windows / Linux | Yes | Yes (Area API) | Fast Startup Time / Light Memory Footprint | LibUI is an Incomplete Mid-Alpha Only | None Other Than MRI Ruby
43
- [Glimmer DSL for Tk (Ruby Tk Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-tk) | Mac / Windows / Linux | Some Native-Themed Widgets (Not Truly Native) | Yes (Canvas) | Fast Startup Time / Light Memory Footprint | Widgets Do Not Look Truly Native, Espcially on Linux | ActiveTcl / MRI Ruby
44
- [Glimmer DSL for GTK (Ruby-GNOME Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-gtk) | Mac / Windows / Linux | Only on Linux | Yes (Cairo) | Complete Access to GNOME Features on Linux (Forte) | Not Native on Mac and Windows | None Other Than MRI Ruby on Linux / Brew Packages on Mac / MSYS & MING Toolchains on Windows / MRI Ruby
45
- [Glimmer DSL for FX (FOX Toolkit Ruby Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-fx) | Mac (requires XQuartz) / Windows / Linux | No | Yes (Canvas) | No Prerequisites on Windows (Forte Since Binaries Are Included Out of The Box) | Widgets Do Not Look Native / Mac Usage Obtrusively Starts XQuartz | None Other Than MRI Ruby on Windows / XQuarts on Mac / MRI Ruby
46
- [Glimmer DSL for JFX (JRuby JavaFX Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-jfx) | Mac / Windows / Linux | No | Yes (javafx.scene.shape and javafx.scene.canvas) | Rich in Custom Widgets | Slow JRuby Startup Time / Heavy Memory Footprint / Widgets Do Not Look Native | Java / JRuby / JavaFX SDK
47
- [Glimmer DSL for Swing (JRuby Swing Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-swing) | Mac / Windows / Linux | No | Yes (Java2D) | Very Mature | Slow JRuby Startup Time / Heavy Memory Footprint / Widgets Do Not Look Native | Java / JRuby
48
- [Glimmer DSL for XML (& HTML)](https://github.com/AndyObtiva/glimmer-dsl-xml) | All Web Browsers | No | Yes (SVG) | Programmable / Lighter-weight Than Actual XML | XML Elements Are Sometimes Not Well-Named (Many Types of Input) | None
49
- [Glimmer DSL for CSS](https://github.com/AndyObtiva/glimmer-dsl-css) | All Web Browsers | No | Yes | Programmable | CSS Is Over-Engineered / Too Many Features To Learn | None
39
+ Learn more about the differences between various [Glimmer](https://github.com/AndyObtiva/glimmer) DSLs by looking at the **[Glimmer DSL Comparison Table](https://github.com/AndyObtiva/glimmer#glimmer-dsl-comparison-table)**.
50
40
 
51
41
  ## Examples
52
42
 
@@ -345,7 +335,7 @@ jgem install glimmer-dsl-swt
345
335
 
346
336
  Or this command if you want a specific version:
347
337
  ```
348
- jgem install glimmer-dsl-swt -v 4.27.0.0
338
+ jgem install glimmer-dsl-swt -v 4.28.0.0
349
339
  ```
350
340
 
351
341
  `jgem` is JRuby's version of `gem` command.
@@ -373,7 +363,7 @@ Note: if you're using activerecord or activesupport, keep in mind that Glimmer u
373
363
 
374
364
  Add the following to `Gemfile`:
375
365
  ```
376
- gem 'glimmer-dsl-swt', '~> 4.27.0.0'
366
+ gem 'glimmer-dsl-swt', '~> 4.28.0.0'
377
367
  ```
378
368
 
379
369
  And, then run:
@@ -396,7 +386,7 @@ glimmer
396
386
  ```
397
387
 
398
388
  ```
399
- Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.27.0.0
389
+ Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.28.0.0
400
390
 
401
391
  Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
402
392
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.27.0.0
1
+ 4.28.0.0
Binary file
@@ -150,7 +150,7 @@ module Glimmer
150
150
  system "jruby -S gem install bundler --no-document" if OS.windows? # resolves freezing issue with warbler and bundler 2.2.29 included in JRuby
151
151
  system "jruby -S gem install juwelier -v2.4.9 --no-document" unless juwelier_exists?
152
152
  system "jruby -S juwelier --markdown --rspec --summary '#{gem_summary}' --description '#{gem_summary}' #{gem_name}"
153
- return puts('Your Git user.name and/or github.user are missing! Please add in for Juwelier to help Glimmer with Scaffolding.') if `git config --get github.user`.strip.empty? && `git config --get user.name`.strip.empty?
153
+ return puts('Your Git user.name and/or github.user are missing! Please add in for Juwelier to help Glimmer with Scaffolding.') if `git config --get github.user`.strip.empty? || `git config --get user.name`.strip.empty?
154
154
  cd gem_name
155
155
  rm_rf 'lib'
156
156
  write '.gitignore', GITIGNORE
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-dsl-swt
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.27.0.0
4
+ version: 4.28.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-21 00:00:00.000000000 Z
11
+ date: 2023-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -342,24 +342,26 @@ dependencies:
342
342
  - - ">="
343
343
  - !ruby/object:Gem::Version
344
344
  version: 0.14.1.cr2
345
- description: Glimmer DSL for SWT (JRuby Desktop Development GUI Framework) is a native-GUI
346
- cross-platform desktop development library written in JRuby, an OS-threaded faster
347
- JVM version of Ruby. It includes SWT 4.25 (released 31 Aug 2022). Glimmer's main
348
- innovation is a declarative Ruby DSL that enables productive and efficient authoring
349
- of desktop application user-interfaces by relying on the robust Eclipse SWT library.
350
- Glimmer additionally innovates by having built-in data-binding support, which greatly
351
- facilitates synchronizing the GUI with domain models, thus achieving true decoupling
352
- of object oriented components and enabling developers to solve business problems
353
- (test-first) without worrying about GUI concerns, or alternatively drive development
354
- GUI-first, and then write clean business models (test-first) afterwards. Not only
355
- does Glimmer provide a large set of GUI widgets, but it also supports drawing Canvas
356
- Graphics like Shapes and Animations. To get started quickly, Glimmer offers scaffolding
357
- options for Apps, Gems, and Custom Widgets. Glimmer also includes native-executable
358
- packaging support, sorely lacking in other libraries, thus enabling the delivery
359
- of desktop apps written in Ruby as truly native DMG/PKG/APP files on the Mac, MSI/EXE
360
- files on Windows, and DEB/RPM files on Linux. Glimmer was the first Ruby gem to
361
- bring SWT (Standard Widget Toolkit) to Ruby, thanks to creator Andy Maleh, EclipseCon/EclipseWorld/RubyConf
362
- speaker.
345
+ description: Glimmer DSL for SWT (JRuby Desktop Development Cross-Platform Native
346
+ GUI Framework) is a native-GUI cross-platform desktop development library written
347
+ in JRuby, an OS-threaded faster JVM version of Ruby. It includes SWT 4.28 (released
348
+ on June 5, 2023). Glimmer's main innovation is a declarative Ruby DSL that enables
349
+ productive and efficient authoring of professional-grade desktop applications by
350
+ relying on the robust Eclipse SWT library, with the familiar native look, feel,
351
+ and behavior of GUI on Mac, Windows, and Linux. Glimmer additionally innovates by
352
+ having built-in data-binding support, which greatly facilitates synchronizing the
353
+ GUI with domain models, thus achieving true decoupling of object oriented components
354
+ and enabling developers to solve business problems (test-first) without worrying
355
+ about GUI concerns, or alternatively drive development GUI-first, and then write
356
+ clean business models (test-first) afterwards. Not only does Glimmer provide a large
357
+ set of GUI widgets, but it also supports drawing Canvas Graphics like Shapes and
358
+ Animations. To get started quickly, Glimmer offers scaffolding options for Apps,
359
+ Gems, and Custom Widgets. Glimmer also includes native-executable packaging support,
360
+ sorely lacking in other libraries, thus enabling the delivery of desktop apps written
361
+ in Ruby as truly native DMG/PKG/APP files on the Mac, MSI/EXE files on Windows,
362
+ and DEB/RPM files on Linux. Glimmer was the first Ruby gem to bring SWT (Standard
363
+ Widget Toolkit) to Ruby, thanks to creator Andy Maleh, EclipseCon/EclipseWorld/RubyConf
364
+ speaker. If you liked Shoes, You'll love Glimmer!
363
365
  email: andy.am@gmail.com
364
366
  executables:
365
367
  - glimmer
@@ -739,5 +741,6 @@ requirements: []
739
741
  rubygems_version: 3.2.33
740
742
  signing_key:
741
743
  specification_version: 4
742
- summary: Glimmer DSL for SWT (JRuby Desktop Development GUI Framework)
744
+ summary: Glimmer DSL for SWT (JRuby Desktop Development Cross-Platform Native GUI
745
+ Framework)
743
746
  test_files: []